public static enum FieldProxy.Binder.FieldResolver.Unresolved extends Enum<FieldProxy.Binder.FieldResolver.Unresolved> implements 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 and Description |
---|
INSTANCE
The singleton instance.
|
Modifier and Type | Method and 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()
Returns
true if the field access can be established. |
static FieldProxy.Binder.FieldResolver.Unresolved |
valueOf(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.
|
public static final FieldProxy.Binder.FieldResolver.Unresolved INSTANCE
public static FieldProxy.Binder.FieldResolver.Unresolved[] values()
for (FieldProxy.Binder.FieldResolver.Unresolved c : FieldProxy.Binder.FieldResolver.Unresolved.values()) System.out.println(c);
public static FieldProxy.Binder.FieldResolver.Unresolved valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic boolean isResolved()
true
if the field access can be established.isResolved
in interface FieldProxy.Binder.FieldResolver
true
if the field access can be established.public TypeDescription getProxyType()
getProxyType
in interface FieldProxy.Binder.FieldResolver
public DynamicType.Builder<?> apply(DynamicType.Builder<?> builder, FieldDescription fieldDescription, Assigner assigner, MethodAccessorFactory methodAccessorFactory)
apply
in interface FieldProxy.Binder.FieldResolver
builder
- The dynamic type builder to use.fieldDescription
- The accessed field.assigner
- The assigner to use.methodAccessorFactory
- The method accessor factory to use.Copyright © 2014–2020. All rights reserved.