Interface ClassInjector.UsingLookup.MethodHandles

Enclosing class:
ClassInjector.UsingLookup

@Proxied("java.lang.invoke.MethodHandles") protected static interface ClassInjector.UsingLookup.MethodHandles
A dispatcher for java.lang.invoke.MethodHandles.
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Interface
    Description
    static interface 
    A dispatcher for java.lang.invoke.MethodHandles$Lookup.
  • Method Summary

    Modifier and Type
    Method
    Description
    privateLookupIn(Class<?> type, Object lookup)
    Resolves the supplied lookup instance's access scope for the supplied type.
  • Method Details

    • privateLookupIn

      @IsStatic Object privateLookupIn(Class<?> type, @Proxied("java.lang.invoke.MethodHandles$Lookup") Object lookup) throws 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:
      IllegalAccessException - If an illegal access occurs.