public class ProblemDescriptorBase extends CommonProblemDescriptorImpl implements ProblemDescriptor
EMPTY_ARRAY
ARRAY_FACTORY, DESCRIPTOR_COMPARATOR
Constructor and Description |
---|
ProblemDescriptorBase(PsiElement startElement,
PsiElement endElement,
java.lang.String descriptionTemplate,
LocalQuickFix [] fixes,
ProblemHighlightType highlightType,
boolean isAfterEndOfLine,
TextRange rangeInElement,
boolean showTooltip,
boolean onTheFly) |
getDescriptionTemplate
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getDescriptionTemplate
public ProblemDescriptorBase(PsiElement startElement, PsiElement endElement, java.lang.String descriptionTemplate, LocalQuickFix [] fixes, ProblemHighlightType highlightType, boolean isAfterEndOfLine, TextRange rangeInElement, boolean showTooltip, boolean onTheFly)
public boolean isOnTheFly()
protected void assertPhysical(PsiElement element)
public java.lang.Throwable getCreationTrace()
public PsiElement getPsiElement()
getPsiElement
in interface ProblemDescriptor
public TextRange getTextRangeInElement()
getTextRangeInElement
in interface ProblemDescriptor
public PsiElement getStartElement()
getStartElement
in interface ProblemDescriptor
public PsiElement getEndElement()
getEndElement
in interface ProblemDescriptor
public Project getProject()
public int getLineNumber()
ProblemDescriptor
getLineNumber
in interface ProblemDescriptor
public int getLineStartOffset()
public ProblemHighlightType getHighlightType()
getHighlightType
in interface ProblemDescriptor
public boolean isAfterEndOfLine()
isAfterEndOfLine
in interface ProblemDescriptor
public void setTextAttributes(TextAttributesKey key)
ProblemDescriptor
setTextAttributes
in interface ProblemDescriptor
key
- the text attributes key for highlighting the result.public TextAttributesKey getEnforcedTextAttributes()
public TextRange getTextRangeForNavigation()
public TextRange getTextRange()
public Navigatable getNavigatable()
public VirtualFile getContainingFile()
public void setNavigatable(Navigatable navigatable)
public ProblemGroup getProblemGroup()
getProblemGroup
in interface ProblemDescriptor
ProblemGroup
public void setProblemGroup(ProblemGroup problemGroup)
setProblemGroup
in interface ProblemDescriptor
ProblemGroup
public boolean showTooltip()
showTooltip
in interface ProblemDescriptor
public java.lang.String toString()
toString
in class CommonProblemDescriptorImpl
public LocalQuickFix [] getFixes()
CommonProblemDescriptor
getFixes
in interface CommonProblemDescriptor
getFixes
in class CommonProblemDescriptorImpl