Interface LookupFactory
- All Superinterfaces:
Function<Class<?>,MethodHandles.Lookup>
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
Factory responsible for creating full-access
lookups.-
Method Summary
Modifier and TypeMethodDescriptiondefault MethodHandles.Lookup@NotNull MethodHandles.LookupCreates a lookup for the given class.
-
Method Details
-
create
Creates a lookup for the given class.- Parameters:
clazz- class for which to create a lookup- Returns:
- lookup for the given class
-
apply
- Specified by:
applyin interfaceFunction<Class<?>,MethodHandles.Lookup>
-