public class Diagnostic extends Object
Diagnostic.Builder
to create an instance.Modifier and Type | Class and Description |
---|---|
static class |
Diagnostic.Builder
The build for the Diagnostic.
|
static interface |
Diagnostic.LazyCodeActions
Interface to compute Diagnostic's CodeActions lazily.
|
static class |
Diagnostic.Severity |
Modifier and Type | Method and Description |
---|---|
Diagnostic.LazyCodeActions |
getActions()
The actions associated with the diagnostic.
|
String |
getCode()
The code of the diagnostic.
|
String |
getDescription()
The description of the diagnostic.
|
Position |
getEndPosition()
The end offset of the diagnostic.
|
Diagnostic.Severity |
getSeverity()
The severity of the diagnostic.
|
Position |
getStartPosition()
The start offset of the diagnostic.
|
public Position getStartPosition()
public Position getEndPosition()
public String getDescription()
public Diagnostic.Severity getSeverity()
public String getCode()
public Diagnostic.LazyCodeActions getActions()