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.
    • 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.