public enum AnnotationRequirement extends Enum<AnnotationRequirement>
| Enum Constant and Description |
|---|
ANNOTATIONS_OPTIONAL
Equality annotations are optional.
|
ANNOTATIONS_REQUIRED
Equality annotations are required.
|
| Modifier and Type | Method and Description |
|---|---|
static AnnotationRequirement |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AnnotationRequirement[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AnnotationRequirement ANNOTATIONS_OPTIONAL
public static final AnnotationRequirement ANNOTATIONS_REQUIRED
public static AnnotationRequirement[] values()
for (AnnotationRequirement c : AnnotationRequirement.values()) System.out.println(c);
public static AnnotationRequirement 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 nullCopyright © 2017 <code@io7m.com> http://io7m.com