public final class org.jruby.runtime.Arity implements java.io.Serializable
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: org.jruby.runtime.Arity
super_class: java.lang.Object
{
private static final long serialVersionUID;
descriptor: J
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 1
private static final java.util.Map<java.lang.Integer, org.jruby.runtime.Arity> arities;
descriptor: Ljava/util/Map;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
Signature: Ljava/util/Map<Ljava/lang/Integer;Lorg/jruby/runtime/Arity;>;
private final int value;
descriptor: I
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
public static final org.jruby.runtime.Arity NO_ARGUMENTS;
descriptor: Lorg/jruby/runtime/Arity;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
public static final org.jruby.runtime.Arity ONE_ARGUMENT;
descriptor: Lorg/jruby/runtime/Arity;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
public static final org.jruby.runtime.Arity TWO_ARGUMENTS;
descriptor: Lorg/jruby/runtime/Arity;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
public static final org.jruby.runtime.Arity THREE_ARGUMENTS;
descriptor: Lorg/jruby/runtime/Arity;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
public static final org.jruby.runtime.Arity OPTIONAL;
descriptor: Lorg/jruby/runtime/Arity;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
public static final org.jruby.runtime.Arity ONE_REQUIRED;
descriptor: Lorg/jruby/runtime/Arity;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
public static final org.jruby.runtime.Arity TWO_REQUIRED;
descriptor: Lorg/jruby/runtime/Arity;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
public static final org.jruby.runtime.Arity THREE_REQUIRED;
descriptor: Lorg/jruby/runtime/Arity;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
public static final int UNLIMITED_ARGUMENTS;
descriptor: I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: -1
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=2, locals=0, args_size=0
0: ldc Lorg/jruby/runtime/Arity;
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 org.jruby.runtime.Arity.$assertionsDisabled:Z
3: new java.util.HashMap
dup
invokespecial java.util.HashMap.<init>:()V
putstatic org.jruby.runtime.Arity.arities:Ljava/util/Map;
4: iconst_0
invokestatic org.jruby.runtime.Arity.newArity:(I)Lorg/jruby/runtime/Arity;
putstatic org.jruby.runtime.Arity.NO_ARGUMENTS:Lorg/jruby/runtime/Arity;
5: iconst_1
invokestatic org.jruby.runtime.Arity.newArity:(I)Lorg/jruby/runtime/Arity;
putstatic org.jruby.runtime.Arity.ONE_ARGUMENT:Lorg/jruby/runtime/Arity;
6: iconst_2
invokestatic org.jruby.runtime.Arity.newArity:(I)Lorg/jruby/runtime/Arity;
putstatic org.jruby.runtime.Arity.TWO_ARGUMENTS:Lorg/jruby/runtime/Arity;
7: iconst_3
invokestatic org.jruby.runtime.Arity.newArity:(I)Lorg/jruby/runtime/Arity;
putstatic org.jruby.runtime.Arity.THREE_ARGUMENTS:Lorg/jruby/runtime/Arity;
8: iconst_m1
invokestatic org.jruby.runtime.Arity.newArity:(I)Lorg/jruby/runtime/Arity;
putstatic org.jruby.runtime.Arity.OPTIONAL:Lorg/jruby/runtime/Arity;
9: bipush -2
invokestatic org.jruby.runtime.Arity.newArity:(I)Lorg/jruby/runtime/Arity;
putstatic org.jruby.runtime.Arity.ONE_REQUIRED:Lorg/jruby/runtime/Arity;
10: bipush -3
invokestatic org.jruby.runtime.Arity.newArity:(I)Lorg/jruby/runtime/Arity;
putstatic org.jruby.runtime.Arity.TWO_REQUIRED:Lorg/jruby/runtime/Arity;
11: bipush -4
invokestatic org.jruby.runtime.Arity.newArity:(I)Lorg/jruby/runtime/Arity;
putstatic org.jruby.runtime.Arity.THREE_REQUIRED:Lorg/jruby/runtime/Arity;
12: return
LocalVariableTable:
Start End Slot Name Signature
private void <init>(int);
descriptor: (I)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
iload 1
putfield org.jruby.runtime.Arity.value:I
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/jruby/runtime/Arity;
0 3 1 value I
MethodParameters:
Name Flags
value
private static org.jruby.runtime.Arity createArity(int, int, boolean);
descriptor: (IIZ)Lorg/jruby/runtime/Arity;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=2, locals=3, args_size=3
start local 0 start local 1 start local 2 0: iload 1
ifgt 1
iload 2
ifeq 2
StackMap locals:
StackMap stack:
1: iload 0
iconst_1
iadd
ineg
goto 3
StackMap locals:
StackMap stack:
2: iload 0
StackMap locals:
StackMap stack: int
3: invokestatic org.jruby.runtime.Arity.createArity:(I)Lorg/jruby/runtime/Arity;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 required I
0 4 1 optional I
0 4 2 rest Z
MethodParameters:
Name Flags
required
optional
rest
public static org.jruby.runtime.Arity createArity(int);
descriptor: (I)Lorg/jruby/runtime/Arity;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: iload 0
tableswitch { // -4 - 3
-4: 1
-3: 2
-2: 3
-1: 4
0: 5
1: 6
2: 7
3: 8
default: 9
}
1: StackMap locals:
StackMap stack:
getstatic org.jruby.runtime.Arity.THREE_REQUIRED:Lorg/jruby/runtime/Arity;
areturn
2: StackMap locals:
StackMap stack:
getstatic org.jruby.runtime.Arity.TWO_REQUIRED:Lorg/jruby/runtime/Arity;
areturn
3: StackMap locals:
StackMap stack:
getstatic org.jruby.runtime.Arity.ONE_REQUIRED:Lorg/jruby/runtime/Arity;
areturn
4: StackMap locals:
StackMap stack:
getstatic org.jruby.runtime.Arity.OPTIONAL:Lorg/jruby/runtime/Arity;
areturn
5: StackMap locals:
StackMap stack:
getstatic org.jruby.runtime.Arity.NO_ARGUMENTS:Lorg/jruby/runtime/Arity;
areturn
6: StackMap locals:
StackMap stack:
getstatic org.jruby.runtime.Arity.ONE_ARGUMENT:Lorg/jruby/runtime/Arity;
areturn
7: StackMap locals:
StackMap stack:
getstatic org.jruby.runtime.Arity.TWO_ARGUMENTS:Lorg/jruby/runtime/Arity;
areturn
8: StackMap locals:
StackMap stack:
getstatic org.jruby.runtime.Arity.THREE_ARGUMENTS:Lorg/jruby/runtime/Arity;
areturn
9: StackMap locals:
StackMap stack:
iload 0
invokestatic org.jruby.runtime.Arity.newArity:(I)Lorg/jruby/runtime/Arity;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 value I
MethodParameters:
Name Flags
value
public static org.jruby.runtime.Arity fromAnnotation(org.jruby.anno.JRubyMethod);
descriptor: (Lorg/jruby/anno/JRubyMethod;)Lorg/jruby/runtime/Arity;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
invokeinterface org.jruby.anno.JRubyMethod.required:()I
aload 0
invokeinterface org.jruby.anno.JRubyMethod.optional:()I
aload 0
invokeinterface org.jruby.anno.JRubyMethod.rest:()Z
invokestatic org.jruby.runtime.Arity.createArity:(IIZ)Lorg/jruby/runtime/Arity;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 anno Lorg/jruby/anno/JRubyMethod;
MethodParameters:
Name Flags
anno
public static org.jruby.runtime.Arity fromAnnotation(org.jruby.anno.JRubyMethod, int);
descriptor: (Lorg/jruby/anno/JRubyMethod;I)Lorg/jruby/runtime/Arity;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: iload 1
aload 0
invokeinterface org.jruby.anno.JRubyMethod.optional:()I
aload 0
invokeinterface org.jruby.anno.JRubyMethod.rest:()Z
invokestatic org.jruby.runtime.Arity.createArity:(IIZ)Lorg/jruby/runtime/Arity;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 anno Lorg/jruby/anno/JRubyMethod;
0 1 1 required I
MethodParameters:
Name Flags
anno
required
public static org.jruby.runtime.Arity fromAnnotation(org.jruby.anno.JRubyMethod, java.lang.Class[], boolean);
descriptor: (Lorg/jruby/anno/JRubyMethod;[Ljava/lang/Class;Z)Lorg/jruby/runtime/Arity;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=5, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokeinterface org.jruby.anno.JRubyMethod.optional:()I
ifne 8
aload 0
invokeinterface org.jruby.anno.JRubyMethod.rest:()Z
ifne 8
aload 0
invokeinterface org.jruby.anno.JRubyMethod.required:()I
ifne 8
1: aload 1
arraylength
istore 4
start local 4 2: iload 2
ifeq 3
iinc 4 -1
3: StackMap locals: org.jruby.anno.JRubyMethod java.lang.Class[] int top int
StackMap stack:
aload 1
arraylength
ifle 6
4: aload 1
iconst_0
aaload
ldc Lorg/jruby/runtime/ThreadContext;
if_acmpne 5
iinc 4 -1
5: StackMap locals:
StackMap stack:
aload 1
aload 1
arraylength
iconst_1
isub
aaload
ldc Lorg/jruby/runtime/Block;
if_acmpne 6
iinc 4 -1
6: StackMap locals:
StackMap stack:
iload 4
istore 3
end local 4 start local 3 7: goto 9
end local 3 8: StackMap locals: org.jruby.anno.JRubyMethod java.lang.Class[] int
StackMap stack:
aload 0
invokeinterface org.jruby.anno.JRubyMethod.required:()I
istore 3
start local 3 9: StackMap locals: int
StackMap stack:
iload 3
aload 0
invokeinterface org.jruby.anno.JRubyMethod.optional:()I
aload 0
invokeinterface org.jruby.anno.JRubyMethod.rest:()Z
invokestatic org.jruby.runtime.Arity.createArity:(IIZ)Lorg/jruby/runtime/Arity;
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 anno Lorg/jruby/anno/JRubyMethod;
0 10 1 parameterTypes [Ljava/lang/Class;
0 10 2 isStatic Z
7 8 3 required I
9 10 3 required I
2 7 4 i I
MethodParameters:
Name Flags
anno
parameterTypes
isStatic
private static org.jruby.runtime.Arity newArity(int);
descriptor: (I)Lorg/jruby/runtime/Arity;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=5, locals=3, args_size=1
start local 0 0: getstatic org.jruby.runtime.Arity.arities:Ljava/util/Map;
iload 0
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast org.jruby.runtime.Arity
astore 1
start local 1 1: aload 1
ifnonnull 10
2: getstatic org.jruby.runtime.Arity.arities:Ljava/util/Map;
dup
astore 2
monitorenter
3: getstatic org.jruby.runtime.Arity.arities:Ljava/util/Map;
iload 0
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast org.jruby.runtime.Arity
astore 1
4: aload 1
ifnonnull 6
5: getstatic org.jruby.runtime.Arity.arities:Ljava/util/Map;
iload 0
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
new org.jruby.runtime.Arity
dup
iload 0
invokespecial org.jruby.runtime.Arity.<init>:(I)V
dup
astore 1
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
6: StackMap locals: org.jruby.runtime.Arity java.util.Map
StackMap stack:
aload 2
monitorexit
7: goto 10
StackMap locals:
StackMap stack: java.lang.Throwable
8: aload 2
monitorexit
9: athrow
10: StackMap locals:
StackMap stack:
aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 value I
1 11 1 result Lorg/jruby/runtime/Arity;
Exception table:
from to target type
3 7 8 any
8 9 8 any
MethodParameters:
Name Flags
value
public static org.jruby.runtime.Arity fixed(int);
descriptor: (I)Lorg/jruby/runtime/Arity;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: getstatic org.jruby.runtime.Arity.$assertionsDisabled:Z
ifne 1
iload 0
ifge 1
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
1: StackMap locals:
StackMap stack:
iload 0
invokestatic org.jruby.runtime.Arity.createArity:(I)Lorg/jruby/runtime/Arity;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 arity I
MethodParameters:
Name Flags
arity
public static org.jruby.runtime.Arity optional();
descriptor: ()Lorg/jruby/runtime/Arity;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: getstatic org.jruby.runtime.Arity.OPTIONAL:Lorg/jruby/runtime/Arity;
areturn
LocalVariableTable:
Start End Slot Name Signature
public static org.jruby.runtime.Arity required(int);
descriptor: (I)Lorg/jruby/runtime/Arity;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: getstatic org.jruby.runtime.Arity.$assertionsDisabled:Z
ifne 1
iload 0
ifge 1
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
1: StackMap locals:
StackMap stack:
iconst_1
iload 0
iadd
ineg
invokestatic org.jruby.runtime.Arity.createArity:(I)Lorg/jruby/runtime/Arity;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 minimum I
MethodParameters:
Name Flags
minimum
public static org.jruby.runtime.Arity noArguments();
descriptor: ()Lorg/jruby/runtime/Arity;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: getstatic org.jruby.runtime.Arity.NO_ARGUMENTS:Lorg/jruby/runtime/Arity;
areturn
LocalVariableTable:
Start End Slot Name Signature
public static org.jruby.runtime.Arity singleArgument();
descriptor: ()Lorg/jruby/runtime/Arity;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: getstatic org.jruby.runtime.Arity.ONE_ARGUMENT:Lorg/jruby/runtime/Arity;
areturn
LocalVariableTable:
Start End Slot Name Signature
public static org.jruby.runtime.Arity twoArguments();
descriptor: ()Lorg/jruby/runtime/Arity;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: getstatic org.jruby.runtime.Arity.TWO_ARGUMENTS:Lorg/jruby/runtime/Arity;
areturn
LocalVariableTable:
Start End Slot Name Signature
public int getValue();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.jruby.runtime.Arity.value:I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/runtime/Arity;
public void checkArity(org.jruby.Ruby, org.jruby.runtime.builtin.IRubyObject[]);
descriptor: (Lorg/jruby/Ruby;[Lorg/jruby/runtime/builtin/IRubyObject;)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
aload 1
aload 2
arraylength
invokevirtual org.jruby.runtime.Arity.checkArity:(Lorg/jruby/Ruby;I)V
1: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/jruby/runtime/Arity;
0 2 1 runtime Lorg/jruby/Ruby;
0 2 2 args [Lorg/jruby/runtime/builtin/IRubyObject;
MethodParameters:
Name Flags
runtime
args
public void checkArity(org.jruby.Ruby, int);
descriptor: (Lorg/jruby/Ruby;I)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
invokevirtual org.jruby.runtime.Arity.isFixed:()Z
ifeq 3
1: iload 2
aload 0
invokevirtual org.jruby.runtime.Arity.required:()I
if_icmpeq 5
2: aload 1
iload 2
aload 0
invokevirtual org.jruby.runtime.Arity.required:()I
invokevirtual org.jruby.Ruby.newArgumentError:(II)Lorg/jruby/exceptions/RaiseException;
athrow
3: StackMap locals:
StackMap stack:
iload 2
aload 0
invokevirtual org.jruby.runtime.Arity.required:()I
if_icmpge 5
4: aload 1
iload 2
aload 0
invokevirtual org.jruby.runtime.Arity.required:()I
invokevirtual org.jruby.Ruby.newArgumentError:(II)Lorg/jruby/exceptions/RaiseException;
athrow
5: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/jruby/runtime/Arity;
0 6 1 runtime Lorg/jruby/Ruby;
0 6 2 length I
MethodParameters:
Name Flags
runtime
length
public boolean isFixed();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.jruby.runtime.Arity.value:I
iflt 1
iconst_1
ireturn
StackMap locals:
StackMap stack:
1: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/jruby/runtime/Arity;
public int required();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield org.jruby.runtime.Arity.value:I
ifge 1
iconst_1
aload 0
getfield org.jruby.runtime.Arity.value:I
iadd
ineg
goto 2
StackMap locals:
StackMap stack:
1: aload 0
getfield org.jruby.runtime.Arity.value:I
StackMap locals:
StackMap stack: int
2: ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/jruby/runtime/Arity;
public boolean equals(java.lang.Object);
descriptor: (Ljava/lang/Object;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
if_acmpne 1
iconst_1
ireturn
StackMap locals:
StackMap stack:
1: iconst_0
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/jruby/runtime/Arity;
0 2 1 other Ljava/lang/Object;
MethodParameters:
Name Flags
other
public int hashCode();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.jruby.runtime.Arity.value:I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/runtime/Arity;
public java.lang.String toString();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual org.jruby.runtime.Arity.isFixed:()Z
ifeq 1
new java.lang.StringBuilder
dup
ldc "Fixed"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
invokevirtual org.jruby.runtime.Arity.required:()I
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
goto 2
StackMap locals:
StackMap stack:
1: ldc "Opt"
StackMap locals:
StackMap stack: java.lang.String
2: areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/jruby/runtime/Arity;
public static int checkArgumentCount(org.jruby.Ruby, org.jruby.runtime.builtin.IRubyObject[], int, int);
descriptor: (Lorg/jruby/Ruby;[Lorg/jruby/runtime/builtin/IRubyObject;II)I
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
aload 1
arraylength
iload 2
iload 3
invokestatic org.jruby.runtime.Arity.checkArgumentCount:(Lorg/jruby/Ruby;III)I
ireturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 runtime Lorg/jruby/Ruby;
0 1 1 args [Lorg/jruby/runtime/builtin/IRubyObject;
0 1 2 min I
0 1 3 max I
MethodParameters:
Name Flags
runtime
args
min
max
public static int checkArgumentCount(org.jruby.runtime.ThreadContext, org.jruby.runtime.builtin.IRubyObject[], int, int);
descriptor: (Lorg/jruby/runtime/ThreadContext;[Lorg/jruby/runtime/builtin/IRubyObject;II)I
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
aload 1
arraylength
iload 2
iload 3
invokestatic org.jruby.runtime.Arity.checkArgumentCount:(Lorg/jruby/runtime/ThreadContext;III)I
ireturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 context Lorg/jruby/runtime/ThreadContext;
0 1 1 args [Lorg/jruby/runtime/builtin/IRubyObject;
0 1 2 min I
0 1 3 max I
MethodParameters:
Name Flags
context
args
min
max
public static int checkArgumentCount(org.jruby.runtime.ThreadContext, java.lang.String, org.jruby.runtime.builtin.IRubyObject[], int, int);
descriptor: (Lorg/jruby/runtime/ThreadContext;Ljava/lang/String;[Lorg/jruby/runtime/builtin/IRubyObject;II)I
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=5, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 0
getfield org.jruby.runtime.ThreadContext.runtime:Lorg/jruby/Ruby;
aload 1
aload 2
arraylength
iload 3
iload 4
invokestatic org.jruby.runtime.Arity.checkArgumentCount:(Lorg/jruby/Ruby;Ljava/lang/String;III)I
ireturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 context Lorg/jruby/runtime/ThreadContext;
0 1 1 name Ljava/lang/String;
0 1 2 args [Lorg/jruby/runtime/builtin/IRubyObject;
0 1 3 min I
0 1 4 max I
MethodParameters:
Name Flags
context
name
args
min
max
public static int checkArgumentCount(org.jruby.Ruby, java.lang.String, org.jruby.runtime.builtin.IRubyObject[], int, int);
descriptor: (Lorg/jruby/Ruby;Ljava/lang/String;[Lorg/jruby/runtime/builtin/IRubyObject;II)I
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=5, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 0
aload 1
aload 2
arraylength
iload 3
iload 4
invokestatic org.jruby.runtime.Arity.checkArgumentCount:(Lorg/jruby/Ruby;Ljava/lang/String;III)I
ireturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 runtime Lorg/jruby/Ruby;
0 1 1 name Ljava/lang/String;
0 1 2 args [Lorg/jruby/runtime/builtin/IRubyObject;
0 1 3 min I
0 1 4 max I
MethodParameters:
Name Flags
runtime
name
args
min
max
public static int checkArgumentCount(org.jruby.Ruby, int, int, int);
descriptor: (Lorg/jruby/Ruby;III)I
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
iload 1
iload 2
iload 3
invokestatic org.jruby.runtime.Arity.raiseArgumentError:(Lorg/jruby/Ruby;III)V
1: iload 1
ireturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 runtime Lorg/jruby/Ruby;
0 2 1 length I
0 2 2 min I
0 2 3 max I
MethodParameters:
Name Flags
runtime
length
min
max
public static int checkArgumentCount(org.jruby.runtime.ThreadContext, int, int, int);
descriptor: (Lorg/jruby/runtime/ThreadContext;III)I
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
iload 1
iload 2
iload 3
invokestatic org.jruby.runtime.Arity.raiseArgumentError:(Lorg/jruby/runtime/ThreadContext;III)V
1: iload 1
ireturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 context Lorg/jruby/runtime/ThreadContext;
0 2 1 length I
0 2 2 min I
0 2 3 max I
MethodParameters:
Name Flags
context
length
min
max
public static int checkArgumentCount(org.jruby.Ruby, int, int, int, boolean);
descriptor: (Lorg/jruby/Ruby;IIIZ)I
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=5, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 0
iload 1
iload 2
iload 3
iload 4
invokestatic org.jruby.runtime.Arity.raiseArgumentError:(Lorg/jruby/Ruby;IIIZ)V
1: iload 1
ireturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 runtime Lorg/jruby/Ruby;
0 2 1 length I
0 2 2 min I
0 2 3 max I
0 2 4 hasKwargs Z
MethodParameters:
Name Flags
runtime
length
min
max
hasKwargs
public static int checkArgumentCount(org.jruby.Ruby, java.lang.String, int, int, int);
descriptor: (Lorg/jruby/Ruby;Ljava/lang/String;III)I
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=5, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 0
aload 1
iload 2
iload 3
iload 4
invokestatic org.jruby.runtime.Arity.raiseArgumentError:(Lorg/jruby/Ruby;Ljava/lang/String;III)V
1: iload 2
ireturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 runtime Lorg/jruby/Ruby;
0 2 1 name Ljava/lang/String;
0 2 2 length I
0 2 3 min I
0 2 4 max I
MethodParameters:
Name Flags
runtime
name
length
min
max
public static int checkArgumentCount(org.jruby.Ruby, java.lang.String, int, int, int, boolean);
descriptor: (Lorg/jruby/Ruby;Ljava/lang/String;IIIZ)I
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=6, locals=6, args_size=6
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 0: aload 0
aload 1
iload 2
iload 3
iload 4
iload 5
invokestatic org.jruby.runtime.Arity.raiseArgumentError:(Lorg/jruby/Ruby;Ljava/lang/String;IIIZ)V
1: iload 2
ireturn
end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 runtime Lorg/jruby/Ruby;
0 2 1 name Ljava/lang/String;
0 2 2 length I
0 2 3 min I
0 2 4 max I
0 2 5 hasKwargs Z
MethodParameters:
Name Flags
runtime
name
length
min
max
hasKwargs
public static void raiseArgumentError(org.jruby.Ruby, org.jruby.runtime.builtin.IRubyObject[], int, int);
descriptor: (Lorg/jruby/Ruby;[Lorg/jruby/runtime/builtin/IRubyObject;II)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
aload 1
arraylength
iload 2
iload 3
invokestatic org.jruby.runtime.Arity.raiseArgumentError:(Lorg/jruby/Ruby;III)V
1: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 runtime Lorg/jruby/Ruby;
0 2 1 args [Lorg/jruby/runtime/builtin/IRubyObject;
0 2 2 min I
0 2 3 max I
MethodParameters:
Name Flags
runtime
args
min
max
public static void raiseArgumentError(org.jruby.Ruby, int, int, int);
descriptor: (Lorg/jruby/Ruby;III)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: iload 1
iload 2
if_icmplt 1
iload 3
iconst_m1
if_icmple 2
iload 1
iload 3
if_icmple 2
1: StackMap locals:
StackMap stack:
aload 0
iload 1
iload 2
iload 3
invokevirtual org.jruby.Ruby.newArgumentError:(III)Lorg/jruby/exceptions/RaiseException;
athrow
2: StackMap locals:
StackMap stack:
return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 runtime Lorg/jruby/Ruby;
0 3 1 length I
0 3 2 min I
0 3 3 max I
MethodParameters:
Name Flags
runtime
length
min
max
public static void raiseArgumentError(org.jruby.runtime.ThreadContext, int, int, int);
descriptor: (Lorg/jruby/runtime/ThreadContext;III)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
getfield org.jruby.runtime.ThreadContext.runtime:Lorg/jruby/Ruby;
iload 1
iload 2
iload 3
invokestatic org.jruby.runtime.Arity.raiseArgumentError:(Lorg/jruby/Ruby;III)V
1: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 context Lorg/jruby/runtime/ThreadContext;
0 2 1 length I
0 2 2 min I
0 2 3 max I
MethodParameters:
Name Flags
context
length
min
max
public static void raiseArgumentError(org.jruby.Ruby, int, int, int, boolean);
descriptor: (Lorg/jruby/Ruby;IIIZ)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=5, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: iload 1
iload 2
if_icmpge 1
aload 0
iload 1
iload 2
iload 3
invokevirtual org.jruby.Ruby.newArgumentError:(III)Lorg/jruby/exceptions/RaiseException;
athrow
1: StackMap locals:
StackMap stack:
iload 3
iconst_m1
if_icmple 5
iload 1
iload 3
if_icmple 5
2: iload 4
ifeq 4
iload 1
iload 3
iconst_1
iadd
if_icmpne 4
3: return
4: StackMap locals:
StackMap stack:
aload 0
iload 1
iload 2
iload 3
invokevirtual org.jruby.Ruby.newArgumentError:(III)Lorg/jruby/exceptions/RaiseException;
athrow
5: StackMap locals:
StackMap stack:
return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 runtime Lorg/jruby/Ruby;
0 6 1 length I
0 6 2 min I
0 6 3 max I
0 6 4 hasKwargs Z
MethodParameters:
Name Flags
runtime
length
min
max
hasKwargs
public static void raiseArgumentError(org.jruby.Ruby, java.lang.String, int, int, int);
descriptor: (Lorg/jruby/Ruby;Ljava/lang/String;III)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=5, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: iload 2
iload 3
if_icmplt 1
iload 4
iconst_m1
if_icmple 2
iload 2
iload 4
if_icmple 2
1: StackMap locals:
StackMap stack:
aload 0
aload 1
iload 2
iload 3
iload 4
invokevirtual org.jruby.Ruby.newArgumentError:(Ljava/lang/String;III)Lorg/jruby/exceptions/RaiseException;
athrow
2: StackMap locals:
StackMap stack:
return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 runtime Lorg/jruby/Ruby;
0 3 1 name Ljava/lang/String;
0 3 2 length I
0 3 3 min I
0 3 4 max I
MethodParameters:
Name Flags
runtime
name
length
min
max
public static void raiseArgumentError(org.jruby.Ruby, java.lang.String, int, int, int, boolean);
descriptor: (Lorg/jruby/Ruby;Ljava/lang/String;IIIZ)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=6, args_size=6
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 0: iload 2
iload 3
if_icmpge 1
aload 0
aload 1
iload 2
iload 3
iload 4
invokevirtual org.jruby.Ruby.newArgumentError:(Ljava/lang/String;III)Lorg/jruby/exceptions/RaiseException;
athrow
1: StackMap locals:
StackMap stack:
iload 4
iconst_m1
if_icmple 5
iload 2
iload 4
if_icmple 5
2: iload 5
ifeq 4
iload 2
iload 4
iconst_1
iadd
if_icmpne 4
3: return
4: StackMap locals:
StackMap stack:
aload 0
aload 1
iload 2
iload 3
iload 4
invokevirtual org.jruby.Ruby.newArgumentError:(Ljava/lang/String;III)Lorg/jruby/exceptions/RaiseException;
athrow
5: StackMap locals:
StackMap stack:
return
end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 runtime Lorg/jruby/Ruby;
0 6 1 name Ljava/lang/String;
0 6 2 length I
0 6 3 min I
0 6 4 max I
0 6 5 hasKwargs Z
MethodParameters:
Name Flags
runtime
name
length
min
max
hasKwargs
public static org.jruby.runtime.builtin.IRubyObject[] scanArgs(org.jruby.Ruby, org.jruby.runtime.builtin.IRubyObject[], int, int);
descriptor: (Lorg/jruby/Ruby;[Lorg/jruby/runtime/builtin/IRubyObject;II)[Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=7, args_size=4
start local 0 start local 1 start local 2 start local 3 0: iload 2
iload 3
iadd
istore 4
start local 4 1: aload 0
aload 1
iload 2
iload 4
invokestatic org.jruby.runtime.Arity.checkArgumentCount:(Lorg/jruby/Ruby;[Lorg/jruby/runtime/builtin/IRubyObject;II)I
istore 5
start local 5 2: aload 1
iload 4
invokestatic org.jruby.util.ArraySupport.newCopy:([Lorg/jruby/runtime/builtin/IRubyObject;I)[Lorg/jruby/runtime/builtin/IRubyObject;
astore 1
3: iload 5
istore 6
start local 6 4: goto 6
StackMap locals: int int int
StackMap stack:
5: aload 1
iload 6
aload 0
invokevirtual org.jruby.Ruby.getNil:()Lorg/jruby/runtime/builtin/IRubyObject;
aastore
iinc 6 1
StackMap locals:
StackMap stack:
6: iload 6
iload 4
if_icmplt 5
end local 6 7: aload 1
areturn
end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 runtime Lorg/jruby/Ruby;
0 8 1 args [Lorg/jruby/runtime/builtin/IRubyObject;
0 8 2 required I
0 8 3 optional I
1 8 4 total I
2 8 5 len I
4 7 6 i I
MethodParameters:
Name Flags
runtime
args
required
optional
}
SourceFile: "Arity.java"