public static enum AnnotationAppender.ValueFilter.AppendDefaults extends Enum<AnnotationAppender.ValueFilter.AppendDefaults> implements AnnotationAppender.ValueFilter
AnnotationAppender.ValueFilter.AppendDefaults, AnnotationAppender.ValueFilter.SkipDefaults| Enum Constant and Description |
|---|
INSTANCE
The singleton instance.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
isRelevant(AnnotationDescription annotationDescription,
MethodDescription methodDescription)
Checks if the given annotation value should be written as the value of the provided annotation property.
|
String |
toString() |
static AnnotationAppender.ValueFilter.AppendDefaults |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AnnotationAppender.ValueFilter.AppendDefaults[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AnnotationAppender.ValueFilter.AppendDefaults INSTANCE
public static AnnotationAppender.ValueFilter.AppendDefaults[] values()
for (AnnotationAppender.ValueFilter.AppendDefaults c : AnnotationAppender.ValueFilter.AppendDefaults.values()) System.out.println(c);
public static AnnotationAppender.ValueFilter.AppendDefaults valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic boolean isRelevant(AnnotationDescription annotationDescription, MethodDescription methodDescription)
AnnotationAppender.ValueFilterisRelevant in interface AnnotationAppender.ValueFilterannotationDescription - 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.public String toString()
toString in class Enum<AnnotationAppender.ValueFilter.AppendDefaults>Copyright © 2014–2015. All rights reserved.