|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ICrystalAnalysis
The primary interface to create a Crystal analysis. To create a Crystal plugin, implement this interface (or extend a subtype). Then register the analysis in the plugin.xml file by using the extension-point edu.cmu.cs.crystal.CrystalAnalysis.
Method Summary | |
---|---|
void |
afterAllCompilationUnits()
Inform the analysis that all compilation units have been analyzed. |
void |
beforeAllCompilationUnits()
Inform the analysis that the analysis process is about to begin. |
IAnalysisInput |
getInput()
|
String |
getName()
|
IAnalysisReporter |
getReporter()
|
void |
runAnalysis(IAnalysisReporter reporter,
IAnalysisInput input,
ITypeRoot compUnit,
CompilationUnit rootNode)
Run the analysis! |
Method Detail |
---|
void runAnalysis(IAnalysisReporter reporter, IAnalysisInput input, ITypeRoot compUnit, CompilationUnit rootNode)
reporter
- The object that is used to report errors. Output.input
- The input to this analysis.compUnit
- The compilation unitrootNode
- The root ASTNode of the compilation unitString getName()
void afterAllCompilationUnits()
void beforeAllCompilationUnits()
IAnalysisReporter getReporter()
IAnalysisInput getInput()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |