public abstract class MethodHandle extends Object
Constructor and Description |
---|
MethodHandle()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
MethodHandle |
asCollector(Class<?> a,
int b)
Deprecated.
|
MethodHandle |
asFixedArity()
Deprecated.
|
MethodHandle |
asSpreader(Class<?> a,
int b)
Deprecated.
|
MethodHandle |
asType(MethodType a)
Deprecated.
|
MethodHandle |
asVarargsCollector(Class<?> a)
Deprecated.
|
MethodHandle |
bindTo(Object a)
Deprecated.
|
Object |
invoke(Object... a)
Deprecated.
|
Object |
invokeExact(Object... a)
Deprecated.
|
Object |
invokeWithArguments(List<?> a)
Deprecated.
|
Object |
invokeWithArguments(Object... a)
Deprecated.
|
boolean |
isVarargsCollector()
Deprecated.
|
MethodType |
type()
Deprecated.
|
public MethodType type()
public final Object invokeExact(Object... a) throws Throwable
Throwable
public Object invokeWithArguments(Object... a) throws Throwable
Throwable
public Object invokeWithArguments(List<?> a) throws Throwable
Throwable
public MethodHandle asType(MethodType a)
public MethodHandle asSpreader(Class<?> a, int b)
public MethodHandle asCollector(Class<?> a, int b)
public MethodHandle asVarargsCollector(Class<?> a)
public boolean isVarargsCollector()
public MethodHandle asFixedArity()
public MethodHandle bindTo(Object a)