public static enum MemberSubstitution.Substitution.Chain.Step.ForDelegation.OffsetMapping.ForFieldHandle.Access extends Enum<MemberSubstitution.Substitution.Chain.Step.ForDelegation.OffsetMapping.ForFieldHandle.Access>
Enum Constant and Description |
---|
GETTER
Describes a field getter.
|
SETTER
Describes a field setter.
|
Modifier and Type | Method and Description |
---|---|
protected abstract JavaConstant.MethodHandle |
resolve(FieldDescription.InDefinedShape fieldDescription)
Resolves a handle for the represented field access.
|
static MemberSubstitution.Substitution.Chain.Step.ForDelegation.OffsetMapping.ForFieldHandle.Access |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MemberSubstitution.Substitution.Chain.Step.ForDelegation.OffsetMapping.ForFieldHandle.Access[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MemberSubstitution.Substitution.Chain.Step.ForDelegation.OffsetMapping.ForFieldHandle.Access GETTER
public static final MemberSubstitution.Substitution.Chain.Step.ForDelegation.OffsetMapping.ForFieldHandle.Access SETTER
public static MemberSubstitution.Substitution.Chain.Step.ForDelegation.OffsetMapping.ForFieldHandle.Access[] values()
for (MemberSubstitution.Substitution.Chain.Step.ForDelegation.OffsetMapping.ForFieldHandle.Access c : MemberSubstitution.Substitution.Chain.Step.ForDelegation.OffsetMapping.ForFieldHandle.Access.values()) System.out.println(c);
public static MemberSubstitution.Substitution.Chain.Step.ForDelegation.OffsetMapping.ForFieldHandle.Access 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 nullprotected abstract JavaConstant.MethodHandle resolve(FieldDescription.InDefinedShape fieldDescription)
fieldDescription
- The field that is being accessed.Copyright © 2014–2024. All rights reserved.