Class AnnotationUtils
java.lang.Object
io.micronaut.annotation.processing.AnnotationUtils
Deprecated, for removal: This API element is subject to removal in a future version.
No longer needed
Utility methods for annotations.
- Author:
- Graeme Rocher, Dean Wette
-
Constructor Summary
ModifierConstructorDescriptionAnnotationUtils
(ProcessingEnvironment processingEnv, Elements elementUtils, Messager messager, Types types, ModelUtils modelUtils, GenericUtils genericUtils, Filer filer) Deprecated, for removal: This API element is subject to removal in a future version.Default constructor.protected
AnnotationUtils
(ProcessingEnvironment processingEnv, Elements elementUtils, Messager messager, Types types, ModelUtils modelUtils, GenericUtils genericUtils, Filer filer, MutableConvertibleValues<Object> visitorAttributes) Deprecated, for removal: This API element is subject to removal in a future version.Default constructor. -
Method Summary
Modifier and TypeMethodDescriptionDeprecated, for removal: This API element is subject to removal in a future version.TheAnnotatedElementValidator
instance.Deprecated, for removal: This API element is subject to removal in a future version.Access the builder from the visitorDeprecated, for removal: This API element is subject to removal in a future version.Creates a newJavaVisitorContext
.
-
Constructor Details
-
AnnotationUtils
protected AnnotationUtils(ProcessingEnvironment processingEnv, Elements elementUtils, Messager messager, Types types, ModelUtils modelUtils, GenericUtils genericUtils, Filer filer, MutableConvertibleValues<Object> visitorAttributes) Deprecated, for removal: This API element is subject to removal in a future version.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
public AnnotationUtils(ProcessingEnvironment processingEnv, Elements elementUtils, Messager messager, Types types, ModelUtils modelUtils, GenericUtils genericUtils, Filer filer) Deprecated, for removal: This API element is subject to removal in a future version.Default constructor.- Parameters:
processingEnv
- The processing envelementUtils
- The elementsmessager
- The messagertypes
- The typesmodelUtils
- The model utilsgenericUtils
- The generic utilsfiler
- The filer
-
-
Method Details
-
getElementValidator
Deprecated, for removal: This API element is subject to removal in a future version.TheAnnotatedElementValidator
instance. Can be null.- Returns:
- The validator instance
-
newAnnotationBuilder
@Deprecated(forRemoval=true, since="4.3.0") public JavaAnnotationMetadataBuilder newAnnotationBuilder()Deprecated, for removal: This API element is subject to removal in a future version.Access the builder from the visitorCreates a new annotation builder.- Returns:
- The builder
-
newVisitorContext
Deprecated, for removal: This API element is subject to removal in a future version.Creates a newJavaVisitorContext
.- Returns:
- The visitor context
-