public class com.sun.codemodel.internal.writer.ZipCodeWriter extends com.sun.codemodel.internal.CodeWriter
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: com.sun.codemodel.internal.writer.ZipCodeWriter
super_class: com.sun.codemodel.internal.CodeWriter
{
private final java.util.zip.ZipOutputStream zip;
descriptor: Ljava/util/zip/ZipOutputStream;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.io.OutputStream filter;
descriptor: Ljava/io/OutputStream;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
public void <init>(java.io.OutputStream);
descriptor: (Ljava/io/OutputStream;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial com.sun.codemodel.internal.CodeWriter.<init>:()V
1: aload 0
new java.util.zip.ZipOutputStream
dup
aload 1
invokespecial java.util.zip.ZipOutputStream.<init>:(Ljava/io/OutputStream;)V
putfield com.sun.codemodel.internal.writer.ZipCodeWriter.zip:Ljava/util/zip/ZipOutputStream;
2: aload 0
new com.sun.codemodel.internal.writer.ZipCodeWriter$1
dup
aload 0
aload 0
getfield com.sun.codemodel.internal.writer.ZipCodeWriter.zip:Ljava/util/zip/ZipOutputStream;
invokespecial com.sun.codemodel.internal.writer.ZipCodeWriter$1.<init>:(Lcom/sun/codemodel/internal/writer/ZipCodeWriter;Ljava/io/OutputStream;)V
putfield com.sun.codemodel.internal.writer.ZipCodeWriter.filter:Ljava/io/OutputStream;
3: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/sun/codemodel/internal/writer/ZipCodeWriter;
0 4 1 target Ljava/io/OutputStream;
MethodParameters:
Name Flags
target
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=4, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 1
ifnull 1
aload 1
invokevirtual com.sun.codemodel.internal.JPackage.isUnnamed:()Z
ifeq 2
StackMap locals:
StackMap stack:
1: aload 2
goto 3
StackMap locals:
StackMap stack:
2: new java.lang.StringBuilder
dup
aload 1
invokestatic com.sun.codemodel.internal.writer.ZipCodeWriter.toDirName:(Lcom/sun/codemodel/internal/JPackage;)Ljava/lang/String;
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 2
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
StackMap locals:
StackMap stack: java.lang.String
3: astore 3
start local 3 4: aload 0
getfield com.sun.codemodel.internal.writer.ZipCodeWriter.zip:Ljava/util/zip/ZipOutputStream;
new java.util.zip.ZipEntry
dup
aload 3
invokespecial java.util.zip.ZipEntry.<init>:(Ljava/lang/String;)V
invokevirtual java.util.zip.ZipOutputStream.putNextEntry:(Ljava/util/zip/ZipEntry;)V
5: aload 0
getfield com.sun.codemodel.internal.writer.ZipCodeWriter.filter:Ljava/io/OutputStream;
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lcom/sun/codemodel/internal/writer/ZipCodeWriter;
0 6 1 pkg Lcom/sun/codemodel/internal/JPackage;
0 6 2 fileName Ljava/lang/String;
4 6 3 name Ljava/lang/String;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
pkg
fileName
private static java.lang.String toDirName(com.sun.codemodel.internal.JPackage);
descriptor: (Lcom/sun/codemodel/internal/JPackage;)Ljava/lang/String;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=5, locals=1, args_size=1
start local 0 0: new java.lang.StringBuilder
dup
aload 0
invokevirtual com.sun.codemodel.internal.JPackage.name:()Ljava/lang/String;
bipush 46
bipush 47
invokevirtual java.lang.String.replace:(CC)Ljava/lang/String;
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
bipush 47
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 pkg Lcom/sun/codemodel/internal/JPackage;
MethodParameters:
Name Flags
pkg
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.writer.ZipCodeWriter.zip:Ljava/util/zip/ZipOutputStream;
invokevirtual java.util.zip.ZipOutputStream.close:()V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/sun/codemodel/internal/writer/ZipCodeWriter;
Exceptions:
throws java.io.IOException
}
SourceFile: "ZipCodeWriter.java"
NestMembers:
com.sun.codemodel.internal.writer.ZipCodeWriter$1
InnerClasses:
com.sun.codemodel.internal.writer.ZipCodeWriter$1