public class org.jruby.ext.ripper.SyntaxException extends java.lang.RuntimeException
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.jruby.ext.ripper.SyntaxException
super_class: java.lang.RuntimeException
{
public void <init>(java.lang.String, java.lang.String);
descriptor: (Ljava/lang/String;Ljava/lang/String;)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 2
aload 1
invokestatic org.jruby.ext.ripper.SyntaxException.prepareMessage:(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
invokespecial java.lang.RuntimeException.<init>:(Ljava/lang/String;)V
1: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/jruby/ext/ripper/SyntaxException;
0 2 1 lastLine Ljava/lang/String;
0 2 2 message Ljava/lang/String;
MethodParameters:
Name Flags
lastLine
message
private static java.lang.String prepareMessage(java.lang.String, java.lang.String);
descriptor: (Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: aload 1
ifnull 7
aload 1
invokevirtual java.lang.String.length:()I
iconst_5
if_icmple 7
1: aload 0
ifnull 2
aload 0
ldc "\n"
invokevirtual java.lang.String.endsWith:(Ljava/lang/String;)Z
ifne 2
iconst_1
goto 3
StackMap locals:
StackMap stack:
2: iconst_0
StackMap locals:
StackMap stack: int
3: istore 2
start local 2 4: new java.lang.StringBuilder
dup
aload 0
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
iload 2
ifeq 5
ldc "\n"
goto 6
StackMap locals: java.lang.String java.lang.String int
StackMap stack: java.lang.StringBuilder
5: ldc ""
StackMap locals: java.lang.String java.lang.String int
StackMap stack: java.lang.StringBuilder java.lang.String
6: invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
end local 2 7: StackMap locals:
StackMap stack:
aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 message Ljava/lang/String;
0 8 1 line Ljava/lang/String;
4 7 2 addNewline Z
MethodParameters:
Name Flags
message
line
}
SourceFile: "SyntaxException.java"