Package org.jdbi.v3.core.extension
Class PrivateLookupInKludge
- java.lang.Object
-
- org.jdbi.v3.core.extension.PrivateLookupInKludge
-
final class PrivateLookupInKludge extends java.lang.Objectthis is a required kludge for JDK 8. Remove once we move past JDK8 compatibility.
-
-
Field Summary
Fields Modifier and Type Field Description private static intANY_ACCESSprivate static java.lang.reflect.MethodPRIVATE_LOOKUP_INprivate static java.util.Map<java.lang.Class<?>,java.lang.invoke.MethodHandles.Lookup>PRIVATE_LOOKUPS
-
Constructor Summary
Constructors Modifier Constructor Description privatePrivateLookupInKludge()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description private static java.lang.invoke.MethodHandles.LookupgetConstructorLookup(java.lang.Class<?> type)(package private) static java.lang.invoke.MethodHandles.LookuplookupFor(java.lang.Class<?> clazz)private static java.lang.reflect.MethodprivateLookupIn()
-
-
-
Field Detail
-
ANY_ACCESS
private static final int ANY_ACCESS
- See Also:
- Constant Field Values
-
PRIVATE_LOOKUP_IN
private static final java.lang.reflect.Method PRIVATE_LOOKUP_IN
-
PRIVATE_LOOKUPS
private static final java.util.Map<java.lang.Class<?>,java.lang.invoke.MethodHandles.Lookup> PRIVATE_LOOKUPS
-
-
Method Detail
-
privateLookupIn
private static java.lang.reflect.Method privateLookupIn()
-
lookupFor
static java.lang.invoke.MethodHandles.Lookup lookupFor(java.lang.Class<?> clazz)
-
getConstructorLookup
private static java.lang.invoke.MethodHandles.Lookup getConstructorLookup(java.lang.Class<?> type) throws java.lang.ReflectiveOperationException- Throws:
java.lang.ReflectiveOperationException
-
-