class org.apache.cassandra.db.lifecycle.Helpers
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: org.apache.cassandra.db.lifecycle.Helpers
super_class: java.lang.Object
{
static final boolean $assertionsDisabled;
descriptor: Z
flags: (0x1018) ACC_STATIC, ACC_FINAL, ACC_SYNTHETIC
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: ldc Lorg/apache/cassandra/db/lifecycle/Helpers;
invokevirtual java.lang.Class.desiredAssertionStatus:()Z
ifne 1
iconst_1
goto 2
StackMap locals:
StackMap stack:
1: iconst_0
StackMap locals:
StackMap stack: int
2: putstatic org.apache.cassandra.db.lifecycle.Helpers.$assertionsDisabled:Z
return
LocalVariableTable:
Start End Slot Name Signature
void <init>();
descriptor: ()V
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/cassandra/db/lifecycle/Helpers;
static <T> java.util.Set<T> replace(java.util.Set<T>, java.util.Set<T>, java.lang.Iterable<T>);
descriptor: (Ljava/util/Set;Ljava/util/Set;Ljava/lang/Iterable;)Ljava/util/Set;
flags: (0x0008) ACC_STATIC
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokestatic org.apache.cassandra.db.lifecycle.Helpers.identityMap:(Ljava/lang/Iterable;)Ljava/util/Map;
aload 1
aload 2
invokestatic org.apache.cassandra.db.lifecycle.Helpers.replace:(Ljava/util/Map;Ljava/util/Set;Ljava/lang/Iterable;)Ljava/util/Map;
invokeinterface java.util.Map.keySet:()Ljava/util/Set;
invokestatic com.google.common.collect.ImmutableSet.copyOf:(Ljava/util/Collection;)Lcom/google/common/collect/ImmutableSet;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 original Ljava/util/Set<TT;>;
0 1 1 remove Ljava/util/Set<TT;>;
0 1 2 add Ljava/lang/Iterable<TT;>;
Signature: <T:Ljava/lang/Object;>(Ljava/util/Set<TT;>;Ljava/util/Set<TT;>;Ljava/lang/Iterable<TT;>;)Ljava/util/Set<TT;>;
MethodParameters:
Name Flags
original
remove
add
static <T> java.util.Map<T, T> replace(java.util.Map<T, T>, java.util.Set<T>, java.lang.Iterable<T>);
descriptor: (Ljava/util/Map;Ljava/util/Set;Ljava/lang/Iterable;)Ljava/util/Map;
flags: (0x0008) ACC_STATIC
Code:
stack=8, locals=5, args_size=3
start local 0 start local 1 start local 2 0: aload 1
invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
astore 4
goto 3
StackMap locals: java.util.Map java.util.Set java.lang.Iterable top java.util.Iterator
StackMap stack:
1: aload 4
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.lang.Object
astore 3
start local 3 2: getstatic org.apache.cassandra.db.lifecycle.Helpers.$assertionsDisabled:Z
ifne 3
aload 0
aload 3
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
aload 3
if_acmpeq 3
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
end local 3 3: StackMap locals:
StackMap stack:
aload 4
invokeinterface java.util.Iterator.hasNext:()Z
ifne 1
4: getstatic org.apache.cassandra.db.lifecycle.Helpers.$assertionsDisabled:Z
ifne 5
aload 2
aload 1
invokestatic com.google.common.base.Predicates.in:(Ljava/util/Collection;)Lcom/google/common/base/Predicate;
invokestatic com.google.common.base.Predicates.not:(Lcom/google/common/base/Predicate;)Lcom/google/common/base/Predicate;
aload 0
invokeinterface java.util.Map.keySet:()Ljava/util/Set;
invokestatic com.google.common.base.Predicates.in:(Ljava/util/Collection;)Lcom/google/common/base/Predicate;
invokestatic com.google.common.base.Predicates.and:(Lcom/google/common/base/Predicate;Lcom/google/common/base/Predicate;)Lcom/google/common/base/Predicate;
invokestatic com.google.common.collect.Iterables.any:(Ljava/lang/Iterable;Lcom/google/common/base/Predicate;)Z
ifeq 5
new java.lang.AssertionError
dup
ldc "original:%s remove:%s add:%s"
iconst_3
anewarray java.lang.Object
dup
iconst_0
aload 0
invokeinterface java.util.Map.keySet:()Ljava/util/Set;
aastore
dup
iconst_1
aload 1
aastore
dup
iconst_2
aload 2
aastore
invokestatic java.lang.String.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.AssertionError.<init>:(Ljava/lang/Object;)V
athrow
5: StackMap locals: java.util.Map java.util.Set java.lang.Iterable
StackMap stack:
aload 2
aload 0
invokeinterface java.util.Map.keySet:()Ljava/util/Set;
aload 1
invokestatic com.google.common.base.Predicates.in:(Ljava/util/Collection;)Lcom/google/common/base/Predicate;
invokestatic com.google.common.base.Predicates.not:(Lcom/google/common/base/Predicate;)Lcom/google/common/base/Predicate;
invokestatic com.google.common.collect.Iterables.filter:(Ljava/lang/Iterable;Lcom/google/common/base/Predicate;)Ljava/lang/Iterable;
invokestatic com.google.common.collect.Iterables.concat:(Ljava/lang/Iterable;Ljava/lang/Iterable;)Ljava/lang/Iterable;
invokestatic org.apache.cassandra.db.lifecycle.Helpers.identityMap:(Ljava/lang/Iterable;)Ljava/util/Map;
6: astore 3
start local 3 7: getstatic org.apache.cassandra.db.lifecycle.Helpers.$assertionsDisabled:Z
ifne 11
aload 3
invokeinterface java.util.Map.size:()I
aload 0
invokeinterface java.util.Map.size:()I
aload 1
invokeinterface java.util.Set.size:()I
isub
aload 2
invokestatic com.google.common.collect.Iterables.size:(Ljava/lang/Iterable;)I
iadd
if_icmpeq 11
new java.lang.AssertionError
dup
8: ldc "Expecting new size of %d, got %d while replacing %s by %s in %s"
iconst_5
anewarray java.lang.Object
dup
iconst_0
9: aload 0
invokeinterface java.util.Map.size:()I
aload 1
invokeinterface java.util.Set.size:()I
isub
aload 2
invokestatic com.google.common.collect.Iterables.size:(Ljava/lang/Iterable;)I
iadd
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
dup
iconst_1
aload 3
invokeinterface java.util.Map.size:()I
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
dup
iconst_2
aload 1
aastore
dup
iconst_3
aload 2
aastore
dup
iconst_4
aload 0
invokeinterface java.util.Map.keySet:()Ljava/util/Set;
aastore
10: invokestatic java.lang.String.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.AssertionError.<init>:(Ljava/lang/Object;)V
athrow
11: StackMap locals: java.util.Map
StackMap stack:
aload 3
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 original Ljava/util/Map<TT;TT;>;
0 12 1 remove Ljava/util/Set<TT;>;
0 12 2 add Ljava/lang/Iterable<TT;>;
2 3 3 reader TT;
7 12 3 result Ljava/util/Map<TT;TT;>;
Signature: <T:Ljava/lang/Object;>(Ljava/util/Map<TT;TT;>;Ljava/util/Set<TT;>;Ljava/lang/Iterable<TT;>;)Ljava/util/Map<TT;TT;>;
MethodParameters:
Name Flags
original
remove
add
static void setupOnline(java.lang.Iterable<org.apache.cassandra.io.sstable.format.SSTableReader>);
descriptor: (Ljava/lang/Iterable;)V
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=3, args_size=1
start local 0 0: aload 0
invokeinterface java.lang.Iterable.iterator:()Ljava/util/Iterator;
astore 2
goto 3
StackMap locals: java.lang.Iterable top java.util.Iterator
StackMap stack:
1: aload 2
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.apache.cassandra.io.sstable.format.SSTableReader
astore 1
start local 1 2: aload 1
invokevirtual org.apache.cassandra.io.sstable.format.SSTableReader.setupOnline:()V
end local 1 3: StackMap locals:
StackMap stack:
aload 2
invokeinterface java.util.Iterator.hasNext:()Z
ifne 1
4: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 readers Ljava/lang/Iterable<Lorg/apache/cassandra/io/sstable/format/SSTableReader;>;
2 3 1 reader Lorg/apache/cassandra/io/sstable/format/SSTableReader;
Signature: (Ljava/lang/Iterable<Lorg/apache/cassandra/io/sstable/format/SSTableReader;>;)V
MethodParameters:
Name Flags
readers
static java.lang.Throwable setReplaced(java.lang.Iterable<org.apache.cassandra.io.sstable.format.SSTableReader>, java.lang.Throwable);
descriptor: (Ljava/lang/Iterable;Ljava/lang/Throwable;)Ljava/lang/Throwable;
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=5, args_size=2
start local 0 start local 1 0: aload 0
invokeinterface java.lang.Iterable.iterator:()Ljava/util/Iterator;
astore 3
goto 6
StackMap locals: java.lang.Iterable java.lang.Throwable top java.util.Iterator
StackMap stack:
1: aload 3
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.apache.cassandra.io.sstable.format.SSTableReader
astore 2
start local 2 2: aload 2
invokevirtual org.apache.cassandra.io.sstable.format.SSTableReader.setReplaced:()V
3: goto 6
4: StackMap locals: java.lang.Iterable java.lang.Throwable org.apache.cassandra.io.sstable.format.SSTableReader java.util.Iterator
StackMap stack: java.lang.Throwable
astore 4
start local 4 5: aload 1
aload 4
invokestatic org.apache.cassandra.utils.Throwables.merge:(Ljava/lang/Throwable;Ljava/lang/Throwable;)Ljava/lang/Throwable;
astore 1
end local 4 end local 2 6: StackMap locals: java.lang.Iterable java.lang.Throwable top java.util.Iterator
StackMap stack:
aload 3
invokeinterface java.util.Iterator.hasNext:()Z
ifne 1
7: aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 readers Ljava/lang/Iterable<Lorg/apache/cassandra/io/sstable/format/SSTableReader;>;
0 8 1 accumulate Ljava/lang/Throwable;
2 6 2 reader Lorg/apache/cassandra/io/sstable/format/SSTableReader;
5 6 4 t Ljava/lang/Throwable;
Exception table:
from to target type
2 3 4 Class java.lang.Throwable
Signature: (Ljava/lang/Iterable<Lorg/apache/cassandra/io/sstable/format/SSTableReader;>;Ljava/lang/Throwable;)Ljava/lang/Throwable;
MethodParameters:
Name Flags
readers
accumulate
static void checkNotReplaced(java.lang.Iterable<org.apache.cassandra.io.sstable.format.SSTableReader>);
descriptor: (Ljava/lang/Iterable;)V
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=3, args_size=1
start local 0 0: aload 0
invokeinterface java.lang.Iterable.iterator:()Ljava/util/Iterator;
astore 2
goto 3
StackMap locals: java.lang.Iterable top java.util.Iterator
StackMap stack:
1: aload 2
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.apache.cassandra.io.sstable.format.SSTableReader
astore 1
start local 1 2: getstatic org.apache.cassandra.db.lifecycle.Helpers.$assertionsDisabled:Z
ifne 3
aload 1
invokevirtual org.apache.cassandra.io.sstable.format.SSTableReader.isReplaced:()Z
ifeq 3
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
end local 1 3: StackMap locals:
StackMap stack:
aload 2
invokeinterface java.util.Iterator.hasNext:()Z
ifne 1
4: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 readers Ljava/lang/Iterable<Lorg/apache/cassandra/io/sstable/format/SSTableReader;>;
2 3 1 reader Lorg/apache/cassandra/io/sstable/format/SSTableReader;
Signature: (Ljava/lang/Iterable<Lorg/apache/cassandra/io/sstable/format/SSTableReader;>;)V
MethodParameters:
Name Flags
readers
static java.lang.Throwable markObsolete(java.util.List<org.apache.cassandra.db.lifecycle.LogTransaction$Obsoletion>, java.lang.Throwable);
descriptor: (Ljava/util/List;Ljava/lang/Throwable;)Ljava/lang/Throwable;
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=5, args_size=2
start local 0 start local 1 0: aload 0
ifnull 1
aload 0
invokeinterface java.util.List.isEmpty:()Z
ifeq 2
1: StackMap locals:
StackMap stack:
aload 1
areturn
2: StackMap locals:
StackMap stack:
aload 0
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 3
goto 8
StackMap locals: java.util.List java.lang.Throwable top java.util.Iterator
StackMap stack:
3: aload 3
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.apache.cassandra.db.lifecycle.LogTransaction$Obsoletion
astore 2
start local 2 4: aload 2
getfield org.apache.cassandra.db.lifecycle.LogTransaction$Obsoletion.reader:Lorg/apache/cassandra/io/sstable/format/SSTableReader;
aload 2
getfield org.apache.cassandra.db.lifecycle.LogTransaction$Obsoletion.tidier:Lorg/apache/cassandra/db/lifecycle/LogTransaction$SSTableTidier;
invokevirtual org.apache.cassandra.io.sstable.format.SSTableReader.markObsolete:(Ljava/lang/Runnable;)V
5: goto 8
6: StackMap locals: java.util.List java.lang.Throwable org.apache.cassandra.db.lifecycle.LogTransaction$Obsoletion java.util.Iterator
StackMap stack: java.lang.Throwable
astore 4
start local 4 7: aload 1
aload 4
invokestatic org.apache.cassandra.utils.Throwables.merge:(Ljava/lang/Throwable;Ljava/lang/Throwable;)Ljava/lang/Throwable;
astore 1
end local 4 end local 2 8: StackMap locals: java.util.List java.lang.Throwable top java.util.Iterator
StackMap stack:
aload 3
invokeinterface java.util.Iterator.hasNext:()Z
ifne 3
9: aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 obsoletions Ljava/util/List<Lorg/apache/cassandra/db/lifecycle/LogTransaction$Obsoletion;>;
0 10 1 accumulate Ljava/lang/Throwable;
4 8 2 obsoletion Lorg/apache/cassandra/db/lifecycle/LogTransaction$Obsoletion;
7 8 4 t Ljava/lang/Throwable;
Exception table:
from to target type
4 5 6 Class java.lang.Throwable
Signature: (Ljava/util/List<Lorg/apache/cassandra/db/lifecycle/LogTransaction$Obsoletion;>;Ljava/lang/Throwable;)Ljava/lang/Throwable;
MethodParameters:
Name Flags
obsoletions
accumulate
static java.lang.Throwable prepareForObsoletion(java.lang.Iterable<org.apache.cassandra.io.sstable.format.SSTableReader>, org.apache.cassandra.db.lifecycle.LogTransaction, java.util.List<org.apache.cassandra.db.lifecycle.LogTransaction$Obsoletion>, java.lang.Throwable);
descriptor: (Ljava/lang/Iterable;Lorg/apache/cassandra/db/lifecycle/LogTransaction;Ljava/util/List;Ljava/lang/Throwable;)Ljava/lang/Throwable;
flags: (0x0008) ACC_STATIC
Code:
stack=8, locals=8, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 1
aload 0
invokevirtual org.apache.cassandra.db.lifecycle.LogTransaction.makeRemoveRecords:(Ljava/lang/Iterable;)Ljava/util/Map;
astore 4
start local 4 1: aload 0
invokeinterface java.lang.Iterable.iterator:()Ljava/util/Iterator;
astore 6
goto 7
StackMap locals: java.lang.Iterable org.apache.cassandra.db.lifecycle.LogTransaction java.util.List java.lang.Throwable java.util.Map top java.util.Iterator
StackMap stack:
2: aload 6
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.apache.cassandra.io.sstable.format.SSTableReader
astore 5
start local 5 3: aload 2
new org.apache.cassandra.db.lifecycle.LogTransaction$Obsoletion
dup
aload 5
aload 1
aload 5
aload 4
aload 5
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast org.apache.cassandra.db.lifecycle.LogRecord
invokevirtual org.apache.cassandra.db.lifecycle.LogTransaction.obsoleted:(Lorg/apache/cassandra/io/sstable/format/SSTableReader;Lorg/apache/cassandra/db/lifecycle/LogRecord;)Lorg/apache/cassandra/db/lifecycle/LogTransaction$SSTableTidier;
invokespecial org.apache.cassandra.db.lifecycle.LogTransaction$Obsoletion.<init>:(Lorg/apache/cassandra/io/sstable/format/SSTableReader;Lorg/apache/cassandra/db/lifecycle/LogTransaction$SSTableTidier;)V
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
4: goto 7
5: StackMap locals: java.lang.Iterable org.apache.cassandra.db.lifecycle.LogTransaction java.util.List java.lang.Throwable java.util.Map org.apache.cassandra.io.sstable.format.SSTableReader java.util.Iterator
StackMap stack: java.lang.Throwable
astore 7
start local 7 6: aload 3
aload 7
invokestatic org.apache.cassandra.utils.Throwables.merge:(Ljava/lang/Throwable;Ljava/lang/Throwable;)Ljava/lang/Throwable;
astore 3
end local 7 end local 5 7: StackMap locals: java.lang.Iterable org.apache.cassandra.db.lifecycle.LogTransaction java.util.List java.lang.Throwable java.util.Map top java.util.Iterator
StackMap stack:
aload 6
invokeinterface java.util.Iterator.hasNext:()Z
ifne 2
8: aload 3
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 readers Ljava/lang/Iterable<Lorg/apache/cassandra/io/sstable/format/SSTableReader;>;
0 9 1 txnLogs Lorg/apache/cassandra/db/lifecycle/LogTransaction;
0 9 2 obsoletions Ljava/util/List<Lorg/apache/cassandra/db/lifecycle/LogTransaction$Obsoletion;>;
0 9 3 accumulate Ljava/lang/Throwable;
1 9 4 logRecords Ljava/util/Map<Lorg/apache/cassandra/io/sstable/SSTable;Lorg/apache/cassandra/db/lifecycle/LogRecord;>;
3 7 5 reader Lorg/apache/cassandra/io/sstable/format/SSTableReader;
6 7 7 t Ljava/lang/Throwable;
Exception table:
from to target type
3 4 5 Class java.lang.Throwable
Signature: (Ljava/lang/Iterable<Lorg/apache/cassandra/io/sstable/format/SSTableReader;>;Lorg/apache/cassandra/db/lifecycle/LogTransaction;Ljava/util/List<Lorg/apache/cassandra/db/lifecycle/LogTransaction$Obsoletion;>;Ljava/lang/Throwable;)Ljava/lang/Throwable;
MethodParameters:
Name Flags
readers
txnLogs
obsoletions
accumulate
static java.lang.Throwable abortObsoletion(java.util.List<org.apache.cassandra.db.lifecycle.LogTransaction$Obsoletion>, java.lang.Throwable);
descriptor: (Ljava/util/List;Ljava/lang/Throwable;)Ljava/lang/Throwable;
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=5, args_size=2
start local 0 start local 1 0: aload 0
ifnull 1
aload 0
invokeinterface java.util.List.isEmpty:()Z
ifeq 2
1: StackMap locals:
StackMap stack:
aload 1
areturn
2: StackMap locals:
StackMap stack:
aload 0
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 3
goto 8
StackMap locals: java.util.List java.lang.Throwable top java.util.Iterator
StackMap stack:
3: aload 3
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.apache.cassandra.db.lifecycle.LogTransaction$Obsoletion
astore 2
start local 2 4: aload 2
getfield org.apache.cassandra.db.lifecycle.LogTransaction$Obsoletion.tidier:Lorg/apache/cassandra/db/lifecycle/LogTransaction$SSTableTidier;
invokevirtual org.apache.cassandra.db.lifecycle.LogTransaction$SSTableTidier.abort:()V
5: goto 8
6: StackMap locals: java.util.List java.lang.Throwable org.apache.cassandra.db.lifecycle.LogTransaction$Obsoletion java.util.Iterator
StackMap stack: java.lang.Throwable
astore 4
start local 4 7: aload 1
aload 4
invokestatic org.apache.cassandra.utils.Throwables.merge:(Ljava/lang/Throwable;Ljava/lang/Throwable;)Ljava/lang/Throwable;
astore 1
end local 4 end local 2 8: StackMap locals: java.util.List java.lang.Throwable top java.util.Iterator
StackMap stack:
aload 3
invokeinterface java.util.Iterator.hasNext:()Z
ifne 3
9: aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 obsoletions Ljava/util/List<Lorg/apache/cassandra/db/lifecycle/LogTransaction$Obsoletion;>;
0 10 1 accumulate Ljava/lang/Throwable;
4 8 2 obsoletion Lorg/apache/cassandra/db/lifecycle/LogTransaction$Obsoletion;
7 8 4 t Ljava/lang/Throwable;
Exception table:
from to target type
4 5 6 Class java.lang.Throwable
Signature: (Ljava/util/List<Lorg/apache/cassandra/db/lifecycle/LogTransaction$Obsoletion;>;Ljava/lang/Throwable;)Ljava/lang/Throwable;
MethodParameters:
Name Flags
obsoletions
accumulate
static <T> java.util.Map<T, T> identityMap(java.lang.Iterable<T>);
descriptor: (Ljava/lang/Iterable;)Ljava/util/Map;
flags: (0x0008) ACC_STATIC
Code:
stack=3, locals=4, args_size=1
start local 0 0: invokestatic com.google.common.collect.ImmutableMap.builder:()Lcom/google/common/collect/ImmutableMap$Builder;
astore 1
start local 1 1: aload 0
invokeinterface java.lang.Iterable.iterator:()Ljava/util/Iterator;
astore 3
goto 4
StackMap locals: java.lang.Iterable com.google.common.collect.ImmutableMap$Builder top java.util.Iterator
StackMap stack:
2: aload 3
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.lang.Object
astore 2
start local 2 3: aload 1
aload 2
aload 2
invokevirtual com.google.common.collect.ImmutableMap$Builder.put:(Ljava/lang/Object;Ljava/lang/Object;)Lcom/google/common/collect/ImmutableMap$Builder;
pop
end local 2 4: StackMap locals:
StackMap stack:
aload 3
invokeinterface java.util.Iterator.hasNext:()Z
ifne 2
5: aload 1
invokevirtual com.google.common.collect.ImmutableMap$Builder.build:()Lcom/google/common/collect/ImmutableMap;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 values Ljava/lang/Iterable<TT;>;
1 6 1 builder Lcom/google/common/collect/ImmutableMap$Builder<TT;TT;>;
3 4 2 t TT;
Signature: <T:Ljava/lang/Object;>(Ljava/lang/Iterable<TT;>;)Ljava/util/Map<TT;TT;>;
MethodParameters:
Name Flags
values
static <T> java.lang.Iterable<T> concatUniq(java.util.Set<T>[]);
descriptor: ([Ljava/util/Set;)Ljava/lang/Iterable;
flags: (0x0088) ACC_STATIC, ACC_VARARGS
Code:
stack=5, locals=6, args_size=1
start local 0 0: new java.util.ArrayList
dup
aload 0
arraylength
invokespecial java.util.ArrayList.<init>:(I)V
astore 1
start local 1 1: aload 0
dup
astore 5
arraylength
istore 4
iconst_0
istore 3
goto 5
StackMap locals: java.util.Set[] java.util.List top int int java.util.Set[]
StackMap stack:
2: aload 5
iload 3
aaload
astore 2
start local 2 3: aload 1
aload 2
invokestatic com.google.common.base.Predicates.in:(Ljava/util/Collection;)Lcom/google/common/base/Predicate;
invokestatic com.google.common.base.Predicates.not:(Lcom/google/common/base/Predicate;)Lcom/google/common/base/Predicate;
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
end local 2 4: iinc 3 1
StackMap locals:
StackMap stack:
5: iload 3
iload 4
if_icmplt 2
6: new java.util.ArrayList
dup
aload 0
arraylength
invokespecial java.util.ArrayList.<init>:(I)V
astore 2
start local 2 7: iconst_0
istore 3
start local 3 8: goto 11
9: StackMap locals: java.util.Set[] java.util.List java.util.List int
StackMap stack:
aload 2
aload 0
iload 3
aaload
aload 1
iconst_0
iload 3
invokeinterface java.util.List.subList:(II)Ljava/util/List;
invokestatic com.google.common.base.Predicates.and:(Ljava/lang/Iterable;)Lcom/google/common/base/Predicate;
invokestatic com.google.common.collect.Iterables.filter:(Ljava/lang/Iterable;Lcom/google/common/base/Predicate;)Ljava/lang/Iterable;
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
10: iinc 3 1
StackMap locals:
StackMap stack:
11: iload 3
aload 0
arraylength
if_icmplt 9
end local 3 12: aload 2
invokestatic com.google.common.collect.Iterables.concat:(Ljava/lang/Iterable;)Ljava/lang/Iterable;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 sets [Ljava/util/Set;
1 13 1 notIn Ljava/util/List<Lcom/google/common/base/Predicate<TT;>;>;
3 4 2 set Ljava/util/Set<TT;>;
7 13 2 results Ljava/util/List<Ljava/lang/Iterable<TT;>;>;
8 12 3 i I
Signature: <T:Ljava/lang/Object;>([Ljava/util/Set<TT;>;)Ljava/lang/Iterable<TT;>;
MethodParameters:
Name Flags
sets
static <T> com.google.common.base.Predicate<T> notIn(java.util.Set<T>[]);
descriptor: ([Ljava/util/Set;)Lcom/google/common/base/Predicate;
flags: (0x0088) ACC_STATIC, ACC_VARARGS
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokestatic org.apache.cassandra.db.lifecycle.Helpers.orIn:([Ljava/util/Collection;)Lcom/google/common/base/Predicate;
invokestatic com.google.common.base.Predicates.not:(Lcom/google/common/base/Predicate;)Lcom/google/common/base/Predicate;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 sets [Ljava/util/Set;
Signature: <T:Ljava/lang/Object;>([Ljava/util/Set<TT;>;)Lcom/google/common/base/Predicate<TT;>;
MethodParameters:
Name Flags
sets
static <T> com.google.common.base.Predicate<T> orIn(java.util.Collection<T>[]);
descriptor: ([Ljava/util/Collection;)Lcom/google/common/base/Predicate;
flags: (0x0088) ACC_STATIC, ACC_VARARGS
Code:
stack=4, locals=3, args_size=1
start local 0 0: aload 0
arraylength
anewarray com.google.common.base.Predicate
astore 1
start local 1 1: iconst_0
istore 2
start local 2 2: goto 5
3: StackMap locals: com.google.common.base.Predicate[] int
StackMap stack:
aload 1
iload 2
aload 0
iload 2
aaload
invokestatic com.google.common.base.Predicates.in:(Ljava/util/Collection;)Lcom/google/common/base/Predicate;
aastore
4: iinc 2 1
StackMap locals:
StackMap stack:
5: iload 2
aload 1
arraylength
if_icmplt 3
end local 2 6: aload 1
invokestatic com.google.common.base.Predicates.or:([Lcom/google/common/base/Predicate;)Lcom/google/common/base/Predicate;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 sets [Ljava/util/Collection;
1 7 1 orIn [Lcom/google/common/base/Predicate;
2 6 2 i I
Signature: <T:Ljava/lang/Object;>([Ljava/util/Collection<TT;>;)Lcom/google/common/base/Predicate<TT;>;
MethodParameters:
Name Flags
sets
static <T> java.lang.Iterable<T> filterOut(java.lang.Iterable<T>, java.util.Set<T>[]);
descriptor: (Ljava/lang/Iterable;[Ljava/util/Set;)Ljava/lang/Iterable;
flags: (0x0088) ACC_STATIC, ACC_VARARGS
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokestatic org.apache.cassandra.db.lifecycle.Helpers.notIn:([Ljava/util/Set;)Lcom/google/common/base/Predicate;
invokestatic com.google.common.collect.Iterables.filter:(Ljava/lang/Iterable;Lcom/google/common/base/Predicate;)Ljava/lang/Iterable;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 filter Ljava/lang/Iterable<TT;>;
0 1 1 inNone [Ljava/util/Set;
Signature: <T:Ljava/lang/Object;>(Ljava/lang/Iterable<TT;>;[Ljava/util/Set<TT;>;)Ljava/lang/Iterable<TT;>;
MethodParameters:
Name Flags
filter
inNone
static <T> java.lang.Iterable<T> filterIn(java.lang.Iterable<T>, java.util.Set<T>[]);
descriptor: (Ljava/lang/Iterable;[Ljava/util/Set;)Ljava/lang/Iterable;
flags: (0x0088) ACC_STATIC, ACC_VARARGS
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokestatic org.apache.cassandra.db.lifecycle.Helpers.orIn:([Ljava/util/Collection;)Lcom/google/common/base/Predicate;
invokestatic com.google.common.collect.Iterables.filter:(Ljava/lang/Iterable;Lcom/google/common/base/Predicate;)Ljava/lang/Iterable;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 filter Ljava/lang/Iterable<TT;>;
0 1 1 inAny [Ljava/util/Set;
Signature: <T:Ljava/lang/Object;>(Ljava/lang/Iterable<TT;>;[Ljava/util/Set<TT;>;)Ljava/lang/Iterable<TT;>;
MethodParameters:
Name Flags
filter
inAny
static java.util.Set<org.apache.cassandra.io.sstable.format.SSTableReader> emptySet();
descriptor: ()Ljava/util/Set;
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: invokestatic java.util.Collections.emptySet:()Ljava/util/Set;
areturn
LocalVariableTable:
Start End Slot Name Signature
Signature: ()Ljava/util/Set<Lorg/apache/cassandra/io/sstable/format/SSTableReader;>;
static <T> T select(T, java.util.Collection<T>);
descriptor: (Ljava/lang/Object;Ljava/util/Collection;)Ljava/lang/Object;
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 1
instanceof java.util.Set
ifeq 2
aload 1
aload 0
invokeinterface java.util.Collection.contains:(Ljava/lang/Object;)Z
ifne 2
1: aconst_null
areturn
2: StackMap locals:
StackMap stack:
aload 1
aload 0
invokestatic com.google.common.base.Predicates.equalTo:(Ljava/lang/Object;)Lcom/google/common/base/Predicate;
invokestatic com.google.common.collect.Iterables.filter:(Ljava/lang/Iterable;Lcom/google/common/base/Predicate;)Ljava/lang/Iterable;
aconst_null
invokestatic com.google.common.collect.Iterables.getFirst:(Ljava/lang/Iterable;Ljava/lang/Object;)Ljava/lang/Object;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 t TT;
0 3 1 col Ljava/util/Collection<TT;>;
Signature: <T:Ljava/lang/Object;>(TT;Ljava/util/Collection<TT;>;)TT;
MethodParameters:
Name Flags
t
col
static <T> T selectFirst(T, java.util.Collection<T>[]);
descriptor: (Ljava/lang/Object;[Ljava/util/Collection;)Ljava/lang/Object;
flags: (0x0088) ACC_STATIC, ACC_VARARGS
Code:
stack=2, locals=7, args_size=2
start local 0 start local 1 0: aload 1
dup
astore 5
arraylength
istore 4
iconst_0
istore 3
goto 6
StackMap locals: java.lang.Object java.util.Collection[] top int int java.util.Collection[]
StackMap stack:
1: aload 5
iload 3
aaload
astore 2
start local 2 2: aload 0
aload 2
invokestatic org.apache.cassandra.db.lifecycle.Helpers.select:(Ljava/lang/Object;Ljava/util/Collection;)Ljava/lang/Object;
astore 6
start local 6 3: aload 6
ifnull 5
4: aload 6
areturn
end local 6 end local 2 5: StackMap locals:
StackMap stack:
iinc 3 1
StackMap locals:
StackMap stack:
6: iload 3
iload 4
if_icmplt 1
7: aconst_null
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 t TT;
0 8 1 sets [Ljava/util/Collection;
2 5 2 set Ljava/util/Collection<TT;>;
3 5 6 select TT;
Signature: <T:Ljava/lang/Object;>(TT;[Ljava/util/Collection<TT;>;)TT;
MethodParameters:
Name Flags
t
sets
static <T> com.google.common.base.Predicate<T> idIn(java.util.Set<T>);
descriptor: (Ljava/util/Set;)Lcom/google/common/base/Predicate;
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokestatic org.apache.cassandra.db.lifecycle.Helpers.identityMap:(Ljava/lang/Iterable;)Ljava/util/Map;
invokestatic org.apache.cassandra.db.lifecycle.Helpers.idIn:(Ljava/util/Map;)Lcom/google/common/base/Predicate;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 set Ljava/util/Set<TT;>;
Signature: <T:Ljava/lang/Object;>(Ljava/util/Set<TT;>;)Lcom/google/common/base/Predicate<TT;>;
MethodParameters:
Name Flags
set
static <T> com.google.common.base.Predicate<T> idIn(java.util.Map<T, T>);
descriptor: (Ljava/util/Map;)Lcom/google/common/base/Predicate;
flags: (0x0008) ACC_STATIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: new org.apache.cassandra.db.lifecycle.Helpers$1
dup
aload 0
invokespecial org.apache.cassandra.db.lifecycle.Helpers$1.<init>:(Ljava/util/Map;)V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 identityMap Ljava/util/Map<TT;TT;>;
Signature: <T:Ljava/lang/Object;>(Ljava/util/Map<TT;TT;>;)Lcom/google/common/base/Predicate<TT;>;
MethodParameters:
Name Flags
identityMap final
}
SourceFile: "Helpers.java"
NestMembers:
org.apache.cassandra.db.lifecycle.Helpers$1
InnerClasses:
public Builder = com.google.common.collect.ImmutableMap$Builder of com.google.common.collect.ImmutableMap
org.apache.cassandra.db.lifecycle.Helpers$1
Obsoletion = org.apache.cassandra.db.lifecycle.LogTransaction$Obsoletion of org.apache.cassandra.db.lifecycle.LogTransaction
public SSTableTidier = org.apache.cassandra.db.lifecycle.LogTransaction$SSTableTidier of org.apache.cassandra.db.lifecycle.LogTransaction