public interface Problem
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
category() |
default java.util.Optional<DiagnosticCode> |
diagnosticCode()
The unique code attached to the diagnostic being reported.
|
default java.util.List<DiagnosticRelatedInformation> |
diagnosticRelatedInforamation()
The possible releated information for the diagnostic being reported.
|
java.lang.String |
message() |
Position |
position() |
default java.util.Optional<java.lang.String> |
rendered()
If present, the string shown to the user when displaying this Problem.
|
Severity |
severity() |
java.lang.String category()
Severity severity()
java.lang.String message()
Position position()
default java.util.Optional<java.lang.String> rendered()
default java.util.Optional<DiagnosticCode> diagnosticCode()
NOTE: To avoid breaking compatibility we provide a default to account for older Scala versions that do not have codes.
default java.util.List<DiagnosticRelatedInformation> diagnosticRelatedInforamation()
NOTE: To avoid breaking compatibility we provide a default to account for older Scala versions that do not have the concept of "related information".