public abstract class AnnotationProcessor extends AbstractProcessor
processingEnv| Constructor and Description |
|---|
AnnotationProcessor() |
| Modifier and Type | Method and Description |
|---|---|
protected abstract Class<? extends Annotation> |
annotationType() |
protected boolean |
filter(TypeInfo typeInfo) |
protected abstract Stream<com.squareup.javapoet.JavaFile> |
generate(TypeInfo typeInfo) |
Set<String> |
getSupportedAnnotationTypes() |
SourceVersion |
getSupportedSourceVersion() |
protected void |
info(String msg) |
protected String |
name() |
protected void |
peek(com.squareup.javapoet.JavaFile file) |
boolean |
process(Set<? extends TypeElement> typeElements,
RoundEnvironment roundEnv) |
protected boolean |
processReturnOnError(Set<? extends TypeElement> typeElements,
RoundEnvironment roundEnv,
Throwable e) |
protected boolean |
processReturnOnSuccess(Set<? extends TypeElement> typeElements,
RoundEnvironment roundEnv) |
getCompletions, getSupportedOptions, init, isInitializedpublic Set<String> getSupportedAnnotationTypes()
getSupportedAnnotationTypes in interface ProcessorgetSupportedAnnotationTypes in class AbstractProcessorpublic SourceVersion getSupportedSourceVersion()
getSupportedSourceVersion in interface ProcessorgetSupportedSourceVersion in class AbstractProcessorpublic boolean process(Set<? extends TypeElement> typeElements, RoundEnvironment roundEnv)
process in interface Processorprocess in class AbstractProcessorprotected abstract Class<? extends Annotation> annotationType()
protected boolean filter(TypeInfo typeInfo)
protected void info(String msg)
protected String name()
protected void peek(com.squareup.javapoet.JavaFile file)
protected boolean processReturnOnError(Set<? extends TypeElement> typeElements, RoundEnvironment roundEnv, Throwable e)
protected boolean processReturnOnSuccess(Set<? extends TypeElement> typeElements, RoundEnvironment roundEnv)
Copyright © 2015 Objectos Software LTDA. All rights reserved.