@Override public void report() { if (!Analysis.FIND_EFFECTIVE_RELEVANT_QUALIFIERS) { return; } Global.getAnalysisCache().eagerlyPutDatabase(InterproceduralCallGraph.class, callGraph); } }
public FindNoSideEffectMethods(BugReporter bugReporter) { Global.getAnalysisCache().eagerlyPutDatabase(NoSideEffectMethodsDatabase.class, noSideEffectMethods); }
public BuildStringPassthruGraph(BugReporter bugReporter) { Global.getAnalysisCache().eagerlyPutDatabase(StringPassthruDatabase.class, cache); }
Global.getAnalysisCache().eagerlyPutDatabase(ExecutionPlan.class, executionPlan);
/** * Create the analysis cache object and register it for current execution thread. * <p> * This method is protected to allow clients override it and possibly reuse * some previous analysis data (for Eclipse interactive re-build) * * @throws IOException * if error occurs registering analysis engines in a plugin */ protected IAnalysisCache createAnalysisCache() throws IOException { IAnalysisCache analysisCache = ClassFactory.instance().createAnalysisCache(classPath, bugReporter); // Register the "built-in" analysis engines registerBuiltInAnalysisEngines(analysisCache); // Register analysis engines in plugins registerPluginAnalysisEngines(detectorFactoryCollection, analysisCache); // Install the DetectorFactoryCollection as a database analysisCache.eagerlyPutDatabase(DetectorFactoryCollection.class, detectorFactoryCollection); Global.setAnalysisCacheForCurrentThread(analysisCache); return analysisCache; } /**
Global.getAnalysisCache().eagerlyPutDatabase(ObligationPolicyDatabase.class, database);
@Override public void report() { if (!Analysis.FIND_EFFECTIVE_RELEVANT_QUALIFIERS) { return; } Global.getAnalysisCache().eagerlyPutDatabase(InterproceduralCallGraph.class, callGraph); } }
public BuildStringPassthruGraph(BugReporter bugReporter) { Global.getAnalysisCache().eagerlyPutDatabase(StringPassthruDatabase.class, cache); }
public FindNoSideEffectMethods(BugReporter bugReporter) { Global.getAnalysisCache().eagerlyPutDatabase(NoSideEffectMethodsDatabase.class, noSideEffectMethods); }
Global.getAnalysisCache().eagerlyPutDatabase(ExecutionPlan.class, executionPlan);
/** * Create the analysis cache object and register it for current execution thread. * <p> * This method is protected to allow clients override it and possibly reuse * some previous analysis data (for Eclipse interactive re-build) * * @throws IOException * if error occurs registering analysis engines in a plugin */ protected IAnalysisCache createAnalysisCache() throws IOException { IAnalysisCache analysisCache = ClassFactory.instance().createAnalysisCache(classPath, bugReporter); // Register the "built-in" analysis engines registerBuiltInAnalysisEngines(analysisCache); // Register analysis engines in plugins registerPluginAnalysisEngines(detectorFactoryCollection, analysisCache); // Install the DetectorFactoryCollection as a database analysisCache.eagerlyPutDatabase(DetectorFactoryCollection.class, detectorFactoryCollection); Global.setAnalysisCacheForCurrentThread(analysisCache); return analysisCache; } /**
Global.getAnalysisCache().eagerlyPutDatabase(ObligationPolicyDatabase.class, database);