public abstract class BasicTypeProcessor extends AbstractTypeProcessor
| Modifier and Type | Field and Description |
|---|---|
protected @MonotonicNonNull 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.
|
getCompilerLog, init, process, typeProcessingOver, typeProcessingStartgetCompletions, getSupportedAnnotationTypes, getSupportedOptions, getSupportedSourceVersion, isInitializedprotected @MonotonicNonNull CompilationUnitTree currentRoot
protected abstract TreePathScanner<?,?> createTreePathScanner(CompilationUnitTree root)
root - where to start the tree traversalpublic void typeProcess(TypeElement e, TreePath p)
typeProcess in class AbstractTypeProcessore - element of the analyzed classp - the tree path to the element, with the leaf being a ClassTree