Class BasicTypeProcessor

All Implemented Interfaces:
Processor
Direct Known Subclasses:
CFGProcessor

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.
      Parameters:
      root - where to start the tree traversal
      Returns:
      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
      Parameters:
      e - element of the analyzed class
      p - the tree path to the element, with the leaf being a ClassTree