public final class jdk.javadoc.internal.doclets.formats.html.SearchIndexItems
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: jdk.javadoc.internal.doclets.formats.html.SearchIndexItems
super_class: java.lang.Object
{
private final java.util.Map<jdk.javadoc.internal.doclets.formats.html.SearchIndexItem$Category, java.util.Set<jdk.javadoc.internal.doclets.formats.html.SearchIndexItem>> items;
descriptor: Ljava/util/Map;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/Map<Ljdk/javadoc/internal/doclets/formats/html/SearchIndexItem$Category;Ljava/util/Set<Ljdk/javadoc/internal/doclets/formats/html/SearchIndexItem;>;>;
private final jdk.javadoc.internal.doclets.toolkit.util.Utils utils;
descriptor: Ljdk/javadoc/internal/doclets/toolkit/util/Utils;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
public void <init>(jdk.javadoc.internal.doclets.toolkit.util.Utils);
descriptor: (Ljdk/javadoc/internal/doclets/toolkit/util/Utils;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
new java.util.HashMap
dup
invokespecial java.util.HashMap.<init>:()V
putfield jdk.javadoc.internal.doclets.formats.html.SearchIndexItems.items:Ljava/util/Map;
2: aload 0
aload 1
invokestatic java.util.Objects.requireNonNull:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast jdk.javadoc.internal.doclets.toolkit.util.Utils
putfield jdk.javadoc.internal.doclets.formats.html.SearchIndexItems.utils:Ljdk/javadoc/internal/doclets/toolkit/util/Utils;
3: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljdk/javadoc/internal/doclets/formats/html/SearchIndexItems;
0 4 1 utils Ljdk/javadoc/internal/doclets/toolkit/util/Utils;
MethodParameters:
Name Flags
utils
public void add(jdk.javadoc.internal.doclets.formats.html.SearchIndexItem);
descriptor: (Ljdk/javadoc/internal/doclets/formats/html/SearchIndexItem;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 1
invokestatic java.util.Objects.requireNonNull:(Ljava/lang/Object;)Ljava/lang/Object;
pop
1: aload 0
getfield jdk.javadoc.internal.doclets.formats.html.SearchIndexItems.items:Ljava/util/Map;
aload 1
invokevirtual jdk.javadoc.internal.doclets.formats.html.SearchIndexItem.getCategory:()Ljdk/javadoc/internal/doclets/formats/html/SearchIndexItem$Category;
aload 0
invokedynamic apply(Ljdk/javadoc/internal/doclets/formats/html/SearchIndexItems;)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/SearchIndexItems.newSetForCategory(Ljdk/javadoc/internal/doclets/formats/html/SearchIndexItem$Category;)Ljava/util/Set; (7)
(Ljdk/javadoc/internal/doclets/formats/html/SearchIndexItem$Category;)Ljava/util/Set;
invokeinterface java.util.Map.computeIfAbsent:(Ljava/lang/Object;Ljava/util/function/Function;)Ljava/lang/Object;
checkcast java.util.Set
2: aload 1
invokeinterface java.util.Set.add:(Ljava/lang/Object;)Z
pop
3: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljdk/javadoc/internal/doclets/formats/html/SearchIndexItems;
0 4 1 item Ljdk/javadoc/internal/doclets/formats/html/SearchIndexItem;
MethodParameters:
Name Flags
item
private java.util.Set<jdk.javadoc.internal.doclets.formats.html.SearchIndexItem> newSetForCategory(jdk.javadoc.internal.doclets.formats.html.SearchIndexItem$Category);
descriptor: (Ljdk/javadoc/internal/doclets/formats/html/SearchIndexItem$Category;)Ljava/util/Set;
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: aload 1
getstatic jdk.javadoc.internal.doclets.formats.html.SearchIndexItem$Category.TYPES:Ljdk/javadoc/internal/doclets/formats/html/SearchIndexItem$Category;
if_acmpne 3
1: aload 0
getfield jdk.javadoc.internal.doclets.formats.html.SearchIndexItems.utils:Ljdk/javadoc/internal/doclets/toolkit/util/Utils;
getfield jdk.javadoc.internal.doclets.toolkit.util.Utils.comparators:Ljdk/javadoc/internal/doclets/toolkit/util/Comparators;
invokevirtual jdk.javadoc.internal.doclets.toolkit.util.Comparators.makeTypeSearchIndexComparator:()Ljava/util/Comparator;
astore 2
start local 2 2: goto 4
end local 2 3: StackMap locals:
StackMap stack:
aload 0
getfield jdk.javadoc.internal.doclets.formats.html.SearchIndexItems.utils:Ljdk/javadoc/internal/doclets/toolkit/util/Utils;
getfield jdk.javadoc.internal.doclets.toolkit.util.Utils.comparators:Ljdk/javadoc/internal/doclets/toolkit/util/Comparators;
invokevirtual jdk.javadoc.internal.doclets.toolkit.util.Comparators.makeGenericSearchIndexComparator:()Ljava/util/Comparator;
astore 2
start local 2 4: StackMap locals: java.util.Comparator
StackMap stack:
new java.util.TreeSet
dup
aload 2
invokespecial java.util.TreeSet.<init>:(Ljava/util/Comparator;)V
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Ljdk/javadoc/internal/doclets/formats/html/SearchIndexItems;
0 5 1 category Ljdk/javadoc/internal/doclets/formats/html/SearchIndexItem$Category;
2 3 2 cmp Ljava/util/Comparator<Ljdk/javadoc/internal/doclets/formats/html/SearchIndexItem;>;
4 5 2 cmp Ljava/util/Comparator<Ljdk/javadoc/internal/doclets/formats/html/SearchIndexItem;>;
Signature: (Ljdk/javadoc/internal/doclets/formats/html/SearchIndexItem$Category;)Ljava/util/Set<Ljdk/javadoc/internal/doclets/formats/html/SearchIndexItem;>;
MethodParameters:
Name Flags
category
public boolean containsAnyOfCategories(jdk.javadoc.internal.doclets.formats.html.SearchIndexItem$Category, jdk.javadoc.internal.doclets.formats.html.SearchIndexItem$Category[]);
descriptor: (Ljdk/javadoc/internal/doclets/formats/html/SearchIndexItem$Category;[Ljdk/javadoc/internal/doclets/formats/html/SearchIndexItem$Category;)Z
flags: (0x0081) ACC_PUBLIC, ACC_VARARGS
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
aload 2
invokevirtual jdk.javadoc.internal.doclets.formats.html.SearchIndexItems.itemsOfCategories:(Ljdk/javadoc/internal/doclets/formats/html/SearchIndexItem$Category;[Ljdk/javadoc/internal/doclets/formats/html/SearchIndexItem$Category;)Ljava/util/stream/Stream;
1: invokeinterface java.util.stream.Stream.findAny:()Ljava/util/Optional;
2: invokevirtual java.util.Optional.isPresent:()Z
3: ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljdk/javadoc/internal/doclets/formats/html/SearchIndexItems;
0 4 1 firstCategory Ljdk/javadoc/internal/doclets/formats/html/SearchIndexItem$Category;
0 4 2 otherCategories [Ljdk/javadoc/internal/doclets/formats/html/SearchIndexItem$Category;
MethodParameters:
Name Flags
firstCategory
otherCategories
public java.util.stream.Stream<jdk.javadoc.internal.doclets.formats.html.SearchIndexItem> itemsOfCategories(jdk.javadoc.internal.doclets.formats.html.SearchIndexItem$Category, jdk.javadoc.internal.doclets.formats.html.SearchIndexItem$Category[]);
descriptor: (Ljdk/javadoc/internal/doclets/formats/html/SearchIndexItem$Category;[Ljdk/javadoc/internal/doclets/formats/html/SearchIndexItem$Category;)Ljava/util/stream/Stream;
flags: (0x0081) ACC_PUBLIC, ACC_VARARGS
Code:
stack=2, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 1
aload 2
invokestatic jdk.javadoc.internal.doclets.formats.html.SearchIndexItems.concatenatedStreamOf:(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/util/stream/Stream;
1: invokeinterface java.util.stream.Stream.distinct:()Ljava/util/stream/Stream;
2: aload 0
invokedynamic apply(Ljdk/javadoc/internal/doclets/formats/html/SearchIndexItems;)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/SearchIndexItems.itemsOf(Ljdk/javadoc/internal/doclets/formats/html/SearchIndexItem$Category;)Ljava/util/stream/Stream; (7)
(Ljdk/javadoc/internal/doclets/formats/html/SearchIndexItem$Category;)Ljava/util/stream/Stream;
invokeinterface java.util.stream.Stream.flatMap:(Ljava/util/function/Function;)Ljava/util/stream/Stream;
3: areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljdk/javadoc/internal/doclets/formats/html/SearchIndexItems;
0 4 1 firstCategory Ljdk/javadoc/internal/doclets/formats/html/SearchIndexItem$Category;
0 4 2 otherCategories [Ljdk/javadoc/internal/doclets/formats/html/SearchIndexItem$Category;
Signature: (Ljdk/javadoc/internal/doclets/formats/html/SearchIndexItem$Category;[Ljdk/javadoc/internal/doclets/formats/html/SearchIndexItem$Category;)Ljava/util/stream/Stream<Ljdk/javadoc/internal/doclets/formats/html/SearchIndexItem;>;
MethodParameters:
Name Flags
firstCategory
otherCategories
private java.util.stream.Stream<jdk.javadoc.internal.doclets.formats.html.SearchIndexItem> itemsOf(jdk.javadoc.internal.doclets.formats.html.SearchIndexItem$Category);
descriptor: (Ljdk/javadoc/internal/doclets/formats/html/SearchIndexItem$Category;)Ljava/util/stream/Stream;
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 1
invokestatic java.util.Objects.requireNonNull:(Ljava/lang/Object;)Ljava/lang/Object;
pop
1: aload 0
getfield jdk.javadoc.internal.doclets.formats.html.SearchIndexItems.items:Ljava/util/Map;
aload 1
invokestatic java.util.Set.of:()Ljava/util/Set;
invokeinterface java.util.Map.getOrDefault:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.util.Set
invokeinterface java.util.Set.stream:()Ljava/util/stream/Stream;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljdk/javadoc/internal/doclets/formats/html/SearchIndexItems;
0 2 1 cat Ljdk/javadoc/internal/doclets/formats/html/SearchIndexItem$Category;
Signature: (Ljdk/javadoc/internal/doclets/formats/html/SearchIndexItem$Category;)Ljava/util/stream/Stream<Ljdk/javadoc/internal/doclets/formats/html/SearchIndexItem;>;
MethodParameters:
Name Flags
cat
private static <T> java.util.stream.Stream<T> concatenatedStreamOf(T, T[]);
descriptor: (Ljava/lang/Object;[Ljava/lang/Object;)Ljava/util/stream/Stream;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokestatic java.util.stream.Stream.of:(Ljava/lang/Object;)Ljava/util/stream/Stream;
aload 1
invokestatic java.util.stream.Stream.of:([Ljava/lang/Object;)Ljava/util/stream/Stream;
invokestatic java.util.stream.Stream.concat:(Ljava/util/stream/Stream;Ljava/util/stream/Stream;)Ljava/util/stream/Stream;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 first TT;
0 1 1 remaining [Ljava/lang/Object;
Signature: <T:Ljava/lang/Object;>(TT;[TT;)Ljava/util/stream/Stream<TT;>;
MethodParameters:
Name Flags
first
remaining
}
SourceFile: "SearchIndexItems.java"
InnerClasses:
public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles
final Category = jdk.javadoc.internal.doclets.formats.html.SearchIndexItem$Category of jdk.javadoc.internal.doclets.formats.html.SearchIndexItem