Class AnnotationUtils
java.lang.Object
io.micronaut.annotation.processing.AnnotationUtils
Utility methods for annotations.
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedAnnotationUtils(ProcessingEnvironment processingEnv, Elements elementUtils, Messager messager, Types types, ModelUtils modelUtils, GenericUtils genericUtils, Filer filer) Default constructor.protectedAnnotationUtils(ProcessingEnvironment processingEnv, Elements elementUtils, Messager messager, Types types, ModelUtils modelUtils, GenericUtils genericUtils, Filer filer, io.micronaut.core.convert.value.MutableConvertibleValues<Object> visitorAttributes) Default constructor. -
Method Summary
Modifier and TypeMethodDescription@Nullable io.micronaut.inject.annotation.AnnotatedElementValidatorTheAnnotatedElementValidatorinstance.Creates a new annotation builder.Creates a newJavaVisitorContext.
-
Constructor Details
-
AnnotationUtils
protected AnnotationUtils(ProcessingEnvironment processingEnv, Elements elementUtils, Messager messager, Types types, ModelUtils modelUtils, GenericUtils genericUtils, Filer filer, io.micronaut.core.convert.value.MutableConvertibleValues<Object> visitorAttributes) Default constructor.- Parameters:
processingEnv- The processing envelementUtils- The elementsmessager- The messagertypes- The typesmodelUtils- The model utilsgenericUtils- The generic utilsfiler- The filervisitorAttributes- The visitor attributes
-
AnnotationUtils
protected AnnotationUtils(ProcessingEnvironment processingEnv, Elements elementUtils, Messager messager, Types types, ModelUtils modelUtils, GenericUtils genericUtils, Filer filer) Default constructor.- Parameters:
processingEnv- The processing envelementUtils- The elementsmessager- The messagertypes- The typesmodelUtils- The model utilsgenericUtils- The generic utilsfiler- The filer
-
-
Method Details
-
getElementValidator
@Nullable public @Nullable io.micronaut.inject.annotation.AnnotatedElementValidator getElementValidator()TheAnnotatedElementValidatorinstance. Can be null.- Returns:
- The validator instance
-
newAnnotationBuilder
Creates a new annotation builder.- Returns:
- The builder
-
newVisitorContext
Creates a newJavaVisitorContext.- Returns:
- The visitor context
-