public enum FieldAccess extends Enum<FieldAccess>
Modifier and Type | Class and Description |
---|---|
static interface |
FieldAccess.Defined
Representation of a field access for which a getter and a putter can be created.
|
Modifier and Type | Method and Description |
---|---|
static FieldAccess.Defined |
forField(FieldDescription fieldDescription)
Creates a field access representation for a given field.
|
static FieldAccess |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static FieldAccess[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final FieldAccess STATIC
public static final FieldAccess INSTANCE
public static FieldAccess[] values()
for (FieldAccess c : FieldAccess.values()) System.out.println(c);
public static FieldAccess 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 static FieldAccess.Defined forField(FieldDescription fieldDescription)
fieldDescription
- The field to be accessed.Copyright © 2014. All rights reserved.