MethodHandles - JRE Emulation | JRE Emulation
public class

MethodHandles

extends Object
java.lang.Object
   ↳ java.lang.invoke.MethodHandles

Summary

Nested Classes
class MethodHandles.Lookup  
Public Constructors
MethodHandles()
Public Methods
static MethodHandle arrayElementGetter(Class<?> arrayClass)
static MethodHandle arrayElementSetter(Class<?> arrayClass)
static MethodHandle catchException(MethodHandle target, Class<? extends Throwable> exType, MethodHandle handler)
static MethodHandle collectArguments(MethodHandle target, int pos, MethodHandle filter)
static MethodHandle constant(Class<?> type, Object value)
static MethodHandle dropArguments(MethodHandle target, int pos, Class...<?> valueTypes)
static MethodHandle dropArguments(MethodHandle target, int pos, List<Class<?>> valueTypes)
static MethodHandle exactInvoker(MethodType type)
static MethodHandle explicitCastArguments(MethodHandle target, MethodType newType)
static MethodHandle filterArguments(MethodHandle target, int pos, MethodHandle... filters)
static MethodHandle filterReturnValue(MethodHandle target, MethodHandle filter)
static MethodHandle foldArguments(MethodHandle target, MethodHandle combiner)
static MethodHandle guardWithTest(MethodHandle test, MethodHandle target, MethodHandle fallback)
static MethodHandle identity(Class<?> type)
static MethodHandle insertArguments(MethodHandle target, int pos, Object... values)
static MethodHandle invoker(MethodType type)
static MethodHandles.Lookup lookup()
static MethodHandle permuteArguments(MethodHandle target, MethodType newType, int... reorder)
static MethodHandles.Lookup publicLookup()
static <T extends Member> T reflectAs(Class<T> expected, MethodHandle target)
static MethodHandle spreadInvoker(MethodType type, int leadingArgCount)
static MethodHandle throwException(Class<?> returnType, Class<? extends Throwable> exType)
Inherited Methods
[Expand]
From class java.lang.Object

Public Constructors

public MethodHandles ()

Public Methods

public static MethodHandle arrayElementGetter (Class<?> arrayClass)

public static MethodHandle arrayElementSetter (Class<?> arrayClass)

public static MethodHandle catchException (MethodHandle target, Class<? extends Throwable> exType, MethodHandle handler)

public static MethodHandle collectArguments (MethodHandle target, int pos, MethodHandle filter)

public static MethodHandle constant (Class<?> type, Object value)

public static MethodHandle dropArguments (MethodHandle target, int pos, Class...<?> valueTypes)

public static MethodHandle dropArguments (MethodHandle target, int pos, List<Class<?>> valueTypes)

public static MethodHandle exactInvoker (MethodType type)

public static MethodHandle explicitCastArguments (MethodHandle target, MethodType newType)

public static MethodHandle filterArguments (MethodHandle target, int pos, MethodHandle... filters)

public static MethodHandle filterReturnValue (MethodHandle target, MethodHandle filter)

public static MethodHandle foldArguments (MethodHandle target, MethodHandle combiner)

public static MethodHandle guardWithTest (MethodHandle test, MethodHandle target, MethodHandle fallback)

public static MethodHandle identity (Class<?> type)

public static MethodHandle insertArguments (MethodHandle target, int pos, Object... values)

public static MethodHandle invoker (MethodType type)

public static MethodHandles.Lookup lookup ()

public static MethodHandle permuteArguments (MethodHandle target, MethodType newType, int... reorder)

public static MethodHandles.Lookup publicLookup ()

public static T reflectAs (Class<T> expected, MethodHandle target)

public static MethodHandle spreadInvoker (MethodType type, int leadingArgCount)

public static MethodHandle throwException (Class<?> returnType, Class<? extends Throwable> exType)