class org.apache.cassandra.service.StartupChecks$9$1 extends java.nio.file.SimpleFileVisitor<java.nio.file.Path>
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: org.apache.cassandra.service.StartupChecks$9$1
super_class: java.nio.file.SimpleFileVisitor
{
final org.apache.cassandra.service.StartupChecks$9 this$1;
descriptor: Lorg/apache/cassandra/service/StartupChecks$9;
flags: (0x1010) ACC_FINAL, ACC_SYNTHETIC
private final java.util.Set val$invalid;
descriptor: Ljava/util/Set;
flags: (0x1012) ACC_PRIVATE, ACC_FINAL, ACC_SYNTHETIC
private final java.util.Set val$nonSSTablePaths;
descriptor: Ljava/util/Set;
flags: (0x1012) ACC_PRIVATE, ACC_FINAL, ACC_SYNTHETIC
void <init>(org.apache.cassandra.service.StartupChecks$9, java.util.Set, java.util.Set);
descriptor: (Lorg/apache/cassandra/service/StartupChecks$9;Ljava/util/Set;Ljava/util/Set;)V
flags: (0x0000)
Code:
stack=2, locals=4, args_size=4
start local 0 0: aload 0
aload 1
putfield org.apache.cassandra.service.StartupChecks$9$1.this$1:Lorg/apache/cassandra/service/StartupChecks$9;
aload 0
aload 2
putfield org.apache.cassandra.service.StartupChecks$9$1.val$invalid:Ljava/util/Set;
aload 0
aload 3
putfield org.apache.cassandra.service.StartupChecks$9$1.val$nonSSTablePaths:Ljava/util/Set;
aload 0
invokespecial java.nio.file.SimpleFileVisitor.<init>:()V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/cassandra/service/StartupChecks$9$1;
MethodParameters:
Name Flags
this$0 final
val$invalid final
val$nonSSTablePaths final
public java.nio.file.FileVisitResult visitFile(java.nio.file.Path, java.nio.file.attribute.BasicFileAttributes);
descriptor: (Ljava/nio/file/Path;Ljava/nio/file/attribute/BasicFileAttributes;)Ljava/nio/file/FileVisitResult;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 1
invokeinterface java.nio.file.Path.getFileName:()Ljava/nio/file/Path;
invokeinterface java.nio.file.Path.toString:()Ljava/lang/String;
invokestatic org.apache.cassandra.io.sstable.Descriptor.isValidFile:(Ljava/lang/String;)Z
ifne 2
1: getstatic java.nio.file.FileVisitResult.CONTINUE:Ljava/nio/file/FileVisitResult;
areturn
2: StackMap locals:
StackMap stack:
aload 1
invokeinterface java.nio.file.Path.toString:()Ljava/lang/String;
invokestatic org.apache.cassandra.io.sstable.Descriptor.fromFilename:(Ljava/lang/String;)Lorg/apache/cassandra/io/sstable/Descriptor;
invokevirtual org.apache.cassandra.io.sstable.Descriptor.isCompatible:()Z
ifne 7
3: aload 0
getfield org.apache.cassandra.service.StartupChecks$9$1.val$invalid:Ljava/util/Set;
aload 1
invokeinterface java.nio.file.Path.toString:()Ljava/lang/String;
invokeinterface java.util.Set.add:(Ljava/lang/Object;)Z
pop
4: goto 7
5: StackMap locals:
StackMap stack: java.lang.Exception
pop
6: aload 0
getfield org.apache.cassandra.service.StartupChecks$9$1.val$invalid:Ljava/util/Set;
aload 1
invokeinterface java.nio.file.Path.toString:()Ljava/lang/String;
invokeinterface java.util.Set.add:(Ljava/lang/Object;)Z
pop
7: StackMap locals:
StackMap stack:
getstatic java.nio.file.FileVisitResult.CONTINUE:Ljava/nio/file/FileVisitResult;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lorg/apache/cassandra/service/StartupChecks$9$1;
0 8 1 file Ljava/nio/file/Path;
0 8 2 attrs Ljava/nio/file/attribute/BasicFileAttributes;
Exception table:
from to target type
2 4 5 Class java.lang.Exception
MethodParameters:
Name Flags
file
attrs
public java.nio.file.FileVisitResult preVisitDirectory(java.nio.file.Path, java.nio.file.attribute.BasicFileAttributes);
descriptor: (Ljava/nio/file/Path;Ljava/nio/file/attribute/BasicFileAttributes;)Ljava/nio/file/FileVisitResult;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 1
invokeinterface java.nio.file.Path.getFileName:()Ljava/nio/file/Path;
invokeinterface java.nio.file.Path.toString:()Ljava/lang/String;
astore 3
start local 3 1: aload 3
ldc "snapshots"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 4
2: aload 3
ldc "backups"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 4
3: aload 0
getfield org.apache.cassandra.service.StartupChecks$9$1.val$nonSSTablePaths:Ljava/util/Set;
aload 1
invokeinterface java.nio.file.Path.toFile:()Ljava/io/File;
invokevirtual java.io.File.getCanonicalPath:()Ljava/lang/String;
invokeinterface java.util.Set.contains:(Ljava/lang/Object;)Z
ifeq 5
4: StackMap locals: java.lang.String
StackMap stack:
getstatic java.nio.file.FileVisitResult.SKIP_SUBTREE:Ljava/nio/file/FileVisitResult;
goto 6
5: StackMap locals:
StackMap stack:
getstatic java.nio.file.FileVisitResult.CONTINUE:Ljava/nio/file/FileVisitResult;
6: StackMap locals:
StackMap stack: java.nio.file.FileVisitResult
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lorg/apache/cassandra/service/StartupChecks$9$1;
0 7 1 dir Ljava/nio/file/Path;
0 7 2 attrs Ljava/nio/file/attribute/BasicFileAttributes;
1 7 3 name Ljava/lang/String;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
dir
attrs
public java.nio.file.FileVisitResult preVisitDirectory(java.lang.Object, java.nio.file.attribute.BasicFileAttributes);
descriptor: (Ljava/lang/Object;Ljava/nio/file/attribute/BasicFileAttributes;)Ljava/nio/file/FileVisitResult;
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=3, locals=3, args_size=3
0: aload 0
aload 1
checkcast java.nio.file.Path
aload 2
invokevirtual org.apache.cassandra.service.StartupChecks$9$1.preVisitDirectory:(Ljava/nio/file/Path;Ljava/nio/file/attribute/BasicFileAttributes;)Ljava/nio/file/FileVisitResult;
areturn
LocalVariableTable:
Start End Slot Name Signature
Exceptions:
throws java.io.IOException
public java.nio.file.FileVisitResult visitFile(java.lang.Object, java.nio.file.attribute.BasicFileAttributes);
descriptor: (Ljava/lang/Object;Ljava/nio/file/attribute/BasicFileAttributes;)Ljava/nio/file/FileVisitResult;
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=3, locals=3, args_size=3
0: aload 0
aload 1
checkcast java.nio.file.Path
aload 2
invokevirtual org.apache.cassandra.service.StartupChecks$9$1.visitFile:(Ljava/nio/file/Path;Ljava/nio/file/attribute/BasicFileAttributes;)Ljava/nio/file/FileVisitResult;
areturn
LocalVariableTable:
Start End Slot Name Signature
Exceptions:
throws java.io.IOException
}
Signature: Ljava/nio/file/SimpleFileVisitor<Ljava/nio/file/Path;>;
SourceFile: "StartupChecks.java"
EnclosingMethod: org.apache.cassandra.service.StartupChecks$9.execute:()V
NestHost: org.apache.cassandra.service.StartupChecks
InnerClasses:
org.apache.cassandra.service.StartupChecks$9
org.apache.cassandra.service.StartupChecks$9$1