Class AnnotationsEngine
java.lang.Object
com.iizigo.java.parser.annotation.AnnotationsEngine
- All Implemented Interfaces:
- IJavaSourceParser<AnnotationsContainer>
The Java annotations engine for properties. This class initiates the process of parsing Java files, to handle refactoring, etc.
- Author:
- Christopher Mindus
- Constructor SummaryConstructors
- Method SummaryModifier and TypeMethodDescription- void- cleanProject- (IProject project, IJavaProject javaProject) Called to perform a clean on a project that is of Java nature, including Module projects.- getID()Gets the ID of the processor.Gets the Marker Type for errors used by the parser.- static voidInitializes the singleton engine, called from the Java Manager.Checks if the parser wishes to handle the file in question.
- Constructor Details- AnnotationsEnginepublic AnnotationsEngine()
 
- Method Details- initializepublic static void initialize()Initializes the singleton engine, called from the Java Manager.
- getIDGets the ID of the processor.- Specified by:
- getIDin interface- IJavaSourceParser<AnnotationsContainer>
 
- getMarkerTypeGets the Marker Type for errors used by the parser.- Specified by:
- getMarkerTypein interface- IJavaSourceParser<AnnotationsContainer>
 
- cleanProjectCalled to perform a clean on a project that is of Java nature, including Module projects.- Specified by:
- cleanProjectin interface- IJavaSourceParser<AnnotationsContainer>
- Parameters:
- project- The project.
- javaProject- The Java project.
 
- isHandledChecks if the parser wishes to handle the file in question.- Specified by:
- isHandledin interface- IJavaSourceParser<AnnotationsContainer>
- Parameters:
- sourceFile- The source file.
- Returns:
- Return an instance of a class that parses the file in question, or null to ignore the file.