Package net.bytebuddy.dynamic.loading
Interface ClassInjector.UsingLookup.MethodHandles
-
- Enclosing class:
- ClassInjector.UsingLookup
@Proxied("java.lang.invoke.MethodHandles") protected static interface ClassInjector.UsingLookup.MethodHandles
A dispatcher forjava.lang.invoke.MethodHandles
.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interface
ClassInjector.UsingLookup.MethodHandles.Lookup
A dispatcher forjava.lang.invoke.MethodHandles$Lookup
.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.Object
privateLookupIn(java.lang.Class<?> type, java.lang.Object lookup)
Resolves the supplied lookup instance's access scope for the supplied type.
-
-
-
Method Detail
-
privateLookupIn
@IsStatic java.lang.Object privateLookupIn(java.lang.Class<?> type, @Proxied("java.lang.invoke.MethodHandles$Lookup") java.lang.Object lookup) throws java.lang.IllegalAccessException
Resolves the supplied lookup instance's access scope for the supplied type.- Parameters:
type
- The type to resolve the scope for.lookup
- The lookup to resolve.- Returns:
- An appropriate lookup instance.
- Throws:
java.lang.IllegalAccessException
- If an illegal access occurs.
-
-