Class IntrospectedToBeanPropertiesTransformer
java.lang.Object
io.micronaut.inject.beans.visitor.IntrospectedToBeanPropertiesTransformer
- All Implemented Interfaces:
AnnotationTransformer<Introspected>
,TypedAnnotationTransformer<Introspected>
@Internal
public final class IntrospectedToBeanPropertiesTransformer
extends Object
implements TypedAnnotationTransformer<Introspected>
Map values of
Introspected
to BeanProperties
, because Introspected
module doesn't depend on the inject module.- Since:
- 4.0.0
- Author:
- Denis Stepanov
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionThe annotation type to be mapped.List<AnnotationValue<?>>
transform
(AnnotationValue<Introspected> annotation, VisitorContext visitorContext) The transform method will be called for each instances of the annotation returned via this method.
-
Constructor Details
-
IntrospectedToBeanPropertiesTransformer
public IntrospectedToBeanPropertiesTransformer()
-
-
Method Details
-
transform
public List<AnnotationValue<?>> transform(AnnotationValue<Introspected> annotation, VisitorContext visitorContext) Description copied from interface:AnnotationTransformer
The transform method will be called for each instances of the annotation returned via this method.- Specified by:
transform
in interfaceAnnotationTransformer<Introspected>
- Parameters:
annotation
- The annotation valuesvisitorContext
- The context that is being visited- Returns:
- A list of zero or many annotations and values to map to
-
annotationType
Description copied from interface:TypedAnnotationTransformer
The annotation type to be mapped.- Specified by:
annotationType
in interfaceTypedAnnotationTransformer<Introspected>
- Returns:
- The annotation type
-