Interface JavaConstant.MethodHandle.MethodHandles.Lookup
- Enclosing interface:
JavaConstant.MethodHandle.MethodHandles
@Proxied("java.lang.invoke.MethodHandles$Lookup")
public static interface JavaConstant.MethodHandle.MethodHandles.Lookup
A dispatcher to interact with
java.lang.invoke.MethodHandles$Lookup.-
Method Summary
Modifier and TypeMethodDescriptionClass<?> lookupClass(Object value) Resolves the lookup type for a given lookup instance.revealDirect(Object value, Object handle) Reveals thejava.lang.invoke.MethodHandleInfofor the supplied method handle.
-
Method Details
-
lookupClass
-
revealDirect
Reveals thejava.lang.invoke.MethodHandleInfofor the supplied method handle.- Parameters:
value- Thejava.lang.invoke.MethodHandles$Lookupto use for resolving the supplied handlehandle- Thejava.lang.invoke.MethodHandleto resolve.- Returns:
- A
java.lang.invoke.MethodHandleInforepresenting the supplied method handle.
-