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, removeSuppressActionFromAvailableappearsBold, children, getAllowsChildren, getChildAt, getChildCount, getChildren, getContainingFileLocalEntity, getIcon, getIndex, getParent, isLeaf, toStringprotected 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 SuppressableInspectionTreeNodepublic int getLineNumber()
public boolean canSuppress()
canSuppress in class SuppressableInspectionTreeNodepublic InspectionToolWrapper getToolWrapper()
public RefEntity getElement()
getElement in class SuppressableInspectionTreeNodepublic CommonProblemDescriptor getDescriptor()
public void excludeElement()
excludeElement in class InspectionTreeNodepublic void amnestyElement()
amnestyElement in class InspectionTreeNodeprotected void visitProblemSeverities(<any> counter)
visitProblemSeverities in class InspectionTreeNodeprotected boolean calculateIsValid()
calculateIsValid in class SuppressableInspectionTreeNodepublic boolean isExcluded()
isExcluded in class InspectionTreeNodeprotected java.lang.String calculatePresentableName()
calculatePresentableName in class SuppressableInspectionTreeNodepublic boolean isQuickFixAppliedFromView()
isQuickFixAppliedFromView in class SuppressableInspectionTreeNodepublic java.lang.String getTailText()
getTailText in class SuppressableInspectionTreeNodepublic Pair<PsiElement,CommonProblemDescriptor> getSuppressContent()
getSuppressContent in class SuppressableInspectionTreeNode