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, writeOutputclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcreateRefNode, getCustomActionsPanel, getCustomPreviewPanel, getCustomPreviewPanel, getToolWrapper, isDummy, patchToolNode, showProblemCountamnesty, amnesty, exclude, exclude, exportResults, exportResults, getContent, getProblemDescriptors, getProblemElements, getProject, getResolvedElements, getResolvedProblems, getSeverity, getSeverity, hasReportedProblems, isExcluded, isExcluded, isProblemResolved, isProblemResolved, suppressProblem, suppressProblem, updateContentaddProblemElement, getElement, resolveAllProblemsInElement, resolveProblemprotected static final Logger LOG
protected GlobalInspectionContextImpl myContext
public DefaultInspectionToolPresentation(InspectionToolWrapper toolWrapper, GlobalInspectionContextImpl context)
public boolean isSuppressed(RefEntity element)
isSuppressed in interface InspectionToolPresentationpublic boolean isSuppressed(CommonProblemDescriptor descriptor)
isSuppressed in interface InspectionToolPresentationpublic CommonProblemDescriptor [] getSuppressedProblems(RefEntity entity)
getSuppressedProblems in interface InspectionToolPresentationpublic GlobalInspectionContextImpl getContext()
getContext in interface InspectionToolPresentationgetContext in class DefaultInspectionToolResultExporterprotected boolean isDisposed()
public void cleanup()
cleanup in interface InspectionToolPresentationpublic HTMLComposerImpl getComposer()
getComposer in interface InspectionToolPresentationpublic QuickFixAction [] getQuickFixes(RefEntity... refElements)
getQuickFixes in interface InspectionToolPresentationpublic QuickFix findQuickFixes(CommonProblemDescriptor problemDescriptor, RefEntity entity, java.lang.String hint)
findQuickFixes in interface InspectionToolPresentationpublic CommonProblemDescriptor [] getDescriptions(RefEntity refEntity)
ProblemDescriptionsProcessorgetDescriptions in interface ProblemDescriptionsProcessorrefEntity - the reference graph node.public void ignoreElement(RefEntity refEntity)
ProblemDescriptionsProcessorignoreElement in interface ProblemDescriptionsProcessorrefEntity - the reference graph node.public void addProblemElement(RefEntity refElement, boolean filterSuppressed, CommonProblemDescriptor... descriptors)
addProblemElement in interface InspectionToolResultExporteraddProblemElement in class DefaultInspectionToolResultExporterprotected boolean filterResolvedItems()
filterResolvedItems in class DefaultInspectionToolResultExporter