public class com.sun.tools.internal.xjc.writer.SignatureWriter
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: com.sun.tools.internal.xjc.writer.SignatureWriter
super_class: java.lang.Object
{
private final java.util.Collection<? extends com.sun.tools.internal.xjc.outline.ClassOutline> classes;
descriptor: Ljava/util/Collection;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/Collection<+Lcom/sun/tools/internal/xjc/outline/ClassOutline;>;
private final java.util.Map<com.sun.codemodel.internal.JDefinedClass, com.sun.tools.internal.xjc.outline.ClassOutline> classSet;
descriptor: Ljava/util/Map;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/Map<Lcom/sun/codemodel/internal/JDefinedClass;Lcom/sun/tools/internal/xjc/outline/ClassOutline;>;
private final java.io.Writer out;
descriptor: Ljava/io/Writer;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private int indent;
descriptor: I
flags: (0x0002) ACC_PRIVATE
public static void write(com.sun.tools.internal.xjc.outline.Outline, java.io.Writer);
descriptor: (Lcom/sun/tools/internal/xjc/outline/Outline;Ljava/io/Writer;)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: new com.sun.tools.internal.xjc.writer.SignatureWriter
dup
aload 0
aload 1
invokespecial com.sun.tools.internal.xjc.writer.SignatureWriter.<init>:(Lcom/sun/tools/internal/xjc/outline/Outline;Ljava/io/Writer;)V
invokevirtual com.sun.tools.internal.xjc.writer.SignatureWriter.dump:()V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 model Lcom/sun/tools/internal/xjc/outline/Outline;
0 2 1 out Ljava/io/Writer;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
model
out
private void <init>(com.sun.tools.internal.xjc.outline.Outline, java.io.Writer);
descriptor: (Lcom/sun/tools/internal/xjc/outline/Outline;Ljava/io/Writer;)V
flags: (0x0002) ACC_PRIVATE
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.HashMap
dup
invokespecial java.util.HashMap.<init>:()V
putfield com.sun.tools.internal.xjc.writer.SignatureWriter.classSet:Ljava/util/Map;
2: aload 0
iconst_0
putfield com.sun.tools.internal.xjc.writer.SignatureWriter.indent:I
3: aload 0
aload 2
putfield com.sun.tools.internal.xjc.writer.SignatureWriter.out:Ljava/io/Writer;
4: aload 0
aload 1
invokeinterface com.sun.tools.internal.xjc.outline.Outline.getClasses:()Ljava/util/Collection;
putfield com.sun.tools.internal.xjc.writer.SignatureWriter.classes:Ljava/util/Collection;
5: aload 0
getfield com.sun.tools.internal.xjc.writer.SignatureWriter.classes:Ljava/util/Collection;
invokeinterface java.util.Collection.iterator:()Ljava/util/Iterator;
astore 4
goto 8
StackMap locals: com.sun.tools.internal.xjc.writer.SignatureWriter com.sun.tools.internal.xjc.outline.Outline java.io.Writer top java.util.Iterator
StackMap stack:
6: aload 4
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast com.sun.tools.internal.xjc.outline.ClassOutline
astore 3
start local 3 7: aload 0
getfield com.sun.tools.internal.xjc.writer.SignatureWriter.classSet:Ljava/util/Map;
aload 3
getfield com.sun.tools.internal.xjc.outline.ClassOutline.ref:Lcom/sun/codemodel/internal/JDefinedClass;
aload 3
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
end local 3 8: StackMap locals:
StackMap stack:
aload 4
invokeinterface java.util.Iterator.hasNext:()Z
ifne 6
9: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lcom/sun/tools/internal/xjc/writer/SignatureWriter;
0 10 1 model Lcom/sun/tools/internal/xjc/outline/Outline;
0 10 2 out Ljava/io/Writer;
7 8 3 ci Lcom/sun/tools/internal/xjc/outline/ClassOutline;
MethodParameters:
Name Flags
model
out
private void printIndent();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=2, args_size=1
start local 0 0: iconst_0
istore 1
start local 1 1: goto 4
2: StackMap locals: int
StackMap stack:
aload 0
getfield com.sun.tools.internal.xjc.writer.SignatureWriter.out:Ljava/io/Writer;
ldc " "
invokevirtual java.io.Writer.write:(Ljava/lang/String;)V
3: iinc 1 1
StackMap locals:
StackMap stack:
4: iload 1
aload 0
getfield com.sun.tools.internal.xjc.writer.SignatureWriter.indent:I
if_icmplt 2
end local 1 5: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lcom/sun/tools/internal/xjc/writer/SignatureWriter;
1 5 1 i I
Exceptions:
throws java.io.IOException
private void println(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual com.sun.tools.internal.xjc.writer.SignatureWriter.printIndent:()V
1: aload 0
getfield com.sun.tools.internal.xjc.writer.SignatureWriter.out:Ljava/io/Writer;
aload 1
invokevirtual java.io.Writer.write:(Ljava/lang/String;)V
2: aload 0
getfield com.sun.tools.internal.xjc.writer.SignatureWriter.out:Ljava/io/Writer;
bipush 10
invokevirtual java.io.Writer.write:(I)V
3: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/sun/tools/internal/xjc/writer/SignatureWriter;
0 4 1 s Ljava/lang/String;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
s
private void dump();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=4, args_size=1
start local 0 0: new java.util.TreeSet
dup
new com.sun.tools.internal.xjc.writer.SignatureWriter$1
dup
aload 0
invokespecial com.sun.tools.internal.xjc.writer.SignatureWriter$1.<init>:(Lcom/sun/tools/internal/xjc/writer/SignatureWriter;)V
invokespecial java.util.TreeSet.<init>:(Ljava/util/Comparator;)V
astore 1
start local 1 1: aload 0
getfield com.sun.tools.internal.xjc.writer.SignatureWriter.classes:Ljava/util/Collection;
invokeinterface java.util.Collection.iterator:()Ljava/util/Iterator;
astore 3
goto 4
StackMap locals: com.sun.tools.internal.xjc.writer.SignatureWriter java.util.Set top java.util.Iterator
StackMap stack:
2: aload 3
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast com.sun.tools.internal.xjc.outline.ClassOutline
astore 2
start local 2 3: aload 1
aload 2
invokevirtual com.sun.tools.internal.xjc.outline.ClassOutline._package:()Lcom/sun/tools/internal/xjc/outline/PackageOutline;
invokeinterface com.sun.tools.internal.xjc.outline.PackageOutline._package:()Lcom/sun/codemodel/internal/JPackage;
invokeinterface java.util.Set.add:(Ljava/lang/Object;)Z
pop
end local 2 4: StackMap locals:
StackMap stack:
aload 3
invokeinterface java.util.Iterator.hasNext:()Z
ifne 2
5: aload 1
invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
astore 3
goto 8
StackMap locals:
StackMap stack:
6: aload 3
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast com.sun.codemodel.internal.JPackage
astore 2
start local 2 7: aload 0
aload 2
invokevirtual com.sun.tools.internal.xjc.writer.SignatureWriter.dump:(Lcom/sun/codemodel/internal/JPackage;)V
end local 2 8: StackMap locals:
StackMap stack:
aload 3
invokeinterface java.util.Iterator.hasNext:()Z
ifne 6
9: aload 0
getfield com.sun.tools.internal.xjc.writer.SignatureWriter.out:Ljava/io/Writer;
invokevirtual java.io.Writer.flush:()V
10: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Lcom/sun/tools/internal/xjc/writer/SignatureWriter;
1 11 1 packages Ljava/util/Set<Lcom/sun/codemodel/internal/JPackage;>;
3 4 2 ci Lcom/sun/tools/internal/xjc/outline/ClassOutline;
7 8 2 pkg Lcom/sun/codemodel/internal/JPackage;
Exceptions:
throws java.io.IOException
private void dump(com.sun.codemodel.internal.JPackage);
descriptor: (Lcom/sun/codemodel/internal/JPackage;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 0
new java.lang.StringBuilder
dup
ldc "package "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
invokevirtual com.sun.codemodel.internal.JPackage.name:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc " {"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual com.sun.tools.internal.xjc.writer.SignatureWriter.println:(Ljava/lang/String;)V
1: aload 0
dup
getfield com.sun.tools.internal.xjc.writer.SignatureWriter.indent:I
iconst_1
iadd
putfield com.sun.tools.internal.xjc.writer.SignatureWriter.indent:I
2: aload 0
aload 1
invokevirtual com.sun.tools.internal.xjc.writer.SignatureWriter.dumpChildren:(Lcom/sun/codemodel/internal/JClassContainer;)V
3: aload 0
dup
getfield com.sun.tools.internal.xjc.writer.SignatureWriter.indent:I
iconst_1
isub
putfield com.sun.tools.internal.xjc.writer.SignatureWriter.indent:I
4: aload 0
ldc "}"
invokevirtual com.sun.tools.internal.xjc.writer.SignatureWriter.println:(Ljava/lang/String;)V
5: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lcom/sun/tools/internal/xjc/writer/SignatureWriter;
0 6 1 pkg Lcom/sun/codemodel/internal/JPackage;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
pkg
private void dumpChildren(com.sun.codemodel.internal.JClassContainer);
descriptor: (Lcom/sun/codemodel/internal/JClassContainer;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=5, args_size=2
start local 0 start local 1 0: aload 1
invokeinterface com.sun.codemodel.internal.JClassContainer.classes:()Ljava/util/Iterator;
astore 2
start local 2 1: goto 6
2: StackMap locals: java.util.Iterator
StackMap stack:
aload 2
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast com.sun.codemodel.internal.JDefinedClass
astore 3
start local 3 3: aload 0
getfield com.sun.tools.internal.xjc.writer.SignatureWriter.classSet:Ljava/util/Map;
aload 3
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast com.sun.tools.internal.xjc.outline.ClassOutline
astore 4
start local 4 4: aload 4
ifnull 6
5: aload 0
aload 4
invokevirtual com.sun.tools.internal.xjc.writer.SignatureWriter.dump:(Lcom/sun/tools/internal/xjc/outline/ClassOutline;)V
end local 4 end local 3 6: StackMap locals:
StackMap stack:
aload 2
invokeinterface java.util.Iterator.hasNext:()Z
ifne 2
7: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lcom/sun/tools/internal/xjc/writer/SignatureWriter;
0 8 1 cont Lcom/sun/codemodel/internal/JClassContainer;
1 8 2 itr Ljava/util/Iterator;
3 6 3 cls Lcom/sun/codemodel/internal/JDefinedClass;
4 6 4 ci Lcom/sun/tools/internal/xjc/outline/ClassOutline;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
cont
private void dump(com.sun.tools.internal.xjc.outline.ClassOutline);
descriptor: (Lcom/sun/tools/internal/xjc/outline/ClassOutline;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=11, args_size=2
start local 0 start local 1 0: aload 1
getfield com.sun.tools.internal.xjc.outline.ClassOutline.implClass:Lcom/sun/codemodel/internal/JDefinedClass;
astore 2
start local 2 1: new java.lang.StringBuilder
dup
invokespecial java.lang.StringBuilder.<init>:()V
astore 3
start local 3 2: aload 3
ldc "interface "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
3: aload 3
aload 2
invokevirtual com.sun.codemodel.internal.JDefinedClass.name:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
4: iconst_1
istore 4
start local 4 5: aload 2
invokevirtual com.sun.codemodel.internal.JDefinedClass._implements:()Ljava/util/Iterator;
astore 5
start local 5 6: goto 13
7: StackMap locals: com.sun.tools.internal.xjc.writer.SignatureWriter com.sun.tools.internal.xjc.outline.ClassOutline com.sun.codemodel.internal.JDefinedClass java.lang.StringBuilder int java.util.Iterator
StackMap stack:
iload 4
ifeq 11
8: aload 3
ldc " extends "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
9: iconst_0
istore 4
10: goto 12
11: StackMap locals:
StackMap stack:
aload 3
ldc ", "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
12: StackMap locals:
StackMap stack:
aload 3
aload 0
aload 5
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast com.sun.codemodel.internal.JClass
invokevirtual com.sun.tools.internal.xjc.writer.SignatureWriter.printName:(Lcom/sun/codemodel/internal/JType;)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
13: StackMap locals:
StackMap stack:
aload 5
invokeinterface java.util.Iterator.hasNext:()Z
ifne 7
14: aload 3
ldc " {"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
15: aload 0
aload 3
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual com.sun.tools.internal.xjc.writer.SignatureWriter.println:(Ljava/lang/String;)V
16: aload 0
dup
getfield com.sun.tools.internal.xjc.writer.SignatureWriter.indent:I
iconst_1
iadd
putfield com.sun.tools.internal.xjc.writer.SignatureWriter.indent:I
17: aload 1
invokevirtual com.sun.tools.internal.xjc.outline.ClassOutline.getDeclaredFields:()[Lcom/sun/tools/internal/xjc/outline/FieldOutline;
dup
astore 9
arraylength
istore 8
iconst_0
istore 7
goto 22
StackMap locals: com.sun.tools.internal.xjc.writer.SignatureWriter com.sun.tools.internal.xjc.outline.ClassOutline com.sun.codemodel.internal.JDefinedClass java.lang.StringBuilder int java.util.Iterator top int int com.sun.tools.internal.xjc.outline.FieldOutline[]
StackMap stack:
18: aload 9
iload 7
aaload
astore 6
start local 6 19: aload 0
aload 6
invokeinterface com.sun.tools.internal.xjc.outline.FieldOutline.getRawType:()Lcom/sun/codemodel/internal/JType;
invokevirtual com.sun.tools.internal.xjc.writer.SignatureWriter.printName:(Lcom/sun/codemodel/internal/JType;)Ljava/lang/String;
astore 10
start local 10 20: aload 0
new java.lang.StringBuilder
dup
aload 10
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
bipush 32
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
aload 6
invokeinterface com.sun.tools.internal.xjc.outline.FieldOutline.getPropertyInfo:()Lcom/sun/tools/internal/xjc/model/CPropertyInfo;
iconst_1
invokevirtual com.sun.tools.internal.xjc.model.CPropertyInfo.getName:(Z)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
bipush 59
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual com.sun.tools.internal.xjc.writer.SignatureWriter.println:(Ljava/lang/String;)V
end local 10 end local 6 21: iinc 7 1
StackMap locals:
StackMap stack:
22: iload 7
iload 8
if_icmplt 18
23: aload 0
aload 2
invokevirtual com.sun.tools.internal.xjc.writer.SignatureWriter.dumpChildren:(Lcom/sun/codemodel/internal/JClassContainer;)V
24: aload 0
dup
getfield com.sun.tools.internal.xjc.writer.SignatureWriter.indent:I
iconst_1
isub
putfield com.sun.tools.internal.xjc.writer.SignatureWriter.indent:I
25: aload 0
ldc "}"
invokevirtual com.sun.tools.internal.xjc.writer.SignatureWriter.println:(Ljava/lang/String;)V
26: 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 27 0 this Lcom/sun/tools/internal/xjc/writer/SignatureWriter;
0 27 1 ci Lcom/sun/tools/internal/xjc/outline/ClassOutline;
1 27 2 cls Lcom/sun/codemodel/internal/JDefinedClass;
2 27 3 buf Ljava/lang/StringBuilder;
5 27 4 first Z
6 27 5 itr Ljava/util/Iterator;
19 21 6 fo Lcom/sun/tools/internal/xjc/outline/FieldOutline;
20 21 10 type Ljava/lang/String;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
ci
private java.lang.String printName(com.sun.codemodel.internal.JType);
descriptor: (Lcom/sun/codemodel/internal/JType;)Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual com.sun.codemodel.internal.JType.fullName:()Ljava/lang/String;
astore 2
start local 2 1: aload 2
ldc "java.lang."
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifeq 3
2: aload 2
bipush 10
invokevirtual java.lang.String.substring:(I)Ljava/lang/String;
astore 2
3: StackMap locals: java.lang.String
StackMap stack:
aload 2
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/sun/tools/internal/xjc/writer/SignatureWriter;
0 4 1 t Lcom/sun/codemodel/internal/JType;
1 4 2 name Ljava/lang/String;
MethodParameters:
Name Flags
t
}
SourceFile: "SignatureWriter.java"
NestMembers:
com.sun.tools.internal.xjc.writer.SignatureWriter$1
InnerClasses:
com.sun.tools.internal.xjc.writer.SignatureWriter$1