public class jdk.tools.jaotc.collect.SearchPath
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: jdk.tools.jaotc.collect.SearchPath
super_class: java.lang.Object
{
private final java.util.List<java.nio.file.Path> searchPaths;
descriptor: Ljava/util/List;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/List<Ljava/nio/file/Path;>;
private final jdk.tools.jaotc.collect.FileSupport fileSupport;
descriptor: Ljdk/tools/jaotc/collect/FileSupport;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
new jdk.tools.jaotc.collect.FileSupport
dup
invokespecial jdk.tools.jaotc.collect.FileSupport.<init>:()V
invokespecial jdk.tools.jaotc.collect.SearchPath.<init>:(Ljdk/tools/jaotc/collect/FileSupport;)V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljdk/tools/jaotc/collect/SearchPath;
public void <init>(jdk.tools.jaotc.collect.FileSupport);
descriptor: (Ljdk/tools/jaotc/collect/FileSupport;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
putfield jdk.tools.jaotc.collect.SearchPath.searchPaths:Ljava/util/List;
2: aload 0
aload 1
putfield jdk.tools.jaotc.collect.SearchPath.fileSupport:Ljdk/tools/jaotc/collect/FileSupport;
3: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljdk/tools/jaotc/collect/SearchPath;
0 4 1 fileSupport Ljdk/tools/jaotc/collect/FileSupport;
MethodParameters:
Name Flags
fileSupport
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=6, locals=9, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
aload 2
invokevirtual jdk.tools.jaotc.collect.SearchPath.isAbsolute:(Ljava/nio/file/Path;)Z
ifeq 4
1: aload 0
aload 2
invokevirtual jdk.tools.jaotc.collect.SearchPath.exists:(Ljava/nio/file/Path;)Z
ifeq 3
2: aload 2
areturn
3: StackMap locals:
StackMap stack:
aconst_null
areturn
4: StackMap locals:
StackMap stack:
aload 0
aload 2
invokevirtual jdk.tools.jaotc.collect.SearchPath.exists:(Ljava/nio/file/Path;)Z
ifeq 6
5: aload 2
areturn
6: StackMap locals:
StackMap stack:
aload 3
dup
astore 7
arraylength
istore 6
iconst_0
istore 5
goto 12
StackMap locals: jdk.tools.jaotc.collect.SearchPath java.nio.file.FileSystem java.nio.file.Path java.lang.String[] top int int java.lang.String[]
StackMap stack:
7: aload 7
iload 5
aaload
astore 4
start local 4 8: aload 1
aload 4
iconst_1
anewarray java.lang.String
dup
iconst_0
aload 2
invokeinterface java.nio.file.Path.toString:()Ljava/lang/String;
aastore
invokevirtual java.nio.file.FileSystem.getPath:(Ljava/lang/String;[Ljava/lang/String;)Ljava/nio/file/Path;
astore 8
start local 8 9: aload 0
aload 8
invokevirtual jdk.tools.jaotc.collect.SearchPath.exists:(Ljava/nio/file/Path;)Z
ifeq 11
10: aload 8
areturn
end local 8 end local 4 11: StackMap locals:
StackMap stack:
iinc 5 1
StackMap locals:
StackMap stack:
12: iload 5
iload 6
if_icmplt 7
13: aload 0
getfield jdk.tools.jaotc.collect.SearchPath.searchPaths:Ljava/util/List;
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 5
goto 18
StackMap locals: jdk.tools.jaotc.collect.SearchPath java.nio.file.FileSystem java.nio.file.Path java.lang.String[] top java.util.Iterator
StackMap stack:
14: aload 5
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.nio.file.Path
astore 4
start local 4 15: aload 1
aload 4
invokeinterface java.nio.file.Path.toString:()Ljava/lang/String;
iconst_1
anewarray java.lang.String
dup
iconst_0
aload 2
invokeinterface java.nio.file.Path.toString:()Ljava/lang/String;
aastore
invokevirtual java.nio.file.FileSystem.getPath:(Ljava/lang/String;[Ljava/lang/String;)Ljava/nio/file/Path;
astore 6
start local 6 16: aload 0
aload 6
invokevirtual jdk.tools.jaotc.collect.SearchPath.exists:(Ljava/nio/file/Path;)Z
ifeq 18
17: aload 6
areturn
end local 6 end local 4 18: StackMap locals:
StackMap stack:
aload 5
invokeinterface java.util.Iterator.hasNext:()Z
ifne 14
19: aconst_null
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 20 0 this Ljdk/tools/jaotc/collect/SearchPath;
0 20 1 fileSystem Ljava/nio/file/FileSystem;
0 20 2 entry Ljava/nio/file/Path;
0 20 3 defaults [Ljava/lang/String;
8 11 4 searchPath Ljava/lang/String;
9 11 8 newPath Ljava/nio/file/Path;
15 18 4 searchPath Ljava/nio/file/Path;
16 18 6 newPath Ljava/nio/file/Path;
MethodParameters:
Name Flags
fileSystem
entry
defaults
private boolean isAbsolute(java.nio.file.Path);
descriptor: (Ljava/nio/file/Path;)Z
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield jdk.tools.jaotc.collect.SearchPath.fileSupport:Ljdk/tools/jaotc/collect/FileSupport;
aload 1
invokevirtual jdk.tools.jaotc.collect.FileSupport.isAbsolute:(Ljava/nio/file/Path;)Z
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/tools/jaotc/collect/SearchPath;
0 1 1 entry Ljava/nio/file/Path;
MethodParameters:
Name Flags
entry
private boolean exists(java.nio.file.Path);
descriptor: (Ljava/nio/file/Path;)Z
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield jdk.tools.jaotc.collect.SearchPath.fileSupport:Ljdk/tools/jaotc/collect/FileSupport;
aload 1
invokevirtual jdk.tools.jaotc.collect.FileSupport.exists:(Ljava/nio/file/Path;)Z
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/tools/jaotc/collect/SearchPath;
0 1 1 entry Ljava/nio/file/Path;
MethodParameters:
Name Flags
entry
public void add(java.lang.String[]);
descriptor: ([Ljava/lang/String;)V
flags: (0x0081) ACC_PUBLIC, 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 5
StackMap locals: jdk.tools.jaotc.collect.SearchPath java.lang.String[] top int int java.lang.String[]
StackMap stack:
1: aload 5
iload 3
aaload
astore 2
start local 2 2: aload 2
iconst_0
anewarray java.lang.String
invokestatic java.nio.file.Paths.get:(Ljava/lang/String;[Ljava/lang/String;)Ljava/nio/file/Path;
astore 6
start local 6 3: aload 0
getfield jdk.tools.jaotc.collect.SearchPath.searchPaths:Ljava/util/List;
aload 6
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
end local 6 end local 2 4: iinc 3 1
StackMap locals:
StackMap stack:
5: iload 3
iload 4
if_icmplt 1
6: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Ljdk/tools/jaotc/collect/SearchPath;
0 7 1 paths [Ljava/lang/String;
2 4 2 name Ljava/lang/String;
3 4 6 path Ljava/nio/file/Path;
MethodParameters:
Name Flags
paths
}
SourceFile: "SearchPath.java"