public interface AnalysisCallback2 extends AnalysisCallback
| Modifier and Type | Method and Description |
|---|---|
void |
problem2(java.lang.String what,
xsbti.Position pos,
java.lang.String msg,
xsbti.Severity severity,
boolean reported,
java.util.Optional<java.lang.String> rendered,
java.util.Optional<xsbti.DiagnosticCode> diagnosticCode,
java.util.List<xsbti.DiagnosticRelatedInformation> diagnosticRelatedInformation,
java.util.List<xsbti.Action> actions)
Register a compilation problem.
|
api, api, apiPhaseCompleted, binaryDependency, binaryDependency, classDependency, classesInOutputJar, dependencyPhaseCompleted, enabled, generatedLocalClass, generatedLocalClass, generatedNonLocalClass, generatedNonLocalClass, getPickleJarPair, isPickleJava, mainClass, mainClass, problem, startSource, startSource, usedNamevoid problem2(java.lang.String what,
xsbti.Position pos,
java.lang.String msg,
xsbti.Severity severity,
boolean reported,
java.util.Optional<java.lang.String> rendered,
java.util.Optional<xsbti.DiagnosticCode> diagnosticCode,
java.util.List<xsbti.DiagnosticRelatedInformation> diagnosticRelatedInformation,
java.util.List<xsbti.Action> actions)
what - The headline of the error.pos - At a given source position.msg - The in-depth description of the error.severity - The severity of the error reported.reported - Flag that confirms whether this error was reported or not.rendered - If present, the string shown to the user when displaying this Problem.diagnosticCode - The unique code attached to the diagnostic being reported.diagnosticRelatedInformation - The possible releated information for the diagnostic being reported.actions - Actions (aka quick fixes) that are able to either fix or address the issue that is causing this problem.