public class jdk.javadoc.internal.doclets.formats.html.ModuleIndexWriter 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.ModuleIndexWriter
super_class: jdk.javadoc.internal.doclets.formats.html.AbstractOverviewIndexWriter
{
protected java.util.SortedSet<javax.lang.model.element.ModuleElement> modules;
descriptor: Ljava/util/SortedSet;
flags: (0x0004) ACC_PROTECTED
Signature: Ljava/util/SortedSet<Ljavax/lang/model/element/ModuleElement;>;
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.ModuleIndexWriter 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 64
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 65
aload 0 /* this */
aload 1 /* configuration */
getfield jdk.javadoc.internal.doclets.formats.html.HtmlConfiguration.modules:Ljava/util/SortedSet;
putfield jdk.javadoc.internal.doclets.formats.html.ModuleIndexWriter.modules:Ljava/util/SortedSet;
2: .line 66
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.ModuleIndexWriter this
LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljdk/javadoc/internal/doclets/formats/html/ModuleIndexWriter;
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 75
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 76
new jdk.javadoc.internal.doclets.formats.html.ModuleIndexWriter
dup
aload 0 /* configuration */
aload 1 /* filename */
invokespecial jdk.javadoc.internal.doclets.formats.html.ModuleIndexWriter.<init>:(Ljdk/javadoc/internal/doclets/formats/html/HtmlConfiguration;Ljdk/javadoc/internal/doclets/toolkit/util/DocPath;)V
astore 2 /* mdlgen */
start local 2 // jdk.javadoc.internal.doclets.formats.html.ModuleIndexWriter mdlgen
2: .line 77
aload 2 /* mdlgen */
ldc "doclet.Window_Overview_Summary"
ldc "module index"
invokevirtual jdk.javadoc.internal.doclets.formats.html.ModuleIndexWriter.buildOverviewIndexFile:(Ljava/lang/String;Ljava/lang/String;)V
3: .line 78
return
end local 2 // jdk.javadoc.internal.doclets.formats.html.ModuleIndexWriter mdlgen
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 mdlgen Ljdk/javadoc/internal/doclets/formats/html/ModuleIndexWriter;
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=9, args_size=2
start local 0 // jdk.javadoc.internal.doclets.formats.html.ModuleIndexWriter this
start local 1 // jdk.javadoc.internal.doclets.toolkit.Content main
0: .line 88
aload 0 /* this */
getfield jdk.javadoc.internal.doclets.formats.html.ModuleIndexWriter.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.ModuleIndexWriter.modules:Ljava/util/SortedSet;
invokevirtual jdk.javadoc.internal.doclets.toolkit.util.Group.groupModules:(Ljava/util/Set;)Ljava/util/Map;
1: .line 87
astore 2 /* groupModuleMap */
start local 2 // java.util.Map groupModuleMap
2: .line 90
aload 2 /* groupModuleMap */
invokeinterface java.util.Map.keySet:()Ljava/util/Set;
invokeinterface java.util.Set.isEmpty:()Z
ifne 29
3: .line 91
new jdk.javadoc.internal.doclets.formats.html.TableHeader
dup
iconst_2
anewarray jdk.javadoc.internal.doclets.toolkit.Content
dup
iconst_0
aload 0 /* this */
getfield jdk.javadoc.internal.doclets.formats.html.ModuleIndexWriter.contents:Ljdk/javadoc/internal/doclets/formats/html/Contents;
getfield jdk.javadoc.internal.doclets.formats.html.Contents.moduleLabel:Ljdk/javadoc/internal/doclets/toolkit/Content;
aastore
dup
iconst_1
aload 0 /* this */
getfield jdk.javadoc.internal.doclets.formats.html.ModuleIndexWriter.contents:Ljdk/javadoc/internal/doclets/formats/html/Contents;
getfield jdk.javadoc.internal.doclets.formats.html.Contents.descriptionLabel:Ljdk/javadoc/internal/doclets/toolkit/Content;
aastore
invokespecial jdk.javadoc.internal.doclets.formats.html.TableHeader.<init>:([Ljdk/javadoc/internal/doclets/toolkit/Content;)V
astore 3 /* tableHeader */
start local 3 // jdk.javadoc.internal.doclets.formats.html.TableHeader tableHeader
4: .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
5: .line 93
aload 3 /* 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
6: .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;
7: .line 95
getstatic jdk.javadoc.internal.doclets.formats.html.HtmlIds.ALL_MODULES_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;
8: .line 96
aload 0 /* this */
getfield jdk.javadoc.internal.doclets.formats.html.ModuleIndexWriter.resources:Ljdk/javadoc/internal/doclets/toolkit/Resources;
ldc "doclet.All_Modules"
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;
9: .line 92
astore 4 /* table */
start local 4 // jdk.javadoc.internal.doclets.formats.html.Table table
10: .line 99
aload 0 /* this */
getfield jdk.javadoc.internal.doclets.formats.html.ModuleIndexWriter.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 6
goto 15
StackMap locals: jdk.javadoc.internal.doclets.formats.html.ModuleIndexWriter jdk.javadoc.internal.doclets.toolkit.Content java.util.Map jdk.javadoc.internal.doclets.formats.html.TableHeader jdk.javadoc.internal.doclets.formats.html.Table top java.util.Iterator
StackMap stack:
11: aload 6
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.lang.String
astore 5 /* groupName */
start local 5 // java.lang.String groupName
12: .line 100
aload 2 /* groupModuleMap */
aload 5 /* groupName */
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.util.Set
astore 7 /* groupModules */
start local 7 // java.util.Set groupModules
13: .line 101
aload 7 /* groupModules */
ifnull 15
14: .line 102
aload 4 /* table */
aload 5 /* groupName */
aload 7 /* groupModules */
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 7 // java.util.Set groupModules
end local 5 // java.lang.String groupName
15: .line 99
StackMap locals:
StackMap stack:
aload 6
invokeinterface java.util.Iterator.hasNext:()Z
ifne 11
16: .line 106
aload 0 /* this */
getfield jdk.javadoc.internal.doclets.formats.html.ModuleIndexWriter.modules:Ljava/util/SortedSet;
invokeinterface java.util.SortedSet.iterator:()Ljava/util/Iterator;
astore 6
goto 25
StackMap locals:
StackMap stack:
17: aload 6
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast javax.lang.model.element.ModuleElement
astore 5 /* mdle */
start local 5 // javax.lang.model.element.ModuleElement mdle
18: .line 107
aload 5 /* mdle */
invokeinterface javax.lang.model.element.ModuleElement.isUnnamed:()Z
ifne 25
19: .line 108
aload 0 /* this */
getfield jdk.javadoc.internal.doclets.formats.html.ModuleIndexWriter.options:Ljdk/javadoc/internal/doclets/formats/html/HtmlOptions;
invokevirtual jdk.javadoc.internal.doclets.formats.html.HtmlOptions.noDeprecated:()Z
ifeq 20
aload 0 /* this */
getfield jdk.javadoc.internal.doclets.formats.html.ModuleIndexWriter.utils:Ljdk/javadoc/internal/doclets/toolkit/util/Utils;
aload 5 /* mdle */
invokevirtual jdk.javadoc.internal.doclets.toolkit.util.Utils.isDeprecated:(Ljavax/lang/model/element/Element;)Z
ifne 25
20: .line 109
StackMap locals: jdk.javadoc.internal.doclets.formats.html.ModuleIndexWriter jdk.javadoc.internal.doclets.toolkit.Content java.util.Map jdk.javadoc.internal.doclets.formats.html.TableHeader jdk.javadoc.internal.doclets.formats.html.Table javax.lang.model.element.ModuleElement java.util.Iterator
StackMap stack:
aload 0 /* this */
aload 5 /* mdle */
aload 5 /* mdle */
invokeinterface javax.lang.model.element.ModuleElement.getQualifiedName:()Ljavax/lang/model/element/Name;
invokeinterface javax.lang.model.element.Name.toString:()Ljava/lang/String;
invokestatic jdk.javadoc.internal.doclets.formats.html.markup.Text.of:(Ljava/lang/CharSequence;)Ljdk/javadoc/internal/doclets/formats/html/markup/Text;
invokevirtual jdk.javadoc.internal.doclets.formats.html.ModuleIndexWriter.getModuleLink:(Ljavax/lang/model/element/ModuleElement;Ljdk/javadoc/internal/doclets/toolkit/Content;)Ljdk/javadoc/internal/doclets/toolkit/Content;
astore 7 /* moduleLinkContent */
start local 7 // jdk.javadoc.internal.doclets.toolkit.Content moduleLinkContent
21: .line 110
new jdk.javadoc.internal.doclets.formats.html.markup.ContentBuilder
dup
invokespecial jdk.javadoc.internal.doclets.formats.html.markup.ContentBuilder.<init>:()V
astore 8 /* summaryContent */
start local 8 // jdk.javadoc.internal.doclets.toolkit.Content summaryContent
22: .line 111
aload 0 /* this */
aload 5 /* mdle */
aload 8 /* summaryContent */
invokevirtual jdk.javadoc.internal.doclets.formats.html.ModuleIndexWriter.addPreviewSummary:(Ljavax/lang/model/element/Element;Ljdk/javadoc/internal/doclets/toolkit/Content;)V
23: .line 112
aload 0 /* this */
aload 5 /* mdle */
aload 8 /* summaryContent */
invokevirtual jdk.javadoc.internal.doclets.formats.html.ModuleIndexWriter.addSummaryComment:(Ljavax/lang/model/element/Element;Ljdk/javadoc/internal/doclets/toolkit/Content;)V
24: .line 113
aload 4 /* table */
aload 5 /* mdle */
iconst_2
anewarray jdk.javadoc.internal.doclets.toolkit.Content
dup
iconst_0
aload 7 /* moduleLinkContent */
aastore
dup
iconst_1
aload 8 /* 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 8 // jdk.javadoc.internal.doclets.toolkit.Content summaryContent
end local 7 // jdk.javadoc.internal.doclets.toolkit.Content moduleLinkContent
end local 5 // javax.lang.model.element.ModuleElement mdle
25: .line 106
StackMap locals: jdk.javadoc.internal.doclets.formats.html.ModuleIndexWriter jdk.javadoc.internal.doclets.toolkit.Content java.util.Map jdk.javadoc.internal.doclets.formats.html.TableHeader jdk.javadoc.internal.doclets.formats.html.Table top java.util.Iterator
StackMap stack:
aload 6
invokeinterface java.util.Iterator.hasNext:()Z
ifne 17
26: .line 118
aload 1 /* main */
aload 4 /* table */
invokevirtual jdk.javadoc.internal.doclets.toolkit.Content.add:(Ljdk/javadoc/internal/doclets/toolkit/Content;)Ljdk/javadoc/internal/doclets/toolkit/Content;
pop
27: .line 120
aload 4 /* table */
invokevirtual jdk.javadoc.internal.doclets.formats.html.Table.needsScript:()Z
ifeq 29
28: .line 121
aload 0 /* this */
getfield jdk.javadoc.internal.doclets.formats.html.ModuleIndexWriter.mainBodyScript:Ljdk/javadoc/internal/doclets/formats/html/markup/Script;
aload 4 /* 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 4 // jdk.javadoc.internal.doclets.formats.html.Table table
end local 3 // jdk.javadoc.internal.doclets.formats.html.TableHeader tableHeader
29: .line 124
StackMap locals: jdk.javadoc.internal.doclets.formats.html.ModuleIndexWriter jdk.javadoc.internal.doclets.toolkit.Content java.util.Map
StackMap stack:
return
end local 2 // java.util.Map groupModuleMap
end local 1 // jdk.javadoc.internal.doclets.toolkit.Content main
end local 0 // jdk.javadoc.internal.doclets.formats.html.ModuleIndexWriter this
LocalVariableTable:
Start End Slot Name Signature
0 30 0 this Ljdk/javadoc/internal/doclets/formats/html/ModuleIndexWriter;
0 30 1 main Ljdk/javadoc/internal/doclets/toolkit/Content;
2 30 2 groupModuleMap Ljava/util/Map<Ljava/lang/String;Ljava/util/SortedSet<Ljavax/lang/model/element/ModuleElement;>;>;
4 29 3 tableHeader Ljdk/javadoc/internal/doclets/formats/html/TableHeader;
10 29 4 table Ljdk/javadoc/internal/doclets/formats/html/Table;
12 15 5 groupName Ljava/lang/String;
13 15 7 groupModules Ljava/util/Set<Ljavax/lang/model/element/ModuleElement;>;
18 25 5 mdle Ljavax/lang/model/element/ModuleElement;
21 25 7 moduleLinkContent Ljdk/javadoc/internal/doclets/toolkit/Content;
22 25 8 summaryContent Ljdk/javadoc/internal/doclets/toolkit/Content;
MethodParameters:
Name Flags
main
}
SourceFile: "ModuleIndexWriter.java"
InnerClasses:
public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles