public class ProblemDescriptorBase extends CommonProblemDescriptorImpl implements ProblemDescriptor
EMPTY_ARRAYARRAY_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) |
getDescriptionTemplateclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetDescriptionTemplatepublic 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 ProblemDescriptorpublic TextRange getTextRangeInElement()
getTextRangeInElement in interface ProblemDescriptorpublic PsiElement getStartElement()
getStartElement in interface ProblemDescriptorpublic PsiElement getEndElement()
getEndElement in interface ProblemDescriptorpublic Project getProject()
public int getLineNumber()
ProblemDescriptorgetLineNumber in interface ProblemDescriptorpublic int getLineStartOffset()
public ProblemHighlightType getHighlightType()
getHighlightType in interface ProblemDescriptorpublic boolean isAfterEndOfLine()
isAfterEndOfLine in interface ProblemDescriptorpublic void setTextAttributes(TextAttributesKey key)
ProblemDescriptorsetTextAttributes in interface ProblemDescriptorkey - 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 ProblemDescriptorProblemGrouppublic void setProblemGroup(ProblemGroup problemGroup)
setProblemGroup in interface ProblemDescriptorProblemGrouppublic boolean showTooltip()
showTooltip in interface ProblemDescriptorpublic java.lang.String toString()
toString in class CommonProblemDescriptorImplpublic LocalQuickFix [] getFixes()
CommonProblemDescriptorgetFixes in interface CommonProblemDescriptorgetFixes in class CommonProblemDescriptorImpl