Enum 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:
java.io.Serializable
,java.lang.Comparable<FieldProxy.Binder.FieldResolver.Unresolved>
,FieldProxy.Binder.FieldResolver
- Enclosing interface:
- FieldProxy.Binder.FieldResolver
public static enum FieldProxy.Binder.FieldResolver.Unresolved extends java.lang.Enum<FieldProxy.Binder.FieldResolver.Unresolved> implements FieldProxy.Binder.FieldResolver
An unresolved field resolver.
-
-
Nested Class Summary
-
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 Enum Constant Description INSTANCE
The singleton instance.
-
Constructor Summary
Constructors Modifier Constructor Description private
Unresolved()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description DynamicType.Builder<?>
apply(DynamicType.Builder<?> builder, FieldDescription fieldDescription, Assigner assigner, MethodAccessorFactory methodAccessorFactory)
Applies this field resolver to a dynamic type.TypeDescription
getProxyType()
Returns the type of the field access proxy.boolean
isResolved()
Returnstrue
if the field access can be established.static FieldProxy.Binder.FieldResolver.Unresolved
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static FieldProxy.Binder.FieldResolver.Unresolved[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
INSTANCE
public static final FieldProxy.Binder.FieldResolver.Unresolved INSTANCE
The singleton instance.
-
-
Method Detail
-
values
public static FieldProxy.Binder.FieldResolver.Unresolved[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (FieldProxy.Binder.FieldResolver.Unresolved c : FieldProxy.Binder.FieldResolver.Unresolved.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static FieldProxy.Binder.FieldResolver.Unresolved valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- 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
public TypeDescription 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.
-
-