public static enum FieldLocator.NoOp extends Enum<FieldLocator.NoOp> implements FieldLocator, FieldLocator.Factory
FieldLocator.AbstractBase, FieldLocator.Factory, FieldLocator.ForClassHierarchy, FieldLocator.ForExactType, FieldLocator.ForTopLevelType, FieldLocator.NoOp, FieldLocator.Resolution| Enum Constant and Description |
|---|
INSTANCE
The singleton instance.
|
| Modifier and Type | Method and Description |
|---|---|
FieldLocator.Resolution |
locate(String name)
Locates a field with the given name and throws an exception if no such type exists.
|
FieldLocator.Resolution |
locate(String name,
TypeDescription type)
Locates a field with the given name and type and throws an exception if no such type exists.
|
FieldLocator |
make(TypeDescription typeDescription)
Creates a field locator for a given type.
|
static FieldLocator.NoOp |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static FieldLocator.NoOp[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final FieldLocator.NoOp INSTANCE
public static FieldLocator.NoOp[] values()
for (FieldLocator.NoOp c : FieldLocator.NoOp.values()) System.out.println(c);
public static FieldLocator.NoOp 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 FieldLocator make(TypeDescription typeDescription)
make in interface FieldLocator.FactorytypeDescription - The type for which to create a field locator.public FieldLocator.Resolution locate(String name)
locate in interface FieldLocatorname - The name of the field to locate.public FieldLocator.Resolution locate(String name, TypeDescription type)
locate in interface FieldLocatorname - The name of the field to locate.type - The type fo the field to locate.Copyright © 2014–2019. All rights reserved.