|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface AnnotationHolder
Allows a custom language plugin to define annotations for files in that language.
Annotator.annotate(com.intellij.psi.PsiElement, AnnotationHolder)| Method Summary | |
|---|---|
Annotation |
createErrorAnnotation(ASTNode node,
java.lang.String message)
Creates an error annotation with the specified message over the specified AST node. |
Annotation |
createErrorAnnotation(PsiElement elt,
java.lang.String message)
Creates an error annotation with the specified message over the specified PSI element. |
Annotation |
createErrorAnnotation(TextRange range,
java.lang.String message)
Creates an error annotation with the specified message over the specified text range. |
Annotation |
createInfoAnnotation(ASTNode node,
java.lang.String message)
Creates an information annotation with the specified message over the specified AST node. |
Annotation |
createInfoAnnotation(PsiElement elt,
java.lang.String message)
Creates an information annotation with the specified message over the specified PSI element. |
Annotation |
createInfoAnnotation(TextRange range,
java.lang.String message)
Creates an information annotation with the specified message over the specified text range. |
Annotation |
createWarningAnnotation(ASTNode node,
java.lang.String message)
Creates a warning annotation with the specified message over the specified AST node. |
Annotation |
createWarningAnnotation(PsiElement elt,
java.lang.String message)
Creates a warning annotation with the specified message over the specified PSI element. |
Annotation |
createWarningAnnotation(TextRange range,
java.lang.String message)
Creates a warning annotation with the specified message over the specified text range. |
| Method Detail |
|---|
Annotation createErrorAnnotation(PsiElement elt,
@Nullable
java.lang.String message)
elt - the element over which the annotation is created.message - the error message.
Annotation createErrorAnnotation(ASTNode node,
@Nullable
java.lang.String message)
node - the node over which the annotation is created.message - the error message.
Annotation createErrorAnnotation(TextRange range,
@Nullable
java.lang.String message)
range - the text range over which the annotation is created.message - the error message.
Annotation createWarningAnnotation(PsiElement elt,
@Nullable
java.lang.String message)
elt - the element over which the annotation is created.message - the warning message.
Annotation createWarningAnnotation(ASTNode node,
@Nullable
java.lang.String message)
node - the node over which the annotation is created.message - the warning message.
Annotation createWarningAnnotation(TextRange range,
@Nullable
java.lang.String message)
range - the text range over which the annotation is created.message - the warning message.
Annotation createInfoAnnotation(PsiElement elt,
@Nullable
java.lang.String message)
elt - the element over which the annotation is created.message - the information message.
Annotation createInfoAnnotation(ASTNode node,
@Nullable
java.lang.String message)
node - the node over which the annotation is created.message - the information message.
Annotation createInfoAnnotation(TextRange range,
java.lang.String message)
range - the text range over which the annotation is created.message - the information message.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||