Class BasicTypeProcessor

All Implemented Interfaces:
Direct Known Subclasses:

public abstract class BasicTypeProcessor extends AbstractTypeProcessor
Process the types in an AST in a trivial manner, with hooks for derived classes to actually do something.
  • Field Details

  • Constructor Details

    • BasicTypeProcessor

      public BasicTypeProcessor()
  • Method Details

    • createTreePathScanner

      protected abstract TreePathScanner<?,?> createTreePathScanner(CompilationUnitTree root)
      Create a TreePathScanner at the given root.
      root - where to start the tree traversal
      a TreePathScanner at the given root
    • typeProcess

      public void typeProcess(TypeElement e, TreePath p)
      Visit the tree path for the type element.
      Specified by:
      typeProcess in class AbstractTypeProcessor
      e - element of the analyzed class
      p - the tree path to the element, with the leaf being a ClassTree