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