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.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
Nested classes/interfaces inherited from interface net.bytebuddy.implementation.bind.annotation.FieldProxy.Binder.FieldResolver
FieldProxy.Binder.FieldResolver.Factory, FieldProxy.Binder.FieldResolver.ForGetter, FieldProxy.Binder.FieldResolver.ForGetterSetterPair, FieldProxy.Binder.FieldResolver.ForSetter, FieldProxy.Binder.FieldResolver.Unresolved
-
Enum Constant Summary
Enum Constants -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionapply
(DynamicType.Builder<?> builder, FieldDescription fieldDescription, Assigner assigner, MethodAccessorFactory methodAccessorFactory) Applies this field resolver to a dynamic type.Returns the type of the field access proxy.boolean
Returnstrue
if the field access can be established.Returns the enum constant of this class with the specified name.values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
INSTANCE
The singleton instance.
-
-
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
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 nameNullPointerException
- if the argument is null
-
isResolved
public boolean isResolved()Returnstrue
if the field access can be established.- Specified by:
isResolved
in interfaceFieldProxy.Binder.FieldResolver
- Returns:
true
if the field access can be established.
-
getProxyType
Returns the type of the field access proxy.- Specified by:
getProxyType
in interfaceFieldProxy.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 interfaceFieldProxy.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.
-