public class org.jruby.ir.operands.IRException extends org.jruby.ir.operands.Operand
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.jruby.ir.operands.IRException
super_class: org.jruby.ir.operands.Operand
{
private final org.jruby.RubyLocalJumpError$Reason type;
descriptor: Lorg/jruby/RubyLocalJumpError$Reason;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
public static final org.jruby.ir.operands.IRException RETRY_LocalJumpError;
descriptor: Lorg/jruby/ir/operands/IRException;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
public static final org.jruby.ir.operands.IRException NEXT_LocalJumpError;
descriptor: Lorg/jruby/ir/operands/IRException;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
public static final org.jruby.ir.operands.IRException BREAK_LocalJumpError;
descriptor: Lorg/jruby/ir/operands/IRException;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
public static final org.jruby.ir.operands.IRException RETURN_LocalJumpError;
descriptor: Lorg/jruby/ir/operands/IRException;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
public static final org.jruby.ir.operands.IRException REDO_LocalJumpError;
descriptor: Lorg/jruby/ir/operands/IRException;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
private static volatile int[] $SWITCH_TABLE$org$jruby$RubyLocalJumpError$Reason;
descriptor: [I
flags: (0x104a) ACC_PRIVATE, ACC_STATIC, ACC_VOLATILE, ACC_SYNTHETIC
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=3, locals=0, args_size=0
0: new org.jruby.ir.operands.IRException
dup
getstatic org.jruby.RubyLocalJumpError$Reason.RETRY:Lorg/jruby/RubyLocalJumpError$Reason;
invokespecial org.jruby.ir.operands.IRException.<init>:(Lorg/jruby/RubyLocalJumpError$Reason;)V
putstatic org.jruby.ir.operands.IRException.RETRY_LocalJumpError:Lorg/jruby/ir/operands/IRException;
1: new org.jruby.ir.operands.IRException
dup
getstatic org.jruby.RubyLocalJumpError$Reason.NEXT:Lorg/jruby/RubyLocalJumpError$Reason;
invokespecial org.jruby.ir.operands.IRException.<init>:(Lorg/jruby/RubyLocalJumpError$Reason;)V
putstatic org.jruby.ir.operands.IRException.NEXT_LocalJumpError:Lorg/jruby/ir/operands/IRException;
2: new org.jruby.ir.operands.IRException
dup
getstatic org.jruby.RubyLocalJumpError$Reason.BREAK:Lorg/jruby/RubyLocalJumpError$Reason;
invokespecial org.jruby.ir.operands.IRException.<init>:(Lorg/jruby/RubyLocalJumpError$Reason;)V
putstatic org.jruby.ir.operands.IRException.BREAK_LocalJumpError:Lorg/jruby/ir/operands/IRException;
3: new org.jruby.ir.operands.IRException
dup
getstatic org.jruby.RubyLocalJumpError$Reason.RETURN:Lorg/jruby/RubyLocalJumpError$Reason;
invokespecial org.jruby.ir.operands.IRException.<init>:(Lorg/jruby/RubyLocalJumpError$Reason;)V
putstatic org.jruby.ir.operands.IRException.RETURN_LocalJumpError:Lorg/jruby/ir/operands/IRException;
4: new org.jruby.ir.operands.IRException
dup
getstatic org.jruby.RubyLocalJumpError$Reason.REDO:Lorg/jruby/RubyLocalJumpError$Reason;
invokespecial org.jruby.ir.operands.IRException.<init>:(Lorg/jruby/RubyLocalJumpError$Reason;)V
putstatic org.jruby.ir.operands.IRException.REDO_LocalJumpError:Lorg/jruby/ir/operands/IRException;
return
LocalVariableTable:
Start End Slot Name Signature
protected void <init>(org.jruby.RubyLocalJumpError$Reason);
descriptor: (Lorg/jruby/RubyLocalJumpError$Reason;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial org.jruby.ir.operands.Operand.<init>:()V
1: aload 0
aload 1
putfield org.jruby.ir.operands.IRException.type:Lorg/jruby/RubyLocalJumpError$Reason;
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/jruby/ir/operands/IRException;
0 3 1 type Lorg/jruby/RubyLocalJumpError$Reason;
MethodParameters:
Name Flags
type
public org.jruby.ir.operands.OperandType getOperandType();
descriptor: ()Lorg/jruby/ir/operands/OperandType;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: getstatic org.jruby.ir.operands.OperandType.IR_EXCEPTION:Lorg/jruby/ir/operands/OperandType;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/ir/operands/IRException;
public org.jruby.RubyLocalJumpError$Reason getType();
descriptor: ()Lorg/jruby/RubyLocalJumpError$Reason;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.jruby.ir.operands.IRException.type:Lorg/jruby/RubyLocalJumpError$Reason;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/ir/operands/IRException;
public static org.jruby.ir.operands.IRException getExceptionFromOrdinal(int);
descriptor: (I)Lorg/jruby/ir/operands/IRException;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=1, args_size=1
start local 0 0: iload 0
iflt 1
iload 0
invokestatic org.jruby.RubyLocalJumpError$Reason.values:()[Lorg/jruby/RubyLocalJumpError$Reason;
arraylength
if_icmple 2
1: StackMap locals:
StackMap stack:
new java.lang.IllegalArgumentException
dup
new java.lang.StringBuilder
dup
ldc "Invalid ordinal value for jump error: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
iload 0
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
invokestatic org.jruby.ir.operands.IRException.$SWITCH_TABLE$org$jruby$RubyLocalJumpError$Reason:()[I
invokestatic org.jruby.RubyLocalJumpError$Reason.values:()[Lorg/jruby/RubyLocalJumpError$Reason;
iload 0
aaload
invokevirtual org.jruby.RubyLocalJumpError$Reason.ordinal:()I
iaload
tableswitch { // 1 - 5
1: 7
2: 5
3: 4
4: 6
5: 3
default: 8
}
3: StackMap locals:
StackMap stack:
getstatic org.jruby.ir.operands.IRException.RETRY_LocalJumpError:Lorg/jruby/ir/operands/IRException;
areturn
4: StackMap locals:
StackMap stack:
getstatic org.jruby.ir.operands.IRException.NEXT_LocalJumpError:Lorg/jruby/ir/operands/IRException;
areturn
5: StackMap locals:
StackMap stack:
getstatic org.jruby.ir.operands.IRException.BREAK_LocalJumpError:Lorg/jruby/ir/operands/IRException;
areturn
6: StackMap locals:
StackMap stack:
getstatic org.jruby.ir.operands.IRException.RETURN_LocalJumpError:Lorg/jruby/ir/operands/IRException;
areturn
7: StackMap locals:
StackMap stack:
getstatic org.jruby.ir.operands.IRException.REDO_LocalJumpError:Lorg/jruby/ir/operands/IRException;
areturn
8: StackMap locals:
StackMap stack:
aconst_null
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 ordinal I
MethodParameters:
Name Flags
ordinal
public void addUsedVariables(java.util.List<org.jruby.ir.operands.Variable>);
descriptor: (Ljava/util/List;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=0, locals=2, args_size=2
start local 0 start local 1 0: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/ir/operands/IRException;
0 1 1 l Ljava/util/List<Lorg/jruby/ir/operands/Variable;>;
Signature: (Ljava/util/List<Lorg/jruby/ir/operands/Variable;>;)V
MethodParameters:
Name Flags
l
public org.jruby.ir.operands.Operand cloneForInlining(org.jruby.ir.transformations.inlining.CloneInfo);
descriptor: (Lorg/jruby/ir/transformations/inlining/CloneInfo;)Lorg/jruby/ir/operands/Operand;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=2, args_size=2
start local 0 start local 1 0: aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/ir/operands/IRException;
0 1 1 ii Lorg/jruby/ir/transformations/inlining/CloneInfo;
MethodParameters:
Name Flags
ii
public boolean canCopyPropagate();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: iconst_1
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/ir/operands/IRException;
public java.lang.RuntimeException getException(org.jruby.Ruby);
descriptor: (Lorg/jruby/Ruby;)Ljava/lang/RuntimeException;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: invokestatic org.jruby.ir.operands.IRException.$SWITCH_TABLE$org$jruby$RubyLocalJumpError$Reason:()[I
aload 0
invokevirtual org.jruby.ir.operands.IRException.getType:()Lorg/jruby/RubyLocalJumpError$Reason;
invokevirtual org.jruby.RubyLocalJumpError$Reason.ordinal:()I
iaload
tableswitch { // 1 - 5
1: 4
2: 2
3: 1
4: 3
5: 5
default: 6
}
1: StackMap locals:
StackMap stack:
aload 1
aload 0
invokevirtual org.jruby.ir.operands.IRException.getType:()Lorg/jruby/RubyLocalJumpError$Reason;
aconst_null
ldc "unexpected next"
invokevirtual org.jruby.Ruby.newLocalJumpError:(Lorg/jruby/RubyLocalJumpError$Reason;Lorg/jruby/runtime/builtin/IRubyObject;Ljava/lang/String;)Lorg/jruby/exceptions/RaiseException;
areturn
2: StackMap locals:
StackMap stack:
aload 1
aload 0
invokevirtual org.jruby.ir.operands.IRException.getType:()Lorg/jruby/RubyLocalJumpError$Reason;
aconst_null
ldc "unexpected break"
invokevirtual org.jruby.Ruby.newLocalJumpError:(Lorg/jruby/RubyLocalJumpError$Reason;Lorg/jruby/runtime/builtin/IRubyObject;Ljava/lang/String;)Lorg/jruby/exceptions/RaiseException;
areturn
3: StackMap locals:
StackMap stack:
aload 1
aload 0
invokevirtual org.jruby.ir.operands.IRException.getType:()Lorg/jruby/RubyLocalJumpError$Reason;
aconst_null
ldc "unexpected return"
invokevirtual org.jruby.Ruby.newLocalJumpError:(Lorg/jruby/RubyLocalJumpError$Reason;Lorg/jruby/runtime/builtin/IRubyObject;Ljava/lang/String;)Lorg/jruby/exceptions/RaiseException;
areturn
4: StackMap locals:
StackMap stack:
aload 1
aload 0
invokevirtual org.jruby.ir.operands.IRException.getType:()Lorg/jruby/RubyLocalJumpError$Reason;
aconst_null
ldc "unexpected redo"
invokevirtual org.jruby.Ruby.newLocalJumpError:(Lorg/jruby/RubyLocalJumpError$Reason;Lorg/jruby/runtime/builtin/IRubyObject;Ljava/lang/String;)Lorg/jruby/exceptions/RaiseException;
areturn
5: StackMap locals:
StackMap stack:
aload 1
aload 0
invokevirtual org.jruby.ir.operands.IRException.getType:()Lorg/jruby/RubyLocalJumpError$Reason;
aconst_null
ldc "retry outside of rescue not supported"
invokevirtual org.jruby.Ruby.newLocalJumpError:(Lorg/jruby/RubyLocalJumpError$Reason;Lorg/jruby/runtime/builtin/IRubyObject;Ljava/lang/String;)Lorg/jruby/exceptions/RaiseException;
areturn
6: StackMap locals:
StackMap stack:
new java.lang.RuntimeException
dup
ldc "Unhandled case in operands/IRException.java"
invokespecial java.lang.RuntimeException.<init>:(Ljava/lang/String;)V
athrow
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lorg/jruby/ir/operands/IRException;
0 7 1 runtime Lorg/jruby/Ruby;
MethodParameters:
Name Flags
runtime
public void visit(org.jruby.ir.IRVisitor);
descriptor: (Lorg/jruby/ir/IRVisitor;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 1
aload 0
invokevirtual org.jruby.ir.IRVisitor.IRException:(Lorg/jruby/ir/operands/IRException;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/jruby/ir/operands/IRException;
0 2 1 visitor Lorg/jruby/ir/IRVisitor;
MethodParameters:
Name Flags
visitor
public void encode(org.jruby.ir.persistence.IRWriterEncoder);
descriptor: (Lorg/jruby/ir/persistence/IRWriterEncoder;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokespecial org.jruby.ir.operands.Operand.encode:(Lorg/jruby/ir/persistence/IRWriterEncoder;)V
1: aload 1
aload 0
invokevirtual org.jruby.ir.operands.IRException.getType:()Lorg/jruby/RubyLocalJumpError$Reason;
invokevirtual org.jruby.RubyLocalJumpError$Reason.ordinal:()I
i2b
invokeinterface org.jruby.ir.persistence.IRWriterEncoder.encode:(B)V
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/jruby/ir/operands/IRException;
0 3 1 e Lorg/jruby/ir/persistence/IRWriterEncoder;
MethodParameters:
Name Flags
e
public static org.jruby.ir.operands.IRException decode(org.jruby.ir.persistence.IRReaderDecoder);
descriptor: (Lorg/jruby/ir/persistence/IRReaderDecoder;)Lorg/jruby/ir/operands/IRException;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokeinterface org.jruby.ir.persistence.IRReaderDecoder.decodeByte:()B
invokestatic org.jruby.ir.operands.IRException.getExceptionFromOrdinal:(I)Lorg/jruby/ir/operands/IRException;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 d Lorg/jruby/ir/persistence/IRReaderDecoder;
MethodParameters:
Name Flags
d
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: new java.lang.StringBuilder
dup
ldc "LocalJumpError:"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
invokevirtual org.jruby.ir.operands.IRException.getType:()Lorg/jruby/RubyLocalJumpError$Reason;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/ir/operands/IRException;
static int[] $SWITCH_TABLE$org$jruby$RubyLocalJumpError$Reason();
descriptor: ()[I
flags: (0x1008) ACC_STATIC, ACC_SYNTHETIC
Code:
stack=3, locals=1, args_size=0
0: getstatic org.jruby.ir.operands.IRException.$SWITCH_TABLE$org$jruby$RubyLocalJumpError$Reason:[I
dup
ifnull 1
areturn
StackMap locals:
StackMap stack: int[]
1: pop
invokestatic org.jruby.RubyLocalJumpError$Reason.values:()[Lorg/jruby/RubyLocalJumpError$Reason;
arraylength
newarray 10
astore 0
2: aload 0
getstatic org.jruby.RubyLocalJumpError$Reason.BREAK:Lorg/jruby/RubyLocalJumpError$Reason;
invokevirtual org.jruby.RubyLocalJumpError$Reason.ordinal:()I
iconst_2
iastore
3: goto 5
StackMap locals: int[]
StackMap stack: java.lang.NoSuchFieldError
4: pop
StackMap locals:
StackMap stack:
5: aload 0
getstatic org.jruby.RubyLocalJumpError$Reason.NEXT:Lorg/jruby/RubyLocalJumpError$Reason;
invokevirtual org.jruby.RubyLocalJumpError$Reason.ordinal:()I
iconst_3
iastore
6: goto 8
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
7: pop
StackMap locals:
StackMap stack:
8: aload 0
getstatic org.jruby.RubyLocalJumpError$Reason.NOREASON:Lorg/jruby/RubyLocalJumpError$Reason;
invokevirtual org.jruby.RubyLocalJumpError$Reason.ordinal:()I
bipush 6
iastore
9: goto 11
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
10: pop
StackMap locals:
StackMap stack:
11: aload 0
getstatic org.jruby.RubyLocalJumpError$Reason.REDO:Lorg/jruby/RubyLocalJumpError$Reason;
invokevirtual org.jruby.RubyLocalJumpError$Reason.ordinal:()I
iconst_1
iastore
12: goto 14
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
13: pop
StackMap locals:
StackMap stack:
14: aload 0
getstatic org.jruby.RubyLocalJumpError$Reason.RETRY:Lorg/jruby/RubyLocalJumpError$Reason;
invokevirtual org.jruby.RubyLocalJumpError$Reason.ordinal:()I
iconst_5
iastore
15: goto 17
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
16: pop
StackMap locals:
StackMap stack:
17: aload 0
getstatic org.jruby.RubyLocalJumpError$Reason.RETURN:Lorg/jruby/RubyLocalJumpError$Reason;
invokevirtual org.jruby.RubyLocalJumpError$Reason.ordinal:()I
iconst_4
iastore
18: goto 20
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
19: pop
StackMap locals:
StackMap stack:
20: aload 0
dup
putstatic org.jruby.ir.operands.IRException.$SWITCH_TABLE$org$jruby$RubyLocalJumpError$Reason:[I
areturn
LocalVariableTable:
Start End Slot Name Signature
Exception table:
from to target type
2 3 4 Class java.lang.NoSuchFieldError
5 6 7 Class java.lang.NoSuchFieldError
8 9 10 Class java.lang.NoSuchFieldError
11 12 13 Class java.lang.NoSuchFieldError
14 15 16 Class java.lang.NoSuchFieldError
17 18 19 Class java.lang.NoSuchFieldError
}
SourceFile: "IRException.java"
InnerClasses:
public final Reason = org.jruby.RubyLocalJumpError$Reason of org.jruby.RubyLocalJumpError