Class TypeEngine

    • Constructor Summary

      Constructors 
      ConstructorDescription
      TypeEngine() 
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and TypeMethodDescription
      voidcleanProject​(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.
      java.lang.StringgetID()
      Gets the ID of the processor.
      java.lang.StringgetMarkerType()
      Gets the Marker Type for errors used by the parser.
      static voidinitialize()
      Initializes the singleton engine, called from the Java Manager.
      JavaSourceFileProcessor<TypesContainer>isHandled​(org.eclipse.core.resources.IFile sourceFile)
      Checks if the parser wishes to handle the file in question.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • TypeEngine

        public TypeEngine()
    • Method Detail

      • initialize

        public static void initialize()
        Initializes the singleton engine, called from the Java Manager.
      • cleanProject

        public 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.
        Specified by:
        cleanProject in interface IJavaSourceParser<TypesContainer>
        Parameters:
        project - The project.
        javaProject - The Java project.
      • isHandled

        public JavaSourceFileProcessor<TypesContainer> isHandled​(org.eclipse.core.resources.IFile sourceFile)
        Checks if the parser wishes to handle the file in question.
        Specified by:
        isHandled in interface IJavaSourceParser<TypesContainer>
        Parameters:
        sourceFile - The source file.
        Returns:
        Return an instance of a class that parses the file in question, or null to ignore the file.