public class com.sun.tools.javap.BasicWriter
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: com.sun.tools.javap.BasicWriter
super_class: java.lang.Object
{
private java.lang.String[] spaces;
descriptor: [Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
private com.sun.tools.javap.BasicWriter$LineWriter lineWriter;
descriptor: Lcom/sun/tools/javap/BasicWriter$LineWriter;
flags: (0x0002) ACC_PRIVATE
private java.io.PrintWriter out;
descriptor: Ljava/io/PrintWriter;
flags: (0x0002) ACC_PRIVATE
protected com.sun.tools.javap.Messages messages;
descriptor: Lcom/sun/tools/javap/Messages;
flags: (0x0004) ACC_PROTECTED
protected void <init>(com.sun.tools.javap.Context);
descriptor: (Lcom/sun/tools/javap/Context;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
bipush 80
anewarray java.lang.String
putfield com.sun.tools.javap.BasicWriter.spaces:[Ljava/lang/String;
2: aload 0
aload 1
invokestatic com.sun.tools.javap.BasicWriter$LineWriter.instance:(Lcom/sun/tools/javap/Context;)Lcom/sun/tools/javap/BasicWriter$LineWriter;
putfield com.sun.tools.javap.BasicWriter.lineWriter:Lcom/sun/tools/javap/BasicWriter$LineWriter;
3: aload 0
aload 1
ldc Ljava/io/PrintWriter;
invokevirtual com.sun.tools.javap.Context.get:(Ljava/lang/Class;)Ljava/lang/Object;
checkcast java.io.PrintWriter
putfield com.sun.tools.javap.BasicWriter.out:Ljava/io/PrintWriter;
4: aload 0
aload 1
ldc Lcom/sun/tools/javap/Messages;
invokevirtual com.sun.tools.javap.Context.get:(Ljava/lang/Class;)Ljava/lang/Object;
checkcast com.sun.tools.javap.Messages
putfield com.sun.tools.javap.BasicWriter.messages:Lcom/sun/tools/javap/Messages;
5: aload 0
getfield com.sun.tools.javap.BasicWriter.messages:Lcom/sun/tools/javap/Messages;
ifnonnull 7
6: new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
7: StackMap locals: com.sun.tools.javap.BasicWriter com.sun.tools.javap.Context
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lcom/sun/tools/javap/BasicWriter;
0 8 1 context Lcom/sun/tools/javap/Context;
MethodParameters:
Name Flags
context
protected void print(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield com.sun.tools.javap.BasicWriter.lineWriter:Lcom/sun/tools/javap/BasicWriter$LineWriter;
aload 1
invokevirtual com.sun.tools.javap.BasicWriter$LineWriter.print:(Ljava/lang/String;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/sun/tools/javap/BasicWriter;
0 2 1 s Ljava/lang/String;
MethodParameters:
Name Flags
s
protected void print(java.lang.Object);
descriptor: (Ljava/lang/Object;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield com.sun.tools.javap.BasicWriter.lineWriter:Lcom/sun/tools/javap/BasicWriter$LineWriter;
aload 1
ifnonnull 1
aconst_null
goto 2
StackMap locals:
StackMap stack: com.sun.tools.javap.BasicWriter$LineWriter
1: aload 1
invokevirtual java.lang.Object.toString:()Ljava/lang/String;
StackMap locals: com.sun.tools.javap.BasicWriter java.lang.Object
StackMap stack: com.sun.tools.javap.BasicWriter$LineWriter java.lang.String
2: invokevirtual com.sun.tools.javap.BasicWriter$LineWriter.print:(Ljava/lang/String;)V
3: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/sun/tools/javap/BasicWriter;
0 4 1 o Ljava/lang/Object;
MethodParameters:
Name Flags
o
protected void println();
descriptor: ()V
flags: (0x0004) ACC_PROTECTED
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.sun.tools.javap.BasicWriter.lineWriter:Lcom/sun/tools/javap/BasicWriter$LineWriter;
invokevirtual com.sun.tools.javap.BasicWriter$LineWriter.println:()V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/sun/tools/javap/BasicWriter;
protected void println(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield com.sun.tools.javap.BasicWriter.lineWriter:Lcom/sun/tools/javap/BasicWriter$LineWriter;
aload 1
invokevirtual com.sun.tools.javap.BasicWriter$LineWriter.print:(Ljava/lang/String;)V
1: aload 0
getfield com.sun.tools.javap.BasicWriter.lineWriter:Lcom/sun/tools/javap/BasicWriter$LineWriter;
invokevirtual com.sun.tools.javap.BasicWriter$LineWriter.println:()V
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/sun/tools/javap/BasicWriter;
0 3 1 s Ljava/lang/String;
MethodParameters:
Name Flags
s
protected void println(java.lang.Object);
descriptor: (Ljava/lang/Object;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield com.sun.tools.javap.BasicWriter.lineWriter:Lcom/sun/tools/javap/BasicWriter$LineWriter;
aload 1
ifnonnull 1
aconst_null
goto 2
StackMap locals:
StackMap stack: com.sun.tools.javap.BasicWriter$LineWriter
1: aload 1
invokevirtual java.lang.Object.toString:()Ljava/lang/String;
StackMap locals: com.sun.tools.javap.BasicWriter java.lang.Object
StackMap stack: com.sun.tools.javap.BasicWriter$LineWriter java.lang.String
2: invokevirtual com.sun.tools.javap.BasicWriter$LineWriter.print:(Ljava/lang/String;)V
3: aload 0
getfield com.sun.tools.javap.BasicWriter.lineWriter:Lcom/sun/tools/javap/BasicWriter$LineWriter;
invokevirtual com.sun.tools.javap.BasicWriter$LineWriter.println:()V
4: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lcom/sun/tools/javap/BasicWriter;
0 5 1 o Ljava/lang/Object;
MethodParameters:
Name Flags
o
protected void indent(int);
descriptor: (I)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield com.sun.tools.javap.BasicWriter.lineWriter:Lcom/sun/tools/javap/BasicWriter$LineWriter;
iload 1
invokevirtual com.sun.tools.javap.BasicWriter$LineWriter.indent:(I)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/sun/tools/javap/BasicWriter;
0 2 1 delta I
MethodParameters:
Name Flags
delta
protected void tab();
descriptor: ()V
flags: (0x0004) ACC_PROTECTED
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.sun.tools.javap.BasicWriter.lineWriter:Lcom/sun/tools/javap/BasicWriter$LineWriter;
invokevirtual com.sun.tools.javap.BasicWriter$LineWriter.tab:()V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/sun/tools/javap/BasicWriter;
protected void setPendingNewline(boolean);
descriptor: (Z)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield com.sun.tools.javap.BasicWriter.lineWriter:Lcom/sun/tools/javap/BasicWriter$LineWriter;
iload 1
putfield com.sun.tools.javap.BasicWriter$LineWriter.pendingNewline:Z
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/sun/tools/javap/BasicWriter;
0 2 1 b Z
MethodParameters:
Name Flags
b
protected java.lang.String report(com.sun.tools.classfile.AttributeException);
descriptor: (Lcom/sun/tools/classfile/AttributeException;)Ljava/lang/String;
flags: (0x0004) ACC_PROTECTED
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield com.sun.tools.javap.BasicWriter.out:Ljava/io/PrintWriter;
new java.lang.StringBuilder
dup
ldc "Error: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
invokevirtual com.sun.tools.classfile.AttributeException.getMessage:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual java.io.PrintWriter.println:(Ljava/lang/String;)V
1: ldc "???"
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/sun/tools/javap/BasicWriter;
0 2 1 e Lcom/sun/tools/classfile/AttributeException;
MethodParameters:
Name Flags
e
protected java.lang.String report(com.sun.tools.classfile.ConstantPoolException);
descriptor: (Lcom/sun/tools/classfile/ConstantPoolException;)Ljava/lang/String;
flags: (0x0004) ACC_PROTECTED
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield com.sun.tools.javap.BasicWriter.out:Ljava/io/PrintWriter;
new java.lang.StringBuilder
dup
ldc "Error: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
invokevirtual com.sun.tools.classfile.ConstantPoolException.getMessage:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual java.io.PrintWriter.println:(Ljava/lang/String;)V
1: ldc "???"
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/sun/tools/javap/BasicWriter;
0 2 1 e Lcom/sun/tools/classfile/ConstantPoolException;
MethodParameters:
Name Flags
e
protected java.lang.String report(com.sun.tools.classfile.DescriptorException);
descriptor: (Lcom/sun/tools/classfile/DescriptorException;)Ljava/lang/String;
flags: (0x0004) ACC_PROTECTED
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield com.sun.tools.javap.BasicWriter.out:Ljava/io/PrintWriter;
new java.lang.StringBuilder
dup
ldc "Error: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
invokevirtual com.sun.tools.classfile.DescriptorException.getMessage:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual java.io.PrintWriter.println:(Ljava/lang/String;)V
1: ldc "???"
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/sun/tools/javap/BasicWriter;
0 2 1 e Lcom/sun/tools/classfile/DescriptorException;
MethodParameters:
Name Flags
e
protected java.lang.String report(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/lang/String;
flags: (0x0004) ACC_PROTECTED
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield com.sun.tools.javap.BasicWriter.out:Ljava/io/PrintWriter;
new java.lang.StringBuilder
dup
ldc "Error: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual java.io.PrintWriter.println:(Ljava/lang/String;)V
1: ldc "???"
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/sun/tools/javap/BasicWriter;
0 2 1 msg Ljava/lang/String;
MethodParameters:
Name Flags
msg
protected java.lang.String space(int);
descriptor: (I)Ljava/lang/String;
flags: (0x0004) ACC_PROTECTED
Code:
stack=3, locals=4, args_size=2
start local 0 start local 1 0: iload 1
aload 0
getfield com.sun.tools.javap.BasicWriter.spaces:[Ljava/lang/String;
arraylength
if_icmpge 2
aload 0
getfield com.sun.tools.javap.BasicWriter.spaces:[Ljava/lang/String;
iload 1
aaload
ifnull 2
1: aload 0
getfield com.sun.tools.javap.BasicWriter.spaces:[Ljava/lang/String;
iload 1
aaload
areturn
2: StackMap locals:
StackMap stack:
new java.lang.StringBuilder
dup
invokespecial java.lang.StringBuilder.<init>:()V
astore 2
start local 2 3: iconst_0
istore 3
start local 3 4: goto 7
5: StackMap locals: java.lang.StringBuilder int
StackMap stack:
aload 2
ldc " "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
6: iinc 3 1
StackMap locals:
StackMap stack:
7: iload 3
iload 1
if_icmplt 5
end local 3 8: aload 2
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
astore 3
start local 3 9: iload 1
aload 0
getfield com.sun.tools.javap.BasicWriter.spaces:[Ljava/lang/String;
arraylength
if_icmpge 11
10: aload 0
getfield com.sun.tools.javap.BasicWriter.spaces:[Ljava/lang/String;
iload 1
aload 3
aastore
11: StackMap locals: com.sun.tools.javap.BasicWriter int java.lang.StringBuilder java.lang.String
StackMap stack:
aload 3
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Lcom/sun/tools/javap/BasicWriter;
0 12 1 w I
3 12 2 sb Ljava/lang/StringBuilder;
4 8 3 i I
9 12 3 s Ljava/lang/String;
MethodParameters:
Name Flags
w
}
SourceFile: "BasicWriter.java"
NestMembers:
com.sun.tools.javap.BasicWriter$LineWriter
InnerClasses:
private LineWriter = com.sun.tools.javap.BasicWriter$LineWriter of com.sun.tools.javap.BasicWriter