class com.sun.tools.example.debug.tty.Env$SourceCode
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: com.sun.tools.example.debug.tty.Env$SourceCode
super_class: java.lang.Object
{
private java.lang.String fileName;
descriptor: Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
private java.util.List<java.lang.String> sourceLines;
descriptor: Ljava/util/List;
flags: (0x0002) ACC_PRIVATE
Signature: Ljava/util/List<Ljava/lang/String;>;
void <init>(java.lang.String, java.io.BufferedReader);
descriptor: (Ljava/lang/String;Ljava/io/BufferedReader;)V
flags: (0x0000)
Code:
stack=3, locals=5, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
putfield com.sun.tools.example.debug.tty.Env$SourceCode.sourceLines:Ljava/util/List;
2: aload 0
aload 1
putfield com.sun.tools.example.debug.tty.Env$SourceCode.fileName:Ljava/lang/String;
3: aload 2
invokevirtual java.io.BufferedReader.readLine:()Ljava/lang/String;
astore 3
start local 3 4: goto 7
5: StackMap locals: com.sun.tools.example.debug.tty.Env$SourceCode java.lang.String java.io.BufferedReader java.lang.String
StackMap stack:
aload 0
getfield com.sun.tools.example.debug.tty.Env$SourceCode.sourceLines:Ljava/util/List;
aload 3
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
6: aload 2
invokevirtual java.io.BufferedReader.readLine:()Ljava/lang/String;
astore 3
7: StackMap locals:
StackMap stack:
aload 3
ifnonnull 5
end local 3 8: goto 12
StackMap locals: com.sun.tools.example.debug.tty.Env$SourceCode java.lang.String java.io.BufferedReader
StackMap stack: java.lang.Throwable
9: astore 4
10: aload 2
invokevirtual java.io.BufferedReader.close:()V
11: aload 4
athrow
12: StackMap locals:
StackMap stack:
aload 2
invokevirtual java.io.BufferedReader.close:()V
13: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 14 0 this Lcom/sun/tools/example/debug/tty/Env$SourceCode;
0 14 1 fileName Ljava/lang/String;
0 14 2 reader Ljava/io/BufferedReader;
4 8 3 line Ljava/lang/String;
Exception table:
from to target type
3 9 9 any
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
fileName
reader
java.lang.String fileName();
descriptor: ()Ljava/lang/String;
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.sun.tools.example.debug.tty.Env$SourceCode.fileName:Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/tools/example/debug/tty/Env$SourceCode;
java.lang.String sourceLine(int);
descriptor: (I)Ljava/lang/String;
flags: (0x0000)
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: iload 1
iconst_1
isub
istore 2
start local 2 1: iload 2
aload 0
getfield com.sun.tools.example.debug.tty.Env$SourceCode.sourceLines:Ljava/util/List;
invokeinterface java.util.List.size:()I
if_icmplt 3
2: aconst_null
areturn
3: StackMap locals: int
StackMap stack:
aload 0
getfield com.sun.tools.example.debug.tty.Env$SourceCode.sourceLines:Ljava/util/List;
iload 2
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
checkcast java.lang.String
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/sun/tools/example/debug/tty/Env$SourceCode;
0 4 1 number I
1 4 2 index I
MethodParameters:
Name Flags
number
}
SourceFile: "Env.java"
NestHost: com.sun.tools.example.debug.tty.Env
InnerClasses:
SourceCode = com.sun.tools.example.debug.tty.Env$SourceCode of com.sun.tools.example.debug.tty.Env