final class com.sun.tools.internal.xjc.ProgressCodeWriter extends com.sun.codemodel.internal.writer.FilterCodeWriter
minor version: 0
major version: 59
flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
this_class: com.sun.tools.internal.xjc.ProgressCodeWriter
super_class: com.sun.codemodel.internal.writer.FilterCodeWriter
{
private int current;
descriptor: I
flags: (0x0002) ACC_PRIVATE
private final int totalFileCount;
descriptor: I
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final com.sun.tools.internal.xjc.XJCListener progress;
descriptor: Lcom/sun/tools/internal/xjc/XJCListener;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
public void <init>(com.sun.codemodel.internal.CodeWriter, com.sun.tools.internal.xjc.XJCListener, int);
descriptor: (Lcom/sun/codemodel/internal/CodeWriter;Lcom/sun/tools/internal/xjc/XJCListener;I)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
aload 1
invokespecial com.sun.codemodel.internal.writer.FilterCodeWriter.<init>:(Lcom/sun/codemodel/internal/CodeWriter;)V
1: aload 0
aload 2
putfield com.sun.tools.internal.xjc.ProgressCodeWriter.progress:Lcom/sun/tools/internal/xjc/XJCListener;
2: aload 0
iload 3
putfield com.sun.tools.internal.xjc.ProgressCodeWriter.totalFileCount:I
3: aload 2
ifnonnull 5
4: new java.lang.IllegalArgumentException
dup
invokespecial java.lang.IllegalArgumentException.<init>:()V
athrow
5: StackMap locals: com.sun.tools.internal.xjc.ProgressCodeWriter com.sun.codemodel.internal.CodeWriter com.sun.tools.internal.xjc.XJCListener int
StackMap stack:
return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lcom/sun/tools/internal/xjc/ProgressCodeWriter;
0 6 1 output Lcom/sun/codemodel/internal/CodeWriter;
0 6 2 progress Lcom/sun/tools/internal/xjc/XJCListener;
0 6 3 totalFileCount I
MethodParameters:
Name Flags
output
progress
totalFileCount
public java.io.Writer openSource(com.sun.codemodel.internal.JPackage, java.lang.String);
descriptor: (Lcom/sun/codemodel/internal/JPackage;Ljava/lang/String;)Ljava/io/Writer;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
aload 2
invokevirtual com.sun.tools.internal.xjc.ProgressCodeWriter.report:(Lcom/sun/codemodel/internal/JPackage;Ljava/lang/String;)V
1: aload 0
aload 1
aload 2
invokespecial com.sun.codemodel.internal.writer.FilterCodeWriter.openSource:(Lcom/sun/codemodel/internal/JPackage;Ljava/lang/String;)Ljava/io/Writer;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/sun/tools/internal/xjc/ProgressCodeWriter;
0 2 1 pkg Lcom/sun/codemodel/internal/JPackage;
0 2 2 fileName Ljava/lang/String;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
pkg
fileName
public java.io.OutputStream openBinary(com.sun.codemodel.internal.JPackage, java.lang.String);
descriptor: (Lcom/sun/codemodel/internal/JPackage;Ljava/lang/String;)Ljava/io/OutputStream;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
aload 2
invokevirtual com.sun.tools.internal.xjc.ProgressCodeWriter.report:(Lcom/sun/codemodel/internal/JPackage;Ljava/lang/String;)V
1: aload 0
aload 1
aload 2
invokespecial com.sun.codemodel.internal.writer.FilterCodeWriter.openBinary:(Lcom/sun/codemodel/internal/JPackage;Ljava/lang/String;)Ljava/io/OutputStream;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/sun/tools/internal/xjc/ProgressCodeWriter;
0 2 1 pkg Lcom/sun/codemodel/internal/JPackage;
0 2 2 fileName Ljava/lang/String;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
pkg
fileName
private void report(com.sun.codemodel.internal.JPackage, java.lang.String);
descriptor: (Lcom/sun/codemodel/internal/JPackage;Ljava/lang/String;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=6, locals=6, args_size=3
start local 0 start local 1 start local 2 0: aload 2
ifnonnull 2
1: new java.lang.IllegalArgumentException
dup
ldc "File name is null"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
aload 1
ifnull 10
aload 1
invokevirtual com.sun.codemodel.internal.JPackage.name:()Ljava/lang/String;
bipush 46
getstatic java.io.File.separatorChar:C
invokevirtual java.lang.String.replace:(CC)Ljava/lang/String;
dup
astore 3
start local 3 3: invokevirtual java.lang.String.length:()I
ifle 10
4: new java.lang.StringBuilder
dup
aload 2
invokevirtual java.lang.String.length:()I
aload 3
invokevirtual java.lang.String.length:()I
iadd
iconst_1
iadd
invokespecial java.lang.StringBuilder.<init>:(I)V
astore 5
start local 5 5: aload 5
aload 3
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
6: aload 5
getstatic java.io.File.separatorChar:C
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
pop
7: aload 5
aload 2
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
8: aload 5
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
astore 4
end local 5 start local 4 9: goto 11
end local 4 end local 3 10: StackMap locals:
StackMap stack:
aload 2
astore 4
start local 4 11: StackMap locals: com.sun.tools.internal.xjc.ProgressCodeWriter com.sun.codemodel.internal.JPackage java.lang.String top java.lang.String
StackMap stack:
aload 0
getfield com.sun.tools.internal.xjc.ProgressCodeWriter.progress:Lcom/sun/tools/internal/xjc/XJCListener;
invokevirtual com.sun.tools.internal.xjc.XJCListener.isCanceled:()Z
ifeq 13
12: new com.sun.tools.internal.xjc.AbortException
dup
invokespecial com.sun.tools.internal.xjc.AbortException.<init>:()V
athrow
13: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.tools.internal.xjc.ProgressCodeWriter.progress:Lcom/sun/tools/internal/xjc/XJCListener;
aload 4
aload 0
dup
getfield com.sun.tools.internal.xjc.ProgressCodeWriter.current:I
dup_x1
iconst_1
iadd
putfield com.sun.tools.internal.xjc.ProgressCodeWriter.current:I
aload 0
getfield com.sun.tools.internal.xjc.ProgressCodeWriter.totalFileCount:I
invokevirtual com.sun.tools.internal.xjc.XJCListener.generatedFile:(Ljava/lang/String;II)V
14: return
end local 4 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 15 0 this Lcom/sun/tools/internal/xjc/ProgressCodeWriter;
0 15 1 pkg Lcom/sun/codemodel/internal/JPackage;
0 15 2 fileName Ljava/lang/String;
3 10 3 pkgName Ljava/lang/String;
9 10 4 fileNameOut Ljava/lang/String;
11 15 4 fileNameOut Ljava/lang/String;
5 9 5 sb Ljava/lang/StringBuilder;
MethodParameters:
Name Flags
pkg final
fileName final
}
SourceFile: "ProgressCodeWriter.java"