public class GlobalJavaInspectionContextImpl extends GlobalJavaInspectionContext
GlobalJavaInspectionContext.DerivedClassesProcessor, GlobalJavaInspectionContext.DerivedMethodsProcessor, GlobalJavaInspectionContext.UsagesProcessor
CONTEXT
Constructor and Description |
---|
GlobalJavaInspectionContextImpl() |
Modifier and Type | Method and Description |
---|---|
void |
cleanup() |
void |
enqueueClassUsagesProcessor(RefClass refClass,
GlobalJavaInspectionContext.UsagesProcessor p)
Requests that usages of the specified class outside the current analysis
scope be passed to the specified processor.
|
void |
enqueueDerivedClassesProcessor(RefClass refClass,
GlobalJavaInspectionContext.DerivedClassesProcessor p)
Requests that derived classes of the specified class outside the current analysis
scope be passed to the specified processor.
|
void |
enqueueDerivedMethodsProcessor(RefMethod refMethod,
GlobalJavaInspectionContext.DerivedMethodsProcessor p)
Requests that implementing or overriding methods of the specified method outside
the current analysis scope be passed to the specified processor.
|
void |
enqueueFieldUsagesProcessor(RefField refField,
GlobalJavaInspectionContext.UsagesProcessor p)
Requests that usages of the specified field outside the current analysis
scope be passed to the specified processor.
|
void |
enqueueMethodUsagesProcessor(RefMethod refMethod,
GlobalJavaInspectionContext.UsagesProcessor p)
Requests that usages of the specified method outside the current analysis
scope be passed to the specified processor.
|
void |
enqueueQualifiedNameOccurrencesProcessor(RefClass refClass,
java.lang.Runnable c) |
EntryPointsManager |
getEntryPointsManager(RefManager manager) |
static boolean |
isInspectionsEnabled(boolean online,
Project project,
java.lang.Runnable rerunAction) |
void |
performPostRunActivities(java.util.List<InspectionToolWrapper> needRepeatSearchRequest,
GlobalInspectionContext context) |
void |
performPreRunActivities(java.util.List<Tools> globalTools,
java.util.List<Tools> localTools,
GlobalInspectionContext context) |
getID
public void enqueueClassUsagesProcessor(RefClass refClass, GlobalJavaInspectionContext.UsagesProcessor p)
GlobalJavaInspectionContext
enqueueClassUsagesProcessor
in class GlobalJavaInspectionContext
refClass
- the reference graph node for the class whose usages should be processed.p
- the processor to pass the usages to.public void enqueueDerivedClassesProcessor(RefClass refClass, GlobalJavaInspectionContext.DerivedClassesProcessor p)
GlobalJavaInspectionContext
enqueueDerivedClassesProcessor
in class GlobalJavaInspectionContext
refClass
- the reference graph node for the class whose derived classes should be processed.p
- the processor to pass the classes to.public void enqueueDerivedMethodsProcessor(RefMethod refMethod, GlobalJavaInspectionContext.DerivedMethodsProcessor p)
GlobalJavaInspectionContext
enqueueDerivedMethodsProcessor
in class GlobalJavaInspectionContext
refMethod
- the reference graph node for the method whose derived methods should be processed.p
- the processor to pass the methods to.public void enqueueFieldUsagesProcessor(RefField refField, GlobalJavaInspectionContext.UsagesProcessor p)
GlobalJavaInspectionContext
enqueueFieldUsagesProcessor
in class GlobalJavaInspectionContext
refField
- the reference graph node for the field whose usages should be processed.p
- the processor to pass the usages to.public void enqueueMethodUsagesProcessor(RefMethod refMethod, GlobalJavaInspectionContext.UsagesProcessor p)
GlobalJavaInspectionContext
enqueueMethodUsagesProcessor
in class GlobalJavaInspectionContext
refMethod
- the reference graph node for the method whose usages should be processed.p
- the processor to pass the usages to.public void enqueueQualifiedNameOccurrencesProcessor(RefClass refClass, java.lang.Runnable c)
enqueueQualifiedNameOccurrencesProcessor
in class GlobalJavaInspectionContext
public EntryPointsManager getEntryPointsManager(RefManager manager)
getEntryPointsManager
in class GlobalJavaInspectionContext
public static boolean isInspectionsEnabled(boolean online, Project project, java.lang.Runnable rerunAction)
public void cleanup()
public void performPreRunActivities(java.util.List<Tools> globalTools, java.util.List<Tools> localTools, GlobalInspectionContext context)
public void performPostRunActivities(java.util.List<InspectionToolWrapper> needRepeatSearchRequest, GlobalInspectionContext context)