Class SpotbugsNullableTransformer
java.lang.Object
io.micronaut.inject.annotation.internal.SpotbugsNullableTransformer
- All Implemented Interfaces:
- Named,- AnnotationTransformer<Annotation>,- NamedAnnotationTransformer
@Internal
public class SpotbugsNullableTransformer
extends Object
implements NamedAnnotationTransformer
A transformer that remaps edu.umd.cs.findbugs.annotations.Nullable to 
javax.annotation.Nullable.- Since:
- 4.0.0
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptiongetName()List<AnnotationValue<?>>transform(AnnotationValue<Annotation> annotation, VisitorContext visitorContext) The transform method will be called for each instances of the annotation returned via this method.
- 
Constructor Details- 
SpotbugsNullableTransformerpublic SpotbugsNullableTransformer()
 
- 
- 
Method Details- 
getName
- 
transformpublic List<AnnotationValue<?>> transform(AnnotationValue<Annotation> annotation, VisitorContext visitorContext) Description copied from interface:AnnotationTransformerThe transform method will be called for each instances of the annotation returned via this method.- Specified by:
- transformin interface- AnnotationTransformer<Annotation>
- Parameters:
- annotation- The annotation values
- visitorContext- The context that is being visited
- Returns:
- A list of zero or many annotations and values to map to
 
 
-