public class com.sun.tools.doclets.internal.toolkit.util.PackageListWriter extends java.io.PrintWriter
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: com.sun.tools.doclets.internal.toolkit.util.PackageListWriter
super_class: java.io.PrintWriter
{
private final com.sun.tools.doclets.internal.toolkit.Configuration configuration;
descriptor: Lcom/sun/tools/doclets/internal/toolkit/Configuration;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final com.sun.tools.doclets.internal.toolkit.util.Utils utils;
descriptor: Lcom/sun/tools/doclets/internal/toolkit/util/Utils;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
public void <init>(com.sun.tools.doclets.internal.toolkit.Configuration);
descriptor: (Lcom/sun/tools/doclets/internal/toolkit/Configuration;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
getstatic com.sun.tools.doclets.internal.toolkit.util.DocPaths.PACKAGE_LIST:Lcom/sun/tools/doclets/internal/toolkit/util/DocPath;
invokestatic com.sun.tools.doclets.internal.toolkit.util.DocFile.createFileForOutput:(Lcom/sun/tools/doclets/internal/toolkit/Configuration;Lcom/sun/tools/doclets/internal/toolkit/util/DocPath;)Lcom/sun/tools/doclets/internal/toolkit/util/DocFile;
invokevirtual com.sun.tools.doclets.internal.toolkit.util.DocFile.openWriter:()Ljava/io/Writer;
invokespecial java.io.PrintWriter.<init>:(Ljava/io/Writer;)V
1: aload 0
aload 1
putfield com.sun.tools.doclets.internal.toolkit.util.PackageListWriter.configuration:Lcom/sun/tools/doclets/internal/toolkit/Configuration;
2: aload 0
aload 1
getfield com.sun.tools.doclets.internal.toolkit.Configuration.utils:Lcom/sun/tools/doclets/internal/toolkit/util/Utils;
putfield com.sun.tools.doclets.internal.toolkit.util.PackageListWriter.utils:Lcom/sun/tools/doclets/internal/toolkit/util/Utils;
3: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/sun/tools/doclets/internal/toolkit/util/PackageListWriter;
0 4 1 configuration Lcom/sun/tools/doclets/internal/toolkit/Configuration;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
configuration
public static void generate(com.sun.tools.doclets.internal.toolkit.Configuration);
descriptor: (Lcom/sun/tools/doclets/internal/toolkit/Configuration;)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=6, locals=3, args_size=1
start local 0 0: new com.sun.tools.doclets.internal.toolkit.util.PackageListWriter
dup
aload 0
invokespecial com.sun.tools.doclets.internal.toolkit.util.PackageListWriter.<init>:(Lcom/sun/tools/doclets/internal/toolkit/Configuration;)V
astore 1
start local 1 1: aload 1
aload 0
getfield com.sun.tools.doclets.internal.toolkit.Configuration.root:Lcom/sun/javadoc/RootDoc;
invokevirtual com.sun.tools.doclets.internal.toolkit.util.PackageListWriter.generatePackageListFile:(Lcom/sun/javadoc/RootDoc;)V
2: aload 1
invokevirtual com.sun.tools.doclets.internal.toolkit.util.PackageListWriter.close:()V
3: goto 9
end local 1 StackMap locals:
StackMap stack: java.io.IOException
4: astore 2
start local 2 5: aload 0
getfield com.sun.tools.doclets.internal.toolkit.Configuration.message:Lcom/sun/tools/doclets/internal/toolkit/util/MessageRetriever;
ldc "doclet.exception_encountered"
iconst_2
anewarray java.lang.Object
dup
iconst_0
6: aload 2
invokevirtual java.io.IOException.toString:()Ljava/lang/String;
aastore
dup
iconst_1
getstatic com.sun.tools.doclets.internal.toolkit.util.DocPaths.PACKAGE_LIST:Lcom/sun/tools/doclets/internal/toolkit/util/DocPath;
aastore
7: invokevirtual com.sun.tools.doclets.internal.toolkit.util.MessageRetriever.error:(Ljava/lang/String;[Ljava/lang/Object;)V
8: new com.sun.tools.doclets.internal.toolkit.util.DocletAbortException
dup
aload 2
invokespecial com.sun.tools.doclets.internal.toolkit.util.DocletAbortException.<init>:(Ljava/lang/Throwable;)V
athrow
end local 2 start local 1 9: StackMap locals: com.sun.tools.doclets.internal.toolkit.util.PackageListWriter
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 configuration Lcom/sun/tools/doclets/internal/toolkit/Configuration;
1 4 1 packgen Lcom/sun/tools/doclets/internal/toolkit/util/PackageListWriter;
9 10 1 packgen Lcom/sun/tools/doclets/internal/toolkit/util/PackageListWriter;
5 9 2 exc Ljava/io/IOException;
Exception table:
from to target type
0 3 4 Class java.io.IOException
MethodParameters:
Name Flags
configuration
protected void generatePackageListFile(com.sun.javadoc.RootDoc);
descriptor: (Lcom/sun/javadoc/RootDoc;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=5, args_size=2
start local 0 start local 1 0: new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
astore 2
start local 2 1: aload 0
getfield com.sun.tools.doclets.internal.toolkit.util.PackageListWriter.configuration:Lcom/sun/tools/doclets/internal/toolkit/Configuration;
getfield com.sun.tools.doclets.internal.toolkit.Configuration.packages:Ljava/util/SortedSet;
invokeinterface java.util.SortedSet.iterator:()Ljava/util/Iterator;
astore 4
goto 5
StackMap locals: com.sun.tools.doclets.internal.toolkit.util.PackageListWriter com.sun.javadoc.RootDoc java.util.ArrayList top java.util.Iterator
StackMap stack:
2: aload 4
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast com.sun.javadoc.PackageDoc
astore 3
start local 3 3: aload 0
getfield com.sun.tools.doclets.internal.toolkit.util.PackageListWriter.configuration:Lcom/sun/tools/doclets/internal/toolkit/Configuration;
getfield com.sun.tools.doclets.internal.toolkit.Configuration.nodeprecated:Z
ifeq 4
aload 0
getfield com.sun.tools.doclets.internal.toolkit.util.PackageListWriter.utils:Lcom/sun/tools/doclets/internal/toolkit/util/Utils;
aload 3
invokevirtual com.sun.tools.doclets.internal.toolkit.util.Utils.isDeprecated:(Lcom/sun/javadoc/Doc;)Z
ifne 5
4: StackMap locals: com.sun.tools.doclets.internal.toolkit.util.PackageListWriter com.sun.javadoc.RootDoc java.util.ArrayList com.sun.javadoc.PackageDoc java.util.Iterator
StackMap stack:
aload 2
aload 3
invokeinterface com.sun.javadoc.PackageDoc.name:()Ljava/lang/String;
invokevirtual java.util.ArrayList.add:(Ljava/lang/Object;)Z
pop
end local 3 5: StackMap locals: com.sun.tools.doclets.internal.toolkit.util.PackageListWriter com.sun.javadoc.RootDoc java.util.ArrayList top java.util.Iterator
StackMap stack:
aload 4
invokeinterface java.util.Iterator.hasNext:()Z
ifne 2
6: aload 2
invokestatic java.util.Collections.sort:(Ljava/util/List;)V
7: aload 2
invokevirtual java.util.ArrayList.iterator:()Ljava/util/Iterator;
astore 4
goto 10
StackMap locals:
StackMap stack:
8: aload 4
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.lang.String
astore 3
start local 3 9: aload 0
aload 3
invokevirtual com.sun.tools.doclets.internal.toolkit.util.PackageListWriter.println:(Ljava/lang/String;)V
end local 3 10: StackMap locals:
StackMap stack:
aload 4
invokeinterface java.util.Iterator.hasNext:()Z
ifne 8
11: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Lcom/sun/tools/doclets/internal/toolkit/util/PackageListWriter;
0 12 1 root Lcom/sun/javadoc/RootDoc;
1 12 2 names Ljava/util/ArrayList<Ljava/lang/String;>;
3 5 3 pkg Lcom/sun/javadoc/PackageDoc;
9 10 3 name Ljava/lang/String;
MethodParameters:
Name Flags
root
}
SourceFile: "PackageListWriter.java"
RuntimeVisibleAnnotations:
java.lang.Deprecated()