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 Type
    Method
    Description
    void
    cleanProject(org.eclipse.core.resources.IProject project, org.eclipse.jdt.core.IJavaProject javaProject)
    Called to perform a clean on a project that is of Java nature, including Module projects.
    Gets the ID of the processor.
    Gets the Marker Type for errors used by the parser.
    isHandled(org.eclipse.core.resources.IFile sourceFile)
    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

      void cleanProject(org.eclipse.core.resources.IProject project, org.eclipse.jdt.core.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(org.eclipse.core.resources.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.