class jdk.jshell.SourceCodeAnalysisImpl$5 implements java.nio.file.FileVisitor<java.nio.file.Path>
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: jdk.jshell.SourceCodeAnalysisImpl$5
super_class: java.lang.Object
{
int depth;
descriptor: I
flags: (0x0000)
final jdk.jshell.SourceCodeAnalysisImpl this$0;
descriptor: Ljdk/jshell/SourceCodeAnalysisImpl;
flags: (0x1010) ACC_FINAL, ACC_SYNTHETIC
private final java.nio.file.Path val$d;
descriptor: Ljava/nio/file/Path;
flags: (0x1012) ACC_PRIVATE, ACC_FINAL, ACC_SYNTHETIC
private final java.util.Set val$packages;
descriptor: Ljava/util/Set;
flags: (0x1012) ACC_PRIVATE, ACC_FINAL, ACC_SYNTHETIC
private final java.util.Map val$classSimpleName2FQN;
descriptor: Ljava/util/Map;
flags: (0x1012) ACC_PRIVATE, ACC_FINAL, ACC_SYNTHETIC
void <init>(jdk.jshell.SourceCodeAnalysisImpl, java.nio.file.Path, java.util.Set, java.util.Map);
descriptor: (Ljdk/jshell/SourceCodeAnalysisImpl;Ljava/nio/file/Path;Ljava/util/Set;Ljava/util/Map;)V
flags: (0x0000)
Code:
stack=2, locals=5, args_size=5
start local 0 0: aload 0
aload 1
putfield jdk.jshell.SourceCodeAnalysisImpl$5.this$0:Ljdk/jshell/SourceCodeAnalysisImpl;
aload 0
aload 2
putfield jdk.jshell.SourceCodeAnalysisImpl$5.val$d:Ljava/nio/file/Path;
aload 0
aload 3
putfield jdk.jshell.SourceCodeAnalysisImpl$5.val$packages:Ljava/util/Set;
aload 0
aload 4
putfield jdk.jshell.SourceCodeAnalysisImpl$5.val$classSimpleName2FQN:Ljava/util/Map;
aload 0
invokespecial java.lang.Object.<init>:()V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/jshell/SourceCodeAnalysisImpl$5;
MethodParameters:
Name Flags
this$0 final
val$d final
val$packages final
val$classSimpleName2FQN final
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=4, locals=5, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield jdk.jshell.SourceCodeAnalysisImpl$5.this$0:Ljdk/jshell/SourceCodeAnalysisImpl;
invokevirtual jdk.jshell.SourceCodeAnalysisImpl.waitIndexingNotSuspended:()V
1: aload 0
dup
getfield jdk.jshell.SourceCodeAnalysisImpl$5.depth:I
dup_x1
iconst_1
iadd
putfield jdk.jshell.SourceCodeAnalysisImpl$5.depth:I
ifne 3
2: getstatic java.nio.file.FileVisitResult.CONTINUE:Ljava/nio/file/FileVisitResult;
areturn
3: StackMap locals:
StackMap stack:
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 4: aload 1
invokeinterface java.nio.file.Path.getFileSystem:()Ljava/nio/file/FileSystem;
invokevirtual java.nio.file.FileSystem.getSeparator:()Ljava/lang/String;
astore 4
start local 4 5: aload 3
aload 4
invokevirtual java.lang.String.endsWith:(Ljava/lang/String;)Z
ifeq 6
aload 3
iconst_0
aload 3
invokevirtual java.lang.String.length:()I
aload 4
invokevirtual java.lang.String.length:()I
isub
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
goto 7
6: StackMap locals: java.lang.String java.lang.String
StackMap stack:
aload 3
7: StackMap locals:
StackMap stack: java.lang.String
astore 3
8: aload 3
invokestatic javax.lang.model.SourceVersion.isIdentifier:(Ljava/lang/CharSequence;)Z
ifeq 10
9: getstatic java.nio.file.FileVisitResult.CONTINUE:Ljava/nio/file/FileVisitResult;
areturn
10: StackMap locals:
StackMap stack:
getstatic java.nio.file.FileVisitResult.SKIP_SUBTREE:Ljava/nio/file/FileVisitResult;
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Ljdk/jshell/SourceCodeAnalysisImpl$5;
0 11 1 dir Ljava/nio/file/Path;
0 11 2 attrs Ljava/nio/file/attribute/BasicFileAttributes;
4 11 3 dirName Ljava/lang/String;
5 11 4 sep Ljava/lang/String;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
dir
attrs
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=4, locals=7, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield jdk.jshell.SourceCodeAnalysisImpl$5.this$0:Ljdk/jshell/SourceCodeAnalysisImpl;
invokevirtual jdk.jshell.SourceCodeAnalysisImpl.waitIndexingNotSuspended:()V
1: aload 1
invokeinterface java.nio.file.Path.getFileName:()Ljava/nio/file/Path;
invokeinterface java.nio.file.Path.toString:()Ljava/lang/String;
ldc ".class"
invokevirtual java.lang.String.endsWith:(Ljava/lang/String;)Z
ifeq 9
2: aload 0
getfield jdk.jshell.SourceCodeAnalysisImpl$5.val$d:Ljava/nio/file/Path;
aload 1
invokeinterface java.nio.file.Path.relativize:(Ljava/nio/file/Path;)Ljava/nio/file/Path;
invokeinterface java.nio.file.Path.toString:()Ljava/lang/String;
astore 3
start local 3 3: aload 3
iconst_0
aload 3
invokevirtual java.lang.String.length:()I
bipush 6
isub
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
bipush 47
bipush 46
invokevirtual java.lang.String.replace:(CC)Ljava/lang/String;
astore 4
start local 4 4: aload 4
bipush 46
invokevirtual java.lang.String.lastIndexOf:(I)I
istore 5
start local 5 5: iload 5
iconst_m1
if_icmple 7
6: aload 0
getfield jdk.jshell.SourceCodeAnalysisImpl$5.val$packages:Ljava/util/Set;
aload 4
iconst_0
iload 5
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
invokeinterface java.util.Set.add:(Ljava/lang/Object;)Z
pop
7: StackMap locals: java.lang.String java.lang.String int
StackMap stack:
aload 4
bipush 36
bipush 46
invokevirtual java.lang.String.replace:(CC)Ljava/lang/String;
astore 6
start local 6 8: aload 0
getfield jdk.jshell.SourceCodeAnalysisImpl$5.val$classSimpleName2FQN:Ljava/util/Map;
aload 6
invokestatic jdk.jshell.SourceCodeAnalysisImpl.addClassName2Map:(Ljava/util/Map;Ljava/lang/String;)V
end local 6 end local 5 end local 4 end local 3 9: 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 10 0 this Ljdk/jshell/SourceCodeAnalysisImpl$5;
0 10 1 file Ljava/nio/file/Path;
0 10 2 attrs Ljava/nio/file/attribute/BasicFileAttributes;
3 9 3 relativePath Ljava/lang/String;
4 9 4 binaryName Ljava/lang/String;
5 9 5 packageDot I
8 9 6 typeName Ljava/lang/String;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
file
attrs
public java.nio.file.FileVisitResult visitFileFailed(java.nio.file.Path, java.io.IOException);
descriptor: (Ljava/nio/file/Path;Ljava/io/IOException;)Ljava/nio/file/FileVisitResult;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=3, args_size=3
start local 0 start local 1 start local 2 0: 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 1 0 this Ljdk/jshell/SourceCodeAnalysisImpl$5;
0 1 1 file Ljava/nio/file/Path;
0 1 2 exc Ljava/io/IOException;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
file
exc
public java.nio.file.FileVisitResult postVisitDirectory(java.nio.file.Path, java.io.IOException);
descriptor: (Ljava/nio/file/Path;Ljava/io/IOException;)Ljava/nio/file/FileVisitResult;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
dup
getfield jdk.jshell.SourceCodeAnalysisImpl$5.depth:I
iconst_1
isub
putfield jdk.jshell.SourceCodeAnalysisImpl$5.depth:I
1: 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 2 0 this Ljdk/jshell/SourceCodeAnalysisImpl$5;
0 2 1 dir Ljava/nio/file/Path;
0 2 2 exc Ljava/io/IOException;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
dir
exc
public java.nio.file.FileVisitResult visitFileFailed(java.lang.Object, java.io.IOException);
descriptor: (Ljava/lang/Object;Ljava/io/IOException;)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 jdk.jshell.SourceCodeAnalysisImpl$5.visitFileFailed:(Ljava/nio/file/Path;Ljava/io/IOException;)Ljava/nio/file/FileVisitResult;
areturn
LocalVariableTable:
Start End Slot Name Signature
Exceptions:
throws java.io.IOException
public java.nio.file.FileVisitResult postVisitDirectory(java.lang.Object, java.io.IOException);
descriptor: (Ljava/lang/Object;Ljava/io/IOException;)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 jdk.jshell.SourceCodeAnalysisImpl$5.postVisitDirectory:(Ljava/nio/file/Path;Ljava/io/IOException;)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 jdk.jshell.SourceCodeAnalysisImpl$5.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
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 jdk.jshell.SourceCodeAnalysisImpl$5.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
}
Signature: Ljava/lang/Object;Ljava/nio/file/FileVisitor<Ljava/nio/file/Path;>;
SourceFile: "SourceCodeAnalysisImpl.java"
EnclosingMethod: jdk.jshell.SourceCodeAnalysisImpl.doIndex:(JLjava/nio/file/Path;Ljava/lang/Iterable;)Ljdk/jshell/SourceCodeAnalysisImpl$ClassIndex;
NestHost: jdk.jshell.SourceCodeAnalysisImpl
InnerClasses:
jdk.jshell.SourceCodeAnalysisImpl$5
public final ClassIndex = jdk.jshell.SourceCodeAnalysisImpl$ClassIndex of jdk.jshell.SourceCodeAnalysisImpl