public class jdk.javadoc.internal.doclets.formats.html.PackageIndexWriter extends jdk.javadoc.internal.doclets.formats.html.AbstractOverviewIndexWriter
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: jdk.javadoc.internal.doclets.formats.html.PackageIndexWriter
super_class: jdk.javadoc.internal.doclets.formats.html.AbstractOverviewIndexWriter
{
protected java.util.SortedSet<javax.lang.model.element.PackageElement> packages;
descriptor: Ljava/util/SortedSet;
flags: (0x0004) ACC_PROTECTED
Signature: Ljava/util/SortedSet<Ljavax/lang/model/element/PackageElement;>;
public void <init>(jdk.javadoc.internal.doclets.formats.html.HtmlConfiguration, jdk.javadoc.internal.doclets.toolkit.util.DocPath);
descriptor: (Ljdk/javadoc/internal/doclets/formats/html/HtmlConfiguration;Ljdk/javadoc/internal/doclets/toolkit/util/DocPath;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=3
start local 0 // jdk.javadoc.internal.doclets.formats.html.PackageIndexWriter this
start local 1 // jdk.javadoc.internal.doclets.formats.html.HtmlConfiguration configuration
start local 2 // jdk.javadoc.internal.doclets.toolkit.util.DocPath filename
0: .line 65
aload 0 /* this */
aload 1 /* configuration */
aload 2 /* filename */
invokespecial jdk.javadoc.internal.doclets.formats.html.AbstractOverviewIndexWriter.<init>:(Ljdk/javadoc/internal/doclets/formats/html/HtmlConfiguration;Ljdk/javadoc/internal/doclets/toolkit/util/DocPath;)V
1: .line 66
aload 0 /* this */
aload 1 /* configuration */
getfield jdk.javadoc.internal.doclets.formats.html.HtmlConfiguration.packages:Ljava/util/SortedSet;
putfield jdk.javadoc.internal.doclets.formats.html.PackageIndexWriter.packages:Ljava/util/SortedSet;
2: .line 67
return
end local 2 // jdk.javadoc.internal.doclets.toolkit.util.DocPath filename
end local 1 // jdk.javadoc.internal.doclets.formats.html.HtmlConfiguration configuration
end local 0 // jdk.javadoc.internal.doclets.formats.html.PackageIndexWriter this
LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljdk/javadoc/internal/doclets/formats/html/PackageIndexWriter;
0 3 1 configuration Ljdk/javadoc/internal/doclets/formats/html/HtmlConfiguration;
0 3 2 filename Ljdk/javadoc/internal/doclets/toolkit/util/DocPath;
MethodParameters:
Name Flags
configuration
filename
public static void generate(jdk.javadoc.internal.doclets.formats.html.HtmlConfiguration);
descriptor: (Ljdk/javadoc/internal/doclets/formats/html/HtmlConfiguration;)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=3, args_size=1
start local 0 // jdk.javadoc.internal.doclets.formats.html.HtmlConfiguration configuration
0: .line 76
getstatic jdk.javadoc.internal.doclets.toolkit.util.DocPaths.INDEX:Ljdk/javadoc/internal/doclets/toolkit/util/DocPath;
astore 1 /* filename */
start local 1 // jdk.javadoc.internal.doclets.toolkit.util.DocPath filename
1: .line 77
new jdk.javadoc.internal.doclets.formats.html.PackageIndexWriter
dup
aload 0 /* configuration */
aload 1 /* filename */
invokespecial jdk.javadoc.internal.doclets.formats.html.PackageIndexWriter.<init>:(Ljdk/javadoc/internal/doclets/formats/html/HtmlConfiguration;Ljdk/javadoc/internal/doclets/toolkit/util/DocPath;)V
astore 2 /* packgen */
start local 2 // jdk.javadoc.internal.doclets.formats.html.PackageIndexWriter packgen
2: .line 78
aload 2 /* packgen */
ldc "doclet.Window_Overview_Summary"
ldc "package index"
invokevirtual jdk.javadoc.internal.doclets.formats.html.PackageIndexWriter.buildOverviewIndexFile:(Ljava/lang/String;Ljava/lang/String;)V
3: .line 79
return
end local 2 // jdk.javadoc.internal.doclets.formats.html.PackageIndexWriter packgen
end local 1 // jdk.javadoc.internal.doclets.toolkit.util.DocPath filename
end local 0 // jdk.javadoc.internal.doclets.formats.html.HtmlConfiguration configuration
LocalVariableTable:
Start End Slot Name Signature
0 4 0 configuration Ljdk/javadoc/internal/doclets/formats/html/HtmlConfiguration;
1 4 1 filename Ljdk/javadoc/internal/doclets/toolkit/util/DocPath;
2 4 2 packgen Ljdk/javadoc/internal/doclets/formats/html/PackageIndexWriter;
Exceptions:
throws jdk.javadoc.internal.doclets.toolkit.util.DocFileIOException
MethodParameters:
Name Flags
configuration
protected void addIndex(jdk.javadoc.internal.doclets.toolkit.Content);
descriptor: (Ljdk/javadoc/internal/doclets/toolkit/Content;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=6, locals=8, args_size=2
start local 0 // jdk.javadoc.internal.doclets.formats.html.PackageIndexWriter this
start local 1 // jdk.javadoc.internal.doclets.toolkit.Content main
0: .line 89
aload 0 /* this */
getfield jdk.javadoc.internal.doclets.formats.html.PackageIndexWriter.configuration:Ljdk/javadoc/internal/doclets/formats/html/HtmlConfiguration;
getfield jdk.javadoc.internal.doclets.formats.html.HtmlConfiguration.group:Ljdk/javadoc/internal/doclets/toolkit/util/Group;
aload 0 /* this */
getfield jdk.javadoc.internal.doclets.formats.html.PackageIndexWriter.packages:Ljava/util/SortedSet;
invokevirtual jdk.javadoc.internal.doclets.toolkit.util.Group.groupPackages:(Ljava/util/Set;)Ljava/util/Map;
1: .line 88
astore 2 /* groupPackageMap */
start local 2 // java.util.Map groupPackageMap
2: .line 91
aload 2 /* groupPackageMap */
invokeinterface java.util.Map.keySet:()Ljava/util/Set;
invokeinterface java.util.Set.isEmpty:()Z
ifne 27
3: .line 92
new jdk.javadoc.internal.doclets.formats.html.Table
dup
getstatic jdk.javadoc.internal.doclets.formats.html.markup.HtmlStyle.summaryTable:Ljdk/javadoc/internal/doclets/formats/html/markup/HtmlStyle;
invokespecial jdk.javadoc.internal.doclets.formats.html.Table.<init>:(Ljdk/javadoc/internal/doclets/formats/html/markup/HtmlStyle;)V
4: .line 93
aload 0 /* this */
invokevirtual jdk.javadoc.internal.doclets.formats.html.PackageIndexWriter.getPackageTableHeader:()Ljdk/javadoc/internal/doclets/formats/html/TableHeader;
invokevirtual jdk.javadoc.internal.doclets.formats.html.Table.setHeader:(Ljdk/javadoc/internal/doclets/formats/html/TableHeader;)Ljdk/javadoc/internal/doclets/formats/html/Table;
iconst_2
anewarray jdk.javadoc.internal.doclets.formats.html.markup.HtmlStyle
dup
iconst_0
5: .line 94
getstatic jdk.javadoc.internal.doclets.formats.html.markup.HtmlStyle.colFirst:Ljdk/javadoc/internal/doclets/formats/html/markup/HtmlStyle;
aastore
dup
iconst_1
getstatic jdk.javadoc.internal.doclets.formats.html.markup.HtmlStyle.colLast:Ljdk/javadoc/internal/doclets/formats/html/markup/HtmlStyle;
aastore
invokevirtual jdk.javadoc.internal.doclets.formats.html.Table.setColumnStyles:([Ljdk/javadoc/internal/doclets/formats/html/markup/HtmlStyle;)Ljdk/javadoc/internal/doclets/formats/html/Table;
6: .line 95
getstatic jdk.javadoc.internal.doclets.formats.html.HtmlIds.ALL_PACKAGES_TABLE:Ljdk/javadoc/internal/doclets/formats/html/markup/HtmlId;
invokevirtual jdk.javadoc.internal.doclets.formats.html.Table.setId:(Ljdk/javadoc/internal/doclets/formats/html/markup/HtmlId;)Ljdk/javadoc/internal/doclets/formats/html/Table;
7: .line 96
aload 0 /* this */
getfield jdk.javadoc.internal.doclets.formats.html.PackageIndexWriter.resources:Ljdk/javadoc/internal/doclets/toolkit/Resources;
ldc "doclet.All_Packages"
invokevirtual jdk.javadoc.internal.doclets.toolkit.Resources.getText:(Ljava/lang/String;)Ljava/lang/String;
invokevirtual jdk.javadoc.internal.doclets.formats.html.Table.setDefaultTab:(Ljava/lang/String;)Ljdk/javadoc/internal/doclets/formats/html/Table;
8: .line 92
astore 3 /* table */
start local 3 // jdk.javadoc.internal.doclets.formats.html.Table table
9: .line 99
aload 0 /* this */
getfield jdk.javadoc.internal.doclets.formats.html.PackageIndexWriter.configuration:Ljdk/javadoc/internal/doclets/formats/html/HtmlConfiguration;
getfield jdk.javadoc.internal.doclets.formats.html.HtmlConfiguration.group:Ljdk/javadoc/internal/doclets/toolkit/util/Group;
invokevirtual jdk.javadoc.internal.doclets.toolkit.util.Group.getGroupList:()Ljava/util/List;
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 5
goto 14
StackMap locals: jdk.javadoc.internal.doclets.formats.html.PackageIndexWriter jdk.javadoc.internal.doclets.toolkit.Content java.util.Map jdk.javadoc.internal.doclets.formats.html.Table top java.util.Iterator
StackMap stack:
10: aload 5
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.lang.String
astore 4 /* groupName */
start local 4 // java.lang.String groupName
11: .line 100
aload 2 /* groupPackageMap */
aload 4 /* groupName */
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.util.Set
astore 6 /* groupPackages */
start local 6 // java.util.Set groupPackages
12: .line 101
aload 6 /* groupPackages */
ifnull 14
13: .line 102
aload 3 /* table */
aload 4 /* groupName */
aload 6 /* groupPackages */
dup
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
pop
invokedynamic test(Ljava/util/Set;)Ljava/util/function/Predicate;
Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
Method arguments:
(Ljava/lang/Object;)Z
java/util/Set.contains(Ljava/lang/Object;)Z (9 itf)
(Ljavax/lang/model/element/Element;)Z
invokevirtual jdk.javadoc.internal.doclets.formats.html.Table.addTab:(Ljava/lang/String;Ljava/util/function/Predicate;)Ljdk/javadoc/internal/doclets/formats/html/Table;
pop
end local 6 // java.util.Set groupPackages
end local 4 // java.lang.String groupName
14: .line 99
StackMap locals:
StackMap stack:
aload 5
invokeinterface java.util.Iterator.hasNext:()Z
ifne 10
15: .line 106
aload 0 /* this */
getfield jdk.javadoc.internal.doclets.formats.html.PackageIndexWriter.configuration:Ljdk/javadoc/internal/doclets/formats/html/HtmlConfiguration;
getfield jdk.javadoc.internal.doclets.formats.html.HtmlConfiguration.packages:Ljava/util/SortedSet;
invokeinterface java.util.SortedSet.iterator:()Ljava/util/Iterator;
astore 5
goto 23
StackMap locals:
StackMap stack:
16: aload 5
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast javax.lang.model.element.PackageElement
astore 4 /* pkg */
start local 4 // javax.lang.model.element.PackageElement pkg
17: .line 107
aload 4 /* pkg */
invokeinterface javax.lang.model.element.PackageElement.isUnnamed:()Z
ifne 23
18: .line 108
aload 0 /* this */
getfield jdk.javadoc.internal.doclets.formats.html.PackageIndexWriter.options:Ljdk/javadoc/internal/doclets/formats/html/HtmlOptions;
invokevirtual jdk.javadoc.internal.doclets.formats.html.HtmlOptions.noDeprecated:()Z
ifeq 19
aload 0 /* this */
getfield jdk.javadoc.internal.doclets.formats.html.PackageIndexWriter.utils:Ljdk/javadoc/internal/doclets/toolkit/util/Utils;
aload 4 /* pkg */
invokevirtual jdk.javadoc.internal.doclets.toolkit.util.Utils.isDeprecated:(Ljavax/lang/model/element/Element;)Z
ifne 23
19: .line 109
StackMap locals: jdk.javadoc.internal.doclets.formats.html.PackageIndexWriter jdk.javadoc.internal.doclets.toolkit.Content java.util.Map jdk.javadoc.internal.doclets.formats.html.Table javax.lang.model.element.PackageElement java.util.Iterator
StackMap stack:
aload 0 /* this */
aload 4 /* pkg */
aload 0 /* this */
aload 4 /* pkg */
invokevirtual jdk.javadoc.internal.doclets.formats.html.PackageIndexWriter.getLocalizedPackageName:(Ljavax/lang/model/element/PackageElement;)Ljdk/javadoc/internal/doclets/toolkit/Content;
invokevirtual jdk.javadoc.internal.doclets.formats.html.PackageIndexWriter.getPackageLink:(Ljavax/lang/model/element/PackageElement;Ljdk/javadoc/internal/doclets/toolkit/Content;)Ljdk/javadoc/internal/doclets/toolkit/Content;
astore 6 /* packageLinkContent */
start local 6 // jdk.javadoc.internal.doclets.toolkit.Content packageLinkContent
20: .line 110
new jdk.javadoc.internal.doclets.formats.html.markup.ContentBuilder
dup
invokespecial jdk.javadoc.internal.doclets.formats.html.markup.ContentBuilder.<init>:()V
astore 7 /* summaryContent */
start local 7 // jdk.javadoc.internal.doclets.toolkit.Content summaryContent
21: .line 111
aload 0 /* this */
aload 4 /* pkg */
aload 7 /* summaryContent */
invokevirtual jdk.javadoc.internal.doclets.formats.html.PackageIndexWriter.addSummaryComment:(Ljavax/lang/model/element/Element;Ljdk/javadoc/internal/doclets/toolkit/Content;)V
22: .line 112
aload 3 /* table */
aload 4 /* pkg */
iconst_2
anewarray jdk.javadoc.internal.doclets.toolkit.Content
dup
iconst_0
aload 6 /* packageLinkContent */
aastore
dup
iconst_1
aload 7 /* summaryContent */
aastore
invokevirtual jdk.javadoc.internal.doclets.formats.html.Table.addRow:(Ljavax/lang/model/element/Element;[Ljdk/javadoc/internal/doclets/toolkit/Content;)V
end local 7 // jdk.javadoc.internal.doclets.toolkit.Content summaryContent
end local 6 // jdk.javadoc.internal.doclets.toolkit.Content packageLinkContent
end local 4 // javax.lang.model.element.PackageElement pkg
23: .line 106
StackMap locals: jdk.javadoc.internal.doclets.formats.html.PackageIndexWriter jdk.javadoc.internal.doclets.toolkit.Content java.util.Map jdk.javadoc.internal.doclets.formats.html.Table top java.util.Iterator
StackMap stack:
aload 5
invokeinterface java.util.Iterator.hasNext:()Z
ifne 16
24: .line 117
aload 1 /* main */
aload 3 /* table */
invokevirtual jdk.javadoc.internal.doclets.toolkit.Content.add:(Ljdk/javadoc/internal/doclets/toolkit/Content;)Ljdk/javadoc/internal/doclets/toolkit/Content;
pop
25: .line 119
aload 3 /* table */
invokevirtual jdk.javadoc.internal.doclets.formats.html.Table.needsScript:()Z
ifeq 27
26: .line 120
aload 0 /* this */
invokevirtual jdk.javadoc.internal.doclets.formats.html.PackageIndexWriter.getMainBodyScript:()Ljdk/javadoc/internal/doclets/formats/html/markup/Script;
aload 3 /* table */
invokevirtual jdk.javadoc.internal.doclets.formats.html.Table.getScript:()Ljava/lang/String;
invokevirtual jdk.javadoc.internal.doclets.formats.html.markup.Script.append:(Ljava/lang/CharSequence;)Ljdk/javadoc/internal/doclets/formats/html/markup/Script;
pop
end local 3 // jdk.javadoc.internal.doclets.formats.html.Table table
27: .line 123
StackMap locals: jdk.javadoc.internal.doclets.formats.html.PackageIndexWriter jdk.javadoc.internal.doclets.toolkit.Content java.util.Map
StackMap stack:
return
end local 2 // java.util.Map groupPackageMap
end local 1 // jdk.javadoc.internal.doclets.toolkit.Content main
end local 0 // jdk.javadoc.internal.doclets.formats.html.PackageIndexWriter this
LocalVariableTable:
Start End Slot Name Signature
0 28 0 this Ljdk/javadoc/internal/doclets/formats/html/PackageIndexWriter;
0 28 1 main Ljdk/javadoc/internal/doclets/toolkit/Content;
2 28 2 groupPackageMap Ljava/util/Map<Ljava/lang/String;Ljava/util/SortedSet<Ljavax/lang/model/element/PackageElement;>;>;
9 27 3 table Ljdk/javadoc/internal/doclets/formats/html/Table;
11 14 4 groupName Ljava/lang/String;
12 14 6 groupPackages Ljava/util/Set<Ljavax/lang/model/element/PackageElement;>;
17 23 4 pkg Ljavax/lang/model/element/PackageElement;
20 23 6 packageLinkContent Ljdk/javadoc/internal/doclets/toolkit/Content;
21 23 7 summaryContent Ljdk/javadoc/internal/doclets/toolkit/Content;
MethodParameters:
Name Flags
main
}
SourceFile: "PackageIndexWriter.java"
InnerClasses:
public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles