class com.sun.tools.javac.file.Locations$OutputLocationHandler extends com.sun.tools.javac.file.Locations$BasicLocationHandler
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: com.sun.tools.javac.file.Locations$OutputLocationHandler
super_class: com.sun.tools.javac.file.Locations$BasicLocationHandler
{
private java.nio.file.Path outputDir;
descriptor: Ljava/nio/file/Path;
flags: (0x0002) ACC_PRIVATE
private com.sun.tools.javac.file.Locations$ModuleTable moduleTable;
descriptor: Lcom/sun/tools/javac/file/Locations$ModuleTable;
flags: (0x0002) ACC_PRIVATE
private boolean listed;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
final com.sun.tools.javac.file.Locations this$0;
descriptor: Lcom/sun/tools/javac/file/Locations;
flags: (0x1010) ACC_FINAL, ACC_SYNTHETIC
void <init>(com.sun.tools.javac.file.Locations, javax.tools.JavaFileManager$Location, com.sun.tools.javac.main.Option[]);
descriptor: (Lcom/sun/tools/javac/file/Locations;Ljavax/tools/JavaFileManager$Location;[Lcom/sun/tools/javac/main/Option;)V
flags: (0x0080) ACC_VARARGS
Code:
stack=3, locals=4, args_size=4
start local 0 start local 2 start local 3 0: aload 0
aload 1
putfield com.sun.tools.javac.file.Locations$OutputLocationHandler.this$0:Lcom/sun/tools/javac/file/Locations;
1: aload 0
aload 2
aload 3
invokespecial com.sun.tools.javac.file.Locations$BasicLocationHandler.<init>:(Ljavax/tools/JavaFileManager$Location;[Lcom/sun/tools/javac/main/Option;)V
2: return
end local 3 end local 2 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/sun/tools/javac/file/Locations$OutputLocationHandler;
0 3 2 location Ljavax/tools/JavaFileManager$Location;
0 3 3 options [Lcom/sun/tools/javac/main/Option;
MethodParameters:
Name Flags
this$0 final
location
options
boolean handleOption(com.sun.tools.javac.main.Option, java.lang.String);
descriptor: (Lcom/sun/tools/javac/main/Option;Ljava/lang/String;)Z
flags: (0x0000)
Code:
stack=4, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield com.sun.tools.javac.file.Locations$OutputLocationHandler.options:Ljava/util/Set;
aload 1
invokeinterface java.util.Set.contains:(Ljava/lang/Object;)Z
ifne 2
1: iconst_0
ireturn
2: StackMap locals:
StackMap stack:
aload 0
aload 2
ifnonnull 3
aconst_null
goto 4
StackMap locals:
StackMap stack: com.sun.tools.javac.file.Locations$OutputLocationHandler
3: aload 0
getfield com.sun.tools.javac.file.Locations$OutputLocationHandler.this$0:Lcom/sun/tools/javac/file/Locations;
aload 2
iconst_0
anewarray java.lang.String
invokevirtual com.sun.tools.javac.file.Locations.getPath:(Ljava/lang/String;[Ljava/lang/String;)Ljava/nio/file/Path;
StackMap locals: com.sun.tools.javac.file.Locations$OutputLocationHandler com.sun.tools.javac.main.Option java.lang.String
StackMap stack: com.sun.tools.javac.file.Locations$OutputLocationHandler java.nio.file.Path
4: putfield com.sun.tools.javac.file.Locations$OutputLocationHandler.outputDir:Ljava/nio/file/Path;
5: iconst_1
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lcom/sun/tools/javac/file/Locations$OutputLocationHandler;
0 6 1 option Lcom/sun/tools/javac/main/Option;
0 6 2 value Ljava/lang/String;
MethodParameters:
Name Flags
option
value
java.util.Collection<java.nio.file.Path> getPaths();
descriptor: ()Ljava/util/Collection;
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.sun.tools.javac.file.Locations$OutputLocationHandler.outputDir:Ljava/nio/file/Path;
ifnonnull 1
aconst_null
goto 2
StackMap locals:
StackMap stack:
1: aload 0
getfield com.sun.tools.javac.file.Locations$OutputLocationHandler.outputDir:Ljava/nio/file/Path;
invokestatic java.util.Collections.singleton:(Ljava/lang/Object;)Ljava/util/Set;
StackMap locals:
StackMap stack: java.util.Set
2: areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/sun/tools/javac/file/Locations$OutputLocationHandler;
Signature: ()Ljava/util/Collection<Ljava/nio/file/Path;>;
void setPaths(java.lang.Iterable<? extends java.nio.file.Path>);
descriptor: (Ljava/lang/Iterable;)V
flags: (0x0000)
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 1
ifnonnull 3
1: aload 0
aconst_null
putfield com.sun.tools.javac.file.Locations$OutputLocationHandler.outputDir:Ljava/nio/file/Path;
2: goto 4
3: StackMap locals:
StackMap stack:
aload 0
aload 0
aload 1
invokevirtual com.sun.tools.javac.file.Locations$OutputLocationHandler.checkSingletonDirectory:(Ljava/lang/Iterable;)Ljava/nio/file/Path;
putfield com.sun.tools.javac.file.Locations$OutputLocationHandler.outputDir:Ljava/nio/file/Path;
4: StackMap locals:
StackMap stack:
aload 0
aconst_null
putfield com.sun.tools.javac.file.Locations$OutputLocationHandler.moduleTable:Lcom/sun/tools/javac/file/Locations$ModuleTable;
5: aload 0
iconst_0
putfield com.sun.tools.javac.file.Locations$OutputLocationHandler.listed:Z
6: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lcom/sun/tools/javac/file/Locations$OutputLocationHandler;
0 7 1 paths Ljava/lang/Iterable<+Ljava/nio/file/Path;>;
Exceptions:
throws java.io.IOException
Signature: (Ljava/lang/Iterable<+Ljava/nio/file/Path;>;)V
MethodParameters:
Name Flags
paths
javax.tools.JavaFileManager$Location getLocationForModule(java.lang.String);
descriptor: (Ljava/lang/String;)Ljavax/tools/JavaFileManager$Location;
flags: (0x0000)
Code:
stack=8, locals=4, args_size=2
start local 0 start local 1 0: aload 0
getfield com.sun.tools.javac.file.Locations$OutputLocationHandler.moduleTable:Lcom/sun/tools/javac/file/Locations$ModuleTable;
ifnonnull 2
1: aload 0
new com.sun.tools.javac.file.Locations$ModuleTable
dup
aload 0
getfield com.sun.tools.javac.file.Locations$OutputLocationHandler.this$0:Lcom/sun/tools/javac/file/Locations;
invokespecial com.sun.tools.javac.file.Locations$ModuleTable.<init>:(Lcom/sun/tools/javac/file/Locations;)V
putfield com.sun.tools.javac.file.Locations$OutputLocationHandler.moduleTable:Lcom/sun/tools/javac/file/Locations$ModuleTable;
2: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.tools.javac.file.Locations$OutputLocationHandler.moduleTable:Lcom/sun/tools/javac/file/Locations$ModuleTable;
aload 1
invokevirtual com.sun.tools.javac.file.Locations$ModuleTable.get:(Ljava/lang/String;)Lcom/sun/tools/javac/file/Locations$ModuleLocationHandler;
astore 2
start local 2 3: aload 2
ifnonnull 9
4: aload 0
getfield com.sun.tools.javac.file.Locations$OutputLocationHandler.outputDir:Ljava/nio/file/Path;
aload 1
invokeinterface java.nio.file.Path.resolve:(Ljava/lang/String;)Ljava/nio/file/Path;
astore 3
start local 3 5: new com.sun.tools.javac.file.Locations$ModuleLocationHandler
dup
aload 0
getfield com.sun.tools.javac.file.Locations$OutputLocationHandler.this$0:Lcom/sun/tools/javac/file/Locations;
aload 0
new java.lang.StringBuilder
dup
aload 0
getfield com.sun.tools.javac.file.Locations$OutputLocationHandler.location:Ljavax/tools/JavaFileManager$Location;
invokeinterface javax.tools.JavaFileManager$Location.getName:()Ljava/lang/String;
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc "["
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc "]"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
6: aload 1
aload 3
invokestatic java.util.Collections.singletonList:(Ljava/lang/Object;)Ljava/util/List;
iconst_1
7: invokespecial com.sun.tools.javac.file.Locations$ModuleLocationHandler.<init>:(Lcom/sun/tools/javac/file/Locations;Lcom/sun/tools/javac/file/Locations$LocationHandler;Ljava/lang/String;Ljava/lang/String;Ljava/util/Collection;Z)V
astore 2
8: aload 0
getfield com.sun.tools.javac.file.Locations$OutputLocationHandler.moduleTable:Lcom/sun/tools/javac/file/Locations$ModuleTable;
aload 2
invokevirtual com.sun.tools.javac.file.Locations$ModuleTable.add:(Lcom/sun/tools/javac/file/Locations$ModuleLocationHandler;)V
end local 3 9: StackMap locals: com.sun.tools.javac.file.Locations$ModuleLocationHandler
StackMap stack:
aload 2
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lcom/sun/tools/javac/file/Locations$OutputLocationHandler;
0 10 1 name Ljava/lang/String;
3 10 2 l Lcom/sun/tools/javac/file/Locations$ModuleLocationHandler;
5 9 3 out Ljava/nio/file/Path;
MethodParameters:
Name Flags
name
void setPathsForModule(java.lang.String, java.lang.Iterable<? extends java.nio.file.Path>);
descriptor: (Ljava/lang/String;Ljava/lang/Iterable;)V
flags: (0x0000)
Code:
stack=8, locals=5, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 2
invokevirtual com.sun.tools.javac.file.Locations$OutputLocationHandler.checkSingletonDirectory:(Ljava/lang/Iterable;)Ljava/nio/file/Path;
astore 3
start local 3 1: aload 0
getfield com.sun.tools.javac.file.Locations$OutputLocationHandler.moduleTable:Lcom/sun/tools/javac/file/Locations$ModuleTable;
ifnonnull 3
2: aload 0
new com.sun.tools.javac.file.Locations$ModuleTable
dup
aload 0
getfield com.sun.tools.javac.file.Locations$OutputLocationHandler.this$0:Lcom/sun/tools/javac/file/Locations;
invokespecial com.sun.tools.javac.file.Locations$ModuleTable.<init>:(Lcom/sun/tools/javac/file/Locations;)V
putfield com.sun.tools.javac.file.Locations$OutputLocationHandler.moduleTable:Lcom/sun/tools/javac/file/Locations$ModuleTable;
3: StackMap locals: java.nio.file.Path
StackMap stack:
aload 0
getfield com.sun.tools.javac.file.Locations$OutputLocationHandler.moduleTable:Lcom/sun/tools/javac/file/Locations$ModuleTable;
aload 1
invokevirtual com.sun.tools.javac.file.Locations$ModuleTable.get:(Ljava/lang/String;)Lcom/sun/tools/javac/file/Locations$ModuleLocationHandler;
astore 4
start local 4 4: aload 4
ifnonnull 10
5: new com.sun.tools.javac.file.Locations$ModuleLocationHandler
dup
aload 0
getfield com.sun.tools.javac.file.Locations$OutputLocationHandler.this$0:Lcom/sun/tools/javac/file/Locations;
aload 0
new java.lang.StringBuilder
dup
aload 0
getfield com.sun.tools.javac.file.Locations$OutputLocationHandler.location:Ljavax/tools/JavaFileManager$Location;
invokeinterface javax.tools.JavaFileManager$Location.getName:()Ljava/lang/String;
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc "["
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc "]"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
6: aload 1
aload 3
invokestatic java.util.Collections.singletonList:(Ljava/lang/Object;)Ljava/util/List;
iconst_1
7: invokespecial com.sun.tools.javac.file.Locations$ModuleLocationHandler.<init>:(Lcom/sun/tools/javac/file/Locations;Lcom/sun/tools/javac/file/Locations$LocationHandler;Ljava/lang/String;Ljava/lang/String;Ljava/util/Collection;Z)V
astore 4
8: aload 0
getfield com.sun.tools.javac.file.Locations$OutputLocationHandler.moduleTable:Lcom/sun/tools/javac/file/Locations$ModuleTable;
aload 4
invokevirtual com.sun.tools.javac.file.Locations$ModuleTable.add:(Lcom/sun/tools/javac/file/Locations$ModuleLocationHandler;)V
9: goto 12
10: StackMap locals: com.sun.tools.javac.file.Locations$ModuleLocationHandler
StackMap stack:
aload 4
aload 3
invokestatic java.util.Collections.singletonList:(Ljava/lang/Object;)Ljava/util/List;
putfield com.sun.tools.javac.file.Locations$ModuleLocationHandler.searchPath:Ljava/util/Collection;
11: aload 0
getfield com.sun.tools.javac.file.Locations$OutputLocationHandler.moduleTable:Lcom/sun/tools/javac/file/Locations$ModuleTable;
aload 4
invokevirtual com.sun.tools.javac.file.Locations$ModuleTable.updatePaths:(Lcom/sun/tools/javac/file/Locations$ModuleLocationHandler;)V
12: StackMap locals:
StackMap stack:
return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 this Lcom/sun/tools/javac/file/Locations$OutputLocationHandler;
0 13 1 name Ljava/lang/String;
0 13 2 paths Ljava/lang/Iterable<+Ljava/nio/file/Path;>;
1 13 3 out Ljava/nio/file/Path;
4 13 4 l Lcom/sun/tools/javac/file/Locations$ModuleLocationHandler;
Exceptions:
throws java.io.IOException
Signature: (Ljava/lang/String;Ljava/lang/Iterable<+Ljava/nio/file/Path;>;)V
MethodParameters:
Name Flags
name
paths
javax.tools.JavaFileManager$Location getLocationForModule(java.nio.file.Path);
descriptor: (Ljava/nio/file/Path;)Ljavax/tools/JavaFileManager$Location;
flags: (0x0000)
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield com.sun.tools.javac.file.Locations$OutputLocationHandler.moduleTable:Lcom/sun/tools/javac/file/Locations$ModuleTable;
ifnonnull 1
aconst_null
goto 2
StackMap locals:
StackMap stack:
1: aload 0
getfield com.sun.tools.javac.file.Locations$OutputLocationHandler.moduleTable:Lcom/sun/tools/javac/file/Locations$ModuleTable;
aload 1
invokevirtual com.sun.tools.javac.file.Locations$ModuleTable.get:(Ljava/nio/file/Path;)Lcom/sun/tools/javac/file/Locations$ModuleLocationHandler;
StackMap locals:
StackMap stack: com.sun.tools.javac.file.Locations$ModuleLocationHandler
2: areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/sun/tools/javac/file/Locations$OutputLocationHandler;
0 3 1 file Ljava/nio/file/Path;
MethodParameters:
Name Flags
file
java.lang.Iterable<java.util.Set<javax.tools.JavaFileManager$Location>> listLocationsForModules();
descriptor: ()Ljava/lang/Iterable;
flags: (0x0000)
Code:
stack=2, locals=6, args_size=1
start local 0 0: aload 0
getfield com.sun.tools.javac.file.Locations$OutputLocationHandler.listed:Z
ifne 14
aload 0
getfield com.sun.tools.javac.file.Locations$OutputLocationHandler.outputDir:Ljava/nio/file/Path;
ifnull 14
1: aconst_null
astore 1
aconst_null
astore 2
2: aload 0
getfield com.sun.tools.javac.file.Locations$OutputLocationHandler.outputDir:Ljava/nio/file/Path;
invokestatic java.nio.file.Files.newDirectoryStream:(Ljava/nio/file/Path;)Ljava/nio/file/DirectoryStream;
astore 3
start local 3 3: aload 3
invokeinterface java.nio.file.DirectoryStream.iterator:()Ljava/util/Iterator;
astore 5
goto 6
StackMap locals: com.sun.tools.javac.file.Locations$OutputLocationHandler java.lang.Throwable java.lang.Throwable java.nio.file.DirectoryStream top java.util.Iterator
StackMap stack:
4: aload 5
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.nio.file.Path
astore 4
start local 4 5: aload 0
aload 4
invokeinterface java.nio.file.Path.getFileName:()Ljava/nio/file/Path;
invokeinterface java.nio.file.Path.toString:()Ljava/lang/String;
invokevirtual com.sun.tools.javac.file.Locations$OutputLocationHandler.getLocationForModule:(Ljava/lang/String;)Ljavax/tools/JavaFileManager$Location;
pop
end local 4 6: StackMap locals:
StackMap stack:
aload 5
invokeinterface java.util.Iterator.hasNext:()Z
ifne 4
7: aload 3
ifnull 13
aload 3
invokeinterface java.nio.file.DirectoryStream.close:()V
goto 13
StackMap locals: com.sun.tools.javac.file.Locations$OutputLocationHandler java.lang.Throwable java.lang.Throwable java.nio.file.DirectoryStream
StackMap stack: java.lang.Throwable
8: astore 1
aload 3
ifnull 9
aload 3
invokeinterface java.nio.file.DirectoryStream.close:()V
end local 3 StackMap locals:
StackMap stack:
9: aload 1
athrow
StackMap locals:
StackMap stack: java.lang.Throwable
10: astore 2
aload 1
ifnonnull 11
aload 2
astore 1
goto 12
StackMap locals:
StackMap stack:
11: aload 1
aload 2
if_acmpeq 12
aload 1
aload 2
invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
StackMap locals:
StackMap stack:
12: aload 1
athrow
13: StackMap locals:
StackMap stack:
aload 0
iconst_1
putfield com.sun.tools.javac.file.Locations$OutputLocationHandler.listed:Z
14: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.tools.javac.file.Locations$OutputLocationHandler.moduleTable:Lcom/sun/tools/javac/file/Locations$ModuleTable;
ifnull 15
aload 0
getfield com.sun.tools.javac.file.Locations$OutputLocationHandler.moduleTable:Lcom/sun/tools/javac/file/Locations$ModuleTable;
invokevirtual com.sun.tools.javac.file.Locations$ModuleTable.isEmpty:()Z
ifeq 16
15: StackMap locals:
StackMap stack:
invokestatic java.util.Collections.emptySet:()Ljava/util/Set;
areturn
16: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.tools.javac.file.Locations$OutputLocationHandler.moduleTable:Lcom/sun/tools/javac/file/Locations$ModuleTable;
invokevirtual com.sun.tools.javac.file.Locations$ModuleTable.locations:()Ljava/util/Set;
invokestatic java.util.Collections.singleton:(Ljava/lang/Object;)Ljava/util/Set;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 17 0 this Lcom/sun/tools/javac/file/Locations$OutputLocationHandler;
3 9 3 stream Ljava/nio/file/DirectoryStream<Ljava/nio/file/Path;>;
5 6 4 p Ljava/nio/file/Path;
Exception table:
from to target type
3 7 8 any
2 10 10 any
Exceptions:
throws java.io.IOException
Signature: ()Ljava/lang/Iterable<Ljava/util/Set<Ljavax/tools/JavaFileManager$Location;>;>;
boolean contains(java.nio.file.Path);
descriptor: (Ljava/nio/file/Path;)Z
flags: (0x0000)
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield com.sun.tools.javac.file.Locations$OutputLocationHandler.moduleTable:Lcom/sun/tools/javac/file/Locations$ModuleTable;
ifnull 2
1: aload 0
getfield com.sun.tools.javac.file.Locations$OutputLocationHandler.moduleTable:Lcom/sun/tools/javac/file/Locations$ModuleTable;
aload 1
invokevirtual com.sun.tools.javac.file.Locations$ModuleTable.contains:(Ljava/nio/file/Path;)Z
ireturn
2: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.tools.javac.file.Locations$OutputLocationHandler.outputDir:Ljava/nio/file/Path;
ifnull 3
aload 1
invokestatic com.sun.tools.javac.file.Locations.normalize:(Ljava/nio/file/Path;)Ljava/nio/file/Path;
aload 0
getfield com.sun.tools.javac.file.Locations$OutputLocationHandler.outputDir:Ljava/nio/file/Path;
invokestatic com.sun.tools.javac.file.Locations.normalize:(Ljava/nio/file/Path;)Ljava/nio/file/Path;
invokeinterface java.nio.file.Path.startsWith:(Ljava/nio/file/Path;)Z
ifeq 3
iconst_1
ireturn
StackMap locals:
StackMap stack:
3: iconst_0
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/sun/tools/javac/file/Locations$OutputLocationHandler;
0 4 1 file Ljava/nio/file/Path;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
file
}
SourceFile: "Locations.java"
NestHost: com.sun.tools.javac.file.Locations
InnerClasses:
private abstract BasicLocationHandler = com.sun.tools.javac.file.Locations$BasicLocationHandler of com.sun.tools.javac.file.Locations
protected abstract LocationHandler = com.sun.tools.javac.file.Locations$LocationHandler of com.sun.tools.javac.file.Locations
private ModuleLocationHandler = com.sun.tools.javac.file.Locations$ModuleLocationHandler of com.sun.tools.javac.file.Locations
private ModuleTable = com.sun.tools.javac.file.Locations$ModuleTable of com.sun.tools.javac.file.Locations
private OutputLocationHandler = com.sun.tools.javac.file.Locations$OutputLocationHandler of com.sun.tools.javac.file.Locations
public abstract Location = javax.tools.JavaFileManager$Location of javax.tools.JavaFileManager