public static enum Advice.OffsetMapping.ForFieldHandle.Access extends Enum<Advice.OffsetMapping.ForFieldHandle.Access>
Enum Constant and Description |
---|
GETTER
Determines the resolution of a getter for the method handle.
|
SETTER
Determines the resolution of a setter for the method handle.
|
Modifier and Type | Method and Description |
---|---|
protected abstract JavaConstant.MethodHandle |
resolve(FieldDescription.InDefinedShape fieldDescription)
Returns the appropriate method handle.
|
static Advice.OffsetMapping.ForFieldHandle.Access |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Advice.OffsetMapping.ForFieldHandle.Access[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Advice.OffsetMapping.ForFieldHandle.Access GETTER
public static final Advice.OffsetMapping.ForFieldHandle.Access SETTER
public static Advice.OffsetMapping.ForFieldHandle.Access[] values()
for (Advice.OffsetMapping.ForFieldHandle.Access c : Advice.OffsetMapping.ForFieldHandle.Access.values()) System.out.println(c);
public static Advice.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 description to resolve the handle for.Copyright © 2014–2025. All rights reserved.