public class org.jruby.runtime.ArgumentDescriptor
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.jruby.runtime.ArgumentDescriptor
super_class: java.lang.Object
{
public final org.jruby.runtime.ArgumentType type;
descriptor: Lorg/jruby/runtime/ArgumentType;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
public final org.jruby.RubySymbol name;
descriptor: Lorg/jruby/RubySymbol;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
public static final org.jruby.runtime.ArgumentDescriptor[] EMPTY_ARRAY;
descriptor: [Lorg/jruby/runtime/ArgumentDescriptor;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
public static final org.jruby.runtime.ArgumentDescriptor[] ANON_REST;
descriptor: [Lorg/jruby/runtime/ArgumentDescriptor;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=6, locals=0, args_size=0
0: iconst_0
anewarray org.jruby.runtime.ArgumentDescriptor
putstatic org.jruby.runtime.ArgumentDescriptor.EMPTY_ARRAY:[Lorg/jruby/runtime/ArgumentDescriptor;
1: iconst_1
anewarray org.jruby.runtime.ArgumentDescriptor
dup
iconst_0
new org.jruby.runtime.ArgumentDescriptor
dup
getstatic org.jruby.runtime.ArgumentType.anonrest:Lorg/jruby/runtime/ArgumentType;
invokespecial org.jruby.runtime.ArgumentDescriptor.<init>:(Lorg/jruby/runtime/ArgumentType;)V
aastore
putstatic org.jruby.runtime.ArgumentDescriptor.ANON_REST:[Lorg/jruby/runtime/ArgumentDescriptor;
return
LocalVariableTable:
Start End Slot Name Signature
public void <init>(org.jruby.runtime.ArgumentType, org.jruby.RubySymbol);
descriptor: (Lorg/jruby/runtime/ArgumentType;Lorg/jruby/RubySymbol;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 2
ifnonnull 3
aload 1
getfield org.jruby.runtime.ArgumentType.anonymous:Z
ifne 3
2: new java.lang.RuntimeException
dup
ldc "null argument name given for non-anonymous argument type"
invokespecial java.lang.RuntimeException.<init>:(Ljava/lang/String;)V
athrow
3: StackMap locals: org.jruby.runtime.ArgumentDescriptor org.jruby.runtime.ArgumentType org.jruby.RubySymbol
StackMap stack:
aload 0
aload 1
putfield org.jruby.runtime.ArgumentDescriptor.type:Lorg/jruby/runtime/ArgumentType;
4: aload 0
aload 2
putfield org.jruby.runtime.ArgumentDescriptor.name:Lorg/jruby/RubySymbol;
5: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/jruby/runtime/ArgumentDescriptor;
0 6 1 type Lorg/jruby/runtime/ArgumentType;
0 6 2 name Lorg/jruby/RubySymbol;
MethodParameters:
Name Flags
type
name
public void <init>(org.jruby.runtime.ArgumentType);
descriptor: (Lorg/jruby/runtime/ArgumentType;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
aconst_null
invokespecial org.jruby.runtime.ArgumentDescriptor.<init>:(Lorg/jruby/runtime/ArgumentType;Lorg/jruby/RubySymbol;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/jruby/runtime/ArgumentDescriptor;
0 2 1 type Lorg/jruby/runtime/ArgumentType;
MethodParameters:
Name Flags
type
public final org.jruby.RubyArray toArrayForm(org.jruby.Ruby, boolean);
descriptor: (Lorg/jruby/Ruby;Z)Lorg/jruby/RubyArray;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=3, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield org.jruby.runtime.ArgumentDescriptor.type:Lorg/jruby/runtime/ArgumentType;
getstatic org.jruby.runtime.ArgumentType.req:Lorg/jruby/runtime/ArgumentType;
if_acmpne 1
iload 2
ifne 1
getstatic org.jruby.runtime.ArgumentType.opt:Lorg/jruby/runtime/ArgumentType;
goto 2
StackMap locals:
StackMap stack:
1: aload 0
getfield org.jruby.runtime.ArgumentDescriptor.type:Lorg/jruby/runtime/ArgumentType;
StackMap locals:
StackMap stack: org.jruby.runtime.ArgumentType
2: astore 3
start local 3 3: aload 3
aload 1
aload 0
getfield org.jruby.runtime.ArgumentDescriptor.name:Lorg/jruby/RubySymbol;
invokevirtual org.jruby.runtime.ArgumentType.toArrayForm:(Lorg/jruby/Ruby;Lorg/jruby/RubySymbol;)Lorg/jruby/RubyArray;
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/jruby/runtime/ArgumentDescriptor;
0 4 1 runtime Lorg/jruby/Ruby;
0 4 2 isLambda Z
3 4 3 argType Lorg/jruby/runtime/ArgumentType;
MethodParameters:
Name Flags
runtime
isLambda
}
SourceFile: "ArgumentDescriptor.java"