Package | Description |
---|---|
org.netbeans.spi.editor.hints |
.
|
Modifier and Type | Method and Description |
---|---|
Severity |
ErrorDescription.getSeverity()
The severity determines how the hint will be rendered.
|
static Severity |
Severity.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Severity[] |
Severity.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
static ErrorDescription |
ErrorDescriptionFactory.createErrorDescription(Severity severity,
String description,
Document doc,
int lineNumber)
Create a new
ErrorDescription with the given parameters. |
static ErrorDescription |
ErrorDescriptionFactory.createErrorDescription(Severity severity,
String description,
Document doc,
Position start,
Position end)
Acquires read lock on the provided document to assure consistency
|
static ErrorDescription |
ErrorDescriptionFactory.createErrorDescription(Severity severity,
String description,
FileObject file,
int start,
int end)
Should be called inside document read lock to assure consistency
|
static ErrorDescription |
ErrorDescriptionFactory.createErrorDescription(Severity severity,
String description,
LazyFixList fixes,
Document doc,
int lineNumber)
Create a new
ErrorDescription with the given parameters. |
static ErrorDescription |
ErrorDescriptionFactory.createErrorDescription(Severity severity,
String description,
LazyFixList fixes,
Document doc,
Position start,
Position end)
Acquires read lock on the provided document to assure consistency
|
static ErrorDescription |
ErrorDescriptionFactory.createErrorDescription(Severity severity,
String description,
LazyFixList fixes,
FileObject file,
int start,
int end)
Should be called inside document read lock to assure consistency
|
static ErrorDescription |
ErrorDescriptionFactory.createErrorDescription(Severity severity,
String description,
List<Fix> fixes,
Document doc,
int lineNumber)
Create a new
ErrorDescription with the given parameters. |
static ErrorDescription |
ErrorDescriptionFactory.createErrorDescription(Severity severity,
String description,
List<Fix> fixes,
Document doc,
Position start,
Position end)
Acquires read lock on the provided document to assure consistency
|
static ErrorDescription |
ErrorDescriptionFactory.createErrorDescription(Severity severity,
String description,
List<Fix> fixes,
FileObject file,
int start,
int end)
Should be called inside document read lock to assure consistency
|
static ErrorDescription |
ErrorDescriptionFactory.createErrorDescription(String id,
Severity severity,
String description,
CharSequence details,
LazyFixList fixes,
Document doc,
int lineNumber)
Create a new
ErrorDescription with the given parameters. |
static ErrorDescription |
ErrorDescriptionFactory.createErrorDescription(String id,
Severity severity,
String description,
CharSequence details,
LazyFixList fixes,
Document doc,
Position start,
Position end)
Create a new
ErrorDescription with the given parameters. |
static ErrorDescription |
ErrorDescriptionFactory.createErrorDescription(String id,
Severity severity,
String description,
CharSequence details,
LazyFixList fixes,
FileObject file,
int start,
int end)
Create a new
ErrorDescription with the given parameters. |
static ErrorDescription |
ErrorDescriptionFactory.createErrorDescription(String id,
Severity severity,
String description,
CharSequence details,
LazyFixList fixes,
FileObject file,
PositionBounds errorBounds)
Create a new
ErrorDescription with the given parameters. |
static ErrorDescription |
ErrorDescriptionFactory.createErrorDescription(String id,
Severity severity,
String customType,
String description,
CharSequence details,
LazyFixList fixes,
FileObject file,
int[] starts,
int[] ends)
Create a new
ErrorDescription with the given parameters. |
static ErrorDescription |
ErrorDescriptionFactory.createErrorDescription(String id,
Severity severity,
String customType,
String description,
CharSequence details,
List<Fix> fixes,
Document doc,
int[] starts,
int[] ends)
Create a new
ErrorDescription with the given parameters. |
static ErrorDescription |
ErrorDescriptionFactory.createErrorDescription(String id,
Severity severity,
String customType,
String description,
CharSequence details,
List<Fix> fixes,
Document doc,
Position start,
Position end)
Create a new
ErrorDescription with the given parameters. |