edu.cmu.cs.crystal
Interface IAnalysisInput


public interface IAnalysisInput

This interface holds input and data structures that the analysis may need during its run.

Author:
Nels E. Beckman

Method Summary
 AnnotationDatabase getAnnoDB()
           
 Option<CompilationUnitTACs> getComUnitTACs()
           
 Option<org.eclipse.core.runtime.IProgressMonitor> getProgressMonitor()
           
 

Method Detail

getAnnoDB

AnnotationDatabase getAnnoDB()
Returns:
the AnnotationDatabase that was populated on all the compilation units which will be analyzed.

getComUnitTACs

Option<CompilationUnitTACs> getComUnitTACs()
Returns:
A cache of the TACs for every method declaration, if it is available.

getProgressMonitor

Option<org.eclipse.core.runtime.IProgressMonitor> getProgressMonitor()
Returns:
A progress monitor for canceling the ongoing analysis, or Option.none() if it cannot be canceled. An analysis might wish to cancel the analysis if it hits an error which will cause all further results to be invalid.