public class jdk.tools.jaotc.test.collect.FakeFileSupport extends jdk.tools.jaotc.collect.FileSupport
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: jdk.tools.jaotc.test.collect.FakeFileSupport
super_class: jdk.tools.jaotc.collect.FileSupport
{
private final java.util.Set<java.lang.String> exists;
descriptor: Ljava/util/Set;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/Set<Ljava/lang/String;>;
private final java.util.Set<java.lang.String> directories;
descriptor: Ljava/util/Set;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/Set<Ljava/lang/String;>;
private final java.util.Set<java.lang.String> checkedExists;
descriptor: Ljava/util/Set;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/Set<Ljava/lang/String;>;
private final java.util.Set<java.lang.String> checkedDirectory;
descriptor: Ljava/util/Set;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/Set<Ljava/lang/String;>;
private final java.util.Set<java.lang.String> checkedJarFileSystemRoots;
descriptor: Ljava/util/Set;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/Set<Ljava/lang/String;>;
private final java.util.Set<java.lang.String> classloaderPaths;
descriptor: Ljava/util/Set;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/Set<Ljava/lang/String;>;
private java.nio.file.Path jarFileSystemRoot;
descriptor: Ljava/nio/file/Path;
flags: (0x0002) ACC_PRIVATE
private final java.lang.ClassLoader classLoader;
descriptor: Ljava/lang/ClassLoader;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
public void <init>(java.util.Set<java.lang.String>, java.util.Set<java.lang.String>);
descriptor: (Ljava/util/Set;Ljava/util/Set;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokespecial jdk.tools.jaotc.collect.FileSupport.<init>:()V
1: aload 0
new java.util.HashSet
dup
invokespecial java.util.HashSet.<init>:()V
putfield jdk.tools.jaotc.test.collect.FakeFileSupport.exists:Ljava/util/Set;
2: aload 0
new java.util.HashSet
dup
invokespecial java.util.HashSet.<init>:()V
putfield jdk.tools.jaotc.test.collect.FakeFileSupport.directories:Ljava/util/Set;
3: aload 0
new java.util.HashSet
dup
invokespecial java.util.HashSet.<init>:()V
putfield jdk.tools.jaotc.test.collect.FakeFileSupport.checkedExists:Ljava/util/Set;
4: aload 0
new java.util.HashSet
dup
invokespecial java.util.HashSet.<init>:()V
putfield jdk.tools.jaotc.test.collect.FakeFileSupport.checkedDirectory:Ljava/util/Set;
5: aload 0
new java.util.HashSet
dup
invokespecial java.util.HashSet.<init>:()V
putfield jdk.tools.jaotc.test.collect.FakeFileSupport.checkedJarFileSystemRoots:Ljava/util/Set;
6: aload 0
new java.util.HashSet
dup
invokespecial java.util.HashSet.<init>:()V
putfield jdk.tools.jaotc.test.collect.FakeFileSupport.classloaderPaths:Ljava/util/Set;
7: aload 0
aconst_null
putfield jdk.tools.jaotc.test.collect.FakeFileSupport.jarFileSystemRoot:Ljava/nio/file/Path;
8: aload 0
getfield jdk.tools.jaotc.test.collect.FakeFileSupport.exists:Ljava/util/Set;
aload 1
invokeinterface java.util.Set.addAll:(Ljava/util/Collection;)Z
pop
9: aload 0
getfield jdk.tools.jaotc.test.collect.FakeFileSupport.directories:Ljava/util/Set;
aload 2
invokeinterface java.util.Set.addAll:(Ljava/util/Collection;)Z
pop
10: aload 0
new jdk.tools.jaotc.test.collect.FakeFileSupport$1
dup
aload 0
invokespecial jdk.tools.jaotc.test.collect.FakeFileSupport$1.<init>:(Ljdk/tools/jaotc/test/collect/FakeFileSupport;)V
putfield jdk.tools.jaotc.test.collect.FakeFileSupport.classLoader:Ljava/lang/ClassLoader;
11: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Ljdk/tools/jaotc/test/collect/FakeFileSupport;
0 12 1 existing Ljava/util/Set<Ljava/lang/String;>;
0 12 2 directories Ljava/util/Set<Ljava/lang/String;>;
Signature: (Ljava/util/Set<Ljava/lang/String;>;Ljava/util/Set<Ljava/lang/String;>;)V
MethodParameters:
Name Flags
existing
directories
public void setJarFileSystemRoot(java.nio.file.Path);
descriptor: (Ljava/nio/file/Path;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
putfield jdk.tools.jaotc.test.collect.FakeFileSupport.jarFileSystemRoot:Ljava/nio/file/Path;
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljdk/tools/jaotc/test/collect/FakeFileSupport;
0 2 1 path Ljava/nio/file/Path;
MethodParameters:
Name Flags
path
public boolean exists(java.nio.file.Path);
descriptor: (Ljava/nio/file/Path;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield jdk.tools.jaotc.test.collect.FakeFileSupport.checkedExists:Ljava/util/Set;
aload 1
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.FakeFileSupport.exists:Ljava/util/Set;
aload 1
invokeinterface java.nio.file.Path.toString:()Ljava/lang/String;
invokeinterface java.util.Set.contains:(Ljava/lang/Object;)Z
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljdk/tools/jaotc/test/collect/FakeFileSupport;
0 2 1 path Ljava/nio/file/Path;
MethodParameters:
Name Flags
path
public boolean isDirectory(java.nio.file.Path);
descriptor: (Ljava/nio/file/Path;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield jdk.tools.jaotc.test.collect.FakeFileSupport.checkedDirectory:Ljava/util/Set;
aload 1
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.FakeFileSupport.directories:Ljava/util/Set;
aload 1
invokeinterface java.nio.file.Path.toString:()Ljava/lang/String;
invokeinterface java.util.Set.contains:(Ljava/lang/Object;)Z
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljdk/tools/jaotc/test/collect/FakeFileSupport;
0 2 1 path Ljava/nio/file/Path;
MethodParameters:
Name Flags
path
public java.lang.ClassLoader createClassLoader(java.nio.file.Path);
descriptor: (Ljava/nio/file/Path;)Ljava/lang/ClassLoader;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield jdk.tools.jaotc.test.collect.FakeFileSupport.classloaderPaths:Ljava/util/Set;
aload 1
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.FakeFileSupport.classLoader:Ljava/lang/ClassLoader;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljdk/tools/jaotc/test/collect/FakeFileSupport;
0 2 1 path Ljava/nio/file/Path;
Exceptions:
throws java.net.MalformedURLException
MethodParameters:
Name Flags
path
public java.nio.file.Path getJarFileSystemRoot(java.nio.file.Path);
descriptor: (Ljava/nio/file/Path;)Ljava/nio/file/Path;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield jdk.tools.jaotc.test.collect.FakeFileSupport.checkedJarFileSystemRoots:Ljava/util/Set;
aload 1
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.FakeFileSupport.jarFileSystemRoot:Ljava/nio/file/Path;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljdk/tools/jaotc/test/collect/FakeFileSupport;
0 2 1 jarFile Ljava/nio/file/Path;
MethodParameters:
Name Flags
jarFile
public boolean isAbsolute(java.nio.file.Path);
descriptor: (Ljava/nio/file/Path;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 1
invokeinterface java.nio.file.Path.toString:()Ljava/lang/String;
ldc "/"
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/tools/jaotc/test/collect/FakeFileSupport;
0 1 1 entry Ljava/nio/file/Path;
MethodParameters:
Name Flags
entry
public void addExist(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield jdk.tools.jaotc.test.collect.FakeFileSupport.exists:Ljava/util/Set;
aload 1
invokeinterface java.util.Set.add:(Ljava/lang/Object;)Z
pop
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljdk/tools/jaotc/test/collect/FakeFileSupport;
0 2 1 name Ljava/lang/String;
MethodParameters:
Name Flags
name
public void addDirectory(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield jdk.tools.jaotc.test.collect.FakeFileSupport.directories:Ljava/util/Set;
aload 1
invokeinterface java.util.Set.add:(Ljava/lang/Object;)Z
pop
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljdk/tools/jaotc/test/collect/FakeFileSupport;
0 2 1 name Ljava/lang/String;
MethodParameters:
Name Flags
name
public java.util.Set<java.lang.String> getCheckedExists();
descriptor: ()Ljava/util/Set;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.tools.jaotc.test.collect.FakeFileSupport.checkedExists:Ljava/util/Set;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/tools/jaotc/test/collect/FakeFileSupport;
Signature: ()Ljava/util/Set<Ljava/lang/String;>;
public java.util.Set<java.lang.String> getCheckedDirectory();
descriptor: ()Ljava/util/Set;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.tools.jaotc.test.collect.FakeFileSupport.checkedDirectory:Ljava/util/Set;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/tools/jaotc/test/collect/FakeFileSupport;
Signature: ()Ljava/util/Set<Ljava/lang/String;>;
public java.util.Set<java.lang.String> getCheckedJarFileSystemRoots();
descriptor: ()Ljava/util/Set;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.tools.jaotc.test.collect.FakeFileSupport.checkedJarFileSystemRoots:Ljava/util/Set;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/tools/jaotc/test/collect/FakeFileSupport;
Signature: ()Ljava/util/Set<Ljava/lang/String;>;
public java.util.Set<java.lang.String> getClassloaderPaths();
descriptor: ()Ljava/util/Set;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.tools.jaotc.test.collect.FakeFileSupport.classloaderPaths:Ljava/util/Set;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/tools/jaotc/test/collect/FakeFileSupport;
Signature: ()Ljava/util/Set<Ljava/lang/String;>;
}
SourceFile: "FakeFileSupport.java"
NestMembers:
jdk.tools.jaotc.test.collect.FakeFileSupport$1
InnerClasses:
jdk.tools.jaotc.test.collect.FakeFileSupport$1