public abstract class BasicTypeProcessor extends AbstractTypeProcessor
Modifier and Type | Field and Description |
---|---|
protected CompilationUnitTree |
currentRoot
The source tree that's being scanned.
|
processingEnv
Constructor and Description |
---|
BasicTypeProcessor() |
Modifier and Type | Method and Description |
---|---|
protected abstract TreePathScanner<?,?> |
createTreePathScanner(CompilationUnitTree root)
Create a TreePathScanner at the given root.
|
void |
typeProcess(TypeElement e,
TreePath p)
Visit the tree path for the type element.
|
init, process, typeProcessingOver, typeProcessingStart
getCompletions, getSupportedAnnotationTypes, getSupportedOptions, getSupportedSourceVersion, isInitialized
protected CompilationUnitTree currentRoot
protected abstract TreePathScanner<?,?> createTreePathScanner(CompilationUnitTree root)
public void typeProcess(TypeElement e, TreePath p)
typeProcess
in class AbstractTypeProcessor
e
- element of the analyzed classp
- the tree path to the element, with the leaf being a ClassTree