public class com.sun.tools.javadoc.main.SourcePositionImpl implements com.sun.javadoc.SourcePosition
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: com.sun.tools.javadoc.main.SourcePositionImpl
super_class: java.lang.Object
{
javax.tools.FileObject filename;
descriptor: Ljavax/tools/FileObject;
flags: (0x0000)
int position;
descriptor: I
flags: (0x0000)
com.sun.tools.javac.util.Position$LineMap lineMap;
descriptor: Lcom/sun/tools/javac/util/Position$LineMap;
flags: (0x0000)
public java.io.File file();
descriptor: ()Ljava/io/File;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
getfield com.sun.tools.javadoc.main.SourcePositionImpl.filename:Ljavax/tools/FileObject;
ifnonnull 1
aconst_null
goto 2
StackMap locals:
StackMap stack:
1: new java.io.File
dup
aload 0
getfield com.sun.tools.javadoc.main.SourcePositionImpl.filename:Ljavax/tools/FileObject;
invokeinterface javax.tools.FileObject.getName:()Ljava/lang/String;
invokespecial java.io.File.<init>:(Ljava/lang/String;)V
StackMap locals:
StackMap stack: java.io.File
2: areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/sun/tools/javadoc/main/SourcePositionImpl;
public javax.tools.FileObject fileObject();
descriptor: ()Ljavax/tools/FileObject;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.sun.tools.javadoc.main.SourcePositionImpl.filename:Ljavax/tools/FileObject;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/tools/javadoc/main/SourcePositionImpl;
public int line();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield com.sun.tools.javadoc.main.SourcePositionImpl.lineMap:Lcom/sun/tools/javac/util/Position$LineMap;
ifnonnull 2
1: iconst_0
ireturn
2: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.tools.javadoc.main.SourcePositionImpl.lineMap:Lcom/sun/tools/javac/util/Position$LineMap;
aload 0
getfield com.sun.tools.javadoc.main.SourcePositionImpl.position:I
invokeinterface com.sun.tools.javac.util.Position$LineMap.getLineNumber:(I)I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/sun/tools/javadoc/main/SourcePositionImpl;
public int column();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield com.sun.tools.javadoc.main.SourcePositionImpl.lineMap:Lcom/sun/tools/javac/util/Position$LineMap;
ifnonnull 2
1: iconst_0
ireturn
2: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.tools.javadoc.main.SourcePositionImpl.lineMap:Lcom/sun/tools/javac/util/Position$LineMap;
aload 0
getfield com.sun.tools.javadoc.main.SourcePositionImpl.position:I
invokeinterface com.sun.tools.javac.util.Position$LineMap.getColumnNumber:(I)I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/sun/tools/javadoc/main/SourcePositionImpl;
private void <init>(javax.tools.FileObject, int, com.sun.tools.javac.util.Position$LineMap);
descriptor: (Ljavax/tools/FileObject;ILcom/sun/tools/javac/util/Position$LineMap;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aload 1
putfield com.sun.tools.javadoc.main.SourcePositionImpl.filename:Ljavax/tools/FileObject;
2: aload 0
iload 2
putfield com.sun.tools.javadoc.main.SourcePositionImpl.position:I
3: aload 0
aload 3
putfield com.sun.tools.javadoc.main.SourcePositionImpl.lineMap:Lcom/sun/tools/javac/util/Position$LineMap;
4: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lcom/sun/tools/javadoc/main/SourcePositionImpl;
0 5 1 file Ljavax/tools/FileObject;
0 5 2 position I
0 5 3 lineMap Lcom/sun/tools/javac/util/Position$LineMap;
MethodParameters:
Name Flags
file
position
lineMap
public static com.sun.javadoc.SourcePosition make(javax.tools.FileObject, int, com.sun.tools.javac.util.Position$LineMap);
descriptor: (Ljavax/tools/FileObject;ILcom/sun/tools/javac/util/Position$LineMap;)Lcom/sun/javadoc/SourcePosition;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
ifnonnull 1
aconst_null
areturn
1: StackMap locals:
StackMap stack:
new com.sun.tools.javadoc.main.SourcePositionImpl
dup
aload 0
iload 1
aload 2
invokespecial com.sun.tools.javadoc.main.SourcePositionImpl.<init>:(Ljavax/tools/FileObject;ILcom/sun/tools/javac/util/Position$LineMap;)V
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 file Ljavax/tools/FileObject;
0 2 1 pos I
0 2 2 lineMap Lcom/sun/tools/javac/util/Position$LineMap;
MethodParameters:
Name Flags
file
pos
lineMap
public java.lang.String toString();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=4, args_size=1
start local 0 0: aload 0
getfield com.sun.tools.javadoc.main.SourcePositionImpl.filename:Ljavax/tools/FileObject;
invokeinterface javax.tools.FileObject.getName:()Ljava/lang/String;
astore 1
start local 1 1: aload 1
ldc ")"
invokevirtual java.lang.String.endsWith:(Ljava/lang/String;)Z
ifeq 11
2: aload 1
ldc "("
invokevirtual java.lang.String.lastIndexOf:(Ljava/lang/String;)I
istore 2
start local 2 3: iload 2
iconst_m1
if_icmpeq 11
4: iload 2
iconst_1
iadd
istore 3
start local 3 5: aload 1
iload 3
invokevirtual java.lang.String.charAt:(I)C
bipush 47
if_icmpne 7
6: iinc 3 1
7: StackMap locals: java.lang.String int int
StackMap stack:
new java.lang.StringBuilder
dup
aload 1
iconst_0
iload 2
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
8: getstatic java.io.File.separatorChar:C
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
9: aload 1
iload 3
aload 1
invokevirtual java.lang.String.length:()I
iconst_1
isub
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
10: invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
astore 1
end local 3 end local 2 11: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.tools.javadoc.main.SourcePositionImpl.position:I
iconst_m1
if_icmpne 13
12: aload 1
areturn
13: StackMap locals:
StackMap stack:
new java.lang.StringBuilder
dup
aload 1
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc ":"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
invokevirtual com.sun.tools.javadoc.main.SourcePositionImpl.line:()I
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 14 0 this Lcom/sun/tools/javadoc/main/SourcePositionImpl;
1 14 1 fn Ljava/lang/String;
3 11 2 paren I
5 11 3 i I
}
SourceFile: "SourcePositionImpl.java"
InnerClasses:
public abstract LineMap = com.sun.tools.javac.util.Position$LineMap of com.sun.tools.javac.util.Position
RuntimeVisibleAnnotations:
java.lang.Deprecated()