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 // com.sun.tools.internal.xjc.ProgressCodeWriter this
        start local 1 // com.sun.codemodel.internal.CodeWriter output
        start local 2 // com.sun.tools.internal.xjc.XJCListener progress
        start local 3 // int totalFileCount
         0: .line 46
            aload 0 /* this */
            aload 1 /* output */
            invokespecial com.sun.codemodel.internal.writer.FilterCodeWriter.<init>:(Lcom/sun/codemodel/internal/CodeWriter;)V
         1: .line 47
            aload 0 /* this */
            aload 2 /* progress */
            putfield com.sun.tools.internal.xjc.ProgressCodeWriter.progress:Lcom/sun/tools/internal/xjc/XJCListener;
         2: .line 48
            aload 0 /* this */
            iload 3 /* totalFileCount */
            putfield com.sun.tools.internal.xjc.ProgressCodeWriter.totalFileCount:I
         3: .line 49
            aload 2 /* progress */
            ifnonnull 5
         4: .line 50
            new java.lang.IllegalArgumentException
            dup
            invokespecial java.lang.IllegalArgumentException.<init>:()V
            athrow
         5: .line 51
      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 // int totalFileCount
        end local 2 // com.sun.tools.internal.xjc.XJCListener progress
        end local 1 // com.sun.codemodel.internal.CodeWriter output
        end local 0 // com.sun.tools.internal.xjc.ProgressCodeWriter this
      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 // com.sun.tools.internal.xjc.ProgressCodeWriter this
        start local 1 // com.sun.codemodel.internal.JPackage pkg
        start local 2 // java.lang.String fileName
         0: .line 57
            aload 0 /* this */
            aload 1 /* pkg */
            aload 2 /* fileName */
            invokevirtual com.sun.tools.internal.xjc.ProgressCodeWriter.report:(Lcom/sun/codemodel/internal/JPackage;Ljava/lang/String;)V
         1: .line 58
            aload 0 /* this */
            aload 1 /* pkg */
            aload 2 /* fileName */
            invokespecial com.sun.codemodel.internal.writer.FilterCodeWriter.openSource:(Lcom/sun/codemodel/internal/JPackage;Ljava/lang/String;)Ljava/io/Writer;
            areturn
        end local 2 // java.lang.String fileName
        end local 1 // com.sun.codemodel.internal.JPackage pkg
        end local 0 // com.sun.tools.internal.xjc.ProgressCodeWriter this
      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 // com.sun.tools.internal.xjc.ProgressCodeWriter this
        start local 1 // com.sun.codemodel.internal.JPackage pkg
        start local 2 // java.lang.String fileName
         0: .line 63
            aload 0 /* this */
            aload 1 /* pkg */
            aload 2 /* fileName */
            invokevirtual com.sun.tools.internal.xjc.ProgressCodeWriter.report:(Lcom/sun/codemodel/internal/JPackage;Ljava/lang/String;)V
         1: .line 64
            aload 0 /* this */
            aload 1 /* pkg */
            aload 2 /* fileName */
            invokespecial com.sun.codemodel.internal.writer.FilterCodeWriter.openBinary:(Lcom/sun/codemodel/internal/JPackage;Ljava/lang/String;)Ljava/io/OutputStream;
            areturn
        end local 2 // java.lang.String fileName
        end local 1 // com.sun.codemodel.internal.JPackage pkg
        end local 0 // com.sun.tools.internal.xjc.ProgressCodeWriter this
      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 // com.sun.tools.internal.xjc.ProgressCodeWriter this
        start local 1 // com.sun.codemodel.internal.JPackage pkg
        start local 2 // java.lang.String fileName
         0: .line 73
            aload 2 /* fileName */
            ifnonnull 2
         1: .line 74
            new java.lang.IllegalArgumentException
            dup
            ldc "File name is null"
            invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
            athrow
         2: .line 79
      StackMap locals:
      StackMap stack:
            aload 1 /* pkg */
            ifnull 10
            aload 1 /* pkg */
            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 /* pkgName */
        start local 3 // java.lang.String pkgName
         3: invokevirtual java.lang.String.length:()I
            ifle 10
         4: .line 80
            new java.lang.StringBuilder
            dup
            aload 2 /* fileName */
            invokevirtual java.lang.String.length:()I
            aload 3 /* pkgName */
            invokevirtual java.lang.String.length:()I
            iadd
            iconst_1
            iadd
            invokespecial java.lang.StringBuilder.<init>:(I)V
            astore 5 /* sb */
        start local 5 // java.lang.StringBuilder sb
         5: .line 81
            aload 5 /* sb */
            aload 3 /* pkgName */
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            pop
         6: .line 82
            aload 5 /* sb */
            getstatic java.io.File.separatorChar:C
            invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
            pop
         7: .line 83
            aload 5 /* sb */
            aload 2 /* fileName */
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            pop
         8: .line 84
            aload 5 /* sb */
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
            astore 4 /* fileNameOut */
        end local 5 // java.lang.StringBuilder sb
        start local 4 // java.lang.String fileNameOut
         9: .line 85
            goto 11
        end local 4 // java.lang.String fileNameOut
        end local 3 // java.lang.String pkgName
        10: .line 86
      StackMap locals:
      StackMap stack:
            aload 2 /* fileName */
            astore 4 /* fileNameOut */
        start local 4 // java.lang.String fileNameOut
        11: .line 89
      StackMap locals: com.sun.tools.internal.xjc.ProgressCodeWriter com.sun.codemodel.internal.JPackage java.lang.String top java.lang.String
      StackMap stack:
            aload 0 /* this */
            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: .line 90
            new com.sun.tools.internal.xjc.AbortException
            dup
            invokespecial com.sun.tools.internal.xjc.AbortException.<init>:()V
            athrow
        13: .line 91
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield com.sun.tools.internal.xjc.ProgressCodeWriter.progress:Lcom/sun/tools/internal/xjc/XJCListener;
            aload 4 /* fileNameOut */
            aload 0 /* this */
            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 /* this */
            getfield com.sun.tools.internal.xjc.ProgressCodeWriter.totalFileCount:I
            invokevirtual com.sun.tools.internal.xjc.XJCListener.generatedFile:(Ljava/lang/String;II)V
        14: .line 92
            return
        end local 4 // java.lang.String fileNameOut
        end local 2 // java.lang.String fileName
        end local 1 // com.sun.codemodel.internal.JPackage pkg
        end local 0 // com.sun.tools.internal.xjc.ProgressCodeWriter this
      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"