Interface ITypeProcessor
public interface ITypeProcessor
Implementors of this interface can examine and rewrite the Java AST during compilation.
-
Method Summary
Modifier and TypeMethodDescriptionvoidprocess(TypeElement fqn, TypeProcessor typeProcessor, IssueReporter<JavaFileObject> issueReporter) A typical implementation creates aTreeTranslatorand visits the tree in context e.g.,
-
Method Details
-
process
void process(TypeElement fqn, TypeProcessor typeProcessor, IssueReporter<JavaFileObject> issueReporter) A typical implementation creates aTreeTranslatorand visits the tree in context e.g.,TreeTranslator visitor = new ExtensionTransformer( this, typeProcessor ); typeProcessor.getTree().accept( visitor );
-