abstract class com.oracle.truffle.js.builtins.JavaBuiltins$JavaExtendNode extends com.oracle.truffle.js.nodes.function.JSBuiltinNode
  minor version: 0
  major version: 59
  flags: flags: (0x0420) ACC_SUPER, ACC_ABSTRACT
  this_class: com.oracle.truffle.js.builtins.JavaBuiltins$JavaExtendNode
  super_class: com.oracle.truffle.js.nodes.function.JSBuiltinNode
{
  private final com.oracle.truffle.api.profiles.BranchProfile errorBranch;
    descriptor: Lcom/oracle/truffle/api/profiles/BranchProfile;
    flags: (0x0012) ACC_PRIVATE, ACC_FINAL

  static final boolean $assertionsDisabled;
    descriptor: Z
    flags: (0x1018) ACC_STATIC, ACC_FINAL, ACC_SYNTHETIC

  static void <clinit>();
    descriptor: ()V
    flags: (0x0008) ACC_STATIC
    Code:
      stack=1, locals=0, args_size=0
         0: .line 320
            ldc Lcom/oracle/truffle/js/builtins/JavaBuiltins;
            invokevirtual java.lang.Class.desiredAssertionStatus:()Z
            ifne 1
            iconst_1
            goto 2
      StackMap locals:
      StackMap stack:
         1: iconst_0
      StackMap locals:
      StackMap stack: int
         2: putstatic com.oracle.truffle.js.builtins.JavaBuiltins$JavaExtendNode.$assertionsDisabled:Z
            return
      LocalVariableTable:
        Start  End  Slot  Name  Signature

  void <init>(com.oracle.truffle.js.runtime.JSContext, com.oracle.truffle.js.nodes.function.JSBuiltin);
    descriptor: (Lcom/oracle/truffle/js/runtime/JSContext;Lcom/oracle/truffle/js/nodes/function/JSBuiltin;)V
    flags: (0x0000) 
    Code:
      stack=3, locals=3, args_size=3
        start local 0 // com.oracle.truffle.js.builtins.JavaBuiltins$JavaExtendNode this
        start local 1 // com.oracle.truffle.js.runtime.JSContext context
        start local 2 // com.oracle.truffle.js.nodes.function.JSBuiltin builtin
         0: .line 323
            aload 0 /* this */
            aload 1 /* context */
            aload 2 /* builtin */
            invokespecial com.oracle.truffle.js.nodes.function.JSBuiltinNode.<init>:(Lcom/oracle/truffle/js/runtime/JSContext;Lcom/oracle/truffle/js/nodes/function/JSBuiltin;)V
         1: .line 326
            aload 0 /* this */
            invokestatic com.oracle.truffle.api.profiles.BranchProfile.create:()Lcom/oracle/truffle/api/profiles/BranchProfile;
            putfield com.oracle.truffle.js.builtins.JavaBuiltins$JavaExtendNode.errorBranch:Lcom/oracle/truffle/api/profiles/BranchProfile;
         2: .line 324
            return
        end local 2 // com.oracle.truffle.js.nodes.function.JSBuiltin builtin
        end local 1 // com.oracle.truffle.js.runtime.JSContext context
        end local 0 // com.oracle.truffle.js.builtins.JavaBuiltins$JavaExtendNode this
      LocalVariableTable:
        Start  End  Slot     Name  Signature
            0    3     0     this  Lcom/oracle/truffle/js/builtins/JavaBuiltins$JavaExtendNode;
            0    3     1  context  Lcom/oracle/truffle/js/runtime/JSContext;
            0    3     2  builtin  Lcom/oracle/truffle/js/nodes/function/JSBuiltin;
    MethodParameters:
         Name  Flags
      context  
      builtin  

  protected java.lang.Object extend(java.lang.Object[]);
    descriptor: ([Ljava/lang/Object;)Ljava/lang/Object;
    flags: (0x0004) ACC_PROTECTED
    Code:
      stack=4, locals=7, args_size=2
        start local 0 // com.oracle.truffle.js.builtins.JavaBuiltins$JavaExtendNode this
        start local 1 // java.lang.Object[] arguments
         0: .line 331
            getstatic com.oracle.truffle.js.runtime.JSConfig.SubstrateVM:Z
            ifeq 2
         1: .line 332
            ldc "JavaAdapter"
            invokestatic com.oracle.truffle.js.runtime.Errors.unsupported:(Ljava/lang/String;)Ljava/lang/RuntimeException;
            athrow
         2: .line 334
      StackMap locals:
      StackMap stack:
            aload 1 /* arguments */
            arraylength
            ifne 5
         3: .line 335
            aload 0 /* this */
            getfield com.oracle.truffle.js.builtins.JavaBuiltins$JavaExtendNode.errorBranch:Lcom/oracle/truffle/api/profiles/BranchProfile;
            invokevirtual com.oracle.truffle.api.profiles.BranchProfile.enter:()V
         4: .line 336
            ldc "Java.extend needs at least one argument."
            invokestatic com.oracle.truffle.js.runtime.Errors.createTypeError:(Ljava/lang/String;)Lcom/oracle/truffle/js/runtime/JSException;
            athrow
         5: .line 341
      StackMap locals:
      StackMap stack:
            aload 1 /* arguments */
            aload 1 /* arguments */
            arraylength
            iconst_1
            isub
            aaload
            invokestatic com.oracle.truffle.js.runtime.JSRuntime.isObject:(Ljava/lang/Object;)Z
            ifeq 11
         6: .line 342
            aload 1 /* arguments */
            aload 1 /* arguments */
            arraylength
            iconst_1
            isub
            aaload
            checkcast com.oracle.truffle.api.object.DynamicObject
            astore 3 /* classOverrides */
        start local 3 // com.oracle.truffle.api.object.DynamicObject classOverrides
         7: .line 343
            aload 1 /* arguments */
            arraylength
            iconst_1
            isub
            istore 2 /* typesLength */
        start local 2 // int typesLength
         8: .line 344
            iload 2 /* typesLength */
            ifne 13
         9: .line 345
            aload 0 /* this */
            getfield com.oracle.truffle.js.builtins.JavaBuiltins$JavaExtendNode.errorBranch:Lcom/oracle/truffle/api/profiles/BranchProfile;
            invokevirtual com.oracle.truffle.api.profiles.BranchProfile.enter:()V
        10: .line 346
            ldc "Java.extend needs at least one type argument."
            invokestatic com.oracle.truffle.js.runtime.Errors.createTypeError:(Ljava/lang/String;)Lcom/oracle/truffle/js/runtime/JSException;
            athrow
        end local 3 // com.oracle.truffle.api.object.DynamicObject classOverrides
        end local 2 // int typesLength
        11: .line 349
      StackMap locals:
      StackMap stack:
            aconst_null
            astore 3 /* classOverrides */
        start local 3 // com.oracle.truffle.api.object.DynamicObject classOverrides
        12: .line 350
            aload 1 /* arguments */
            arraylength
            istore 2 /* typesLength */
        start local 2 // int typesLength
        13: .line 353
      StackMap locals: int com.oracle.truffle.api.object.DynamicObject
      StackMap stack:
            aload 0 /* this */
            invokevirtual com.oracle.truffle.js.builtins.JavaBuiltins$JavaExtendNode.getContext:()Lcom/oracle/truffle/js/runtime/JSContext;
            invokevirtual com.oracle.truffle.js.runtime.JSContext.getRealm:()Lcom/oracle/truffle/js/runtime/JSRealm;
            invokevirtual com.oracle.truffle.js.runtime.JSRealm.getEnv:()Lcom/oracle/truffle/api/TruffleLanguage$Env;
            astore 4 /* env */
        start local 4 // com.oracle.truffle.api.TruffleLanguage$Env env
        14: .line 354
            iload 2 /* typesLength */
            anewarray java.lang.Class
            astore 5 /* types */
        start local 5 // java.lang.Class[] types
        15: .line 355
            iconst_0
            istore 6 /* i */
        start local 6 // int i
        16: goto 22
        17: .line 356
      StackMap locals: com.oracle.truffle.api.TruffleLanguage$Env java.lang.Class[] int
      StackMap stack:
            aload 1 /* arguments */
            iload 6 /* i */
            aaload
            aload 4 /* env */
            invokestatic com.oracle.truffle.js.builtins.JavaBuiltins$JavaExtendNode.isType:(Ljava/lang/Object;Lcom/oracle/truffle/api/TruffleLanguage$Env;)Z
            ifne 20
        18: .line 357
            aload 0 /* this */
            getfield com.oracle.truffle.js.builtins.JavaBuiltins$JavaExtendNode.errorBranch:Lcom/oracle/truffle/api/profiles/BranchProfile;
            invokevirtual com.oracle.truffle.api.profiles.BranchProfile.enter:()V
        19: .line 358
            ldc "Java.extend needs Java types as its arguments."
            invokestatic com.oracle.truffle.js.runtime.Errors.createTypeError:(Ljava/lang/String;)Lcom/oracle/truffle/js/runtime/JSException;
            athrow
        20: .line 360
      StackMap locals:
      StackMap stack:
            aload 5 /* types */
            iload 6 /* i */
            aload 1 /* arguments */
            iload 6 /* i */
            aaload
            aload 4 /* env */
            invokestatic com.oracle.truffle.js.builtins.JavaBuiltins$JavaExtendNode.toHostClass:(Ljava/lang/Object;Lcom/oracle/truffle/api/TruffleLanguage$Env;)Ljava/lang/Class;
            aastore
        21: .line 355
            iinc 6 /* i */ 1
      StackMap locals:
      StackMap stack:
        22: iload 6 /* i */
            iload 2 /* typesLength */
            if_icmplt 17
        end local 6 // int i
        23: .line 364
            aload 5 /* types */
            aload 0 /* this */
            invokevirtual com.oracle.truffle.js.builtins.JavaBuiltins$JavaExtendNode.getContext:()Lcom/oracle/truffle/js/runtime/JSContext;
            invokestatic com.oracle.truffle.js.runtime.java.JavaAccess.checkAccess:([Ljava/lang/Class;Lcom/oracle/truffle/js/runtime/JSContext;)V
        24: .line 365
            aload 3 /* classOverrides */
            ifnull 27
        25: .line 366
            aload 4 /* env */
            aload 5 /* types */
            aload 3 /* classOverrides */
            invokevirtual com.oracle.truffle.api.TruffleLanguage$Env.createHostAdapterClassWithStaticOverrides:([Ljava/lang/Class;Ljava/lang/Object;)Ljava/lang/Object;
        26: areturn
        27: .line 368
      StackMap locals:
      StackMap stack:
            aload 4 /* env */
            aload 5 /* types */
            invokevirtual com.oracle.truffle.api.TruffleLanguage$Env.createHostAdapterClass:([Ljava/lang/Class;)Ljava/lang/Object;
        28: areturn
        29: .line 370
      StackMap locals:
      StackMap stack: java.lang.Exception
            astore 6 /* ex */
        start local 6 // java.lang.Exception ex
        30: .line 371
            aload 6 /* ex */
            invokevirtual java.lang.Exception.getMessage:()Ljava/lang/String;
            aload 6 /* ex */
            aload 0 /* this */
            invokestatic com.oracle.truffle.js.runtime.Errors.createTypeError:(Ljava/lang/String;Ljava/lang/Throwable;Lcom/oracle/truffle/api/nodes/Node;)Lcom/oracle/truffle/js/runtime/JSException;
            athrow
        end local 6 // java.lang.Exception ex
        end local 5 // java.lang.Class[] types
        end local 4 // com.oracle.truffle.api.TruffleLanguage$Env env
        end local 3 // com.oracle.truffle.api.object.DynamicObject classOverrides
        end local 2 // int typesLength
        end local 1 // java.lang.Object[] arguments
        end local 0 // com.oracle.truffle.js.builtins.JavaBuiltins$JavaExtendNode this
      LocalVariableTable:
        Start  End  Slot            Name  Signature
            0   31     0            this  Lcom/oracle/truffle/js/builtins/JavaBuiltins$JavaExtendNode;
            0   31     1       arguments  [Ljava/lang/Object;
            8   11     2     typesLength  I
           13   31     2     typesLength  I
            7   11     3  classOverrides  Lcom/oracle/truffle/api/object/DynamicObject;
           12   31     3  classOverrides  Lcom/oracle/truffle/api/object/DynamicObject;
           14   31     4             env  Lcom/oracle/truffle/api/TruffleLanguage$Env;
           15   31     5           types  [Ljava/lang/Class;
           16   23     6               i  I
           30   31     6              ex  Ljava/lang/Exception;
      Exception table:
        from    to  target  type
          23    26      29  Class java.lang.Exception
          27    28      29  Class java.lang.Exception
    RuntimeVisibleAnnotations: 
      com.oracle.truffle.api.dsl.Specialization()
      com.oracle.truffle.api.CompilerDirectives$TruffleBoundary(transferToInterpreterOnException = false)
    MethodParameters:
           Name  Flags
      arguments  

  protected static boolean isType(java.lang.Object, com.oracle.truffle.api.TruffleLanguage$Env);
    descriptor: (Ljava/lang/Object;Lcom/oracle/truffle/api/TruffleLanguage$Env;)Z
    flags: (0x000c) ACC_PROTECTED, ACC_STATIC
    Code:
      stack=2, locals=2, args_size=2
        start local 0 // java.lang.Object obj
        start local 1 // com.oracle.truffle.api.TruffleLanguage$Env env
         0: .line 376
            aload 1 /* env */
            aload 0 /* obj */
            invokevirtual com.oracle.truffle.api.TruffleLanguage$Env.isHostObject:(Ljava/lang/Object;)Z
            ifeq 1
            aload 1 /* env */
            aload 0 /* obj */
            invokevirtual com.oracle.truffle.api.TruffleLanguage$Env.asHostObject:(Ljava/lang/Object;)Ljava/lang/Object;
            instanceof java.lang.Class
            ifeq 1
            iconst_1
            ireturn
      StackMap locals:
      StackMap stack:
         1: iconst_0
            ireturn
        end local 1 // com.oracle.truffle.api.TruffleLanguage$Env env
        end local 0 // java.lang.Object obj
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    2     0   obj  Ljava/lang/Object;
            0    2     1   env  Lcom/oracle/truffle/api/TruffleLanguage$Env;
    MethodParameters:
      Name  Flags
      obj   
      env   

  protected static java.lang.Class<?> toHostClass(, com.oracle.truffle.api.TruffleLanguage$Env);
    descriptor: (Ljava/lang/Object;Lcom/oracle/truffle/api/TruffleLanguage$Env;)Ljava/lang/Class;
    flags: (0x000c) ACC_PROTECTED, ACC_STATIC
    Code:
      stack=2, locals=2, args_size=2
        start local 0 // java.lang.Object type
        start local 1 // com.oracle.truffle.api.TruffleLanguage$Env env
         0: .line 380
            getstatic com.oracle.truffle.js.builtins.JavaBuiltins$JavaExtendNode.$assertionsDisabled:Z
            ifne 1
            aload 0 /* type */
            aload 1 /* env */
            invokestatic com.oracle.truffle.js.builtins.JavaBuiltins$JavaExtendNode.isType:(Ljava/lang/Object;Lcom/oracle/truffle/api/TruffleLanguage$Env;)Z
            ifne 1
            new java.lang.AssertionError
            dup
            invokespecial java.lang.AssertionError.<init>:()V
            athrow
         1: .line 381
      StackMap locals:
      StackMap stack:
            aload 1 /* env */
            aload 0 /* type */
            invokevirtual com.oracle.truffle.api.TruffleLanguage$Env.asHostObject:(Ljava/lang/Object;)Ljava/lang/Object;
            checkcast java.lang.Class
            areturn
        end local 1 // com.oracle.truffle.api.TruffleLanguage$Env env
        end local 0 // java.lang.Object type
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    2     0  type  Ljava/lang/Object;
            0    2     1   env  Lcom/oracle/truffle/api/TruffleLanguage$Env;
    Signature: (Ljava/lang/Object;Lcom/oracle/truffle/api/TruffleLanguage$Env;)Ljava/lang/Class<*>;
    MethodParameters:
      Name  Flags
      type  
      env   
}
SourceFile: "JavaBuiltins.java"
NestHost: com.oracle.truffle.js.builtins.JavaBuiltins
InnerClasses:
  public abstract TruffleBoundary = com.oracle.truffle.api.CompilerDirectives$TruffleBoundary of com.oracle.truffle.api.CompilerDirectives
  public final Env = com.oracle.truffle.api.TruffleLanguage$Env of com.oracle.truffle.api.TruffleLanguage
  abstract JavaExtendNode = com.oracle.truffle.js.builtins.JavaBuiltins$JavaExtendNode of com.oracle.truffle.js.builtins.JavaBuiltins