@SupportedAnnotationTypes(value="org.apache.camel.spi.*") @SupportedSourceVersion(value=RELEASE_6) public class EndpointAnnotationProcessor extends AbstractProcessor
processingEnv| Constructor and Description |
|---|
EndpointAnnotationProcessor() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
error(String message) |
protected void |
findClassProperties(RoundEnvironment roundEnv,
SortedMap<String,List<String>> sortedMap,
TypeElement classElement,
String prefix) |
protected TypeElement |
findTypeElement(RoundEnvironment roundEnv,
String className) |
protected void |
log(String message) |
protected void |
log(Throwable e) |
boolean |
process(Set<? extends TypeElement> annotations,
RoundEnvironment roundEnv) |
protected void |
processEndpointClass(RoundEnvironment roundEnv,
TypeElement classElement) |
protected void |
processFile(String packageName,
String scheme,
String fileName,
Func1<PrintWriter,Void> handler)
Helper method to produce class output text file using the given handler
|
protected void |
showDocumentationAndFieldInjections(PrintWriter writer,
RoundEnvironment roundEnv,
TypeElement classElement,
String prefix) |
protected void |
warning(String message) |
protected void |
writeHtmlDocumentation(PrintWriter writer,
RoundEnvironment roundEnv,
TypeElement classElement,
org.apache.camel.spi.UriEndpoint uriEndpoint) |
getCompletions, getSupportedAnnotationTypes, getSupportedOptions, getSupportedSourceVersion, init, isInitializedpublic boolean process(Set<? extends TypeElement> annotations, RoundEnvironment roundEnv)
process in interface Processorprocess in class AbstractProcessorprotected void processEndpointClass(RoundEnvironment roundEnv, TypeElement classElement)
protected void writeHtmlDocumentation(PrintWriter writer, RoundEnvironment roundEnv, TypeElement classElement, org.apache.camel.spi.UriEndpoint uriEndpoint)
protected void showDocumentationAndFieldInjections(PrintWriter writer, RoundEnvironment roundEnv, TypeElement classElement, String prefix)
protected void findClassProperties(RoundEnvironment roundEnv, SortedMap<String,List<String>> sortedMap, TypeElement classElement, String prefix)
protected TypeElement findTypeElement(RoundEnvironment roundEnv, String className)
protected void processFile(String packageName, String scheme, String fileName, 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