public final class com.sun.codemodel.internal.JFormatter
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: com.sun.codemodel.internal.JFormatter
super_class: java.lang.Object
{
private java.util.HashMap<java.lang.String, com.sun.codemodel.internal.JFormatter$ReferenceList> collectedReferences;
descriptor: Ljava/util/HashMap;
flags: (0x0002) ACC_PRIVATE
Signature: Ljava/util/HashMap<Ljava/lang/String;Lcom/sun/codemodel/internal/JFormatter$ReferenceList;>;
private java.util.HashSet<com.sun.codemodel.internal.JClass> importedClasses;
descriptor: Ljava/util/HashSet;
flags: (0x0002) ACC_PRIVATE
Signature: Ljava/util/HashSet<Lcom/sun/codemodel/internal/JClass;>;
private com.sun.codemodel.internal.JFormatter$Mode mode;
descriptor: Lcom/sun/codemodel/internal/JFormatter$Mode;
flags: (0x0002) ACC_PRIVATE
private int indentLevel;
descriptor: I
flags: (0x0002) ACC_PRIVATE
private final java.lang.String indentSpace;
descriptor: Ljava/lang/String;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.io.PrintWriter pw;
descriptor: Ljava/io/PrintWriter;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private char lastChar;
descriptor: C
flags: (0x0002) ACC_PRIVATE
private boolean atBeginningOfLine;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
private com.sun.codemodel.internal.JPackage javaLang;
descriptor: Lcom/sun/codemodel/internal/JPackage;
flags: (0x0002) ACC_PRIVATE
static final char CLOSE_TYPE_ARGS;
descriptor: C
flags: (0x0018) ACC_STATIC, ACC_FINAL
ConstantValue: 65535
private static volatile int[] $SWITCH_TABLE$com$sun$codemodel$internal$JFormatter$Mode;
descriptor: [I
flags: (0x104a) ACC_PRIVATE, ACC_STATIC, ACC_VOLATILE, ACC_SYNTHETIC
static final boolean $assertionsDisabled;
descriptor: Z
flags: (0x1018) ACC_STATIC, ACC_FINAL, ACC_SYNTHETIC
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: ldc Lcom/sun/codemodel/internal/JFormatter;
invokevirtual java.lang.Class.desiredAssertionStatus:()Z
ifne 1
iconst_1
goto 2
StackMap locals:
StackMap stack:
1: iconst_0
StackMap locals:
StackMap stack: int
2: putstatic com.sun.codemodel.internal.JFormatter.$assertionsDisabled:Z
3: return
LocalVariableTable:
Start End Slot Name Signature
public void <init>(java.io.PrintWriter, java.lang.String);
descriptor: (Ljava/io/PrintWriter;Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, 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
getstatic com.sun.codemodel.internal.JFormatter$Mode.PRINTING:Lcom/sun/codemodel/internal/JFormatter$Mode;
putfield com.sun.codemodel.internal.JFormatter.mode:Lcom/sun/codemodel/internal/JFormatter$Mode;
2: aload 0
iconst_0
putfield com.sun.codemodel.internal.JFormatter.lastChar:C
3: aload 0
iconst_1
putfield com.sun.codemodel.internal.JFormatter.atBeginningOfLine:Z
4: aload 0
aload 1
putfield com.sun.codemodel.internal.JFormatter.pw:Ljava/io/PrintWriter;
5: aload 0
aload 2
putfield com.sun.codemodel.internal.JFormatter.indentSpace:Ljava/lang/String;
6: aload 0
new java.util.HashMap
dup
invokespecial java.util.HashMap.<init>:()V
putfield com.sun.codemodel.internal.JFormatter.collectedReferences:Ljava/util/HashMap;
7: aload 0
new java.util.HashSet
dup
invokespecial java.util.HashSet.<init>:()V
putfield com.sun.codemodel.internal.JFormatter.importedClasses:Ljava/util/HashSet;
8: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lcom/sun/codemodel/internal/JFormatter;
0 9 1 s Ljava/io/PrintWriter;
0 9 2 space Ljava/lang/String;
MethodParameters:
Name Flags
s
space
public void <init>(java.io.PrintWriter);
descriptor: (Ljava/io/PrintWriter;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
ldc " "
invokespecial com.sun.codemodel.internal.JFormatter.<init>:(Ljava/io/PrintWriter;Ljava/lang/String;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/sun/codemodel/internal/JFormatter;
0 2 1 s Ljava/io/PrintWriter;
MethodParameters:
Name Flags
s
public void <init>(java.io.Writer);
descriptor: (Ljava/io/Writer;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 0
new java.io.PrintWriter
dup
aload 1
invokespecial java.io.PrintWriter.<init>:(Ljava/io/Writer;)V
invokespecial com.sun.codemodel.internal.JFormatter.<init>:(Ljava/io/PrintWriter;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/sun/codemodel/internal/JFormatter;
0 2 1 w Ljava/io/Writer;
MethodParameters:
Name Flags
w
public void close();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.sun.codemodel.internal.JFormatter.pw:Ljava/io/PrintWriter;
invokevirtual java.io.PrintWriter.close:()V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/sun/codemodel/internal/JFormatter;
public boolean isPrinting();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield com.sun.codemodel.internal.JFormatter.mode:Lcom/sun/codemodel/internal/JFormatter$Mode;
getstatic com.sun.codemodel.internal.JFormatter$Mode.PRINTING:Lcom/sun/codemodel/internal/JFormatter$Mode;
if_acmpne 1
iconst_1
ireturn
StackMap locals:
StackMap stack:
1: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/sun/codemodel/internal/JFormatter;
public com.sun.codemodel.internal.JFormatter o();
descriptor: ()Lcom/sun/codemodel/internal/JFormatter;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
dup
getfield com.sun.codemodel.internal.JFormatter.indentLevel:I
iconst_1
isub
putfield com.sun.codemodel.internal.JFormatter.indentLevel:I
1: aload 0
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/sun/codemodel/internal/JFormatter;
public com.sun.codemodel.internal.JFormatter i();
descriptor: ()Lcom/sun/codemodel/internal/JFormatter;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
dup
getfield com.sun.codemodel.internal.JFormatter.indentLevel:I
iconst_1
iadd
putfield com.sun.codemodel.internal.JFormatter.indentLevel:I
1: aload 0
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/sun/codemodel/internal/JFormatter;
private boolean needSpace(char, char);
descriptor: (CC)Z
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=3, args_size=3
start local 0 start local 1 start local 2 0: iload 1
bipush 93
if_icmpne 1
iload 2
bipush 123
if_icmpne 1
iconst_1
ireturn
1: StackMap locals:
StackMap stack:
iload 1
bipush 59
if_icmpne 2
iconst_1
ireturn
2: StackMap locals:
StackMap stack:
iload 1
ldc 65535
if_icmpne 6
3: iload 2
bipush 40
if_icmpne 5
4: iconst_0
ireturn
5: StackMap locals:
StackMap stack:
iconst_1
ireturn
6: StackMap locals:
StackMap stack:
iload 1
bipush 41
if_icmpne 7
iload 2
bipush 123
if_icmpne 7
iconst_1
ireturn
7: StackMap locals:
StackMap stack:
iload 1
bipush 44
if_icmpeq 8
iload 1
bipush 61
if_icmpne 9
StackMap locals:
StackMap stack:
8: iconst_1
ireturn
9: StackMap locals:
StackMap stack:
iload 2
bipush 61
if_icmpne 10
iconst_1
ireturn
10: StackMap locals:
StackMap stack:
iload 1
invokestatic java.lang.Character.isDigit:(C)Z
ifeq 14
11: iload 2
bipush 40
if_icmpeq 12
iload 2
bipush 41
if_icmpeq 12
iload 2
bipush 59
if_icmpeq 12
iload 2
bipush 44
if_icmpne 13
12: StackMap locals:
StackMap stack:
iconst_0
ireturn
13: StackMap locals:
StackMap stack:
iconst_1
ireturn
14: StackMap locals:
StackMap stack:
iload 1
invokestatic java.lang.Character.isJavaIdentifierPart:(C)Z
ifeq 18
15: iload 2
lookupswitch { // 5
43: 16
62: 16
64: 16
123: 16
125: 16
default: 17
}
16: StackMap locals:
StackMap stack:
iconst_1
ireturn
17: StackMap locals:
StackMap stack:
iload 2
invokestatic java.lang.Character.isJavaIdentifierStart:(C)Z
ireturn
18: StackMap locals:
StackMap stack:
iload 2
invokestatic java.lang.Character.isJavaIdentifierStart:(C)Z
ifeq 22
19: iload 1
lookupswitch { // 4
41: 20
43: 20
93: 20
125: 20
default: 21
}
20: StackMap locals:
StackMap stack:
iconst_1
ireturn
21: StackMap locals:
StackMap stack:
iconst_0
ireturn
22: StackMap locals:
StackMap stack:
iload 2
invokestatic java.lang.Character.isDigit:(C)Z
ifeq 25
23: iload 1
bipush 40
if_icmpne 24
iconst_0
ireturn
24: StackMap locals:
StackMap stack:
iconst_1
ireturn
25: StackMap locals:
StackMap stack:
iconst_0
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 26 0 this Lcom/sun/codemodel/internal/JFormatter;
0 26 1 c1 C
0 26 2 c2 C
MethodParameters:
Name Flags
c1
c2
private void spaceIfNeeded(char);
descriptor: (C)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield com.sun.codemodel.internal.JFormatter.atBeginningOfLine:Z
ifeq 8
1: iconst_0
istore 2
start local 2 2: goto 5
3: StackMap locals: int
StackMap stack:
aload 0
getfield com.sun.codemodel.internal.JFormatter.pw:Ljava/io/PrintWriter;
aload 0
getfield com.sun.codemodel.internal.JFormatter.indentSpace:Ljava/lang/String;
invokevirtual java.io.PrintWriter.print:(Ljava/lang/String;)V
4: iinc 2 1
StackMap locals:
StackMap stack:
5: iload 2
aload 0
getfield com.sun.codemodel.internal.JFormatter.indentLevel:I
if_icmplt 3
end local 2 6: aload 0
iconst_0
putfield com.sun.codemodel.internal.JFormatter.atBeginningOfLine:Z
7: goto 10
StackMap locals:
StackMap stack:
8: aload 0
getfield com.sun.codemodel.internal.JFormatter.lastChar:C
ifeq 10
aload 0
aload 0
getfield com.sun.codemodel.internal.JFormatter.lastChar:C
iload 1
invokevirtual com.sun.codemodel.internal.JFormatter.needSpace:(CC)Z
ifeq 10
9: aload 0
getfield com.sun.codemodel.internal.JFormatter.pw:Ljava/io/PrintWriter;
bipush 32
invokevirtual java.io.PrintWriter.print:(C)V
10: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Lcom/sun/codemodel/internal/JFormatter;
0 11 1 c C
2 6 2 i I
MethodParameters:
Name Flags
c
public com.sun.codemodel.internal.JFormatter p(char);
descriptor: (C)Lcom/sun/codemodel/internal/JFormatter;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield com.sun.codemodel.internal.JFormatter.mode:Lcom/sun/codemodel/internal/JFormatter$Mode;
getstatic com.sun.codemodel.internal.JFormatter$Mode.PRINTING:Lcom/sun/codemodel/internal/JFormatter$Mode;
if_acmpne 7
1: iload 1
ldc 65535
if_icmpne 4
2: aload 0
getfield com.sun.codemodel.internal.JFormatter.pw:Ljava/io/PrintWriter;
bipush 62
invokevirtual java.io.PrintWriter.print:(C)V
3: goto 6
4: StackMap locals:
StackMap stack:
aload 0
iload 1
invokevirtual com.sun.codemodel.internal.JFormatter.spaceIfNeeded:(C)V
5: aload 0
getfield com.sun.codemodel.internal.JFormatter.pw:Ljava/io/PrintWriter;
iload 1
invokevirtual java.io.PrintWriter.print:(C)V
6: StackMap locals:
StackMap stack:
aload 0
iload 1
putfield com.sun.codemodel.internal.JFormatter.lastChar:C
7: StackMap locals:
StackMap stack:
aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lcom/sun/codemodel/internal/JFormatter;
0 8 1 c C
MethodParameters:
Name Flags
c
public com.sun.codemodel.internal.JFormatter p(java.lang.String);
descriptor: (Ljava/lang/String;)Lcom/sun/codemodel/internal/JFormatter;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield com.sun.codemodel.internal.JFormatter.mode:Lcom/sun/codemodel/internal/JFormatter$Mode;
getstatic com.sun.codemodel.internal.JFormatter$Mode.PRINTING:Lcom/sun/codemodel/internal/JFormatter$Mode;
if_acmpne 4
1: aload 0
aload 1
iconst_0
invokevirtual java.lang.String.charAt:(I)C
invokevirtual com.sun.codemodel.internal.JFormatter.spaceIfNeeded:(C)V
2: aload 0
getfield com.sun.codemodel.internal.JFormatter.pw:Ljava/io/PrintWriter;
aload 1
invokevirtual java.io.PrintWriter.print:(Ljava/lang/String;)V
3: aload 0
aload 1
aload 1
invokevirtual java.lang.String.length:()I
iconst_1
isub
invokevirtual java.lang.String.charAt:(I)C
putfield com.sun.codemodel.internal.JFormatter.lastChar:C
4: StackMap locals:
StackMap stack:
aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lcom/sun/codemodel/internal/JFormatter;
0 5 1 s Ljava/lang/String;
MethodParameters:
Name Flags
s
public com.sun.codemodel.internal.JFormatter t(com.sun.codemodel.internal.JType);
descriptor: (Lcom/sun/codemodel/internal/JType;)Lcom/sun/codemodel/internal/JFormatter;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual com.sun.codemodel.internal.JType.isReference:()Z
ifeq 2
1: aload 0
aload 1
checkcast com.sun.codemodel.internal.JClass
invokevirtual com.sun.codemodel.internal.JFormatter.t:(Lcom/sun/codemodel/internal/JClass;)Lcom/sun/codemodel/internal/JFormatter;
areturn
2: StackMap locals:
StackMap stack:
aload 0
aload 1
invokevirtual com.sun.codemodel.internal.JFormatter.g:(Lcom/sun/codemodel/internal/JGenerable;)Lcom/sun/codemodel/internal/JFormatter;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/sun/codemodel/internal/JFormatter;
0 3 1 type Lcom/sun/codemodel/internal/JType;
MethodParameters:
Name Flags
type
public com.sun.codemodel.internal.JFormatter t(com.sun.codemodel.internal.JClass);
descriptor: (Lcom/sun/codemodel/internal/JClass;)Lcom/sun/codemodel/internal/JFormatter;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=4, args_size=2
start local 0 start local 1 0: invokestatic com.sun.codemodel.internal.JFormatter.$SWITCH_TABLE$com$sun$codemodel$internal$JFormatter$Mode:()[I
aload 0
getfield com.sun.codemodel.internal.JFormatter.mode:Lcom/sun/codemodel/internal/JFormatter$Mode;
invokevirtual com.sun.codemodel.internal.JFormatter$Mode.ordinal:()I
iaload
tableswitch { // 1 - 2
1: 8
2: 1
default: 15
}
1: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.codemodel.internal.JFormatter.importedClasses:Ljava/util/HashSet;
aload 1
invokevirtual java.util.HashSet.contains:(Ljava/lang/Object;)Z
ifeq 4
2: aload 0
aload 1
invokevirtual com.sun.codemodel.internal.JClass.name:()Ljava/lang/String;
invokevirtual com.sun.codemodel.internal.JFormatter.p:(Ljava/lang/String;)Lcom/sun/codemodel/internal/JFormatter;
pop
3: goto 15
4: StackMap locals:
StackMap stack:
aload 1
invokevirtual com.sun.codemodel.internal.JClass.outer:()Lcom/sun/codemodel/internal/JClass;
ifnull 6
5: aload 0
aload 1
invokevirtual com.sun.codemodel.internal.JClass.outer:()Lcom/sun/codemodel/internal/JClass;
invokevirtual com.sun.codemodel.internal.JFormatter.t:(Lcom/sun/codemodel/internal/JClass;)Lcom/sun/codemodel/internal/JFormatter;
bipush 46
invokevirtual com.sun.codemodel.internal.JFormatter.p:(C)Lcom/sun/codemodel/internal/JFormatter;
aload 1
invokevirtual com.sun.codemodel.internal.JClass.name:()Ljava/lang/String;
invokevirtual com.sun.codemodel.internal.JFormatter.p:(Ljava/lang/String;)Lcom/sun/codemodel/internal/JFormatter;
pop
goto 15
6: StackMap locals:
StackMap stack:
aload 0
aload 1
invokevirtual com.sun.codemodel.internal.JClass.fullName:()Ljava/lang/String;
invokevirtual com.sun.codemodel.internal.JFormatter.p:(Ljava/lang/String;)Lcom/sun/codemodel/internal/JFormatter;
pop
7: goto 15
8: StackMap locals:
StackMap stack:
aload 1
invokevirtual com.sun.codemodel.internal.JClass.name:()Ljava/lang/String;
astore 2
start local 2 9: aload 0
getfield com.sun.codemodel.internal.JFormatter.collectedReferences:Ljava/util/HashMap;
aload 2
invokevirtual java.util.HashMap.containsKey:(Ljava/lang/Object;)Z
ifeq 12
10: aload 0
getfield com.sun.codemodel.internal.JFormatter.collectedReferences:Ljava/util/HashMap;
aload 2
invokevirtual java.util.HashMap.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast com.sun.codemodel.internal.JFormatter$ReferenceList
aload 1
invokevirtual com.sun.codemodel.internal.JFormatter$ReferenceList.add:(Lcom/sun/codemodel/internal/JClass;)V
11: goto 15
12: StackMap locals: java.lang.String
StackMap stack:
new com.sun.codemodel.internal.JFormatter$ReferenceList
dup
aload 0
invokespecial com.sun.codemodel.internal.JFormatter$ReferenceList.<init>:(Lcom/sun/codemodel/internal/JFormatter;)V
astore 3
start local 3 13: aload 3
aload 1
invokevirtual com.sun.codemodel.internal.JFormatter$ReferenceList.add:(Lcom/sun/codemodel/internal/JClass;)V
14: aload 0
getfield com.sun.codemodel.internal.JFormatter.collectedReferences:Ljava/util/HashMap;
aload 2
aload 3
invokevirtual java.util.HashMap.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
end local 3 end local 2 15: StackMap locals:
StackMap stack:
aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 16 0 this Lcom/sun/codemodel/internal/JFormatter;
0 16 1 type Lcom/sun/codemodel/internal/JClass;
9 15 2 shortName Ljava/lang/String;
13 15 3 tl Lcom/sun/codemodel/internal/JFormatter$ReferenceList;
MethodParameters:
Name Flags
type
public com.sun.codemodel.internal.JFormatter id(java.lang.String);
descriptor: (Ljava/lang/String;)Lcom/sun/codemodel/internal/JFormatter;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=4, args_size=2
start local 0 start local 1 0: invokestatic com.sun.codemodel.internal.JFormatter.$SWITCH_TABLE$com$sun$codemodel$internal$JFormatter$Mode:()[I
aload 0
getfield com.sun.codemodel.internal.JFormatter.mode:Lcom/sun/codemodel/internal/JFormatter$Mode;
invokevirtual com.sun.codemodel.internal.JFormatter$Mode.ordinal:()I
iaload
tableswitch { // 1 - 2
1: 3
2: 1
default: 16
}
1: StackMap locals:
StackMap stack:
aload 0
aload 1
invokevirtual com.sun.codemodel.internal.JFormatter.p:(Ljava/lang/String;)Lcom/sun/codemodel/internal/JFormatter;
pop
2: goto 16
3: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.codemodel.internal.JFormatter.collectedReferences:Ljava/util/HashMap;
aload 1
invokevirtual java.util.HashMap.containsKey:(Ljava/lang/Object;)Z
ifeq 13
4: aload 0
getfield com.sun.codemodel.internal.JFormatter.collectedReferences:Ljava/util/HashMap;
aload 1
invokevirtual java.util.HashMap.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast com.sun.codemodel.internal.JFormatter$ReferenceList
invokevirtual com.sun.codemodel.internal.JFormatter$ReferenceList.getClasses:()Ljava/util/List;
invokeinterface java.util.List.isEmpty:()Z
ifne 11
5: aload 0
getfield com.sun.codemodel.internal.JFormatter.collectedReferences:Ljava/util/HashMap;
aload 1
invokevirtual java.util.HashMap.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast com.sun.codemodel.internal.JFormatter$ReferenceList
invokevirtual com.sun.codemodel.internal.JFormatter$ReferenceList.getClasses:()Ljava/util/List;
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 3
goto 10
StackMap locals: com.sun.codemodel.internal.JFormatter java.lang.String top java.util.Iterator
StackMap stack:
6: aload 3
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast com.sun.codemodel.internal.JClass
astore 2
start local 2 7: aload 2
invokevirtual com.sun.codemodel.internal.JClass.outer:()Lcom/sun/codemodel/internal/JClass;
ifnull 10
8: aload 0
getfield com.sun.codemodel.internal.JFormatter.collectedReferences:Ljava/util/HashMap;
aload 1
invokevirtual java.util.HashMap.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast com.sun.codemodel.internal.JFormatter$ReferenceList
iconst_0
invokevirtual com.sun.codemodel.internal.JFormatter$ReferenceList.setId:(Z)V
9: aload 0
areturn
end local 2 10: StackMap locals:
StackMap stack:
aload 3
invokeinterface java.util.Iterator.hasNext:()Z
ifne 6
11: StackMap locals: com.sun.codemodel.internal.JFormatter java.lang.String
StackMap stack:
aload 0
getfield com.sun.codemodel.internal.JFormatter.collectedReferences:Ljava/util/HashMap;
aload 1
invokevirtual java.util.HashMap.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast com.sun.codemodel.internal.JFormatter$ReferenceList
iconst_1
invokevirtual com.sun.codemodel.internal.JFormatter$ReferenceList.setId:(Z)V
12: goto 16
13: StackMap locals:
StackMap stack:
new com.sun.codemodel.internal.JFormatter$ReferenceList
dup
aload 0
invokespecial com.sun.codemodel.internal.JFormatter$ReferenceList.<init>:(Lcom/sun/codemodel/internal/JFormatter;)V
astore 2
start local 2 14: aload 2
iconst_1
invokevirtual com.sun.codemodel.internal.JFormatter$ReferenceList.setId:(Z)V
15: aload 0
getfield com.sun.codemodel.internal.JFormatter.collectedReferences:Ljava/util/HashMap;
aload 1
aload 2
invokevirtual java.util.HashMap.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
end local 2 16: StackMap locals:
StackMap stack:
aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 17 0 this Lcom/sun/codemodel/internal/JFormatter;
0 17 1 id Ljava/lang/String;
7 10 2 type Lcom/sun/codemodel/internal/JClass;
14 16 2 tl Lcom/sun/codemodel/internal/JFormatter$ReferenceList;
MethodParameters:
Name Flags
id
public com.sun.codemodel.internal.JFormatter nl();
descriptor: ()Lcom/sun/codemodel/internal/JFormatter;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield com.sun.codemodel.internal.JFormatter.mode:Lcom/sun/codemodel/internal/JFormatter$Mode;
getstatic com.sun.codemodel.internal.JFormatter$Mode.PRINTING:Lcom/sun/codemodel/internal/JFormatter$Mode;
if_acmpne 4
1: aload 0
getfield com.sun.codemodel.internal.JFormatter.pw:Ljava/io/PrintWriter;
invokevirtual java.io.PrintWriter.println:()V
2: aload 0
iconst_0
putfield com.sun.codemodel.internal.JFormatter.lastChar:C
3: aload 0
iconst_1
putfield com.sun.codemodel.internal.JFormatter.atBeginningOfLine:Z
4: StackMap locals:
StackMap stack:
aload 0
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lcom/sun/codemodel/internal/JFormatter;
public com.sun.codemodel.internal.JFormatter g(com.sun.codemodel.internal.JGenerable);
descriptor: (Lcom/sun/codemodel/internal/JGenerable;)Lcom/sun/codemodel/internal/JFormatter;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 1
aload 0
invokeinterface com.sun.codemodel.internal.JGenerable.generate:(Lcom/sun/codemodel/internal/JFormatter;)V
1: aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/sun/codemodel/internal/JFormatter;
0 2 1 g Lcom/sun/codemodel/internal/JGenerable;
MethodParameters:
Name Flags
g
public com.sun.codemodel.internal.JFormatter g(java.util.Collection<? extends com.sun.codemodel.internal.JGenerable>);
descriptor: (Ljava/util/Collection;)Lcom/sun/codemodel/internal/JFormatter;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=5, args_size=2
start local 0 start local 1 0: iconst_1
istore 2
start local 2 1: aload 1
invokeinterface java.util.Collection.isEmpty:()Z
ifne 9
2: aload 1
invokeinterface java.util.Collection.iterator:()Ljava/util/Iterator;
astore 4
goto 8
StackMap locals: com.sun.codemodel.internal.JFormatter java.util.Collection int top java.util.Iterator
StackMap stack:
3: aload 4
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast com.sun.codemodel.internal.JGenerable
astore 3
start local 3 4: iload 2
ifne 6
5: aload 0
bipush 44
invokevirtual com.sun.codemodel.internal.JFormatter.p:(C)Lcom/sun/codemodel/internal/JFormatter;
pop
6: StackMap locals: com.sun.codemodel.internal.JFormatter java.util.Collection int com.sun.codemodel.internal.JGenerable java.util.Iterator
StackMap stack:
aload 0
aload 3
invokevirtual com.sun.codemodel.internal.JFormatter.g:(Lcom/sun/codemodel/internal/JGenerable;)Lcom/sun/codemodel/internal/JFormatter;
pop
7: iconst_0
istore 2
end local 3 8: StackMap locals: com.sun.codemodel.internal.JFormatter java.util.Collection int top java.util.Iterator
StackMap stack:
aload 4
invokeinterface java.util.Iterator.hasNext:()Z
ifne 3
9: StackMap locals: com.sun.codemodel.internal.JFormatter java.util.Collection int
StackMap stack:
aload 0
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lcom/sun/codemodel/internal/JFormatter;
0 10 1 list Ljava/util/Collection<+Lcom/sun/codemodel/internal/JGenerable;>;
1 10 2 first Z
4 8 3 item Lcom/sun/codemodel/internal/JGenerable;
Signature: (Ljava/util/Collection<+Lcom/sun/codemodel/internal/JGenerable;>;)Lcom/sun/codemodel/internal/JFormatter;
MethodParameters:
Name Flags
list
public com.sun.codemodel.internal.JFormatter d(com.sun.codemodel.internal.JDeclaration);
descriptor: (Lcom/sun/codemodel/internal/JDeclaration;)Lcom/sun/codemodel/internal/JFormatter;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 1
aload 0
invokeinterface com.sun.codemodel.internal.JDeclaration.declare:(Lcom/sun/codemodel/internal/JFormatter;)V
1: aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/sun/codemodel/internal/JFormatter;
0 2 1 d Lcom/sun/codemodel/internal/JDeclaration;
MethodParameters:
Name Flags
d
public com.sun.codemodel.internal.JFormatter s(com.sun.codemodel.internal.JStatement);
descriptor: (Lcom/sun/codemodel/internal/JStatement;)Lcom/sun/codemodel/internal/JFormatter;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 1
aload 0
invokeinterface com.sun.codemodel.internal.JStatement.state:(Lcom/sun/codemodel/internal/JFormatter;)V
1: aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/sun/codemodel/internal/JFormatter;
0 2 1 s Lcom/sun/codemodel/internal/JStatement;
MethodParameters:
Name Flags
s
public com.sun.codemodel.internal.JFormatter b(com.sun.codemodel.internal.JVar);
descriptor: (Lcom/sun/codemodel/internal/JVar;)Lcom/sun/codemodel/internal/JFormatter;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 1
aload 0
invokevirtual com.sun.codemodel.internal.JVar.bind:(Lcom/sun/codemodel/internal/JFormatter;)V
1: aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/sun/codemodel/internal/JFormatter;
0 2 1 v Lcom/sun/codemodel/internal/JVar;
MethodParameters:
Name Flags
v
void write(com.sun.codemodel.internal.JDefinedClass);
descriptor: (Lcom/sun/codemodel/internal/JDefinedClass;)V
flags: (0x0000)
Code:
stack=3, locals=8, args_size=2
start local 0 start local 1 0: aload 0
getstatic com.sun.codemodel.internal.JFormatter$Mode.COLLECTING:Lcom/sun/codemodel/internal/JFormatter$Mode;
putfield com.sun.codemodel.internal.JFormatter.mode:Lcom/sun/codemodel/internal/JFormatter$Mode;
1: aload 0
aload 1
invokevirtual com.sun.codemodel.internal.JFormatter.d:(Lcom/sun/codemodel/internal/JDeclaration;)Lcom/sun/codemodel/internal/JFormatter;
pop
2: aload 0
aload 1
invokevirtual com.sun.codemodel.internal.JDefinedClass.owner:()Lcom/sun/codemodel/internal/JCodeModel;
ldc "java.lang"
invokevirtual com.sun.codemodel.internal.JCodeModel._package:(Ljava/lang/String;)Lcom/sun/codemodel/internal/JPackage;
putfield com.sun.codemodel.internal.JFormatter.javaLang:Lcom/sun/codemodel/internal/JPackage;
3: aload 0
getfield com.sun.codemodel.internal.JFormatter.collectedReferences:Ljava/util/HashMap;
invokevirtual java.util.HashMap.values:()Ljava/util/Collection;
invokeinterface java.util.Collection.iterator:()Ljava/util/Iterator;
astore 3
goto 8
StackMap locals: com.sun.codemodel.internal.JFormatter com.sun.codemodel.internal.JDefinedClass top java.util.Iterator
StackMap stack:
4: aload 3
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast com.sun.codemodel.internal.JFormatter$ReferenceList
astore 2
start local 2 5: aload 2
aload 1
invokevirtual com.sun.codemodel.internal.JFormatter$ReferenceList.collisions:(Lcom/sun/codemodel/internal/JDefinedClass;)Z
ifne 8
aload 2
invokevirtual com.sun.codemodel.internal.JFormatter$ReferenceList.isId:()Z
ifne 8
6: getstatic com.sun.codemodel.internal.JFormatter.$assertionsDisabled:Z
ifne 7
aload 2
invokevirtual com.sun.codemodel.internal.JFormatter$ReferenceList.getClasses:()Ljava/util/List;
invokeinterface java.util.List.size:()I
iconst_1
if_icmpeq 7
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
7: StackMap locals: com.sun.codemodel.internal.JFormatter com.sun.codemodel.internal.JDefinedClass com.sun.codemodel.internal.JFormatter$ReferenceList java.util.Iterator
StackMap stack:
aload 0
getfield com.sun.codemodel.internal.JFormatter.importedClasses:Ljava/util/HashSet;
aload 2
invokevirtual com.sun.codemodel.internal.JFormatter$ReferenceList.getClasses:()Ljava/util/List;
iconst_0
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
checkcast com.sun.codemodel.internal.JClass
invokevirtual java.util.HashSet.add:(Ljava/lang/Object;)Z
pop
end local 2 8: StackMap locals: com.sun.codemodel.internal.JFormatter com.sun.codemodel.internal.JDefinedClass top java.util.Iterator
StackMap stack:
aload 3
invokeinterface java.util.Iterator.hasNext:()Z
ifne 4
9: aload 0
getfield com.sun.codemodel.internal.JFormatter.importedClasses:Ljava/util/HashSet;
aload 1
invokevirtual java.util.HashSet.add:(Ljava/lang/Object;)Z
pop
10: aload 0
getstatic com.sun.codemodel.internal.JFormatter$Mode.PRINTING:Lcom/sun/codemodel/internal/JFormatter$Mode;
putfield com.sun.codemodel.internal.JFormatter.mode:Lcom/sun/codemodel/internal/JFormatter$Mode;
11: getstatic com.sun.codemodel.internal.JFormatter.$assertionsDisabled:Z
ifne 12
aload 1
invokevirtual com.sun.codemodel.internal.JDefinedClass.parentContainer:()Lcom/sun/codemodel/internal/JClassContainer;
invokeinterface com.sun.codemodel.internal.JClassContainer.isPackage:()Z
ifne 12
new java.lang.AssertionError
dup
ldc "this method is only for a pacakge-level class"
invokespecial java.lang.AssertionError.<init>:(Ljava/lang/Object;)V
athrow
12: StackMap locals: com.sun.codemodel.internal.JFormatter com.sun.codemodel.internal.JDefinedClass
StackMap stack:
aload 1
invokevirtual com.sun.codemodel.internal.JDefinedClass.parentContainer:()Lcom/sun/codemodel/internal/JClassContainer;
checkcast com.sun.codemodel.internal.JPackage
astore 2
start local 2 13: aload 2
invokevirtual com.sun.codemodel.internal.JPackage.isUnnamed:()Z
ifne 16
14: aload 0
invokevirtual com.sun.codemodel.internal.JFormatter.nl:()Lcom/sun/codemodel/internal/JFormatter;
aload 2
invokevirtual com.sun.codemodel.internal.JFormatter.d:(Lcom/sun/codemodel/internal/JDeclaration;)Lcom/sun/codemodel/internal/JFormatter;
pop
15: aload 0
invokevirtual com.sun.codemodel.internal.JFormatter.nl:()Lcom/sun/codemodel/internal/JFormatter;
pop
16: StackMap locals: com.sun.codemodel.internal.JPackage
StackMap stack:
aload 0
getfield com.sun.codemodel.internal.JFormatter.importedClasses:Ljava/util/HashSet;
aload 0
getfield com.sun.codemodel.internal.JFormatter.importedClasses:Ljava/util/HashSet;
invokevirtual java.util.HashSet.size:()I
anewarray com.sun.codemodel.internal.JClass
invokevirtual java.util.HashSet.toArray:([Ljava/lang/Object;)[Ljava/lang/Object;
checkcast com.sun.codemodel.internal.JClass[]
astore 3
start local 3 17: aload 3
invokestatic java.util.Arrays.sort:([Ljava/lang/Object;)V
18: aload 3
dup
astore 7
arraylength
istore 6
iconst_0
istore 5
goto 25
StackMap locals: com.sun.codemodel.internal.JFormatter com.sun.codemodel.internal.JDefinedClass com.sun.codemodel.internal.JPackage com.sun.codemodel.internal.JClass[] top int int com.sun.codemodel.internal.JClass[]
StackMap stack:
19: aload 7
iload 5
aaload
astore 4
start local 4 20: aload 0
aload 4
aload 1
invokevirtual com.sun.codemodel.internal.JFormatter.supressImport:(Lcom/sun/codemodel/internal/JClass;Lcom/sun/codemodel/internal/JClass;)Z
ifne 24
21: aload 4
instanceof com.sun.codemodel.internal.JNarrowedClass
ifeq 23
22: aload 4
invokevirtual com.sun.codemodel.internal.JClass.erasure:()Lcom/sun/codemodel/internal/JClass;
astore 4
23: StackMap locals: com.sun.codemodel.internal.JFormatter com.sun.codemodel.internal.JDefinedClass com.sun.codemodel.internal.JPackage com.sun.codemodel.internal.JClass[] com.sun.codemodel.internal.JClass int int com.sun.codemodel.internal.JClass[]
StackMap stack:
aload 0
ldc "import"
invokevirtual com.sun.codemodel.internal.JFormatter.p:(Ljava/lang/String;)Lcom/sun/codemodel/internal/JFormatter;
aload 4
invokevirtual com.sun.codemodel.internal.JClass.fullName:()Ljava/lang/String;
invokevirtual com.sun.codemodel.internal.JFormatter.p:(Ljava/lang/String;)Lcom/sun/codemodel/internal/JFormatter;
bipush 59
invokevirtual com.sun.codemodel.internal.JFormatter.p:(C)Lcom/sun/codemodel/internal/JFormatter;
invokevirtual com.sun.codemodel.internal.JFormatter.nl:()Lcom/sun/codemodel/internal/JFormatter;
pop
end local 4 24: StackMap locals: com.sun.codemodel.internal.JFormatter com.sun.codemodel.internal.JDefinedClass com.sun.codemodel.internal.JPackage com.sun.codemodel.internal.JClass[] top int int com.sun.codemodel.internal.JClass[]
StackMap stack:
iinc 5 1
StackMap locals:
StackMap stack:
25: iload 5
iload 6
if_icmplt 19
26: aload 0
invokevirtual com.sun.codemodel.internal.JFormatter.nl:()Lcom/sun/codemodel/internal/JFormatter;
pop
27: aload 0
aload 1
invokevirtual com.sun.codemodel.internal.JFormatter.d:(Lcom/sun/codemodel/internal/JDeclaration;)Lcom/sun/codemodel/internal/JFormatter;
pop
28: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 29 0 this Lcom/sun/codemodel/internal/JFormatter;
0 29 1 c Lcom/sun/codemodel/internal/JDefinedClass;
5 8 2 tl Lcom/sun/codemodel/internal/JFormatter$ReferenceList;
13 29 2 pkg Lcom/sun/codemodel/internal/JPackage;
17 29 3 imports [Lcom/sun/codemodel/internal/JClass;
20 24 4 clazz Lcom/sun/codemodel/internal/JClass;
MethodParameters:
Name Flags
c
private boolean supressImport(com.sun.codemodel.internal.JClass, com.sun.codemodel.internal.JClass);
descriptor: (Lcom/sun/codemodel/internal/JClass;Lcom/sun/codemodel/internal/JClass;)Z
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 1
instanceof com.sun.codemodel.internal.JNarrowedClass
ifeq 2
1: aload 1
invokevirtual com.sun.codemodel.internal.JClass.erasure:()Lcom/sun/codemodel/internal/JClass;
astore 1
2: StackMap locals:
StackMap stack:
aload 1
instanceof com.sun.codemodel.internal.JAnonymousClass
ifeq 4
3: aload 1
invokevirtual com.sun.codemodel.internal.JClass._extends:()Lcom/sun/codemodel/internal/JClass;
astore 1
4: StackMap locals:
StackMap stack:
aload 1
invokevirtual com.sun.codemodel.internal.JClass._package:()Lcom/sun/codemodel/internal/JPackage;
invokevirtual com.sun.codemodel.internal.JPackage.isUnnamed:()Z
ifeq 6
5: iconst_1
ireturn
6: StackMap locals:
StackMap stack:
aload 1
invokevirtual com.sun.codemodel.internal.JClass._package:()Lcom/sun/codemodel/internal/JPackage;
invokevirtual com.sun.codemodel.internal.JPackage.name:()Ljava/lang/String;
astore 3
start local 3 7: aload 3
ldc "java.lang"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 9
8: iconst_1
ireturn
9: StackMap locals: java.lang.String
StackMap stack:
aload 1
invokevirtual com.sun.codemodel.internal.JClass._package:()Lcom/sun/codemodel/internal/JPackage;
aload 2
invokevirtual com.sun.codemodel.internal.JClass._package:()Lcom/sun/codemodel/internal/JPackage;
if_acmpne 12
10: aload 1
invokevirtual com.sun.codemodel.internal.JClass.outer:()Lcom/sun/codemodel/internal/JClass;
ifnonnull 12
11: iconst_1
ireturn
12: StackMap locals:
StackMap stack:
iconst_0
ireturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 this Lcom/sun/codemodel/internal/JFormatter;
0 13 1 clazz Lcom/sun/codemodel/internal/JClass;
0 13 2 c Lcom/sun/codemodel/internal/JClass;
7 13 3 packageName Ljava/lang/String;
MethodParameters:
Name Flags
clazz
c
static int[] $SWITCH_TABLE$com$sun$codemodel$internal$JFormatter$Mode();
descriptor: ()[I
flags: (0x1008) ACC_STATIC, ACC_SYNTHETIC
Code:
stack=3, locals=1, args_size=0
0: getstatic com.sun.codemodel.internal.JFormatter.$SWITCH_TABLE$com$sun$codemodel$internal$JFormatter$Mode:[I
dup
ifnull 1
areturn
StackMap locals:
StackMap stack: int[]
1: pop
invokestatic com.sun.codemodel.internal.JFormatter$Mode.values:()[Lcom/sun/codemodel/internal/JFormatter$Mode;
arraylength
newarray 10
astore 0
2: aload 0
getstatic com.sun.codemodel.internal.JFormatter$Mode.COLLECTING:Lcom/sun/codemodel/internal/JFormatter$Mode;
invokevirtual com.sun.codemodel.internal.JFormatter$Mode.ordinal:()I
iconst_1
iastore
3: goto 5
StackMap locals: int[]
StackMap stack: java.lang.NoSuchFieldError
4: pop
StackMap locals:
StackMap stack:
5: aload 0
getstatic com.sun.codemodel.internal.JFormatter$Mode.PRINTING:Lcom/sun/codemodel/internal/JFormatter$Mode;
invokevirtual com.sun.codemodel.internal.JFormatter$Mode.ordinal:()I
iconst_2
iastore
6: goto 8
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
7: pop
StackMap locals:
StackMap stack:
8: aload 0
dup
putstatic com.sun.codemodel.internal.JFormatter.$SWITCH_TABLE$com$sun$codemodel$internal$JFormatter$Mode:[I
areturn
LocalVariableTable:
Start End Slot Name Signature
Exception table:
from to target type
2 3 4 Class java.lang.NoSuchFieldError
5 6 7 Class java.lang.NoSuchFieldError
}
SourceFile: "JFormatter.java"
NestMembers:
com.sun.codemodel.internal.JFormatter$Mode com.sun.codemodel.internal.JFormatter$ReferenceList
InnerClasses:
private final Mode = com.sun.codemodel.internal.JFormatter$Mode of com.sun.codemodel.internal.JFormatter
final ReferenceList = com.sun.codemodel.internal.JFormatter$ReferenceList of com.sun.codemodel.internal.JFormatter