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 start local 1 start local 2 0: aload 0
aload 1
aload 2
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: aload 0
aload 1
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: return
end local 2 end local 1 end local 0 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 0: getstatic jdk.javadoc.internal.doclets.toolkit.util.DocPaths.INDEX:Ljdk/javadoc/internal/doclets/toolkit/util/DocPath;
astore 1
start local 1 1: new jdk.javadoc.internal.doclets.formats.html.PackageIndexWriter
dup
aload 0
aload 1
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
start local 2 2: aload 2
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: return
end local 2 end local 1 end local 0 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 start local 1 0: aload 0
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
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: astore 2
start local 2 2: aload 2
invokeinterface java.util.Map.keySet:()Ljava/util/Set;
invokeinterface java.util.Set.isEmpty:()Z
ifne 29
3: new jdk.javadoc.internal.doclets.formats.html.markup.Table
dup
getstatic jdk.javadoc.internal.doclets.formats.html.markup.HtmlStyle.overviewSummary:Ljdk/javadoc/internal/doclets/formats/html/markup/HtmlStyle;
invokespecial jdk.javadoc.internal.doclets.formats.html.markup.Table.<init>:(Ljdk/javadoc/internal/doclets/formats/html/markup/HtmlStyle;)V
4: aload 0
invokevirtual jdk.javadoc.internal.doclets.formats.html.PackageIndexWriter.getPackageTableHeader:()Ljdk/javadoc/internal/doclets/formats/html/markup/TableHeader;
invokevirtual jdk.javadoc.internal.doclets.formats.html.markup.Table.setHeader:(Ljdk/javadoc/internal/doclets/formats/html/markup/TableHeader;)Ljdk/javadoc/internal/doclets/formats/html/markup/Table;
iconst_2
anewarray jdk.javadoc.internal.doclets.formats.html.markup.HtmlStyle
dup
iconst_0
5: 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.markup.Table.setColumnStyles:([Ljdk/javadoc/internal/doclets/formats/html/markup/HtmlStyle;)Ljdk/javadoc/internal/doclets/formats/html/markup/Table;
6: aload 0
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.markup.Table.setDefaultTab:(Ljava/lang/String;)Ljdk/javadoc/internal/doclets/formats/html/markup/Table;
7: invokedynamic apply()Ljava/util/function/IntFunction;
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:
(I)Ljava/lang/Object;
jdk/javadoc/internal/doclets/formats/html/PackageIndexWriter.lambda$0(I)Ljava/lang/String; (6)
(I)Ljava/lang/String;
invokevirtual jdk.javadoc.internal.doclets.formats.html.markup.Table.setTabScript:(Ljava/util/function/IntFunction;)Ljdk/javadoc/internal/doclets/formats/html/markup/Table;
8: invokedynamic apply()Ljava/util/function/Function;
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;)Ljava/lang/Object;
jdk/javadoc/internal/doclets/formats/html/PackageIndexWriter.lambda$1(Ljava/lang/Integer;)Ljava/lang/String; (6)
(Ljava/lang/Integer;)Ljava/lang/String;
invokevirtual jdk.javadoc.internal.doclets.formats.html.markup.Table.setTabId:(Ljava/util/function/Function;)Ljdk/javadoc/internal/doclets/formats/html/markup/Table;
9: astore 3
start local 3 10: aload 0
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 15
StackMap locals: jdk.javadoc.internal.doclets.formats.html.PackageIndexWriter jdk.javadoc.internal.doclets.toolkit.Content java.util.Map jdk.javadoc.internal.doclets.formats.html.markup.Table top java.util.Iterator
StackMap stack:
11: aload 5
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.lang.String
astore 4
start local 4 12: aload 2
aload 4
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.util.Set
astore 6
start local 6 13: aload 6
ifnull 15
14: aload 3
aload 4
aload 6
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.markup.Table.addTab:(Ljava/lang/String;Ljava/util/function/Predicate;)Ljdk/javadoc/internal/doclets/formats/html/markup/Table;
pop
end local 6 end local 4 15: StackMap locals:
StackMap stack:
aload 5
invokeinterface java.util.Iterator.hasNext:()Z
ifne 11
16: aload 0
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 24
StackMap locals:
StackMap stack:
17: aload 5
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast javax.lang.model.element.PackageElement
astore 4
start local 4 18: aload 4
invokeinterface javax.lang.model.element.PackageElement.isUnnamed:()Z
ifne 24
19: aload 0
getfield jdk.javadoc.internal.doclets.formats.html.PackageIndexWriter.configuration:Ljdk/javadoc/internal/doclets/formats/html/HtmlConfiguration;
getfield jdk.javadoc.internal.doclets.formats.html.HtmlConfiguration.nodeprecated:Z
ifeq 20
aload 0
getfield jdk.javadoc.internal.doclets.formats.html.PackageIndexWriter.utils:Ljdk/javadoc/internal/doclets/toolkit/util/Utils;
aload 4
invokevirtual jdk.javadoc.internal.doclets.toolkit.util.Utils.isDeprecated:(Ljavax/lang/model/element/Element;)Z
ifne 24
20: StackMap locals: jdk.javadoc.internal.doclets.formats.html.PackageIndexWriter jdk.javadoc.internal.doclets.toolkit.Content java.util.Map jdk.javadoc.internal.doclets.formats.html.markup.Table javax.lang.model.element.PackageElement java.util.Iterator
StackMap stack:
aload 0
aload 4
aload 0
aload 4
invokevirtual jdk.javadoc.internal.doclets.formats.html.PackageIndexWriter.getPackageName:(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
start local 6 21: new jdk.javadoc.internal.doclets.formats.html.markup.ContentBuilder
dup
invokespecial jdk.javadoc.internal.doclets.formats.html.markup.ContentBuilder.<init>:()V
astore 7
start local 7 22: aload 0
aload 4
aload 7
invokevirtual jdk.javadoc.internal.doclets.formats.html.PackageIndexWriter.addSummaryComment:(Ljavax/lang/model/element/Element;Ljdk/javadoc/internal/doclets/toolkit/Content;)V
23: aload 3
aload 4
iconst_2
anewarray jdk.javadoc.internal.doclets.toolkit.Content
dup
iconst_0
aload 6
aastore
dup
iconst_1
aload 7
aastore
invokevirtual jdk.javadoc.internal.doclets.formats.html.markup.Table.addRow:(Ljavax/lang/model/element/Element;[Ljdk/javadoc/internal/doclets/toolkit/Content;)V
end local 7 end local 6 end local 4 24: StackMap locals: jdk.javadoc.internal.doclets.formats.html.PackageIndexWriter jdk.javadoc.internal.doclets.toolkit.Content java.util.Map jdk.javadoc.internal.doclets.formats.html.markup.Table top java.util.Iterator
StackMap stack:
aload 5
invokeinterface java.util.Iterator.hasNext:()Z
ifne 17
25: getstatic jdk.javadoc.internal.doclets.formats.html.markup.HtmlStyle.contentContainer:Ljdk/javadoc/internal/doclets/formats/html/markup/HtmlStyle;
aload 3
invokevirtual jdk.javadoc.internal.doclets.formats.html.markup.Table.toContent:()Ljdk/javadoc/internal/doclets/toolkit/Content;
invokestatic jdk.javadoc.internal.doclets.formats.html.markup.HtmlTree.DIV:(Ljdk/javadoc/internal/doclets/formats/html/markup/HtmlStyle;Ljdk/javadoc/internal/doclets/toolkit/Content;)Ljdk/javadoc/internal/doclets/formats/html/markup/HtmlTree;
astore 4
start local 4 26: aload 1
aload 4
invokevirtual jdk.javadoc.internal.doclets.toolkit.Content.add:(Ljdk/javadoc/internal/doclets/toolkit/Content;)V
27: aload 3
invokevirtual jdk.javadoc.internal.doclets.formats.html.markup.Table.needsScript:()Z
ifeq 29
28: aload 0
invokevirtual jdk.javadoc.internal.doclets.formats.html.PackageIndexWriter.getMainBodyScript:()Ljdk/javadoc/internal/doclets/formats/html/markup/Script;
aload 3
invokevirtual jdk.javadoc.internal.doclets.formats.html.markup.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 end local 3 29: StackMap locals: jdk.javadoc.internal.doclets.formats.html.PackageIndexWriter jdk.javadoc.internal.doclets.toolkit.Content java.util.Map
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 30 0 this Ljdk/javadoc/internal/doclets/formats/html/PackageIndexWriter;
0 30 1 main Ljdk/javadoc/internal/doclets/toolkit/Content;
2 30 2 groupPackageMap Ljava/util/Map<Ljava/lang/String;Ljava/util/SortedSet<Ljavax/lang/model/element/PackageElement;>;>;
10 29 3 table Ljdk/javadoc/internal/doclets/formats/html/markup/Table;
12 15 4 groupName Ljava/lang/String;
13 15 6 groupPackages Ljava/util/Set<Ljavax/lang/model/element/PackageElement;>;
18 24 4 pkg Ljavax/lang/model/element/PackageElement;
21 24 6 packageLinkContent Ljdk/javadoc/internal/doclets/toolkit/Content;
22 24 7 summaryContent Ljdk/javadoc/internal/doclets/toolkit/Content;
26 29 4 div Ljdk/javadoc/internal/doclets/toolkit/Content;
MethodParameters:
Name Flags
main
private static java.lang.String lambda$0(int);
descriptor: (I)Ljava/lang/String;
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: new java.lang.StringBuilder
dup
ldc "show("
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
iload 0
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
ldc ");"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 i I
private static java.lang.String lambda$1(java.lang.Integer);
descriptor: (Ljava/lang/Integer;)Ljava/lang/String;
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=4, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual java.lang.Integer.intValue:()I
ifne 1
ldc "t0"
goto 2
StackMap locals:
StackMap stack:
1: new java.lang.StringBuilder
dup
ldc "t"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
iconst_1
aload 0
invokevirtual java.lang.Integer.intValue:()I
iconst_1
isub
ishl
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
StackMap locals:
StackMap stack: java.lang.String
2: areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 i Ljava/lang/Integer;
}
SourceFile: "PackageIndexWriter.java"
InnerClasses:
public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles