Enum Class FieldProxy.Binder.FieldResolver.Unresolved

java.lang.Object
java.lang.Enum<FieldProxy.Binder.FieldResolver.Unresolved>
net.bytebuddy.implementation.bind.annotation.FieldProxy.Binder.FieldResolver.Unresolved
All Implemented Interfaces:
Serializable, Comparable<FieldProxy.Binder.FieldResolver.Unresolved>, Constable, FieldProxy.Binder.FieldResolver
Enclosing interface:
FieldProxy.Binder.FieldResolver

public static enum FieldProxy.Binder.FieldResolver.Unresolved extends Enum<FieldProxy.Binder.FieldResolver.Unresolved> implements FieldProxy.Binder.FieldResolver
An unresolved field resolver.
  • Enum Constant Details

  • Constructor Details

    • Unresolved

      private Unresolved()
  • Method Details

    • values

      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static FieldProxy.Binder.FieldResolver.Unresolved valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null
    • isResolved

      public boolean isResolved()
      Returns true if the field access can be established.
      Specified by:
      isResolved in interface FieldProxy.Binder.FieldResolver
      Returns:
      true if the field access can be established.
    • getProxyType

      public TypeDescription getProxyType()
      Returns the type of the field access proxy.
      Specified by:
      getProxyType in interface FieldProxy.Binder.FieldResolver
      Returns:
      The type of the field access proxy.
    • apply

      public DynamicType.Builder<?> apply(DynamicType.Builder<?> builder, FieldDescription fieldDescription, Assigner assigner, MethodAccessorFactory methodAccessorFactory)
      Applies this field resolver to a dynamic type.
      Specified by:
      apply in interface FieldProxy.Binder.FieldResolver
      Parameters:
      builder - The dynamic type builder to use.
      fieldDescription - The accessed field.
      assigner - The assigner to use.
      methodAccessorFactory - The method accessor factory to use.
      Returns:
      The builder for creating the field accessor proxy type.