public class GlobalInspectionContextImpl extends GlobalInspectionContextEx
Modifier and Type | Field and Description |
---|---|
static NotificationGroup |
NOTIFICATION_GROUP |
static boolean |
TESTING_VIEW |
myGlobalReportedProblemFilter, myOutputDir
LOCAL_TOOL_ATTRIBUTE, myExtensions, myProgressIndicator, PROBLEMS_TAG_NAME
Constructor and Description |
---|
GlobalInspectionContextImpl(Project project,
NotNullLazyValue<? extends ContentManager> contentManager) |
createPresentation, exportResults, exportResultsSmart, getGlobalReportedProblemFilter, getOutputPath, getReportedProblemFilter, launchInspectionsOffline, performInspectionsWithProgressAndExportResults, setGlobalReportedProblemFilter, setReportedProblemFilter
assertUnderDaemonProgress, cleanupElements, cleanupElements, cleanupElements, codeCleanup, getCurrentProfile, getCurrentScope, getExtension, getProject, getRefManager, getStdJobDescriptors, getTools, getUsedTools, incrementJobDoneAmount, initializeTools, isSuppressed, isToCheckFile, isToCheckMember, modalCodeCleanup, performInspectionsWithProgress, setCurrentScope, setExternalProfile, setRerunAction, shouldCheck
changeUserMap, clearUserData, clone, copyCopyableDataTo, copyUserDataTo, getCopyableUserData, getUserData, getUserDataString, getUserMap, isUserDataEmpty, putCopyableUserData, putUserData, putUserDataIfAbsent, replace, setUserMap
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getUserData, putUserData
public static volatile boolean TESTING_VIEW
public static final NotificationGroup NOTIFICATION_GROUP
public GlobalInspectionContextImpl(Project project, NotNullLazyValue<? extends ContentManager> contentManager)
public void addView(InspectionResultsView view, java.lang.String title, boolean isOffline)
public void addView(InspectionResultsView view)
public void doInspections(AnalysisScope scope)
doInspections
in class GlobalInspectionContextBase
public void resolveElement(InspectionProfileEntry tool, PsiElement element)
public InspectionResultsView getView()
public AnalysisUIOptions getUIOptions()
public void setSplitterProportion(float proportion)
public ToggleAction createToggleAutoscrollAction()
protected void launchInspections(AnalysisScope scope)
launchInspections
in class GlobalInspectionContextBase
protected PerformInBackgroundOption createOption()
createOption
in class GlobalInspectionContextBase
protected void notifyInspectionsFinished(AnalysisScope scope)
notifyInspectionsFinished
in class GlobalInspectionContextBase
protected void runTools(AnalysisScope scope, boolean runGlobalToolsOnly, boolean isOfflineInspections)
runTools
in class GlobalInspectionContextBase
protected void canceled()
canceled
in class GlobalInspectionContextBase
protected boolean includeDoNotShow(InspectionProfile profile)
public ActionCallback initializeViewIfNeeded()
public void close(boolean noSuspiciousCodeFound)
close
in class GlobalInspectionContextBase
public void cleanup()
cleanup
in interface GlobalInspectionContext
cleanup
in class GlobalInspectionContextBase
public void refreshViews()
public void codeCleanup(AnalysisScope scope, InspectionProfile profile, java.lang.String commandName, java.lang.Runnable postRunnable, boolean modal, java.util.function.Predicate<? super ProblemDescriptor> shouldApplyFix)
codeCleanup
in class GlobalInspectionContextBase
public boolean isViewClosed()
public InspectionToolPresentation getPresentation(InspectionToolWrapper toolWrapper)
getPresentation
in class GlobalInspectionContextEx