@JavaDispatcher.Proxied(value="java.lang.invoke.MethodHandleInfo") protected static interface JavaConstant.MethodHandle.MethodHandleInfo
java.lang.invoke.MethodHandleInfo
.Modifier and Type | Method and Description |
---|---|
Class<?> |
getDeclaringClass(Object value)
Returns the declaring type of the method handle info.
|
Object |
getMethodType(Object value)
Returns the
java.lang.invoke.MethodType of the method handle info. |
String |
getName(Object value)
Returns the name of the method handle info.
|
int |
getReferenceKind(Object value)
Returns the reference kind of the method handle info.
|
Object |
revealDirect(Object handle)
Returns the
java.lang.invoke.MethodHandleInfo of the provided method handle. |
String getName(Object value)
value
- The java.lang.invoke.MethodHandleInfo
to resolve.Class<?> getDeclaringClass(Object value)
value
- The java.lang.invoke.MethodHandleInfo
to resolve.int getReferenceKind(Object value)
value
- The java.lang.invoke.MethodHandleInfo
to resolve.Object getMethodType(Object value)
java.lang.invoke.MethodType
of the method handle info.value
- The java.lang.invoke.MethodHandleInfo
to resolve.java.lang.invoke.MethodType
of the method handle info.@JavaDispatcher.IsConstructor Object revealDirect(@JavaDispatcher.Proxied(value="java.lang.invoke.MethodHandle") Object handle)
java.lang.invoke.MethodHandleInfo
of the provided method handle. This method
was available on Java 7 but replaced by a lookup-based method in Java 8 and later.handle
- The java.lang.invoke.MethodHandle
to resolve.java.lang.invoke.MethodHandleInfo
to describe the supplied method handle.Copyright © 2014–2021. All rights reserved.