class org.apache.cassandra.db.Directories$2 implements java.io.FileFilter
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: org.apache.cassandra.db.Directories$2
super_class: java.lang.Object
{
final org.apache.cassandra.db.Directories this$0;
descriptor: Lorg/apache/cassandra/db/Directories;
flags: (0x1010) ACC_FINAL, ACC_SYNTHETIC
private final org.apache.cassandra.config.CFMetaData val$metadata;
descriptor: Lorg/apache/cassandra/config/CFMetaData;
flags: (0x1012) ACC_PRIVATE, ACC_FINAL, ACC_SYNTHETIC
void <init>(org.apache.cassandra.db.Directories, org.apache.cassandra.config.CFMetaData);
descriptor: (Lorg/apache/cassandra/db/Directories;Lorg/apache/cassandra/config/CFMetaData;)V
flags: (0x0000)
Code:
stack=2, locals=3, args_size=3
start local 0 // org.apache.cassandra.db.Directories$2 this
0: .line 255
aload 0 /* this */
aload 1
putfield org.apache.cassandra.db.Directories$2.this$0:Lorg/apache/cassandra/db/Directories;
aload 0 /* this */
aload 2
putfield org.apache.cassandra.db.Directories$2.val$metadata:Lorg/apache/cassandra/config/CFMetaData;
aload 0 /* this */
invokespecial java.lang.Object.<init>:()V
return
end local 0 // org.apache.cassandra.db.Directories$2 this
LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/cassandra/db/Directories$2;
MethodParameters:
Name Flags
this$0 final
val$metadata final
public boolean accept(java.io.File);
descriptor: (Ljava/io/File;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=2
start local 0 // org.apache.cassandra.db.Directories$2 this
start local 1 // java.io.File file
0: .line 260
aload 1 /* file */
invokevirtual java.io.File.isDirectory:()Z
ifeq 2
1: .line 261
iconst_0
ireturn
2: .line 263
StackMap locals:
StackMap stack:
aload 1 /* file */
invokevirtual java.io.File.getParentFile:()Ljava/io/File;
3: .line 264
aload 1 /* file */
invokevirtual java.io.File.getName:()Ljava/lang/String;
4: .line 263
invokestatic org.apache.cassandra.io.sstable.SSTable.tryComponentFromFilename:(Ljava/io/File;Ljava/lang/String;)Lorg/apache/cassandra/utils/Pair;
astore 2 /* pair */
start local 2 // org.apache.cassandra.utils.Pair pair
5: .line 265
aload 2 /* pair */
ifnull 6
aload 2 /* pair */
getfield org.apache.cassandra.utils.Pair.left:Ljava/lang/Object;
checkcast org.apache.cassandra.io.sstable.Descriptor
getfield org.apache.cassandra.io.sstable.Descriptor.ksname:Ljava/lang/String;
aload 0 /* this */
getfield org.apache.cassandra.db.Directories$2.val$metadata:Lorg/apache/cassandra/config/CFMetaData;
getfield org.apache.cassandra.config.CFMetaData.ksName:Ljava/lang/String;
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 6
aload 2 /* pair */
getfield org.apache.cassandra.utils.Pair.left:Ljava/lang/Object;
checkcast org.apache.cassandra.io.sstable.Descriptor
getfield org.apache.cassandra.io.sstable.Descriptor.cfname:Ljava/lang/String;
aload 0 /* this */
getfield org.apache.cassandra.db.Directories$2.val$metadata:Lorg/apache/cassandra/config/CFMetaData;
getfield org.apache.cassandra.config.CFMetaData.cfName:Ljava/lang/String;
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 6
iconst_1
ireturn
StackMap locals: org.apache.cassandra.utils.Pair
StackMap stack:
6: iconst_0
ireturn
end local 2 // org.apache.cassandra.utils.Pair pair
end local 1 // java.io.File file
end local 0 // org.apache.cassandra.db.Directories$2 this
LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lorg/apache/cassandra/db/Directories$2;
0 7 1 file Ljava/io/File;
5 7 2 pair Lorg/apache/cassandra/utils/Pair<Lorg/apache/cassandra/io/sstable/Descriptor;Lorg/apache/cassandra/io/sstable/Component;>;
MethodParameters:
Name Flags
file
}
SourceFile: "Directories.java"
EnclosingMethod: org.apache.cassandra.db.Directories.<init>:(Lorg/apache/cassandra/config/CFMetaData;[Lorg/apache/cassandra/db/Directories$DataDirectory;)V
NestHost: org.apache.cassandra.db.Directories
InnerClasses:
org.apache.cassandra.db.Directories$2
public DataDirectory = org.apache.cassandra.db.Directories$DataDirectory of org.apache.cassandra.db.Directories