public class ProblemDescriptionNode extends SuppressableInspectionTreeNode
Modifier and Type | Field and Description |
---|---|
protected RefEntity |
myElement |
protected int |
myLineNumber |
myProblemLevels
Modifier | Constructor and Description |
---|---|
|
ProblemDescriptionNode(RefEntity element,
CommonProblemDescriptor descriptor,
InspectionToolPresentation presentation,
InspectionTreeNode parent) |
protected |
ProblemDescriptionNode(RefEntity element,
CommonProblemDescriptor descriptor,
InspectionToolPresentation presentation,
java.util.function.IntSupplier lineNumberCounter,
InspectionTreeNode parent) |
Modifier and Type | Method and Description |
---|---|
void |
amnestyElement() |
protected boolean |
calculateIsValid() |
protected java.lang.String |
calculatePresentableName() |
boolean |
canSuppress() |
void |
excludeElement() |
CommonProblemDescriptor |
getDescriptor() |
RefEntity |
getElement() |
int |
getLineNumber() |
Pair<PsiElement,CommonProblemDescriptor> |
getSuppressContent() |
java.lang.String |
getTailText() |
java.lang.String |
getToolTipText() |
InspectionToolWrapper |
getToolWrapper() |
boolean |
isAlreadySuppressedFromView() |
boolean |
isExcluded() |
boolean |
isQuickFixAppliedFromView() |
protected void |
visitProblemSeverities(<any> counter) |
doesNeedInternProblemLevels, dropCache, getAvailableSuppressActions, getPresentableText, getPresentation, isProblemCountCacheValid, isValid, removeSuppressActionFromAvailable
appearsBold, children, getAllowsChildren, getChildAt, getChildCount, getChildren, getContainingFileLocalEntity, getIcon, getIndex, getParent, isLeaf, toString
protected final int myLineNumber
protected final RefEntity myElement
public ProblemDescriptionNode(RefEntity element, CommonProblemDescriptor descriptor, InspectionToolPresentation presentation, InspectionTreeNode parent)
protected ProblemDescriptionNode(RefEntity element, CommonProblemDescriptor descriptor, InspectionToolPresentation presentation, java.util.function.IntSupplier lineNumberCounter, InspectionTreeNode parent)
public java.lang.String getToolTipText()
public final boolean isAlreadySuppressedFromView()
isAlreadySuppressedFromView
in class SuppressableInspectionTreeNode
public int getLineNumber()
public boolean canSuppress()
canSuppress
in class SuppressableInspectionTreeNode
public InspectionToolWrapper getToolWrapper()
public RefEntity getElement()
getElement
in class SuppressableInspectionTreeNode
public CommonProblemDescriptor getDescriptor()
public void excludeElement()
excludeElement
in class InspectionTreeNode
public void amnestyElement()
amnestyElement
in class InspectionTreeNode
protected void visitProblemSeverities(<any> counter)
visitProblemSeverities
in class InspectionTreeNode
protected boolean calculateIsValid()
calculateIsValid
in class SuppressableInspectionTreeNode
public boolean isExcluded()
isExcluded
in class InspectionTreeNode
protected java.lang.String calculatePresentableName()
calculatePresentableName
in class SuppressableInspectionTreeNode
public boolean isQuickFixAppliedFromView()
isQuickFixAppliedFromView
in class SuppressableInspectionTreeNode
public java.lang.String getTailText()
getTailText
in class SuppressableInspectionTreeNode
public Pair<PsiElement,CommonProblemDescriptor> getSuppressContent()
getSuppressContent
in class SuppressableInspectionTreeNode