final class com.oracle.truffle.polyglot.PolyglotFunction<T, R> implements java.util.function.Function<T, R>, com.oracle.truffle.polyglot.HostWrapper
  minor version: 0
  major version: 59
  flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
  this_class: com.oracle.truffle.polyglot.PolyglotFunction
  super_class: java.lang.Object
{
  final java.lang.Object guestObject;
    descriptor: Ljava/lang/Object;
    flags: (0x0010) ACC_FINAL

  final com.oracle.truffle.polyglot.PolyglotLanguageContext languageContext;
    descriptor: Lcom/oracle/truffle/polyglot/PolyglotLanguageContext;
    flags: (0x0010) ACC_FINAL

  final com.oracle.truffle.api.CallTarget apply;
    descriptor: Lcom/oracle/truffle/api/CallTarget;
    flags: (0x0010) ACC_FINAL

  void <init>(com.oracle.truffle.polyglot.PolyglotLanguageContext, , java.lang.Class<?>, java.lang.reflect.Type);
    descriptor: (Lcom/oracle/truffle/polyglot/PolyglotLanguageContext;Ljava/lang/Object;Ljava/lang/Class;Ljava/lang/reflect/Type;)V
    flags: (0x0000) 
    Code:
      stack=5, locals=5, args_size=5
        start local 0 // com.oracle.truffle.polyglot.PolyglotFunction this
        start local 1 // com.oracle.truffle.polyglot.PolyglotLanguageContext languageContext
        start local 2 // java.lang.Object function
        start local 3 // java.lang.Class returnClass
        start local 4 // java.lang.reflect.Type returnType
         0: .line 58
            aload 0 /* this */
            invokespecial java.lang.Object.<init>:()V
         1: .line 59
            aload 0 /* this */
            aload 2 /* function */
            putfield com.oracle.truffle.polyglot.PolyglotFunction.guestObject:Ljava/lang/Object;
         2: .line 60
            aload 0 /* this */
            aload 1 /* languageContext */
            putfield com.oracle.truffle.polyglot.PolyglotFunction.languageContext:Lcom/oracle/truffle/polyglot/PolyglotLanguageContext;
         3: .line 61
            aload 0 /* this */
            aload 1 /* languageContext */
            aload 2 /* function */
            invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
            aload 3 /* returnClass */
            aload 4 /* returnType */
            invokestatic com.oracle.truffle.polyglot.PolyglotFunction$Apply.lookup:(Lcom/oracle/truffle/polyglot/PolyglotLanguageContext;Ljava/lang/Class;Ljava/lang/Class;Ljava/lang/reflect/Type;)Lcom/oracle/truffle/api/CallTarget;
            putfield com.oracle.truffle.polyglot.PolyglotFunction.apply:Lcom/oracle/truffle/api/CallTarget;
         4: .line 62
            return
        end local 4 // java.lang.reflect.Type returnType
        end local 3 // java.lang.Class returnClass
        end local 2 // java.lang.Object function
        end local 1 // com.oracle.truffle.polyglot.PolyglotLanguageContext languageContext
        end local 0 // com.oracle.truffle.polyglot.PolyglotFunction this
      LocalVariableTable:
        Start  End  Slot             Name  Signature
            0    5     0             this  Lcom/oracle/truffle/polyglot/PolyglotFunction<TT;TR;>;
            0    5     1  languageContext  Lcom/oracle/truffle/polyglot/PolyglotLanguageContext;
            0    5     2         function  Ljava/lang/Object;
            0    5     3      returnClass  Ljava/lang/Class<*>;
            0    5     4       returnType  Ljava/lang/reflect/Type;
    Signature: (Lcom/oracle/truffle/polyglot/PolyglotLanguageContext;Ljava/lang/Object;Ljava/lang/Class<*>;Ljava/lang/reflect/Type;)V
    MethodParameters:
                 Name  Flags
      languageContext  
      function         
      returnClass      
      returnType       

  public R apply();
    descriptor: (Ljava/lang/Object;)Ljava/lang/Object;
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=5, locals=2, args_size=2
        start local 0 // com.oracle.truffle.polyglot.PolyglotFunction this
        start local 1 // java.lang.Object t
         0: .line 66
            aload 0 /* this */
            getfield com.oracle.truffle.polyglot.PolyglotFunction.apply:Lcom/oracle/truffle/api/CallTarget;
            iconst_3
            anewarray java.lang.Object
            dup
            iconst_0
            aload 0 /* this */
            getfield com.oracle.truffle.polyglot.PolyglotFunction.languageContext:Lcom/oracle/truffle/polyglot/PolyglotLanguageContext;
            aastore
            dup
            iconst_1
            aload 0 /* this */
            getfield com.oracle.truffle.polyglot.PolyglotFunction.guestObject:Ljava/lang/Object;
            aastore
            dup
            iconst_2
            aload 1 /* t */
            aastore
            invokeinterface com.oracle.truffle.api.CallTarget.call:([Ljava/lang/Object;)Ljava/lang/Object;
            areturn
        end local 1 // java.lang.Object t
        end local 0 // com.oracle.truffle.polyglot.PolyglotFunction this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Lcom/oracle/truffle/polyglot/PolyglotFunction<TT;TR;>;
            0    1     1     t  TT;
    Signature: (TT;)TR;
    MethodParameters:
      Name  Flags
      t     

  public com.oracle.truffle.polyglot.PolyglotLanguageContext getLanguageContext();
    descriptor: ()Lcom/oracle/truffle/polyglot/PolyglotLanguageContext;
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // com.oracle.truffle.polyglot.PolyglotFunction this
         0: .line 71
            aload 0 /* this */
            getfield com.oracle.truffle.polyglot.PolyglotFunction.languageContext:Lcom/oracle/truffle/polyglot/PolyglotLanguageContext;
            areturn
        end local 0 // com.oracle.truffle.polyglot.PolyglotFunction this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Lcom/oracle/truffle/polyglot/PolyglotFunction<TT;TR;>;

  public java.lang.Object getGuestObject();
    descriptor: ()Ljava/lang/Object;
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // com.oracle.truffle.polyglot.PolyglotFunction this
         0: .line 76
            aload 0 /* this */
            getfield com.oracle.truffle.polyglot.PolyglotFunction.guestObject:Ljava/lang/Object;
            areturn
        end local 0 // com.oracle.truffle.polyglot.PolyglotFunction this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Lcom/oracle/truffle/polyglot/PolyglotFunction<TT;TR;>;

  public com.oracle.truffle.polyglot.PolyglotContextImpl getContext();
    descriptor: ()Lcom/oracle/truffle/polyglot/PolyglotContextImpl;
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // com.oracle.truffle.polyglot.PolyglotFunction this
         0: .line 81
            aload 0 /* this */
            getfield com.oracle.truffle.polyglot.PolyglotFunction.languageContext:Lcom/oracle/truffle/polyglot/PolyglotLanguageContext;
            getfield com.oracle.truffle.polyglot.PolyglotLanguageContext.context:Lcom/oracle/truffle/polyglot/PolyglotContextImpl;
            areturn
        end local 0 // com.oracle.truffle.polyglot.PolyglotFunction this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Lcom/oracle/truffle/polyglot/PolyglotFunction<TT;TR;>;

  public java.lang.String toString();
    descriptor: ()Ljava/lang/String;
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // com.oracle.truffle.polyglot.PolyglotFunction this
         0: .line 86
            aload 0 /* this */
            invokestatic com.oracle.truffle.polyglot.HostWrapper.toString:(Lcom/oracle/truffle/polyglot/HostWrapper;)Ljava/lang/String;
            areturn
        end local 0 // com.oracle.truffle.polyglot.PolyglotFunction this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Lcom/oracle/truffle/polyglot/PolyglotFunction<TT;TR;>;

  public int hashCode();
    descriptor: ()I
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=2, locals=1, args_size=1
        start local 0 // com.oracle.truffle.polyglot.PolyglotFunction this
         0: .line 91
            aload 0 /* this */
            getfield com.oracle.truffle.polyglot.PolyglotFunction.languageContext:Lcom/oracle/truffle/polyglot/PolyglotLanguageContext;
            aload 0 /* this */
            getfield com.oracle.truffle.polyglot.PolyglotFunction.guestObject:Ljava/lang/Object;
            invokestatic com.oracle.truffle.polyglot.HostWrapper.hashCode:(Lcom/oracle/truffle/polyglot/PolyglotLanguageContext;Ljava/lang/Object;)I
            ireturn
        end local 0 // com.oracle.truffle.polyglot.PolyglotFunction this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Lcom/oracle/truffle/polyglot/PolyglotFunction<TT;TR;>;

  public boolean equals(java.lang.Object);
    descriptor: (Ljava/lang/Object;)Z
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=3, locals=2, args_size=2
        start local 0 // com.oracle.truffle.polyglot.PolyglotFunction this
        start local 1 // java.lang.Object o
         0: .line 96
            aload 1 /* o */
            instanceof com.oracle.truffle.polyglot.PolyglotFunction
            ifeq 2
         1: .line 97
            aload 0 /* this */
            getfield com.oracle.truffle.polyglot.PolyglotFunction.languageContext:Lcom/oracle/truffle/polyglot/PolyglotLanguageContext;
            aload 0 /* this */
            getfield com.oracle.truffle.polyglot.PolyglotFunction.guestObject:Ljava/lang/Object;
            aload 1 /* o */
            checkcast com.oracle.truffle.polyglot.PolyglotFunction
            getfield com.oracle.truffle.polyglot.PolyglotFunction.guestObject:Ljava/lang/Object;
            invokestatic com.oracle.truffle.polyglot.HostWrapper.equals:(Lcom/oracle/truffle/polyglot/PolyglotLanguageContext;Ljava/lang/Object;Ljava/lang/Object;)Z
            ireturn
         2: .line 99
      StackMap locals:
      StackMap stack:
            iconst_0
            ireturn
        end local 1 // java.lang.Object o
        end local 0 // com.oracle.truffle.polyglot.PolyglotFunction this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    3     0  this  Lcom/oracle/truffle/polyglot/PolyglotFunction<TT;TR;>;
            0    3     1     o  Ljava/lang/Object;
    MethodParameters:
      Name  Flags
      o     

  public static <T> com.oracle.truffle.polyglot.PolyglotFunction<?, ?> create(com.oracle.truffle.polyglot.PolyglotLanguageContext, , java.lang.Class<?>, java.lang.reflect.Type);
    descriptor: (Lcom/oracle/truffle/polyglot/PolyglotLanguageContext;Ljava/lang/Object;Ljava/lang/Class;Ljava/lang/reflect/Type;)Lcom/oracle/truffle/polyglot/PolyglotFunction;
    flags: (0x0009) ACC_PUBLIC, ACC_STATIC
    Code:
      stack=6, locals=4, args_size=4
        start local 0 // com.oracle.truffle.polyglot.PolyglotLanguageContext languageContext
        start local 1 // java.lang.Object function
        start local 2 // java.lang.Class returnClass
        start local 3 // java.lang.reflect.Type returnType
         0: .line 105
            new com.oracle.truffle.polyglot.PolyglotFunction
            dup
            aload 0 /* languageContext */
            aload 1 /* function */
            aload 2 /* returnClass */
            aload 3 /* returnType */
            invokespecial com.oracle.truffle.polyglot.PolyglotFunction.<init>:(Lcom/oracle/truffle/polyglot/PolyglotLanguageContext;Ljava/lang/Object;Ljava/lang/Class;Ljava/lang/reflect/Type;)V
            areturn
        end local 3 // java.lang.reflect.Type returnType
        end local 2 // java.lang.Class returnClass
        end local 1 // java.lang.Object function
        end local 0 // com.oracle.truffle.polyglot.PolyglotLanguageContext languageContext
      LocalVariableTable:
        Start  End  Slot             Name  Signature
            0    1     0  languageContext  Lcom/oracle/truffle/polyglot/PolyglotLanguageContext;
            0    1     1         function  Ljava/lang/Object;
            0    1     2      returnClass  Ljava/lang/Class<*>;
            0    1     3       returnType  Ljava/lang/reflect/Type;
    Signature: <T:Ljava/lang/Object;>(Lcom/oracle/truffle/polyglot/PolyglotLanguageContext;Ljava/lang/Object;Ljava/lang/Class<*>;Ljava/lang/reflect/Type;)Lcom/oracle/truffle/polyglot/PolyglotFunction<**>;
    RuntimeVisibleAnnotations: 
      com.oracle.truffle.api.CompilerDirectives$TruffleBoundary()
    MethodParameters:
                 Name  Flags
      languageContext  
      function         
      returnClass      
      returnType       
}
Signature: <T:Ljava/lang/Object;R:Ljava/lang/Object;>Ljava/lang/Object;Ljava/util/function/Function<TT;TR;>;Lcom/oracle/truffle/polyglot/HostWrapper;
SourceFile: "PolyglotFunction.java"
NestMembers:
  com.oracle.truffle.polyglot.PolyglotFunction$Apply
InnerClasses:
  public abstract TruffleBoundary = com.oracle.truffle.api.CompilerDirectives$TruffleBoundary of com.oracle.truffle.api.CompilerDirectives
  final Apply = com.oracle.truffle.polyglot.PolyglotFunction$Apply of com.oracle.truffle.polyglot.PolyglotFunction