@SupportedAnnotationTypes(value="io.micronaut.context.annotation.Configuration") @SupportedSourceVersion(value=RELEASE_8) @Internal public class PackageConfigurationInjectProcessor extends AbstractProcessor
BeanConfiguration
implementations for
each package annotated with Configuration
.Modifier and Type | Field and Description |
---|---|
protected AnnotationUtils |
annotationUtils |
protected ClassWriterOutputVisitor |
classWriterOutputVisitor |
protected Elements |
elementUtils |
protected Filer |
filer |
protected GenericUtils |
genericUtils |
protected Messager |
messager |
protected ModelUtils |
modelUtils |
protected Types |
typeUtils |
processingEnv
Constructor and Description |
---|
PackageConfigurationInjectProcessor() |
Modifier and Type | Method and Description |
---|---|
protected void |
error(Element e,
String msg,
Object... args)
Produce a compile error for the given element and message.
|
protected void |
error(String msg,
Object... args)
Produce a compile error for the given message.
|
void |
init(ProcessingEnvironment processingEnv) |
protected void |
note(Element e,
String msg,
Object... args)
Produce a compile note for the given element and message.
|
protected void |
note(String msg,
Object... args)
Produce a compile note for the given element and message.
|
boolean |
process(Set<? extends TypeElement> annotations,
RoundEnvironment roundEnv) |
protected void |
warning(Element e,
String msg,
Object... args)
Produce a compile warning for the given element and message.
|
protected void |
warning(String msg,
Object... args)
Produce a compile warning for the given message.
|
getCompletions, getSupportedAnnotationTypes, getSupportedOptions, getSupportedSourceVersion, isInitialized
protected Messager messager
protected Filer filer
protected Elements elementUtils
protected Types typeUtils
protected AnnotationUtils annotationUtils
protected GenericUtils genericUtils
protected ModelUtils modelUtils
protected ClassWriterOutputVisitor classWriterOutputVisitor
public final void init(ProcessingEnvironment processingEnv)
public final boolean process(Set<? extends TypeElement> annotations, RoundEnvironment roundEnv)
process
in interface Processor
process
in class AbstractProcessor
protected final void error(Element e, String msg, Object... args)
e
- The elementmsg
- The messageargs
- The string format argsprotected final void error(String msg, Object... args)
msg
- The messageargs
- The string format argsprotected final void warning(Element e, String msg, Object... args)
e
- The elementmsg
- The messageargs
- The string format argsprotected final void warning(String msg, Object... args)
msg
- The messageargs
- The string format argsprotected final void note(Element e, String msg, Object... args)
e
- The elementmsg
- The messageargs
- The string format args