Class MethodHandles
java.lang.Object
java.lang.invoke.MethodHandles
Deprecated.
these classes are used internally for Lambda compatibility
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic MethodHandlearrayElementGetter(Class<?> a) Deprecated.static MethodHandlearrayElementSetter(Class<?> a) Deprecated.static MethodHandlecatchException(MethodHandle a, Class<? extends Throwable> b, MethodHandle c) Deprecated.static MethodHandlecollectArguments(MethodHandle a, int b, MethodHandle c) Deprecated.static MethodHandleDeprecated.static MethodHandledropArguments(MethodHandle a, int b, Class<?>... c) Deprecated.static MethodHandledropArguments(MethodHandle a, int b, List<Class<?>> c) Deprecated.static MethodHandleDeprecated.static MethodHandleDeprecated.static MethodHandlefilterArguments(MethodHandle a, int b, MethodHandle... c) Deprecated.static MethodHandleDeprecated.static MethodHandleDeprecated.static MethodHandleDeprecated.static MethodHandleDeprecated.static MethodHandleinsertArguments(MethodHandle a, int b, Object... c) Deprecated.static MethodHandleDeprecated.static MethodHandles.Lookuplookup()Deprecated.static MethodHandlepermuteArguments(MethodHandle a, MethodType b, int... c) Deprecated.static MethodHandles.LookupDeprecated.static <T> TreflectAs(Class<T> a, MethodHandle b) Deprecated.static MethodHandlespreadInvoker(MethodType a, int b) Deprecated.static MethodHandlethrowException(Class<?> a, Class<? extends Throwable> b) Deprecated.Methods inherited from class Object
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitModifier and TypeMethodDescriptionprotected Objectclone()booleanIndicates whether some other object is "equal to" this one.final ClassgetClass()Returns the runtime class of an object.inthashCode()Returns a hash code value for the object.final voidnotify()Wakes up a single thread that is waiting on this object's monitor.final voidWakes up all threads that are waiting on this object's monitor.toString()Returns a string representation of the object.final voidwait()Causes current thread to wait until another thread invokes the method or the method for this object.final voidwait(long timeout) Causes current thread to wait until either another thread invokes the method or the method for this object, or a specified amount of time has elapsed.final voidwait(long timeout, int nanos) Causes current thread to wait until another thread invokes the method or the method for this object, or some other thread interrupts the current thread, or a certain amount of real time has elapsed.
-
Constructor Details
-
MethodHandles
public MethodHandles()Deprecated.
-
-
Method Details
-
lookup
Deprecated. -
publicLookup
Deprecated. -
reflectAs
Deprecated. -
arrayElementGetter
Deprecated.- Throws:
IllegalArgumentException
-
arrayElementSetter
Deprecated.- Throws:
IllegalArgumentException
-
spreadInvoker
Deprecated. -
exactInvoker
Deprecated. -
invoker
Deprecated. -
explicitCastArguments
Deprecated. -
permuteArguments
Deprecated. -
constant
Deprecated. -
identity
Deprecated. -
insertArguments
Deprecated. -
dropArguments
Deprecated. -
dropArguments
Deprecated. -
filterArguments
Deprecated. -
collectArguments
Deprecated. -
filterReturnValue
Deprecated. -
foldArguments
Deprecated. -
guardWithTest
Deprecated. -
catchException
public static MethodHandle catchException(MethodHandle a, Class<? extends Throwable> b, MethodHandle c) Deprecated. -
throwException
Deprecated.
-