Package com.iizigo.java.parser
Interface IJavaSourceParser<PROP extends GProp<?>>
- All Known Implementing Classes:
AnnotationsEngine
,TypeEngine
public interface IJavaSourceParser<PROP extends GProp<?>>
Interface for Java source file parsers.
The files are all parsed by the post-Java builder as required, e.g. when they are changed, cleaned, etc.
- Author:
- Christopher Mindus
Method Summary
Modifier and TypeMethodDescriptionvoid
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.Checks if the parser wishes to handle the file in question.
Method Details
getID
String getID()Gets the ID of the processor.getMarkerType
String getMarkerType()Gets the Marker Type for errors used by the parser.cleanProject
Called to perform a clean on a project that is of Java nature, including Module projects.- Parameters:
project
- The project.javaProject
- The Java project.
isHandled
Checks if the parser wishes to handle the file in question.- Parameters:
sourceFile
- The source file.- Returns:
- Return an instance of a class that parses the file in question, or null to ignore the file.