Interface ITypeProcessor


public interface ITypeProcessor
Implementors of this interface can examine and rewrite the Java AST during compilation.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    process(TypeElement fqn, TypeProcessor typeProcessor, IssueReporter<JavaFileObject> issueReporter)
    A typical implementation creates a TreeTranslator and visits the tree in context e.g.,
  • Method Details

    • process

      void process(TypeElement fqn, TypeProcessor typeProcessor, IssueReporter<JavaFileObject> issueReporter)
      A typical implementation creates a TreeTranslator and visits the tree in context e.g.,
        TreeTranslator visitor = new ExtensionTransformer( this, typeProcessor );
        typeProcessor.getTree().accept( visitor );