public abstract class AbstractAnnotationProcessor extends AbstractProcessor
processingEnv
Constructor and Description |
---|
AbstractAnnotationProcessor() |
Modifier and Type | Method and Description |
---|---|
protected void |
dumpExceptionToErrorFile(String fileName,
String message,
Throwable e) |
protected void |
error(String message) |
protected VariableElement |
findFieldElement(TypeElement classElement,
String fieldName) |
protected ExecutableElement |
findGetter(String fieldName,
TypeElement classElement) |
protected String |
findJavaDoc(Elements elementUtils,
Element element,
String fieldName,
String name,
TypeElement classElement,
boolean builderPattern) |
protected ExecutableElement |
findSetter(String fieldName,
TypeElement classElement) |
protected TypeElement |
findTypeElement(RoundEnvironment roundEnv,
String className) |
protected void |
findTypeElementChildren(RoundEnvironment roundEnv,
Set<TypeElement> found,
String superClassName) |
protected boolean |
hasSuperClass(RoundEnvironment roundEnv,
TypeElement classElement,
String superClassName) |
protected String |
loadResource(String packageName,
String fileName) |
protected void |
log(String message) |
protected void |
log(Throwable e) |
protected void |
processFile(String packageName,
String fileName,
org.apache.camel.tools.apt.Func1<PrintWriter,Void> handler)
Helper method to produce class output text file using the given handler
|
protected void |
warning(String message) |
getCompletions, getSupportedAnnotationTypes, getSupportedOptions, getSupportedSourceVersion, init, isInitialized, process
protected String findJavaDoc(Elements elementUtils, Element element, String fieldName, String name, TypeElement classElement, boolean builderPattern)
protected ExecutableElement findSetter(String fieldName, TypeElement classElement)
protected ExecutableElement findGetter(String fieldName, TypeElement classElement)
protected VariableElement findFieldElement(TypeElement classElement, String fieldName)
protected TypeElement findTypeElement(RoundEnvironment roundEnv, String className)
protected void findTypeElementChildren(RoundEnvironment roundEnv, Set<TypeElement> found, String superClassName)
protected boolean hasSuperClass(RoundEnvironment roundEnv, TypeElement classElement, String superClassName)
protected void processFile(String packageName, String fileName, org.apache.camel.tools.apt.Func1<PrintWriter,Void> handler)
protected void log(String message)
protected void warning(String message)
protected void error(String message)
protected void log(Throwable e)
Apache Camel