public class org.jruby.runtime.backtrace.RubyStackTraceElement implements java.io.Serializable
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.jruby.runtime.backtrace.RubyStackTraceElement
super_class: java.lang.Object
{
public static final org.jruby.runtime.backtrace.RubyStackTraceElement[] EMPTY_ARRAY;
descriptor: [Lorg/jruby/runtime/backtrace/RubyStackTraceElement;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
private final java.lang.String className;
descriptor: Ljava/lang/String;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.lang.String methodName;
descriptor: Ljava/lang/String;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.lang.String fileName;
descriptor: Ljava/lang/String;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final int lineNumber;
descriptor: I
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final boolean binding;
descriptor: Z
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final org.jruby.runtime.backtrace.FrameType frameType;
descriptor: Lorg/jruby/runtime/backtrace/FrameType;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private transient java.lang.StackTraceElement element;
descriptor: Ljava/lang/StackTraceElement;
flags: (0x0082) ACC_PRIVATE, ACC_TRANSIENT
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: iconst_0
anewarray org.jruby.runtime.backtrace.RubyStackTraceElement
putstatic org.jruby.runtime.backtrace.RubyStackTraceElement.EMPTY_ARRAY:[Lorg/jruby/runtime/backtrace/RubyStackTraceElement;
return
LocalVariableTable:
Start End Slot Name Signature
public void <init>(java.lang.StackTraceElement);
descriptor: (Ljava/lang/StackTraceElement;)V
flags: (0x0001) ACC_PUBLIC
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
aload 1
invokevirtual java.lang.StackTraceElement.getClassName:()Ljava/lang/String;
putfield org.jruby.runtime.backtrace.RubyStackTraceElement.className:Ljava/lang/String;
2: aload 0
aload 1
invokevirtual java.lang.StackTraceElement.getMethodName:()Ljava/lang/String;
putfield org.jruby.runtime.backtrace.RubyStackTraceElement.methodName:Ljava/lang/String;
3: aload 0
aload 1
invokevirtual java.lang.StackTraceElement.getFileName:()Ljava/lang/String;
ifnonnull 4
ldc "unknown"
goto 5
StackMap locals: org.jruby.runtime.backtrace.RubyStackTraceElement java.lang.StackTraceElement
StackMap stack: org.jruby.runtime.backtrace.RubyStackTraceElement
4: aload 1
invokevirtual java.lang.StackTraceElement.getFileName:()Ljava/lang/String;
StackMap locals: org.jruby.runtime.backtrace.RubyStackTraceElement java.lang.StackTraceElement
StackMap stack: org.jruby.runtime.backtrace.RubyStackTraceElement java.lang.String
5: putfield org.jruby.runtime.backtrace.RubyStackTraceElement.fileName:Ljava/lang/String;
6: aload 0
aload 1
invokevirtual java.lang.StackTraceElement.getLineNumber:()I
putfield org.jruby.runtime.backtrace.RubyStackTraceElement.lineNumber:I
7: aload 0
iconst_0
putfield org.jruby.runtime.backtrace.RubyStackTraceElement.binding:Z
8: aload 0
getstatic org.jruby.runtime.backtrace.FrameType.METHOD:Lorg/jruby/runtime/backtrace/FrameType;
putfield org.jruby.runtime.backtrace.RubyStackTraceElement.frameType:Lorg/jruby/runtime/backtrace/FrameType;
9: aload 0
aload 1
putfield org.jruby.runtime.backtrace.RubyStackTraceElement.element:Ljava/lang/StackTraceElement;
10: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Lorg/jruby/runtime/backtrace/RubyStackTraceElement;
0 11 1 element Ljava/lang/StackTraceElement;
MethodParameters:
Name Flags
element
public void <init>(java.lang.String, java.lang.String, java.lang.String, int, boolean);
descriptor: (Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;IZ)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=7, 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
aload 2
aload 3
iload 4
iload 5
getstatic org.jruby.runtime.backtrace.FrameType.METHOD:Lorg/jruby/runtime/backtrace/FrameType;
invokespecial org.jruby.runtime.backtrace.RubyStackTraceElement.<init>:(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;IZLorg/jruby/runtime/backtrace/FrameType;)V
1: 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 2 0 this Lorg/jruby/runtime/backtrace/RubyStackTraceElement;
0 2 1 klass Ljava/lang/String;
0 2 2 method Ljava/lang/String;
0 2 3 file Ljava/lang/String;
0 2 4 line I
0 2 5 binding Z
MethodParameters:
Name Flags
klass
method
file
line
binding
public void <init>(java.lang.String, java.lang.String, java.lang.String, int, boolean, org.jruby.runtime.backtrace.FrameType);
descriptor: (Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;IZLorg/jruby/runtime/backtrace/FrameType;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=7, args_size=7
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 start local 6 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aload 1
putfield org.jruby.runtime.backtrace.RubyStackTraceElement.className:Ljava/lang/String;
2: aload 0
aload 2
putfield org.jruby.runtime.backtrace.RubyStackTraceElement.methodName:Ljava/lang/String;
3: aload 0
aload 3
ifnonnull 4
ldc "unknown"
goto 5
StackMap locals: org.jruby.runtime.backtrace.RubyStackTraceElement java.lang.String java.lang.String java.lang.String int int org.jruby.runtime.backtrace.FrameType
StackMap stack: org.jruby.runtime.backtrace.RubyStackTraceElement
4: aload 3
StackMap locals: org.jruby.runtime.backtrace.RubyStackTraceElement java.lang.String java.lang.String java.lang.String int int org.jruby.runtime.backtrace.FrameType
StackMap stack: org.jruby.runtime.backtrace.RubyStackTraceElement java.lang.String
5: putfield org.jruby.runtime.backtrace.RubyStackTraceElement.fileName:Ljava/lang/String;
6: aload 0
iload 4
putfield org.jruby.runtime.backtrace.RubyStackTraceElement.lineNumber:I
7: aload 0
iload 5
putfield org.jruby.runtime.backtrace.RubyStackTraceElement.binding:Z
8: aload 0
aload 6
putfield org.jruby.runtime.backtrace.RubyStackTraceElement.frameType:Lorg/jruby/runtime/backtrace/FrameType;
9: return
end local 6 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 10 0 this Lorg/jruby/runtime/backtrace/RubyStackTraceElement;
0 10 1 klass Ljava/lang/String;
0 10 2 method Ljava/lang/String;
0 10 3 file Ljava/lang/String;
0 10 4 line I
0 10 5 binding Z
0 10 6 frameType Lorg/jruby/runtime/backtrace/FrameType;
MethodParameters:
Name Flags
klass
method
file
line
binding
frameType
public final boolean isBinding();
descriptor: ()Z
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.jruby.runtime.backtrace.RubyStackTraceElement.binding:Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/runtime/backtrace/RubyStackTraceElement;
public final java.lang.String getClassName();
descriptor: ()Ljava/lang/String;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.jruby.runtime.backtrace.RubyStackTraceElement.className:Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/runtime/backtrace/RubyStackTraceElement;
public final java.lang.String getFileName();
descriptor: ()Ljava/lang/String;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.jruby.runtime.backtrace.RubyStackTraceElement.fileName:Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/runtime/backtrace/RubyStackTraceElement;
public final int getLineNumber();
descriptor: ()I
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.jruby.runtime.backtrace.RubyStackTraceElement.lineNumber:I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/runtime/backtrace/RubyStackTraceElement;
public final java.lang.String getMethodName();
descriptor: ()Ljava/lang/String;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.jruby.runtime.backtrace.RubyStackTraceElement.methodName:Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/runtime/backtrace/RubyStackTraceElement;
public final org.jruby.runtime.backtrace.FrameType getFrameType();
descriptor: ()Lorg/jruby/runtime/backtrace/FrameType;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.jruby.runtime.backtrace.RubyStackTraceElement.frameType:Lorg/jruby/runtime/backtrace/FrameType;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/runtime/backtrace/RubyStackTraceElement;
public final java.lang.StackTraceElement asStackTraceElement();
descriptor: ()Ljava/lang/StackTraceElement;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=7, locals=1, args_size=1
start local 0 0: aload 0
getfield org.jruby.runtime.backtrace.RubyStackTraceElement.element:Ljava/lang/StackTraceElement;
ifnull 1
aload 0
getfield org.jruby.runtime.backtrace.RubyStackTraceElement.element:Ljava/lang/StackTraceElement;
areturn
1: StackMap locals:
StackMap stack:
aload 0
new java.lang.StackTraceElement
dup
aload 0
getfield org.jruby.runtime.backtrace.RubyStackTraceElement.className:Ljava/lang/String;
aload 0
getfield org.jruby.runtime.backtrace.RubyStackTraceElement.methodName:Ljava/lang/String;
aload 0
getfield org.jruby.runtime.backtrace.RubyStackTraceElement.fileName:Ljava/lang/String;
aload 0
getfield org.jruby.runtime.backtrace.RubyStackTraceElement.lineNumber:I
invokespecial java.lang.StackTraceElement.<init>:(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;I)V
dup_x1
putfield org.jruby.runtime.backtrace.RubyStackTraceElement.element:Ljava/lang/StackTraceElement;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/jruby/runtime/backtrace/RubyStackTraceElement;
public java.lang.StackTraceElement getElement();
descriptor: ()Ljava/lang/StackTraceElement;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual org.jruby.runtime.backtrace.RubyStackTraceElement.asStackTraceElement:()Ljava/lang/StackTraceElement;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/runtime/backtrace/RubyStackTraceElement;
RuntimeVisibleAnnotations:
java.lang.Deprecated()
public java.lang.String toString();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual org.jruby.runtime.backtrace.RubyStackTraceElement.asStackTraceElement:()Ljava/lang/StackTraceElement;
invokevirtual java.lang.StackTraceElement.toString:()Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/runtime/backtrace/RubyStackTraceElement;
public static org.jruby.RubyString to_s_mri(org.jruby.runtime.ThreadContext, org.jruby.runtime.backtrace.RubyStackTraceElement);
descriptor: (Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/backtrace/RubyStackTraceElement;)Lorg/jruby/RubyString;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=4, args_size=2
start local 0 start local 1 0: aload 0
getfield org.jruby.runtime.ThreadContext.runtime:Lorg/jruby/Ruby;
aload 1
invokevirtual org.jruby.runtime.backtrace.RubyStackTraceElement.getMethodName:()Ljava/lang/String;
invokevirtual org.jruby.Ruby.newSymbol:(Ljava/lang/String;)Lorg/jruby/RubySymbol;
astore 2
start local 2 1: aload 0
getfield org.jruby.runtime.ThreadContext.runtime:Lorg/jruby/Ruby;
new org.jruby.util.ByteList
dup
aload 2
invokevirtual org.jruby.RubySymbol.getBytes:()Lorg/jruby/util/ByteList;
invokevirtual org.jruby.util.ByteList.length:()I
aload 1
invokevirtual org.jruby.runtime.backtrace.RubyStackTraceElement.getFileName:()Ljava/lang/String;
invokevirtual java.lang.String.length:()I
iadd
bipush 18
iadd
invokespecial org.jruby.util.ByteList.<init>:(I)V
invokevirtual org.jruby.Ruby.newString:(Lorg/jruby/util/ByteList;)Lorg/jruby/RubyString;
astore 3
start local 3 2: aload 3
aload 2
invokevirtual org.jruby.RubySymbol.getEncoding:()Lorg/jcodings/Encoding;
invokevirtual org.jruby.RubyString.setEncoding:(Lorg/jcodings/Encoding;)V
3: aload 3
aload 1
invokevirtual org.jruby.runtime.backtrace.RubyStackTraceElement.getFileName:()Ljava/lang/String;
invokevirtual java.lang.String.getBytes:()[B
invokevirtual org.jruby.RubyString.cat:([B)Lorg/jruby/RubyString;
pop
4: aload 3
getstatic org.jruby.util.CommonByteLists.COLON:Lorg/jruby/util/ByteList;
invokevirtual org.jruby.RubyString.cat:(Lorg/jruby/util/ByteList;)Lorg/jruby/RubyString;
pop
5: aload 3
aload 1
invokevirtual org.jruby.runtime.backtrace.RubyStackTraceElement.getLineNumber:()I
i2l
invokestatic org.jruby.util.ConvertBytes.longToByteList:(J)Lorg/jruby/util/ByteList;
invokevirtual org.jruby.RubyString.cat:(Lorg/jruby/util/ByteList;)Lorg/jruby/RubyString;
pop
6: aload 3
getstatic org.jruby.util.CommonByteLists.BACKTRACE_IN:Lorg/jruby/util/ByteList;
invokevirtual org.jruby.RubyString.cat:(Lorg/jruby/util/ByteList;)Lorg/jruby/RubyString;
pop
7: aload 1
invokevirtual org.jruby.runtime.backtrace.RubyStackTraceElement.getFrameType:()Lorg/jruby/runtime/backtrace/FrameType;
getstatic org.jruby.runtime.backtrace.FrameType.BLOCK:Lorg/jruby/runtime/backtrace/FrameType;
if_acmpne 8
aload 3
ldc "block in "
invokevirtual org.jruby.RubyString.catString:(Ljava/lang/String;)Lorg/jruby/RubyString;
pop
8: StackMap locals: org.jruby.RubySymbol org.jruby.RubyString
StackMap stack:
aload 3
aload 2
invokevirtual org.jruby.RubySymbol.getBytes:()Lorg/jruby/util/ByteList;
invokevirtual org.jruby.RubyString.cat:(Lorg/jruby/util/ByteList;)Lorg/jruby/RubyString;
pop
9: aload 3
bipush 39
invokevirtual org.jruby.RubyString.cat:(I)Lorg/jruby/RubyString;
pop
10: aload 3
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 context Lorg/jruby/runtime/ThreadContext;
0 11 1 element Lorg/jruby/runtime/backtrace/RubyStackTraceElement;
1 11 2 methodSym Lorg/jruby/RubySymbol;
2 11 3 line Lorg/jruby/RubyString;
MethodParameters:
Name Flags
context
element
public final java.lang.CharSequence mriStyleString();
descriptor: ()Ljava/lang/CharSequence;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=4, locals=1, args_size=1
start local 0 0: new java.lang.StringBuilder
dup
aload 0
getfield org.jruby.runtime.backtrace.RubyStackTraceElement.fileName:Ljava/lang/String;
invokevirtual java.lang.String.length:()I
aload 0
getfield org.jruby.runtime.backtrace.RubyStackTraceElement.methodName:Ljava/lang/String;
invokevirtual java.lang.String.length:()I
iadd
bipush 12
iadd
invokespecial java.lang.StringBuilder.<init>:(I)V
1: aload 0
getfield org.jruby.runtime.backtrace.RubyStackTraceElement.fileName:Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
bipush 58
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
aload 0
getfield org.jruby.runtime.backtrace.RubyStackTraceElement.lineNumber:I
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
2: ldc ":in `"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
getfield org.jruby.runtime.backtrace.RubyStackTraceElement.methodName:Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
bipush 39
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
3: areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/jruby/runtime/backtrace/RubyStackTraceElement;
RuntimeVisibleAnnotations:
java.lang.Deprecated()
}
SourceFile: "RubyStackTraceElement.java"