public class CoreNonNullTransformer extends Object implements NamedAnnotationTransformer
NonNull
to javax.annotation.Nonnull
.Constructor and Description |
---|
CoreNonNullTransformer() |
Modifier and Type | Method and Description |
---|---|
String |
getName() |
List<AnnotationValue<?>> |
transform(AnnotationValue<Annotation> annotation,
VisitorContext visitorContext)
The transform method will be called for each instances of the annotation returned via this method.
|
public String getName()
public List<AnnotationValue<?>> transform(AnnotationValue<Annotation> annotation, VisitorContext visitorContext)
AnnotationTransformer
transform
in interface AnnotationTransformer<Annotation>
annotation
- The annotation valuesvisitorContext
- The context that is being visited