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 Details

    • typeDescription

      private final TypeDescription typeDescription
      The type for which to locate a field.
  • Constructor Details

    • Factory

      public Factory(TypeDescription typeDescription)
      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

      public FieldLocator make(TypeDescription typeDescription)
      Creates a field locator for a given type.
      Specified by:
      make in interface FieldLocator.Factory
      Parameters:
      typeDescription - The type for which to create a field locator.
      Returns:
      A suitable field locator.