public interface AnnotationValueFilter
Modifier and Type | Interface and Description |
---|---|
static class |
AnnotationValueFilter.Default
A default implementation of an annotation value filter that applies the same strategy for any type, field or method.
|
static interface |
AnnotationValueFilter.Factory
A factory for creating an annotation value filter for an annotation's target.
|
Modifier and Type | Method and Description |
---|---|
boolean |
isRelevant(AnnotationDescription annotationDescription,
MethodDescription.InDefinedShape methodDescription)
Checks if the given annotation value should be written as the value of the provided annotation property.
|
boolean isRelevant(AnnotationDescription annotationDescription, MethodDescription.InDefinedShape methodDescription)
annotationDescription
- The annotation value that is being written.methodDescription
- The annotation method of which a value is being written.true
if the value should be written to the annotation.Copyright © 2014–2020. All rights reserved.