public interface ProblemDescriptor extends CommonProblemDescriptor
InspectionManager.createProblemDescriptor(PsiElement, String, LocalQuickFix, ProblemHighlightType, boolean) for method descriptions.| Modifier and Type | Field and Description |
|---|---|
static ProblemDescriptor[] |
EMPTY_ARRAY |
ARRAY_FACTORY, DESCRIPTOR_COMPARATOR| Modifier and Type | Method and Description |
|---|---|
PsiElement |
getEndElement() |
ProblemHighlightType |
getHighlightType() |
int |
getLineNumber()
Returns 0-based line number of the problem.
|
ProblemGroup |
getProblemGroup() |
PsiElement |
getPsiElement() |
PsiElement |
getStartElement() |
TextRange |
getTextRangeInElement() |
boolean |
isAfterEndOfLine() |
void |
setProblemGroup(ProblemGroup problemGroup) |
void |
setTextAttributes(TextAttributesKey key)
Sets custom attributes for highlighting the inspection result.
|
boolean |
showTooltip() |
getDescriptionTemplate, getFixesstatic final ProblemDescriptor[] EMPTY_ARRAY
PsiElement getPsiElement()
PsiElement getStartElement()
PsiElement getEndElement()
TextRange getTextRangeInElement()
int getLineNumber()
ProblemHighlightType getHighlightType()
boolean isAfterEndOfLine()
void setTextAttributes(TextAttributesKey key)
key - the text attributes key for highlighting the result.ProblemGroup getProblemGroup()
ProblemGroupvoid setProblemGroup(ProblemGroup problemGroup)
ProblemGroupboolean showTooltip()