public static interface AnnotationAppender.ValueFilter
Modifier and Type | Interface and Description |
---|---|
static class |
AnnotationAppender.ValueFilter.AppendDefaults
A value filter that does not skip any values.
|
static class |
AnnotationAppender.ValueFilter.SkipDefaults
A value filter that skips all annotation values that represent the default value of the annotation.
|
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–2015. All rights reserved.