public class DefaultInspectionToolPresentation extends DefaultInspectionToolResultExporter implements InspectionToolPresentation
Modifier and Type | Field and Description |
---|---|
protected static Logger |
LOG |
protected GlobalInspectionContextImpl |
myContext |
INSPECTION_RESULTS_ATTRIBUTE_KEY_ATTRIBUTE, INSPECTION_RESULTS_DESCRIPTION_ELEMENT, INSPECTION_RESULTS_HINT_ELEMENT, INSPECTION_RESULTS_HINTS_ELEMENT, INSPECTION_RESULTS_ID_ATTRIBUTE, INSPECTION_RESULTS_PROBLEM_CLASS_ELEMENT, INSPECTION_RESULTS_SEVERITY_ATTRIBUTE, INSPECTION_RESULTS_VALUE_ATTRIBUTE, myContents, myProblemElements, myResolvedElements, mySuppressedElements, myToolWrapper
Constructor and Description |
---|
DefaultInspectionToolPresentation(InspectionToolWrapper toolWrapper,
GlobalInspectionContextImpl context) |
Modifier and Type | Method and Description |
---|---|
void |
addProblemElement(RefEntity refElement,
boolean filterSuppressed,
CommonProblemDescriptor... descriptors) |
void |
cleanup() |
protected boolean |
filterResolvedItems() |
QuickFix |
findQuickFixes(CommonProblemDescriptor problemDescriptor,
RefEntity entity,
java.lang.String hint) |
HTMLComposerImpl |
getComposer() |
GlobalInspectionContextImpl |
getContext() |
CommonProblemDescriptor [] |
getDescriptions(RefEntity refEntity)
Returns the problems which have been collected for the specified reference graph node.
|
QuickFixAction [] |
getQuickFixes(RefEntity... refElements) |
CommonProblemDescriptor [] |
getSuppressedProblems(RefEntity entity) |
void |
ignoreElement(RefEntity refEntity)
Drops all problems which have been collected for the specified reference graph node.
|
protected boolean |
isDisposed() |
boolean |
isSuppressed(CommonProblemDescriptor descriptor) |
boolean |
isSuppressed(RefEntity element) |
addProblemElement, amnesty, amnesty, exclude, exclude, exportResults, exportResults, exportResults, getContent, getProblemDescriptors, getProblemElements, getProject, getRefManager, getResolvedElements, getResolvedProblems, getSeverity, getSeverityDelegateName, getToolWrapper, hasReportedProblems, isExcluded, isExcluded, isProblemResolved, isProblemResolved, registerContentEntry, resolveProblem, suppressProblem, suppressProblem, updateContent, updateProblemElements, writeOutput
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
createRefNode, getCustomActionsPanel, getCustomPreviewPanel, getCustomPreviewPanel, getToolWrapper, isDummy, patchToolNode, showProblemCount
amnesty, amnesty, exclude, exclude, exportResults, exportResults, getContent, getProblemDescriptors, getProblemElements, getProject, getResolvedElements, getResolvedProblems, getSeverity, getSeverity, hasReportedProblems, isExcluded, isExcluded, isProblemResolved, isProblemResolved, suppressProblem, suppressProblem, updateContent
addProblemElement, getElement, resolveAllProblemsInElement, resolveProblem
protected static final Logger LOG
protected GlobalInspectionContextImpl myContext
public DefaultInspectionToolPresentation(InspectionToolWrapper toolWrapper, GlobalInspectionContextImpl context)
public boolean isSuppressed(RefEntity element)
isSuppressed
in interface InspectionToolPresentation
public boolean isSuppressed(CommonProblemDescriptor descriptor)
isSuppressed
in interface InspectionToolPresentation
public CommonProblemDescriptor [] getSuppressedProblems(RefEntity entity)
getSuppressedProblems
in interface InspectionToolPresentation
public GlobalInspectionContextImpl getContext()
getContext
in interface InspectionToolPresentation
getContext
in class DefaultInspectionToolResultExporter
protected boolean isDisposed()
public void cleanup()
cleanup
in interface InspectionToolPresentation
public HTMLComposerImpl getComposer()
getComposer
in interface InspectionToolPresentation
public QuickFixAction [] getQuickFixes(RefEntity... refElements)
getQuickFixes
in interface InspectionToolPresentation
public QuickFix findQuickFixes(CommonProblemDescriptor problemDescriptor, RefEntity entity, java.lang.String hint)
findQuickFixes
in interface InspectionToolPresentation
public CommonProblemDescriptor [] getDescriptions(RefEntity refEntity)
ProblemDescriptionsProcessor
getDescriptions
in interface ProblemDescriptionsProcessor
refEntity
- the reference graph node.public void ignoreElement(RefEntity refEntity)
ProblemDescriptionsProcessor
ignoreElement
in interface ProblemDescriptionsProcessor
refEntity
- the reference graph node.public void addProblemElement(RefEntity refElement, boolean filterSuppressed, CommonProblemDescriptor... descriptors)
addProblemElement
in interface InspectionToolResultExporter
addProblemElement
in class DefaultInspectionToolResultExporter
protected boolean filterResolvedItems()
filterResolvedItems
in class DefaultInspectionToolResultExporter