public static enum FieldAccessor.FieldLocator.ForInstrumentedType extends Enum<FieldAccessor.FieldLocator.ForInstrumentedType> implements FieldAccessor.FieldLocator.Factory
Enum Constant and Description |
---|
INSTANCE
The singleton instance.
|
Modifier and Type | Method and Description |
---|---|
FieldAccessor.FieldLocator |
make(TypeDescription instrumentedType)
Creates a field locator.
|
String |
toString() |
static FieldAccessor.FieldLocator.ForInstrumentedType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static FieldAccessor.FieldLocator.ForInstrumentedType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final FieldAccessor.FieldLocator.ForInstrumentedType INSTANCE
public static FieldAccessor.FieldLocator.ForInstrumentedType[] values()
for (FieldAccessor.FieldLocator.ForInstrumentedType c : FieldAccessor.FieldLocator.ForInstrumentedType.values()) System.out.println(c);
public static FieldAccessor.FieldLocator.ForInstrumentedType 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 FieldAccessor.FieldLocator make(TypeDescription instrumentedType)
FieldAccessor.FieldLocator.Factory
make
in interface FieldAccessor.FieldLocator.Factory
instrumentedType
- The instrumented type onto which the field locator is to be applied.public String toString()
toString
in class Enum<FieldAccessor.FieldLocator.ForInstrumentedType>
Copyright © 2014–2016. All rights reserved.