public class org.jruby.lexer.yacc.SimpleSourcePosition implements org.jruby.lexer.yacc.ISourcePosition
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.jruby.lexer.yacc.SimpleSourcePosition
super_class: java.lang.Object
{
final java.lang.String filename;
descriptor: Ljava/lang/String;
flags: (0x0010) ACC_FINAL
final int line;
descriptor: I
flags: (0x0010) ACC_FINAL
public void <init>(java.lang.String, int);
descriptor: (Ljava/lang/String;I)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, 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 0
aload 1
putfield org.jruby.lexer.yacc.SimpleSourcePosition.filename:Ljava/lang/String;
2: aload 0
iload 2
putfield org.jruby.lexer.yacc.SimpleSourcePosition.line:I
3: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/jruby/lexer/yacc/SimpleSourcePosition;
0 4 1 filename Ljava/lang/String;
0 4 2 line I
MethodParameters:
Name Flags
filename
line
public java.lang.String getFile();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.jruby.lexer.yacc.SimpleSourcePosition.filename:Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/lexer/yacc/SimpleSourcePosition;
public int getLine();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.jruby.lexer.yacc.SimpleSourcePosition.line:I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/lexer/yacc/SimpleSourcePosition;
public java.lang.String toString();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=1, args_size=1
start local 0 0: ldc "%s:%d"
iconst_2
anewarray java.lang.Object
dup
iconst_0
aload 0
getfield org.jruby.lexer.yacc.SimpleSourcePosition.filename:Ljava/lang/String;
aastore
dup
iconst_1
aload 0
invokevirtual org.jruby.lexer.yacc.SimpleSourcePosition.getLine:()I
iconst_1
iadd
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
invokestatic java.lang.String.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/lexer/yacc/SimpleSourcePosition;
}
SourceFile: "SimpleSourcePosition.java"