class org.apache.lucene.search.MatchesUtils$2 implements org.apache.lucene.search.Matches
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: org.apache.lucene.search.MatchesUtils$2
super_class: java.lang.Object
{
private final java.util.List val$sm;
descriptor: Ljava/util/List;
flags: (0x1012) ACC_PRIVATE, ACC_FINAL, ACC_SYNTHETIC
void <init>(java.util.List);
descriptor: (Ljava/util/List;)V
flags: (0x0000)
Code:
stack=2, locals=2, args_size=2
start local 0 0: aload 0
aload 1
putfield org.apache.lucene.search.MatchesUtils$2.val$sm:Ljava/util/List;
aload 0
invokespecial java.lang.Object.<init>:()V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/lucene/search/MatchesUtils$2;
MethodParameters:
Name Flags
val$sm final
public org.apache.lucene.search.MatchesIterator getMatches(java.lang.String);
descriptor: (Ljava/lang/String;)Lorg/apache/lucene/search/MatchesIterator;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=6, args_size=2
start local 0 start local 1 0: new java.util.ArrayList
dup
aload 0
getfield org.apache.lucene.search.MatchesUtils$2.val$sm:Ljava/util/List;
invokeinterface java.util.List.size:()I
invokespecial java.util.ArrayList.<init>:(I)V
astore 2
start local 2 1: aload 0
getfield org.apache.lucene.search.MatchesUtils$2.val$sm:Ljava/util/List;
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 4
goto 6
StackMap locals: org.apache.lucene.search.MatchesUtils$2 java.lang.String java.util.List top java.util.Iterator
StackMap stack:
2: aload 4
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.apache.lucene.search.Matches
astore 3
start local 3 3: aload 3
aload 1
invokeinterface org.apache.lucene.search.Matches.getMatches:(Ljava/lang/String;)Lorg/apache/lucene/search/MatchesIterator;
astore 5
start local 5 4: aload 5
ifnull 6
5: aload 2
aload 5
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
end local 5 end local 3 6: StackMap locals:
StackMap stack:
aload 4
invokeinterface java.util.Iterator.hasNext:()Z
ifne 2
7: aload 2
invokestatic org.apache.lucene.search.DisjunctionMatchesIterator.fromSubIterators:(Ljava/util/List;)Lorg/apache/lucene/search/MatchesIterator;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lorg/apache/lucene/search/MatchesUtils$2;
0 8 1 field Ljava/lang/String;
1 8 2 subIterators Ljava/util/List<Lorg/apache/lucene/search/MatchesIterator;>;
3 6 3 m Lorg/apache/lucene/search/Matches;
4 6 5 it Lorg/apache/lucene/search/MatchesIterator;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
field
public java.util.Iterator<java.lang.String> iterator();
descriptor: ()Ljava/util/Iterator;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.lucene.search.MatchesUtils$2.val$sm:Ljava/util/List;
invokeinterface java.util.List.stream:()Ljava/util/stream/Stream;
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;
org/apache/lucene/search/MatchesUtils$2.lambda$0(Lorg/apache/lucene/search/Matches;)Ljava/util/stream/Stream; (6)
(Lorg/apache/lucene/search/Matches;)Ljava/util/stream/Stream;
invokeinterface java.util.stream.Stream.flatMap:(Ljava/util/function/Function;)Ljava/util/stream/Stream;
invokeinterface java.util.stream.Stream.distinct:()Ljava/util/stream/Stream;
invokeinterface java.util.stream.Stream.iterator:()Ljava/util/Iterator;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/lucene/search/MatchesUtils$2;
Signature: ()Ljava/util/Iterator<Ljava/lang/String;>;
private static java.util.stream.Stream lambda$0(org.apache.lucene.search.Matches);
descriptor: (Lorg/apache/lucene/search/Matches;)Ljava/util/stream/Stream;
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokeinterface org.apache.lucene.search.Matches.spliterator:()Ljava/util/Spliterator;
iconst_0
invokestatic java.util.stream.StreamSupport.stream:(Ljava/util/Spliterator;Z)Ljava/util/stream/Stream;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 m Lorg/apache/lucene/search/Matches;
}
SourceFile: "MatchesUtils.java"
EnclosingMethod: org.apache.lucene.search.MatchesUtils.fromSubMatches:(Ljava/util/List;)Lorg/apache/lucene/search/Matches;
NestHost: org.apache.lucene.search.MatchesUtils
InnerClasses:
public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles
org.apache.lucene.search.MatchesUtils$2