public static interface AnnotationBuilder.FixBuilder
Modifier and Type | Method and Description |
---|---|
AnnotationBuilder.FixBuilder |
batch()
Specify that the quickfix will be available during batch mode only.
|
AnnotationBuilder.FixBuilder |
key(HighlightDisplayKey key) |
AnnotationBuilder.FixBuilder |
range(TextRange range)
Specify the range for this quick fix.
|
AnnotationBuilder |
registerFix()
Finish registration of the new quickfix associated with the annotation.
|
AnnotationBuilder.FixBuilder |
universal()
Specify that the quickfix will be available both during batch mode and on-the-fly.
|
AnnotationBuilder.FixBuilder range(TextRange range)
AnnotationBuilder.FixBuilder key(HighlightDisplayKey key)
AnnotationBuilder.FixBuilder batch()
AnnotationBuilder.FixBuilder universal()
AnnotationBuilder registerFix()
holder.newAnnotation(range, WARNING, "Illegal element")
.newFix(myRenameFix).key(DISPLAY_KEY).registerFix()
.newFix(myDeleteFix).range(deleteRange).registerFix()
.create();