Package java.dyn
Class MethodHandles.Lookup
java.lang.Object
java.dyn.MethodHandles.Lookup
- Enclosing class:
MethodHandles
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionbind
(Object receiver, String name, MethodType type) findSpecial
(Class<?> defc, String name, MethodType type, Class<?> specialCaller) findStatic
(Class<?> defc, String name, MethodType type) findVirtual
(Class<?> defc, String name, MethodType type) Class
<?> toString()
unreflectSpecial
(Method m, Class<?> specialCaller)
-
Field Details
-
PUBLIC_LOOKUP
-
-
Method Details
-
lookupClass
-
in
-
toString
-
findStatic
public MethodHandle findStatic(Class<?> defc, String name, MethodType type) throws NoAccessException - Throws:
NoAccessException
-
findVirtual
public MethodHandle findVirtual(Class<?> defc, String name, MethodType type) throws NoAccessException - Throws:
NoAccessException
-
findSpecial
public MethodHandle findSpecial(Class<?> defc, String name, MethodType type, Class<?> specialCaller) throws NoAccessException - Throws:
NoAccessException
-
bind
- Throws:
NoAccessException
-
unreflect
- Throws:
NoAccessException
-
unreflectSpecial
- Throws:
NoAccessException
-
unreflectConstructor
- Throws:
NoAccessException
-
unreflectGetter
- Throws:
NoAccessException
-
unreflectSetter
- Throws:
NoAccessException
-