public class jdk.javadoc.internal.doclets.formats.html.SingleIndexWriter extends jdk.javadoc.internal.doclets.formats.html.AbstractIndexWriter
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: jdk.javadoc.internal.doclets.formats.html.SingleIndexWriter
super_class: jdk.javadoc.internal.doclets.formats.html.AbstractIndexWriter
{
private java.util.Set<java.lang.Character> elements;
descriptor: Ljava/util/Set;
flags: (0x0002) ACC_PRIVATE
Signature: Ljava/util/Set<Ljava/lang/Character;>;
public void <init>(jdk.javadoc.internal.doclets.formats.html.HtmlConfiguration, jdk.javadoc.internal.doclets.toolkit.util.DocPath, jdk.javadoc.internal.doclets.toolkit.util.IndexBuilder);
descriptor: (Ljdk/javadoc/internal/doclets/formats/html/HtmlConfiguration;Ljdk/javadoc/internal/doclets/toolkit/util/DocPath;Ljdk/javadoc/internal/doclets/toolkit/util/IndexBuilder;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
aload 1
aload 2
aload 3
invokespecial jdk.javadoc.internal.doclets.formats.html.AbstractIndexWriter.<init>:(Ljdk/javadoc/internal/doclets/formats/html/HtmlConfiguration;Ljdk/javadoc/internal/doclets/toolkit/util/DocPath;Ljdk/javadoc/internal/doclets/toolkit/util/IndexBuilder;)V
1: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljdk/javadoc/internal/doclets/formats/html/SingleIndexWriter;
0 2 1 configuration Ljdk/javadoc/internal/doclets/formats/html/HtmlConfiguration;
0 2 2 filename Ljdk/javadoc/internal/doclets/toolkit/util/DocPath;
0 2 3 indexbuilder Ljdk/javadoc/internal/doclets/toolkit/util/IndexBuilder;
MethodParameters:
Name Flags
configuration
filename
indexbuilder
public static void generate(jdk.javadoc.internal.doclets.formats.html.HtmlConfiguration, jdk.javadoc.internal.doclets.toolkit.util.IndexBuilder);
descriptor: (Ljdk/javadoc/internal/doclets/formats/html/HtmlConfiguration;Ljdk/javadoc/internal/doclets/toolkit/util/IndexBuilder;)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=4, args_size=2
start local 0 start local 1 0: getstatic jdk.javadoc.internal.doclets.toolkit.util.DocPaths.INDEX_ALL:Ljdk/javadoc/internal/doclets/toolkit/util/DocPath;
astore 2
start local 2 1: new jdk.javadoc.internal.doclets.formats.html.SingleIndexWriter
dup
aload 0
2: aload 2
aload 1
3: invokespecial jdk.javadoc.internal.doclets.formats.html.SingleIndexWriter.<init>:(Ljdk/javadoc/internal/doclets/formats/html/HtmlConfiguration;Ljdk/javadoc/internal/doclets/toolkit/util/DocPath;Ljdk/javadoc/internal/doclets/toolkit/util/IndexBuilder;)V
astore 3
start local 3 4: aload 3
invokevirtual jdk.javadoc.internal.doclets.formats.html.SingleIndexWriter.generateIndexFile:()V
5: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 configuration Ljdk/javadoc/internal/doclets/formats/html/HtmlConfiguration;
0 6 1 indexbuilder Ljdk/javadoc/internal/doclets/toolkit/util/IndexBuilder;
1 6 2 filename Ljdk/javadoc/internal/doclets/toolkit/util/DocPath;
4 6 3 indexgen Ljdk/javadoc/internal/doclets/formats/html/SingleIndexWriter;
Exceptions:
throws jdk.javadoc.internal.doclets.toolkit.util.DocFileIOException
MethodParameters:
Name Flags
configuration
indexbuilder
protected void generateIndexFile();
descriptor: ()V
flags: (0x0004) ACC_PROTECTED
Code:
stack=5, locals=7, args_size=1
start local 0 0: aload 0
getfield jdk.javadoc.internal.doclets.formats.html.SingleIndexWriter.configuration:Ljdk/javadoc/internal/doclets/formats/html/HtmlConfiguration;
ldc "doclet.Window_Single_Index"
invokevirtual jdk.javadoc.internal.doclets.formats.html.HtmlConfiguration.getText:(Ljava/lang/String;)Ljava/lang/String;
astore 1
start local 1 1: aload 0
iconst_1
aload 0
aload 1
invokevirtual jdk.javadoc.internal.doclets.formats.html.SingleIndexWriter.getWindowTitle:(Ljava/lang/String;)Ljava/lang/String;
invokevirtual jdk.javadoc.internal.doclets.formats.html.SingleIndexWriter.getBody:(ZLjava/lang/String;)Ljdk/javadoc/internal/doclets/formats/html/markup/HtmlTree;
astore 2
start local 2 2: aload 0
getfield jdk.javadoc.internal.doclets.formats.html.SingleIndexWriter.configuration:Ljdk/javadoc/internal/doclets/formats/html/HtmlConfiguration;
getstatic jdk.javadoc.internal.doclets.formats.html.markup.HtmlTag.HEADER:Ljdk/javadoc/internal/doclets/formats/html/markup/HtmlTag;
invokevirtual jdk.javadoc.internal.doclets.formats.html.HtmlConfiguration.allowTag:(Ljdk/javadoc/internal/doclets/formats/html/markup/HtmlTag;)Z
ifeq 4
3: invokestatic jdk.javadoc.internal.doclets.formats.html.markup.HtmlTree.HEADER:()Ljdk/javadoc/internal/doclets/formats/html/markup/HtmlTree;
goto 5
4: StackMap locals: java.lang.String jdk.javadoc.internal.doclets.formats.html.markup.HtmlTree
StackMap stack:
aload 2
5: StackMap locals:
StackMap stack: jdk.javadoc.internal.doclets.formats.html.markup.HtmlTree
astore 3
start local 3 6: aload 0
aload 3
invokevirtual jdk.javadoc.internal.doclets.formats.html.SingleIndexWriter.addTop:(Ljdk/javadoc/internal/doclets/toolkit/Content;)V
7: aload 0
iconst_1
aload 3
invokevirtual jdk.javadoc.internal.doclets.formats.html.SingleIndexWriter.addNavLinks:(ZLjdk/javadoc/internal/doclets/toolkit/Content;)V
8: aload 0
getfield jdk.javadoc.internal.doclets.formats.html.SingleIndexWriter.configuration:Ljdk/javadoc/internal/doclets/formats/html/HtmlConfiguration;
getstatic jdk.javadoc.internal.doclets.formats.html.markup.HtmlTag.HEADER:Ljdk/javadoc/internal/doclets/formats/html/markup/HtmlTag;
invokevirtual jdk.javadoc.internal.doclets.formats.html.HtmlConfiguration.allowTag:(Ljdk/javadoc/internal/doclets/formats/html/markup/HtmlTag;)Z
ifeq 10
9: aload 2
aload 3
invokevirtual jdk.javadoc.internal.doclets.formats.html.markup.HtmlTree.addContent:(Ljdk/javadoc/internal/doclets/toolkit/Content;)V
10: StackMap locals: jdk.javadoc.internal.doclets.formats.html.markup.HtmlTree
StackMap stack:
new jdk.javadoc.internal.doclets.formats.html.markup.HtmlTree
dup
getstatic jdk.javadoc.internal.doclets.formats.html.markup.HtmlTag.DIV:Ljdk/javadoc/internal/doclets/formats/html/markup/HtmlTag;
invokespecial jdk.javadoc.internal.doclets.formats.html.markup.HtmlTree.<init>:(Ljdk/javadoc/internal/doclets/formats/html/markup/HtmlTag;)V
astore 4
start local 4 11: aload 4
getstatic jdk.javadoc.internal.doclets.formats.html.markup.HtmlStyle.contentContainer:Ljdk/javadoc/internal/doclets/formats/html/markup/HtmlStyle;
invokevirtual jdk.javadoc.internal.doclets.formats.html.markup.HtmlTree.setStyle:(Ljdk/javadoc/internal/doclets/formats/html/markup/HtmlStyle;)Ljdk/javadoc/internal/doclets/formats/html/markup/HtmlTree;
pop
12: aload 0
new java.util.TreeSet
dup
aload 0
getfield jdk.javadoc.internal.doclets.formats.html.SingleIndexWriter.indexbuilder:Ljdk/javadoc/internal/doclets/toolkit/util/IndexBuilder;
invokevirtual jdk.javadoc.internal.doclets.toolkit.util.IndexBuilder.getIndexMap:()Ljava/util/Map;
invokeinterface java.util.Map.keySet:()Ljava/util/Set;
invokespecial java.util.TreeSet.<init>:(Ljava/util/Collection;)V
putfield jdk.javadoc.internal.doclets.formats.html.SingleIndexWriter.elements:Ljava/util/Set;
13: aload 0
getfield jdk.javadoc.internal.doclets.formats.html.SingleIndexWriter.elements:Ljava/util/Set;
aload 0
getfield jdk.javadoc.internal.doclets.formats.html.SingleIndexWriter.configuration:Ljdk/javadoc/internal/doclets/formats/html/HtmlConfiguration;
getfield jdk.javadoc.internal.doclets.formats.html.HtmlConfiguration.tagSearchIndexKeys:Ljava/util/Set;
invokeinterface java.util.Set.addAll:(Ljava/util/Collection;)Z
pop
14: aload 0
aload 4
invokevirtual jdk.javadoc.internal.doclets.formats.html.SingleIndexWriter.addLinksForIndexes:(Ljdk/javadoc/internal/doclets/toolkit/Content;)V
15: aload 0
getfield jdk.javadoc.internal.doclets.formats.html.SingleIndexWriter.elements:Ljava/util/Set;
invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
astore 6
goto 26
StackMap locals: jdk.javadoc.internal.doclets.formats.html.SingleIndexWriter java.lang.String jdk.javadoc.internal.doclets.formats.html.markup.HtmlTree jdk.javadoc.internal.doclets.formats.html.markup.HtmlTree jdk.javadoc.internal.doclets.formats.html.markup.HtmlTree top java.util.Iterator
StackMap stack:
16: aload 6
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.lang.Character
astore 5
start local 5 17: aload 0
getfield jdk.javadoc.internal.doclets.formats.html.SingleIndexWriter.configuration:Ljdk/javadoc/internal/doclets/formats/html/HtmlConfiguration;
getfield jdk.javadoc.internal.doclets.formats.html.HtmlConfiguration.tagSearchIndexMap:Ljava/util/Map;
aload 5
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
ifnonnull 20
18: aload 0
aload 5
aload 0
getfield jdk.javadoc.internal.doclets.formats.html.SingleIndexWriter.indexbuilder:Ljdk/javadoc/internal/doclets/toolkit/util/IndexBuilder;
aload 5
invokevirtual jdk.javadoc.internal.doclets.toolkit.util.IndexBuilder.getMemberList:(Ljava/lang/Character;)Ljava/util/List;
aload 4
invokevirtual jdk.javadoc.internal.doclets.formats.html.SingleIndexWriter.addContents:(Ljava/lang/Character;Ljava/util/Collection;Ljdk/javadoc/internal/doclets/toolkit/Content;)V
19: goto 26
StackMap locals: jdk.javadoc.internal.doclets.formats.html.SingleIndexWriter java.lang.String jdk.javadoc.internal.doclets.formats.html.markup.HtmlTree jdk.javadoc.internal.doclets.formats.html.markup.HtmlTree jdk.javadoc.internal.doclets.formats.html.markup.HtmlTree java.lang.Character java.util.Iterator
StackMap stack:
20: aload 0
getfield jdk.javadoc.internal.doclets.formats.html.SingleIndexWriter.indexbuilder:Ljdk/javadoc/internal/doclets/toolkit/util/IndexBuilder;
aload 5
invokevirtual jdk.javadoc.internal.doclets.toolkit.util.IndexBuilder.getMemberList:(Ljava/lang/Character;)Ljava/util/List;
ifnonnull 23
21: aload 0
aload 5
aload 0
getfield jdk.javadoc.internal.doclets.formats.html.SingleIndexWriter.configuration:Ljdk/javadoc/internal/doclets/formats/html/HtmlConfiguration;
getfield jdk.javadoc.internal.doclets.formats.html.HtmlConfiguration.tagSearchIndexMap:Ljava/util/Map;
aload 5
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.util.List
aload 4
invokevirtual jdk.javadoc.internal.doclets.formats.html.SingleIndexWriter.addSearchContents:(Ljava/lang/Character;Ljava/util/List;Ljdk/javadoc/internal/doclets/toolkit/Content;)V
22: goto 26
23: StackMap locals:
StackMap stack:
aload 0
aload 5
aload 0
getfield jdk.javadoc.internal.doclets.formats.html.SingleIndexWriter.indexbuilder:Ljdk/javadoc/internal/doclets/toolkit/util/IndexBuilder;
aload 5
invokevirtual jdk.javadoc.internal.doclets.toolkit.util.IndexBuilder.getMemberList:(Ljava/lang/Character;)Ljava/util/List;
24: aload 0
getfield jdk.javadoc.internal.doclets.formats.html.SingleIndexWriter.configuration:Ljdk/javadoc/internal/doclets/formats/html/HtmlConfiguration;
getfield jdk.javadoc.internal.doclets.formats.html.HtmlConfiguration.tagSearchIndexMap:Ljava/util/Map;
aload 5
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.util.List
aload 4
25: invokevirtual jdk.javadoc.internal.doclets.formats.html.SingleIndexWriter.addContents:(Ljava/lang/Character;Ljava/util/List;Ljava/util/List;Ljdk/javadoc/internal/doclets/toolkit/Content;)V
end local 5 26: StackMap locals: jdk.javadoc.internal.doclets.formats.html.SingleIndexWriter java.lang.String jdk.javadoc.internal.doclets.formats.html.markup.HtmlTree jdk.javadoc.internal.doclets.formats.html.markup.HtmlTree jdk.javadoc.internal.doclets.formats.html.markup.HtmlTree top java.util.Iterator
StackMap stack:
aload 6
invokeinterface java.util.Iterator.hasNext:()Z
ifne 16
27: aload 0
aload 4
invokevirtual jdk.javadoc.internal.doclets.formats.html.SingleIndexWriter.addLinksForIndexes:(Ljdk/javadoc/internal/doclets/toolkit/Content;)V
28: aload 2
aload 0
getfield jdk.javadoc.internal.doclets.formats.html.SingleIndexWriter.configuration:Ljdk/javadoc/internal/doclets/formats/html/HtmlConfiguration;
getstatic jdk.javadoc.internal.doclets.formats.html.markup.HtmlTag.MAIN:Ljdk/javadoc/internal/doclets/formats/html/markup/HtmlTag;
invokevirtual jdk.javadoc.internal.doclets.formats.html.HtmlConfiguration.allowTag:(Ljdk/javadoc/internal/doclets/formats/html/markup/HtmlTag;)Z
ifeq 30
29: aload 4
invokestatic jdk.javadoc.internal.doclets.formats.html.markup.HtmlTree.MAIN:(Ljdk/javadoc/internal/doclets/toolkit/Content;)Ljdk/javadoc/internal/doclets/formats/html/markup/HtmlTree;
goto 31
30: StackMap locals: jdk.javadoc.internal.doclets.formats.html.SingleIndexWriter java.lang.String jdk.javadoc.internal.doclets.formats.html.markup.HtmlTree jdk.javadoc.internal.doclets.formats.html.markup.HtmlTree jdk.javadoc.internal.doclets.formats.html.markup.HtmlTree
StackMap stack: jdk.javadoc.internal.doclets.formats.html.markup.HtmlTree
aload 4
31: StackMap locals: jdk.javadoc.internal.doclets.formats.html.SingleIndexWriter java.lang.String jdk.javadoc.internal.doclets.formats.html.markup.HtmlTree jdk.javadoc.internal.doclets.formats.html.markup.HtmlTree jdk.javadoc.internal.doclets.formats.html.markup.HtmlTree
StackMap stack: jdk.javadoc.internal.doclets.formats.html.markup.HtmlTree jdk.javadoc.internal.doclets.formats.html.markup.HtmlTree
invokevirtual jdk.javadoc.internal.doclets.formats.html.markup.HtmlTree.addContent:(Ljdk/javadoc/internal/doclets/toolkit/Content;)V
32: aload 0
getfield jdk.javadoc.internal.doclets.formats.html.SingleIndexWriter.configuration:Ljdk/javadoc/internal/doclets/formats/html/HtmlConfiguration;
getstatic jdk.javadoc.internal.doclets.formats.html.markup.HtmlTag.FOOTER:Ljdk/javadoc/internal/doclets/formats/html/markup/HtmlTag;
invokevirtual jdk.javadoc.internal.doclets.formats.html.HtmlConfiguration.allowTag:(Ljdk/javadoc/internal/doclets/formats/html/markup/HtmlTag;)Z
ifeq 34
33: invokestatic jdk.javadoc.internal.doclets.formats.html.markup.HtmlTree.FOOTER:()Ljdk/javadoc/internal/doclets/formats/html/markup/HtmlTree;
astore 3
34: StackMap locals:
StackMap stack:
aload 0
iconst_0
aload 3
invokevirtual jdk.javadoc.internal.doclets.formats.html.SingleIndexWriter.addNavLinks:(ZLjdk/javadoc/internal/doclets/toolkit/Content;)V
35: aload 0
aload 3
invokevirtual jdk.javadoc.internal.doclets.formats.html.SingleIndexWriter.addBottom:(Ljdk/javadoc/internal/doclets/toolkit/Content;)V
36: aload 0
getfield jdk.javadoc.internal.doclets.formats.html.SingleIndexWriter.configuration:Ljdk/javadoc/internal/doclets/formats/html/HtmlConfiguration;
getstatic jdk.javadoc.internal.doclets.formats.html.markup.HtmlTag.FOOTER:Ljdk/javadoc/internal/doclets/formats/html/markup/HtmlTag;
invokevirtual jdk.javadoc.internal.doclets.formats.html.HtmlConfiguration.allowTag:(Ljdk/javadoc/internal/doclets/formats/html/markup/HtmlTag;)Z
ifeq 38
37: aload 2
aload 3
invokevirtual jdk.javadoc.internal.doclets.formats.html.markup.HtmlTree.addContent:(Ljdk/javadoc/internal/doclets/toolkit/Content;)V
38: StackMap locals:
StackMap stack:
aload 0
invokevirtual jdk.javadoc.internal.doclets.formats.html.SingleIndexWriter.createSearchIndexFiles:()V
39: aload 0
aconst_null
iconst_1
aload 2
invokevirtual jdk.javadoc.internal.doclets.formats.html.SingleIndexWriter.printHtmlDocument:(Ljava/util/List;ZLjdk/javadoc/internal/doclets/toolkit/Content;)V
40: return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 41 0 this Ljdk/javadoc/internal/doclets/formats/html/SingleIndexWriter;
1 41 1 title Ljava/lang/String;
2 41 2 body Ljdk/javadoc/internal/doclets/formats/html/markup/HtmlTree;
6 41 3 htmlTree Ljdk/javadoc/internal/doclets/formats/html/markup/HtmlTree;
11 41 4 divTree Ljdk/javadoc/internal/doclets/formats/html/markup/HtmlTree;
17 26 5 unicode Ljava/lang/Character;
Exceptions:
throws jdk.javadoc.internal.doclets.toolkit.util.DocFileIOException
protected void addLinksForIndexes(jdk.javadoc.internal.doclets.toolkit.Content);
descriptor: (Ljdk/javadoc/internal/doclets/toolkit/Content;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=6, locals=5, args_size=2
start local 0 start local 1 0: aload 0
getfield jdk.javadoc.internal.doclets.formats.html.SingleIndexWriter.elements:Ljava/util/Set;
invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
astore 3
goto 9
StackMap locals: jdk.javadoc.internal.doclets.formats.html.SingleIndexWriter jdk.javadoc.internal.doclets.toolkit.Content top java.util.Iterator
StackMap stack:
1: aload 3
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
astore 2
start local 2 2: aload 2
invokevirtual java.lang.Object.toString:()Ljava/lang/String;
astore 4
start local 4 3: aload 1
4: aload 0
getfield jdk.javadoc.internal.doclets.formats.html.SingleIndexWriter.links:Ljdk/javadoc/internal/doclets/formats/html/markup/Links;
aload 0
aload 4
invokevirtual jdk.javadoc.internal.doclets.formats.html.SingleIndexWriter.getNameForIndex:(Ljava/lang/String;)Ljava/lang/String;
5: new jdk.javadoc.internal.doclets.formats.html.markup.StringContent
dup
aload 4
invokespecial jdk.javadoc.internal.doclets.formats.html.markup.StringContent.<init>:(Ljava/lang/CharSequence;)V
6: invokevirtual jdk.javadoc.internal.doclets.formats.html.markup.Links.createLink:(Ljava/lang/String;Ljdk/javadoc/internal/doclets/toolkit/Content;)Ljdk/javadoc/internal/doclets/toolkit/Content;
7: invokevirtual jdk.javadoc.internal.doclets.toolkit.Content.addContent:(Ljdk/javadoc/internal/doclets/toolkit/Content;)V
8: aload 1
getstatic jdk.javadoc.internal.doclets.formats.html.Contents.SPACE:Ljdk/javadoc/internal/doclets/toolkit/Content;
invokevirtual jdk.javadoc.internal.doclets.toolkit.Content.addContent:(Ljdk/javadoc/internal/doclets/toolkit/Content;)V
end local 4 end local 2 9: StackMap locals:
StackMap stack:
aload 3
invokeinterface java.util.Iterator.hasNext:()Z
ifne 1
10: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Ljdk/javadoc/internal/doclets/formats/html/SingleIndexWriter;
0 11 1 contentTree Ljdk/javadoc/internal/doclets/toolkit/Content;
2 9 2 ch Ljava/lang/Object;
3 9 4 unicode Ljava/lang/String;
MethodParameters:
Name Flags
contentTree
}
SourceFile: "SingleIndexWriter.java"