public class com.sun.tools.javac.file.CacheFSInfo extends com.sun.tools.javac.file.FSInfo
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: com.sun.tools.javac.file.CacheFSInfo
super_class: com.sun.tools.javac.file.FSInfo
{
protected final java.util.concurrent.ConcurrentHashMap<java.nio.file.Path, java.nio.file.Path> canonicalPathCache;
descriptor: Ljava/util/concurrent/ConcurrentHashMap;
flags: (0x0014) ACC_PROTECTED, ACC_FINAL
Signature: Ljava/util/concurrent/ConcurrentHashMap<Ljava/nio/file/Path;Ljava/nio/file/Path;>;
protected final java.util.concurrent.ConcurrentHashMap<java.nio.file.Path, java.util.Optional<java.nio.file.attribute.BasicFileAttributes>> attributeCache;
descriptor: Ljava/util/concurrent/ConcurrentHashMap;
flags: (0x0014) ACC_PROTECTED, ACC_FINAL
Signature: Ljava/util/concurrent/ConcurrentHashMap<Ljava/nio/file/Path;Ljava/util/Optional<Ljava/nio/file/attribute/BasicFileAttributes;>;>;
protected final java.util.concurrent.ConcurrentHashMap<java.nio.file.Path, java.util.List<java.nio.file.Path>> jarClassPathCache;
descriptor: Ljava/util/concurrent/ConcurrentHashMap;
flags: (0x0014) ACC_PROTECTED, ACC_FINAL
Signature: Ljava/util/concurrent/ConcurrentHashMap<Ljava/nio/file/Path;Ljava/util/List<Ljava/nio/file/Path;>;>;
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
invokespecial com.sun.tools.javac.file.FSInfo.<init>:()V
1: aload 0
new java.util.concurrent.ConcurrentHashMap
dup
invokespecial java.util.concurrent.ConcurrentHashMap.<init>:()V
putfield com.sun.tools.javac.file.CacheFSInfo.canonicalPathCache:Ljava/util/concurrent/ConcurrentHashMap;
2: aload 0
3: new java.util.concurrent.ConcurrentHashMap
dup
invokespecial java.util.concurrent.ConcurrentHashMap.<init>:()V
putfield com.sun.tools.javac.file.CacheFSInfo.attributeCache:Ljava/util/concurrent/ConcurrentHashMap;
4: aload 0
5: new java.util.concurrent.ConcurrentHashMap
dup
invokespecial java.util.concurrent.ConcurrentHashMap.<init>:()V
putfield com.sun.tools.javac.file.CacheFSInfo.jarClassPathCache:Ljava/util/concurrent/ConcurrentHashMap;
6: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lcom/sun/tools/javac/file/CacheFSInfo;
public static void preRegister(com.sun.tools.javac.util.Context);
descriptor: (Lcom/sun/tools/javac/util/Context;)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
ldc Lcom/sun/tools/javac/file/FSInfo;
invokedynamic make()Lcom/sun/tools/javac/util/Context$Factory;
Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
Method arguments:
(Lcom/sun/tools/javac/util/Context;)Ljava/lang/Object;
com/sun/tools/javac/file/CacheFSInfo.lambda$0(Lcom/sun/tools/javac/util/Context;)Lcom/sun/tools/javac/file/FSInfo; (6)
(Lcom/sun/tools/javac/util/Context;)Lcom/sun/tools/javac/file/FSInfo;
invokevirtual com.sun.tools.javac.util.Context.put:(Ljava/lang/Class;Lcom/sun/tools/javac/util/Context$Factory;)V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 context Lcom/sun/tools/javac/util/Context;
MethodParameters:
Name Flags
context
public void clearCache();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.sun.tools.javac.file.CacheFSInfo.canonicalPathCache:Ljava/util/concurrent/ConcurrentHashMap;
invokevirtual java.util.concurrent.ConcurrentHashMap.clear:()V
1: aload 0
getfield com.sun.tools.javac.file.CacheFSInfo.attributeCache:Ljava/util/concurrent/ConcurrentHashMap;
invokevirtual java.util.concurrent.ConcurrentHashMap.clear:()V
2: aload 0
getfield com.sun.tools.javac.file.CacheFSInfo.jarClassPathCache:Ljava/util/concurrent/ConcurrentHashMap;
invokevirtual java.util.concurrent.ConcurrentHashMap.clear:()V
3: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/sun/tools/javac/file/CacheFSInfo;
public java.nio.file.Path getCanonicalFile(java.nio.file.Path);
descriptor: (Ljava/nio/file/Path;)Ljava/nio/file/Path;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield com.sun.tools.javac.file.CacheFSInfo.canonicalPathCache:Ljava/util/concurrent/ConcurrentHashMap;
aload 1
aload 0
invokedynamic apply(Lcom/sun/tools/javac/file/CacheFSInfo;)Ljava/util/function/Function;
Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
Method arguments:
(Ljava/lang/Object;)Ljava/lang/Object;
com/sun/tools/javac/file/CacheFSInfo.access$0(Lcom/sun/tools/javac/file/CacheFSInfo;Ljava/nio/file/Path;)Ljava/nio/file/Path; (6)
(Ljava/nio/file/Path;)Ljava/nio/file/Path;
invokevirtual java.util.concurrent.ConcurrentHashMap.computeIfAbsent:(Ljava/lang/Object;Ljava/util/function/Function;)Ljava/lang/Object;
checkcast java.nio.file.Path
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/tools/javac/file/CacheFSInfo;
0 1 1 file Ljava/nio/file/Path;
MethodParameters:
Name Flags
file
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
aload 1
invokevirtual com.sun.tools.javac.file.CacheFSInfo.getAttributes:(Ljava/nio/file/Path;)Ljava/util/Optional;
invokevirtual java.util.Optional.isPresent:()Z
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/tools/javac/file/CacheFSInfo;
0 1 1 file Ljava/nio/file/Path;
MethodParameters:
Name Flags
file
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
aload 1
invokevirtual com.sun.tools.javac.file.CacheFSInfo.getAttributes:(Ljava/nio/file/Path;)Ljava/util/Optional;
invokedynamic apply()Ljava/util/function/Function;
Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
Method arguments:
(Ljava/lang/Object;)Ljava/lang/Object;
java/nio/file/attribute/BasicFileAttributes.isDirectory()Z (9 itf)
(Ljava/nio/file/attribute/BasicFileAttributes;)Ljava/lang/Boolean;
invokevirtual java.util.Optional.map:(Ljava/util/function/Function;)Ljava/util/Optional;
iconst_0
invokestatic java.lang.Boolean.valueOf:(Z)Ljava/lang/Boolean;
invokevirtual java.util.Optional.orElse:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.lang.Boolean
invokevirtual java.lang.Boolean.booleanValue:()Z
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/tools/javac/file/CacheFSInfo;
0 1 1 file Ljava/nio/file/Path;
MethodParameters:
Name Flags
file
public boolean isFile(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
aload 1
invokevirtual com.sun.tools.javac.file.CacheFSInfo.getAttributes:(Ljava/nio/file/Path;)Ljava/util/Optional;
invokedynamic apply()Ljava/util/function/Function;
Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
Method arguments:
(Ljava/lang/Object;)Ljava/lang/Object;
java/nio/file/attribute/BasicFileAttributes.isRegularFile()Z (9 itf)
(Ljava/nio/file/attribute/BasicFileAttributes;)Ljava/lang/Boolean;
invokevirtual java.util.Optional.map:(Ljava/util/function/Function;)Ljava/util/Optional;
iconst_0
invokestatic java.lang.Boolean.valueOf:(Z)Ljava/lang/Boolean;
invokevirtual java.util.Optional.orElse:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.lang.Boolean
invokevirtual java.lang.Boolean.booleanValue:()Z
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/tools/javac/file/CacheFSInfo;
0 1 1 file Ljava/nio/file/Path;
MethodParameters:
Name Flags
file
public java.util.List<java.nio.file.Path> getJarClassPath(java.nio.file.Path);
descriptor: (Ljava/nio/file/Path;)Ljava/util/List;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=4, args_size=2
start local 0 start local 1 0: aload 0
getfield com.sun.tools.javac.file.CacheFSInfo.jarClassPathCache:Ljava/util/concurrent/ConcurrentHashMap;
dup
astore 2
monitorenter
1: aload 0
getfield com.sun.tools.javac.file.CacheFSInfo.jarClassPathCache:Ljava/util/concurrent/ConcurrentHashMap;
aload 1
invokevirtual java.util.concurrent.ConcurrentHashMap.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.util.List
astore 3
start local 3 2: aload 3
ifnonnull 5
3: aload 0
aload 1
invokespecial com.sun.tools.javac.file.FSInfo.getJarClassPath:(Ljava/nio/file/Path;)Ljava/util/List;
astore 3
4: aload 0
getfield com.sun.tools.javac.file.CacheFSInfo.jarClassPathCache:Ljava/util/concurrent/ConcurrentHashMap;
aload 1
aload 3
invokevirtual java.util.concurrent.ConcurrentHashMap.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
5: StackMap locals: java.util.concurrent.ConcurrentHashMap java.util.List
StackMap stack:
aload 3
aload 2
monitorexit
6: areturn
end local 3 7: StackMap locals: com.sun.tools.javac.file.CacheFSInfo java.nio.file.Path java.util.concurrent.ConcurrentHashMap
StackMap stack: java.lang.Throwable
aload 2
monitorexit
8: athrow
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lcom/sun/tools/javac/file/CacheFSInfo;
0 9 1 file Ljava/nio/file/Path;
2 7 3 jarClassPath Ljava/util/List<Ljava/nio/file/Path;>;
Exception table:
from to target type
1 6 7 any
7 8 7 any
Exceptions:
throws java.io.IOException
Signature: (Ljava/nio/file/Path;)Ljava/util/List<Ljava/nio/file/Path;>;
MethodParameters:
Name Flags
file
protected java.util.Optional<java.nio.file.attribute.BasicFileAttributes> getAttributes(java.nio.file.Path);
descriptor: (Ljava/nio/file/Path;)Ljava/util/Optional;
flags: (0x0004) ACC_PROTECTED
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield com.sun.tools.javac.file.CacheFSInfo.attributeCache:Ljava/util/concurrent/ConcurrentHashMap;
aload 1
aload 0
invokedynamic apply(Lcom/sun/tools/javac/file/CacheFSInfo;)Ljava/util/function/Function;
Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
Method arguments:
(Ljava/lang/Object;)Ljava/lang/Object;
com/sun/tools/javac/file/CacheFSInfo.maybeReadAttributes(Ljava/nio/file/Path;)Ljava/util/Optional; (5)
(Ljava/nio/file/Path;)Ljava/util/Optional;
invokevirtual java.util.concurrent.ConcurrentHashMap.computeIfAbsent:(Ljava/lang/Object;Ljava/util/function/Function;)Ljava/lang/Object;
checkcast java.util.Optional
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/tools/javac/file/CacheFSInfo;
0 1 1 file Ljava/nio/file/Path;
Signature: (Ljava/nio/file/Path;)Ljava/util/Optional<Ljava/nio/file/attribute/BasicFileAttributes;>;
MethodParameters:
Name Flags
file
protected java.util.Optional<java.nio.file.attribute.BasicFileAttributes> maybeReadAttributes(java.nio.file.Path);
descriptor: (Ljava/nio/file/Path;)Ljava/util/Optional;
flags: (0x0004) ACC_PROTECTED
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 1
ldc Ljava/nio/file/attribute/BasicFileAttributes;
iconst_0
anewarray java.nio.file.LinkOption
invokestatic java.nio.file.Files.readAttributes:(Ljava/nio/file/Path;Ljava/lang/Class;[Ljava/nio/file/LinkOption;)Ljava/nio/file/attribute/BasicFileAttributes;
invokestatic java.util.Optional.of:(Ljava/lang/Object;)Ljava/util/Optional;
1: areturn
2: StackMap locals:
StackMap stack: java.io.IOException
pop
3: invokestatic java.util.Optional.empty:()Ljava/util/Optional;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/sun/tools/javac/file/CacheFSInfo;
0 4 1 file Ljava/nio/file/Path;
Exception table:
from to target type
0 1 2 Class java.io.IOException
Signature: (Ljava/nio/file/Path;)Ljava/util/Optional<Ljava/nio/file/attribute/BasicFileAttributes;>;
MethodParameters:
Name Flags
file
static java.nio.file.Path access$0(com.sun.tools.javac.file.CacheFSInfo, java.nio.file.Path);
descriptor: (Lcom/sun/tools/javac/file/CacheFSInfo;Ljava/nio/file/Path;)Ljava/nio/file/Path;
flags: (0x1008) ACC_STATIC, ACC_SYNTHETIC
Code:
stack=2, locals=2, args_size=2
0: aload 0
aload 1
invokespecial com.sun.tools.javac.file.FSInfo.getCanonicalFile:(Ljava/nio/file/Path;)Ljava/nio/file/Path;
areturn
LocalVariableTable:
Start End Slot Name Signature
private static com.sun.tools.javac.file.FSInfo lambda$0(com.sun.tools.javac.util.Context);
descriptor: (Lcom/sun/tools/javac/util/Context;)Lcom/sun/tools/javac/file/FSInfo;
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=3, locals=2, args_size=1
start local 0 0: new com.sun.tools.javac.file.CacheFSInfo
dup
invokespecial com.sun.tools.javac.file.CacheFSInfo.<init>:()V
astore 1
start local 1 1: aload 0
ldc Lcom/sun/tools/javac/file/FSInfo;
aload 1
invokevirtual com.sun.tools.javac.util.Context.put:(Ljava/lang/Class;Ljava/lang/Object;)V
2: aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 c Lcom/sun/tools/javac/util/Context;
1 3 1 instance Lcom/sun/tools/javac/file/FSInfo;
}
SourceFile: "CacheFSInfo.java"
InnerClasses:
public abstract Factory = com.sun.tools.javac.util.Context$Factory of com.sun.tools.javac.util.Context
public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles