Interface ITypeProcessor


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

      • 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 );