class com.sun.tools.javac.util.Position$LineMapImpl implements com.sun.tools.javac.util.Position$LineMap
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: com.sun.tools.javac.util.Position$LineMapImpl
super_class: java.lang.Object
{
protected int[] startPosition;
descriptor: [I
flags: (0x0004) ACC_PROTECTED
private int lastPosition;
descriptor: I
flags: (0x0002) ACC_PRIVATE
private int lastLine;
descriptor: I
flags: (0x0002) ACC_PRIVATE
protected void <init>();
descriptor: ()V
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
iconst_0
putfield com.sun.tools.javac.util.Position$LineMapImpl.lastPosition:I
2: aload 0
iconst_1
putfield com.sun.tools.javac.util.Position$LineMapImpl.lastLine:I
3: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/sun/tools/javac/util/Position$LineMapImpl;
protected void build(char[], int);
descriptor: ([CI)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=5, locals=7, args_size=3
start local 0 start local 1 start local 2 0: iconst_0
istore 3
start local 3 1: iconst_0
istore 4
start local 4 2: iload 2
newarray 10
astore 5
start local 5 3: goto 15
4: StackMap locals: int int int[]
StackMap stack:
aload 5
iload 3
iinc 3 1
iload 4
iastore
5: StackMap locals:
StackMap stack:
aload 1
iload 4
caload
istore 6
start local 6 6: iload 6
bipush 13
if_icmpeq 7
iload 6
bipush 10
if_icmpne 11
7: StackMap locals: int
StackMap stack:
iload 6
bipush 13
if_icmpne 9
iload 4
iconst_1
iadd
iload 2
if_icmpge 9
aload 1
iload 4
iconst_1
iadd
caload
bipush 10
if_icmpne 9
8: iinc 4 2
goto 15
9: StackMap locals:
StackMap stack:
iinc 4 1
10: goto 15
11: StackMap locals:
StackMap stack:
iload 6
bipush 9
if_icmpne 13
12: aload 0
iload 4
invokevirtual com.sun.tools.javac.util.Position$LineMapImpl.setTabPosition:(I)V
end local 6 13: StackMap locals:
StackMap stack:
iinc 4 1
iload 4
iload 2
14: if_icmplt 5
15: StackMap locals:
StackMap stack:
iload 4
iload 2
if_icmplt 4
16: aload 0
iload 3
newarray 10
putfield com.sun.tools.javac.util.Position$LineMapImpl.startPosition:[I
17: aload 5
iconst_0
aload 0
getfield com.sun.tools.javac.util.Position$LineMapImpl.startPosition:[I
iconst_0
iload 3
invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
18: 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 19 0 this Lcom/sun/tools/javac/util/Position$LineMapImpl;
0 19 1 src [C
0 19 2 max I
1 19 3 c I
2 19 4 i I
3 19 5 linebuf [I
6 13 6 ch C
MethodParameters:
Name Flags
src
max
public int getStartPosition(int);
descriptor: (I)I
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield com.sun.tools.javac.util.Position$LineMapImpl.startPosition:[I
iload 1
iconst_1
isub
iaload
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/tools/javac/util/Position$LineMapImpl;
0 1 1 line I
MethodParameters:
Name Flags
line
public long getStartPosition(long);
descriptor: (J)J
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: aload 0
lload 1
invokestatic com.sun.tools.javac.util.Position$LineMapImpl.longToInt:(J)I
invokevirtual com.sun.tools.javac.util.Position$LineMapImpl.getStartPosition:(I)I
i2l
lreturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/tools/javac/util/Position$LineMapImpl;
0 1 1 line J
MethodParameters:
Name Flags
line
public int getPosition(int, int);
descriptor: (II)I
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield com.sun.tools.javac.util.Position$LineMapImpl.startPosition:[I
iload 1
iconst_1
isub
iaload
iload 2
iadd
iconst_1
isub
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/tools/javac/util/Position$LineMapImpl;
0 1 1 line I
0 1 2 column I
MethodParameters:
Name Flags
line
column
public long getPosition(long, long);
descriptor: (JJ)J
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=5, args_size=3
start local 0 start local 1 start local 3 0: aload 0
lload 1
invokestatic com.sun.tools.javac.util.Position$LineMapImpl.longToInt:(J)I
lload 3
invokestatic com.sun.tools.javac.util.Position$LineMapImpl.longToInt:(J)I
invokevirtual com.sun.tools.javac.util.Position$LineMapImpl.getPosition:(II)I
i2l
lreturn
end local 3 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/tools/javac/util/Position$LineMapImpl;
0 1 1 line J
0 1 3 column J
MethodParameters:
Name Flags
line
column
public int getLineNumber(int);
descriptor: (I)I
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=6, args_size=2
start local 0 start local 1 0: iload 1
aload 0
getfield com.sun.tools.javac.util.Position$LineMapImpl.lastPosition:I
if_icmpne 2
1: aload 0
getfield com.sun.tools.javac.util.Position$LineMapImpl.lastLine:I
ireturn
2: StackMap locals:
StackMap stack:
aload 0
iload 1
putfield com.sun.tools.javac.util.Position$LineMapImpl.lastPosition:I
3: iconst_0
istore 2
start local 2 4: aload 0
getfield com.sun.tools.javac.util.Position$LineMapImpl.startPosition:[I
arraylength
iconst_1
isub
istore 3
start local 3 5: goto 14
6: StackMap locals: int int
StackMap stack:
iload 2
iload 3
iadd
iconst_1
ishr
istore 4
start local 4 7: aload 0
getfield com.sun.tools.javac.util.Position$LineMapImpl.startPosition:[I
iload 4
iaload
istore 5
start local 5 8: iload 5
iload 1
if_icmpge 10
9: iload 4
iconst_1
iadd
istore 2
goto 14
10: StackMap locals: int int
StackMap stack:
iload 5
iload 1
if_icmple 12
11: iload 4
iconst_1
isub
istore 3
goto 14
12: StackMap locals:
StackMap stack:
aload 0
iload 4
iconst_1
iadd
putfield com.sun.tools.javac.util.Position$LineMapImpl.lastLine:I
13: aload 0
getfield com.sun.tools.javac.util.Position$LineMapImpl.lastLine:I
ireturn
end local 5 end local 4 14: StackMap locals:
StackMap stack:
iload 2
iload 3
if_icmple 6
15: aload 0
iload 2
putfield com.sun.tools.javac.util.Position$LineMapImpl.lastLine:I
16: aload 0
getfield com.sun.tools.javac.util.Position$LineMapImpl.lastLine:I
ireturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 17 0 this Lcom/sun/tools/javac/util/Position$LineMapImpl;
0 17 1 pos I
4 17 2 low I
5 17 3 high I
7 14 4 mid I
8 14 5 midVal I
MethodParameters:
Name Flags
pos
public long getLineNumber(long);
descriptor: (J)J
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: aload 0
lload 1
invokestatic com.sun.tools.javac.util.Position$LineMapImpl.longToInt:(J)I
invokevirtual com.sun.tools.javac.util.Position$LineMapImpl.getLineNumber:(I)I
i2l
lreturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/tools/javac/util/Position$LineMapImpl;
0 1 1 pos J
MethodParameters:
Name Flags
pos
public int getColumnNumber(int);
descriptor: (I)I
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: iload 1
aload 0
getfield com.sun.tools.javac.util.Position$LineMapImpl.startPosition:[I
aload 0
iload 1
invokevirtual com.sun.tools.javac.util.Position$LineMapImpl.getLineNumber:(I)I
iconst_1
isub
iaload
isub
iconst_1
iadd
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/tools/javac/util/Position$LineMapImpl;
0 1 1 pos I
MethodParameters:
Name Flags
pos
public long getColumnNumber(long);
descriptor: (J)J
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: aload 0
lload 1
invokestatic com.sun.tools.javac.util.Position$LineMapImpl.longToInt:(J)I
invokevirtual com.sun.tools.javac.util.Position$LineMapImpl.getColumnNumber:(I)I
i2l
lreturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/tools/javac/util/Position$LineMapImpl;
0 1 1 pos J
MethodParameters:
Name Flags
pos
private static int longToInt(long);
descriptor: (J)I
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=4, locals=3, args_size=1
start local 0 0: lload 0
l2i
istore 2
start local 2 1: iload 2
i2l
lload 0
lcmp
ifeq 3
2: new java.lang.IndexOutOfBoundsException
dup
invokespecial java.lang.IndexOutOfBoundsException.<init>:()V
athrow
3: StackMap locals: int
StackMap stack:
iload 2
ireturn
end local 2 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 longValue J
1 4 2 intValue I
MethodParameters:
Name Flags
longValue
protected void setTabPosition(int);
descriptor: (I)V
flags: (0x0004) ACC_PROTECTED
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 Lcom/sun/tools/javac/util/Position$LineMapImpl;
0 1 1 offset I
MethodParameters:
Name Flags
offset
}
SourceFile: "Position.java"
NestHost: com.sun.tools.javac.util.Position
InnerClasses:
public abstract LineMap = com.sun.tools.javac.util.Position$LineMap of com.sun.tools.javac.util.Position
LineMapImpl = com.sun.tools.javac.util.Position$LineMapImpl of com.sun.tools.javac.util.Position