@SupportedAnnotationTypes(value="javax.inject.*") public class OptionalCDIProcessor extends AbstractProcessor
| Modifier and Type | Field and Description |
|---|---|
(package private) AbstractProcessor |
cdiProcessor |
private static String |
DEFAULT_PROCESSOR |
processingEnv| Constructor and Description |
|---|
OptionalCDIProcessor() |
| Modifier and Type | Method and Description |
|---|---|
SourceVersion |
getSupportedSourceVersion()
We just return the latest version of whatever JDK we run on.
|
void |
init(ProcessingEnvironment processingEnv) |
boolean |
process(Set<? extends TypeElement> annotations,
RoundEnvironment roundEnv) |
private void |
warn(String msg) |
getCompletions, getSupportedAnnotationTypes, getSupportedOptions, isInitializedprivate static final String DEFAULT_PROCESSOR
AbstractProcessor cdiProcessor
public void init(ProcessingEnvironment processingEnv)
init in interface Processorinit in class AbstractProcessorprivate void warn(String msg)
public boolean process(Set<? extends TypeElement> annotations, RoundEnvironment roundEnv)
process in interface Processorprocess in class AbstractProcessorpublic SourceVersion getSupportedSourceVersion()
getSupportedSourceVersion in interface ProcessorgetSupportedSourceVersion in class AbstractProcessorCopyright © 2015. All rights reserved.