@Target(value={TYPE,METHOD}) @Retention(value=SOURCE) public @interface Hint
TriggerPattern and TriggerTreeKind.| Modifier and Type | Required Element and Description |
|---|---|
String |
category
Category where the hint belongs.
|
String |
description
The hint's long description.
|
String |
displayName
The hint's display name.
|
| Modifier and Type | Optional Element and Description |
|---|---|
Class<? extends CustomizerProvider> |
customizerProvider
A customizer that allows to customize hint's preferences.
|
boolean |
enabled
Should the hint be enabled by default?
|
Hint.Kind |
hintKind
Whether the hint should be considered an
inspection, i.e. |
String |
id
Manually specify the hint's id.
|
Hint.Options[] |
options
Specify various options for the hint
|
Severity |
severity
Default severity of the hint.
|
String[] |
suppressWarnings
Suppress warnings keys that should automatically suppress the hint.
|
public abstract String displayName
public abstract String description
public abstract String category
public abstract String id
public abstract boolean enabled
public abstract Severity severity
Severity.HINT will typically be shown
only on the line with the caret.public abstract String[] suppressWarnings
public abstract Class<? extends CustomizerProvider> customizerProvider
public abstract Hint.Kind hintKind
inspection, i.e. it detects a code smell,
or otherwise leads to improving the code, or a Kind#SUGGESTION, which is simply
an offer to do automatically do something for the user.public abstract Hint.Options[] options
Built on May 22 2013. | Portions Copyright 1997-2013 Oracle. All rights reserved.