Package net.bytebuddy.dynamic.scaffold
Class FieldLocator.ForExactType.Factory
java.lang.Object
net.bytebuddy.dynamic.scaffold.FieldLocator.ForExactType.Factory
- All Implemented Interfaces:
FieldLocator.Factory
- Enclosing class:
- FieldLocator.ForExactType
@Enhance
public static class FieldLocator.ForExactType.Factory
extends Object
implements FieldLocator.Factory
A factory for creating a
FieldLocator.ForExactType
.-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final TypeDescription
The type for which to locate a field. -
Constructor Summary
ConstructorsConstructorDescriptionFactory
(TypeDescription typeDescription) Creates a new factory for a field locator that locates a field for an exact type. -
Method Summary
Modifier and TypeMethodDescriptionmake
(TypeDescription typeDescription) Creates a field locator for a given type.
-
Field Details
-
typeDescription
The type for which to locate a field.
-
-
Constructor Details
-
Factory
Creates a new factory for a field locator that locates a field for an exact type.- Parameters:
typeDescription
- The type for which to locate a field.
-
-
Method Details
-
make
Creates a field locator for a given type.- Specified by:
make
in interfaceFieldLocator.Factory
- Parameters:
typeDescription
- The type for which to create a field locator.- Returns:
- A suitable field locator.
-