static VarHandle |
MethodHandles.arrayElementVarHandle(Class<?> arrayClass) |
Produces a VarHandle giving access to elements of an array of type
arrayClass .
|
static VarHandle |
MethodHandles.byteArrayViewVarHandle(Class<?> viewArrayClass,
ByteOrder byteOrder) |
Produces a VarHandle giving access to elements of a byte[] array
viewed as if it were a different primitive array type, such as
int[] or long[] .
|
static VarHandle |
MethodHandles.byteBufferViewVarHandle(Class<?> viewArrayClass,
ByteOrder byteOrder) |
Produces a VarHandle giving access to elements of a ByteBuffer
viewed as if it were an array of elements of a different primitive
component type to that of byte , such as int[] or
long[] .
|
VarHandle |
MethodHandles.Lookup.findStaticVarHandle(Class<?> decl,
String name,
Class<?> type) |
Produces a VarHandle giving access to a static field name of
type type declared in a class of type decl .
|
VarHandle |
MethodHandles.Lookup.findVarHandle(Class<?> recv,
String name,
Class<?> type) |
Produces a VarHandle giving access to a non-static field name
of type type declared in a class of type recv .
|
VarHandle |
MethodHandles.Lookup.unreflectVarHandle(Field f) |
Produces a VarHandle giving access to a reflected field f
of type T declared in a class of type R .
|