public abstract class AbstractTypeElementAnnotationProcessor extends AbstractProcessor
processingEnv| Constructor and Description |
|---|
AbstractTypeElementAnnotationProcessor() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
action(Artifact artifact) |
protected boolean |
filter(TypeInfo typeInfo) |
protected abstract Stream<Artifact> |
generate(TypeInfo typeInfo) |
abstract Set<String> |
getSupportedAnnotationTypes() |
SourceVersion |
getSupportedSourceVersion() |
protected void |
info(String msg) |
protected String |
name() |
protected boolean |
onError(Set<? extends TypeElement> typeElements,
RoundEnvironment roundEnv,
Throwable e) |
protected void |
onFinish(Set<? extends TypeElement> typeElements,
RoundEnvironment roundEnv) |
protected void |
onStart(Set<? extends TypeElement> typeElements,
RoundEnvironment roundEnv) |
protected boolean |
onSuccess(Set<? extends TypeElement> typeElements,
RoundEnvironment roundEnv) |
protected void |
peek(Artifact artifact) |
boolean |
process(Set<? extends TypeElement> typeElements,
RoundEnvironment roundEnv) |
protected abstract Set<TypeElement> |
roundTypeElementSet(RoundEnvironment roundEnv) |
getCompletions, getSupportedOptions, init, isInitializedpublic AbstractTypeElementAnnotationProcessor()
public abstract Set<String> getSupportedAnnotationTypes()
getSupportedAnnotationTypes in interface ProcessorgetSupportedAnnotationTypes in class AbstractProcessorpublic SourceVersion getSupportedSourceVersion()
getSupportedSourceVersion in interface ProcessorgetSupportedSourceVersion in class AbstractProcessorpublic final boolean process(Set<? extends TypeElement> typeElements, RoundEnvironment roundEnv)
process in interface Processorprocess in class AbstractProcessorprotected void action(Artifact artifact)
protected boolean filter(TypeInfo typeInfo)
protected void info(String msg)
protected String name()
protected boolean onError(Set<? extends TypeElement> typeElements, RoundEnvironment roundEnv, Throwable e)
protected void onFinish(Set<? extends TypeElement> typeElements, RoundEnvironment roundEnv)
protected void onStart(Set<? extends TypeElement> typeElements, RoundEnvironment roundEnv)
protected boolean onSuccess(Set<? extends TypeElement> typeElements, RoundEnvironment roundEnv)
protected void peek(Artifact artifact)
protected abstract Set<TypeElement> roundTypeElementSet(RoundEnvironment roundEnv)
Copyright © 2015 Objectos Software LTDA. All rights reserved.