public class jdk.tools.jaotc.test.collect.FakeSearchPath extends jdk.tools.jaotc.collect.SearchPath
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: jdk.tools.jaotc.test.collect.FakeSearchPath
super_class: jdk.tools.jaotc.collect.SearchPath
{
private java.nio.file.Path path;
descriptor: Ljava/nio/file/Path;
flags: (0x0002) ACC_PRIVATE
public java.util.Set<java.lang.String> entries;
descriptor: Ljava/util/Set;
flags: (0x0001) ACC_PUBLIC
Signature: Ljava/util/Set<Ljava/lang/String;>;
public void <init>(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial jdk.tools.jaotc.collect.SearchPath.<init>:()V
1: aload 0
aconst_null
putfield jdk.tools.jaotc.test.collect.FakeSearchPath.path:Ljava/nio/file/Path;
2: aload 0
iconst_0
anewarray java.lang.String
invokestatic jdk.tools.jaotc.test.collect.Utils.set:([Ljava/lang/Object;)Ljava/util/Set;
putfield jdk.tools.jaotc.test.collect.FakeSearchPath.entries:Ljava/util/Set;
3: aload 1
ifnull 5
4: aload 0
aload 1
iconst_0
anewarray java.lang.String
invokestatic java.nio.file.Paths.get:(Ljava/lang/String;[Ljava/lang/String;)Ljava/nio/file/Path;
putfield jdk.tools.jaotc.test.collect.FakeSearchPath.path:Ljava/nio/file/Path;
5: StackMap locals: jdk.tools.jaotc.test.collect.FakeSearchPath java.lang.String
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Ljdk/tools/jaotc/test/collect/FakeSearchPath;
0 6 1 name Ljava/lang/String;
MethodParameters:
Name Flags
name
public java.nio.file.Path find(java.nio.file.FileSystem, java.nio.file.Path, java.lang.String[]);
descriptor: (Ljava/nio/file/FileSystem;Ljava/nio/file/Path;[Ljava/lang/String;)Ljava/nio/file/Path;
flags: (0x0081) ACC_PUBLIC, ACC_VARARGS
Code:
stack=2, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
getfield jdk.tools.jaotc.test.collect.FakeSearchPath.entries:Ljava/util/Set;
aload 2
invokeinterface java.nio.file.Path.toString:()Ljava/lang/String;
invokeinterface java.util.Set.add:(Ljava/lang/Object;)Z
pop
1: aload 0
getfield jdk.tools.jaotc.test.collect.FakeSearchPath.path:Ljava/nio/file/Path;
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljdk/tools/jaotc/test/collect/FakeSearchPath;
0 2 1 fileSystem Ljava/nio/file/FileSystem;
0 2 2 entry Ljava/nio/file/Path;
0 2 3 defaults [Ljava/lang/String;
MethodParameters:
Name Flags
fileSystem
entry
defaults
}
SourceFile: "FakeSearchPath.java"