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 Details

    • getID

      String getID()
      Gets the ID of the processor.
    • getMarkerType

      String getMarkerType()
      Gets the Marker Type for errors used by the parser.
    • cleanProject

      void cleanProject(IProject project, IJavaProject javaProject)
      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

      JavaSourceFileProcessor<PROP> isHandled(IFile sourceFile)
      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.