class com.sun.tools.javac.file.Locations$ModuleSourcePathLocationHandler 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$ModuleSourcePathLocationHandler
super_class: com.sun.tools.javac.file.Locations$BasicLocationHandler
{
private com.sun.tools.javac.file.Locations$ModuleTable moduleTable;
descriptor: Lcom/sun/tools/javac/file/Locations$ModuleTable;
flags: (0x0002) ACC_PRIVATE
private java.util.List<java.nio.file.Path> paths;
descriptor: Ljava/util/List;
flags: (0x0002) ACC_PRIVATE
Signature: Ljava/util/List<Ljava/nio/file/Path;>;
private final java.util.function.Predicate<java.nio.file.Path> checkModuleInfo;
descriptor: Ljava/util/function/Predicate;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/function/Predicate<Ljava/nio/file/Path;>;
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);
descriptor: (Lcom/sun/tools/javac/file/Locations;)V
flags: (0x0000)
Code:
stack=6, locals=2, args_size=2
start local 0 0: aload 0
aload 1
putfield com.sun.tools.javac.file.Locations$ModuleSourcePathLocationHandler.this$0:Lcom/sun/tools/javac/file/Locations;
1: aload 0
getstatic javax.tools.StandardLocation.MODULE_SOURCE_PATH:Ljavax/tools/StandardLocation;
iconst_1
anewarray com.sun.tools.javac.main.Option
dup
iconst_0
2: getstatic com.sun.tools.javac.main.Option.MODULE_SOURCE_PATH:Lcom/sun/tools/javac/main/Option;
aastore
invokespecial com.sun.tools.javac.file.Locations$BasicLocationHandler.<init>:(Ljavax/tools/JavaFileManager$Location;[Lcom/sun/tools/javac/main/Option;)V
3: aload 0
4: invokedynamic test()Ljava/util/function/Predicate;
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;)Z
com/sun/tools/javac/file/Locations$ModuleSourcePathLocationHandler.lambda$0(Ljava/nio/file/Path;)Z (6)
(Ljava/nio/file/Path;)Z
putfield com.sun.tools.javac.file.Locations$ModuleSourcePathLocationHandler.checkModuleInfo:Ljava/util/function/Predicate;
5: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lcom/sun/tools/javac/file/Locations$ModuleSourcePathLocationHandler;
MethodParameters:
Name Flags
this$0 final
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=2, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
iconst_1
putfield com.sun.tools.javac.file.Locations$ModuleSourcePathLocationHandler.explicit:Z
1: aload 0
aload 2
invokevirtual com.sun.tools.javac.file.Locations$ModuleSourcePathLocationHandler.init:(Ljava/lang/String;)V
2: iconst_1
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/sun/tools/javac/file/Locations$ModuleSourcePathLocationHandler;
0 3 1 option Lcom/sun/tools/javac/main/Option;
0 3 2 value Ljava/lang/String;
MethodParameters:
Name Flags
option
value
void init(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0000)
Code:
stack=2, locals=9, args_size=2
start local 0 start local 1 0: ldc "([\\p{Alnum}$_.]+)=(.*)"
invokestatic java.util.regex.Pattern.compile:(Ljava/lang/String;)Ljava/util/regex/Pattern;
astore 2
start local 2 1: new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
astore 3
start local 3 2: aconst_null
astore 4
start local 4 3: aload 1
ldc "\u0000"
invokevirtual java.lang.String.split:(Ljava/lang/String;)[Ljava/lang/String;
dup
astore 8
arraylength
istore 7
iconst_0
istore 6
goto 10
StackMap locals: com.sun.tools.javac.file.Locations$ModuleSourcePathLocationHandler java.lang.String java.util.regex.Pattern java.util.List java.lang.String top int int java.lang.String[]
StackMap stack:
4: aload 8
iload 6
aaload
astore 5
start local 5 5: aload 2
aload 5
invokevirtual java.util.regex.Pattern.matcher:(Ljava/lang/CharSequence;)Ljava/util/regex/Matcher;
invokevirtual java.util.regex.Matcher.matches:()Z
ifeq 8
6: aload 3
aload 5
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
7: goto 9
8: StackMap locals: com.sun.tools.javac.file.Locations$ModuleSourcePathLocationHandler java.lang.String java.util.regex.Pattern java.util.List java.lang.String java.lang.String int int java.lang.String[]
StackMap stack:
aload 5
astore 4
end local 5 9: StackMap locals: com.sun.tools.javac.file.Locations$ModuleSourcePathLocationHandler java.lang.String java.util.regex.Pattern java.util.List java.lang.String top int int java.lang.String[]
StackMap stack:
iinc 6 1
StackMap locals:
StackMap stack:
10: iload 6
iload 7
if_icmplt 4
11: aload 4
ifnull 13
12: aload 0
aload 4
invokevirtual com.sun.tools.javac.file.Locations$ModuleSourcePathLocationHandler.initFromPattern:(Ljava/lang/String;)V
13: StackMap locals: com.sun.tools.javac.file.Locations$ModuleSourcePathLocationHandler java.lang.String java.util.regex.Pattern java.util.List java.lang.String
StackMap stack:
aload 3
aload 0
invokedynamic accept(Lcom/sun/tools/javac/file/Locations$ModuleSourcePathLocationHandler;)Ljava/util/function/Consumer;
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;)V
com/sun/tools/javac/file/Locations$ModuleSourcePathLocationHandler.initForModule(Ljava/lang/String;)V (5)
(Ljava/lang/String;)V
invokeinterface java.util.List.forEach:(Ljava/util/function/Consumer;)V
14: return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 15 0 this Lcom/sun/tools/javac/file/Locations$ModuleSourcePathLocationHandler;
0 15 1 value Ljava/lang/String;
1 15 2 moduleSpecificForm Ljava/util/regex/Pattern;
2 15 3 pathsForModules Ljava/util/List<Ljava/lang/String;>;
3 15 4 modulePattern Ljava/lang/String;
5 9 5 v Ljava/lang/String;
MethodParameters:
Name Flags
value
void initForModule(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0000)
Code:
stack=5, locals=10, args_size=2
start local 0 start local 1 0: aload 1
bipush 61
invokevirtual java.lang.String.indexOf:(I)I
istore 2
start local 2 1: aload 1
iconst_0
iload 2
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
astore 3
start local 3 2: new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
astore 4
start local 4 3: aload 1
iload 2
iconst_1
iadd
invokevirtual java.lang.String.substring:(I)Ljava/lang/String;
getstatic java.io.File.pathSeparator:Ljava/lang/String;
invokevirtual java.lang.String.split:(Ljava/lang/String;)[Ljava/lang/String;
dup
astore 8
arraylength
istore 7
iconst_0
istore 6
goto 10
StackMap locals: com.sun.tools.javac.file.Locations$ModuleSourcePathLocationHandler java.lang.String int java.lang.String java.util.List top int int java.lang.String[]
StackMap stack:
4: aload 8
iload 6
aaload
astore 5
start local 5 5: aload 4
aload 5
iconst_0
anewarray java.lang.String
invokestatic java.nio.file.Paths.get:(Ljava/lang/String;[Ljava/lang/String;)Ljava/nio/file/Path;
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
6: goto 9
StackMap locals: com.sun.tools.javac.file.Locations$ModuleSourcePathLocationHandler java.lang.String int java.lang.String java.util.List java.lang.String int int java.lang.String[]
StackMap stack: java.nio.file.InvalidPathException
7: astore 9
start local 9 8: new java.lang.IllegalArgumentException
dup
new java.lang.StringBuilder
dup
ldc "invalid path: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 5
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
aload 9
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;Ljava/lang/Throwable;)V
athrow
end local 9 end local 5 9: StackMap locals: com.sun.tools.javac.file.Locations$ModuleSourcePathLocationHandler java.lang.String int java.lang.String java.util.List top int int java.lang.String[]
StackMap stack:
iinc 6 1
StackMap locals:
StackMap stack:
10: iload 6
iload 7
if_icmplt 4
11: aload 0
aload 3
aload 4
invokevirtual com.sun.tools.javac.file.Locations$ModuleSourcePathLocationHandler.setPathsForModule:(Ljava/lang/String;Ljava/lang/Iterable;)V
12: goto 16
StackMap locals: com.sun.tools.javac.file.Locations$ModuleSourcePathLocationHandler java.lang.String int java.lang.String java.util.List
StackMap stack: java.io.IOException
13: astore 5
start local 5 14: aload 5
invokevirtual java.io.IOException.printStackTrace:()V
15: new java.lang.IllegalArgumentException
dup
new java.lang.StringBuilder
dup
ldc "cannot set path for module "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 3
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
aload 5
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;Ljava/lang/Throwable;)V
athrow
end local 5 16: 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 17 0 this Lcom/sun/tools/javac/file/Locations$ModuleSourcePathLocationHandler;
0 17 1 value Ljava/lang/String;
1 17 2 eq I
2 17 3 name Ljava/lang/String;
3 17 4 paths Ljava/util/List<Ljava/nio/file/Path;>;
5 9 5 v Ljava/lang/String;
8 9 9 e Ljava/nio/file/InvalidPathException;
14 16 5 e Ljava/io/IOException;
Exception table:
from to target type
5 6 7 Class java.nio.file.InvalidPathException
11 12 13 Class java.io.IOException
MethodParameters:
Name Flags
value
void initFromPattern(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0000)
Code:
stack=5, locals=12, args_size=2
start local 0 start local 1 0: new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
astore 2
start local 2 1: aload 1
getstatic java.io.File.pathSeparator:Ljava/lang/String;
invokevirtual java.lang.String.split:(Ljava/lang/String;)[Ljava/lang/String;
dup
astore 6
arraylength
istore 5
iconst_0
istore 4
goto 5
StackMap locals: com.sun.tools.javac.file.Locations$ModuleSourcePathLocationHandler java.lang.String java.util.Collection top int int java.lang.String[]
StackMap stack:
2: aload 6
iload 4
aaload
astore 3
start local 3 3: aload 0
aload 3
aload 2
invokevirtual com.sun.tools.javac.file.Locations$ModuleSourcePathLocationHandler.expandBraces:(Ljava/lang/String;Ljava/util/Collection;)V
end local 3 4: iinc 4 1
StackMap locals:
StackMap stack:
5: iload 4
iload 5
if_icmplt 2
6: new java.util.LinkedHashMap
dup
invokespecial java.util.LinkedHashMap.<init>:()V
astore 3
start local 3 7: new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
astore 4
start local 4 8: iconst_0
istore 5
start local 5 9: aload 2
invokeinterface java.util.Collection.iterator:()Ljava/util/Iterator;
astore 7
goto 32
StackMap locals: com.sun.tools.javac.file.Locations$ModuleSourcePathLocationHandler java.lang.String java.util.Collection java.util.Map java.util.List int top java.util.Iterator
StackMap stack:
10: aload 7
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.lang.String
astore 6
start local 6 11: aload 6
ldc "*"
invokevirtual java.lang.String.indexOf:(Ljava/lang/String;)I
istore 8
start local 8 12: iload 8
iconst_m1
if_icmpne 17
13: aload 0
getfield com.sun.tools.javac.file.Locations$ModuleSourcePathLocationHandler.this$0:Lcom/sun/tools/javac/file/Locations;
aload 6
iconst_0
anewarray java.lang.String
invokevirtual com.sun.tools.javac.file.Locations.getPath:(Ljava/lang/String;[Ljava/lang/String;)Ljava/nio/file/Path;
astore 9
start local 9 14: aload 0
aload 3
aload 9
aconst_null
invokevirtual com.sun.tools.javac.file.Locations$ModuleSourcePathLocationHandler.add:(Ljava/util/Map;Ljava/nio/file/Path;Ljava/nio/file/Path;)V
15: aload 4
aload 9
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
end local 9 16: goto 32
17: StackMap locals: com.sun.tools.javac.file.Locations$ModuleSourcePathLocationHandler java.lang.String java.util.Collection java.util.Map java.util.List int java.lang.String java.util.Iterator int
StackMap stack:
iload 8
ifeq 18
aload 0
aload 6
iload 8
iconst_1
isub
invokevirtual java.lang.String.charAt:(I)C
invokevirtual com.sun.tools.javac.file.Locations$ModuleSourcePathLocationHandler.isSeparator:(C)Z
ifne 19
18: StackMap locals:
StackMap stack:
new java.lang.IllegalArgumentException
dup
new java.lang.StringBuilder
dup
ldc "illegal use of * in "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 6
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
19: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.tools.javac.file.Locations$ModuleSourcePathLocationHandler.this$0:Lcom/sun/tools/javac/file/Locations;
aload 6
iconst_0
iload 8
iconst_1
isub
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
iconst_0
anewarray java.lang.String
invokevirtual com.sun.tools.javac.file.Locations.getPath:(Ljava/lang/String;[Ljava/lang/String;)Ljava/nio/file/Path;
astore 9
start local 9 20: iload 8
ldc "*"
invokevirtual java.lang.String.length:()I
iadd
istore 11
start local 11 21: iload 11
aload 6
invokevirtual java.lang.String.length:()I
if_icmpne 24
22: aconst_null
astore 10
start local 10 23: goto 29
end local 10 StackMap locals: com.sun.tools.javac.file.Locations$ModuleSourcePathLocationHandler java.lang.String java.util.Collection java.util.Map java.util.List int java.lang.String java.util.Iterator int java.nio.file.Path top int
StackMap stack:
24: aload 0
aload 6
iload 11
invokevirtual java.lang.String.charAt:(I)C
invokevirtual com.sun.tools.javac.file.Locations$ModuleSourcePathLocationHandler.isSeparator:(C)Z
ifeq 26
25: aload 6
ldc "*"
iload 11
invokevirtual java.lang.String.indexOf:(Ljava/lang/String;I)I
iconst_m1
if_icmpeq 27
26: StackMap locals:
StackMap stack:
new java.lang.IllegalArgumentException
dup
new java.lang.StringBuilder
dup
ldc "illegal use of * in "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 6
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
27: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.tools.javac.file.Locations$ModuleSourcePathLocationHandler.this$0:Lcom/sun/tools/javac/file/Locations;
aload 6
iload 11
iconst_1
iadd
invokevirtual java.lang.String.substring:(I)Ljava/lang/String;
iconst_0
anewarray java.lang.String
invokevirtual com.sun.tools.javac.file.Locations.getPath:(Ljava/lang/String;[Ljava/lang/String;)Ljava/nio/file/Path;
astore 10
start local 10 28: iconst_1
istore 5
29: StackMap locals: com.sun.tools.javac.file.Locations$ModuleSourcePathLocationHandler java.lang.String java.util.Collection java.util.Map java.util.List int java.lang.String java.util.Iterator int java.nio.file.Path java.nio.file.Path int
StackMap stack:
aload 0
aload 3
aload 9
aload 10
invokevirtual com.sun.tools.javac.file.Locations$ModuleSourcePathLocationHandler.add:(Ljava/util/Map;Ljava/nio/file/Path;Ljava/nio/file/Path;)V
30: aload 10
ifnonnull 32
31: aload 4
aload 9
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
end local 11 end local 10 end local 9 end local 8 end local 6 32: StackMap locals: com.sun.tools.javac.file.Locations$ModuleSourcePathLocationHandler java.lang.String java.util.Collection java.util.Map java.util.List int top java.util.Iterator
StackMap stack:
aload 7
invokeinterface java.util.Iterator.hasNext:()Z
ifne 10
33: aload 0
aload 3
invokevirtual com.sun.tools.javac.file.Locations$ModuleSourcePathLocationHandler.initModuleTable:(Ljava/util/Map;)V
34: aload 0
iload 5
ifeq 35
aconst_null
goto 36
StackMap locals: com.sun.tools.javac.file.Locations$ModuleSourcePathLocationHandler java.lang.String java.util.Collection java.util.Map java.util.List int
StackMap stack: com.sun.tools.javac.file.Locations$ModuleSourcePathLocationHandler
35: aload 4
StackMap locals: com.sun.tools.javac.file.Locations$ModuleSourcePathLocationHandler java.lang.String java.util.Collection java.util.Map java.util.List int
StackMap stack: com.sun.tools.javac.file.Locations$ModuleSourcePathLocationHandler java.util.List
36: putfield com.sun.tools.javac.file.Locations$ModuleSourcePathLocationHandler.paths:Ljava/util/List;
37: return
end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 38 0 this Lcom/sun/tools/javac/file/Locations$ModuleSourcePathLocationHandler;
0 38 1 value Ljava/lang/String;
1 38 2 segments Ljava/util/Collection<Ljava/lang/String;>;
3 4 3 s Ljava/lang/String;
7 38 3 map Ljava/util/Map<Ljava/lang/String;Ljava/util/List<Ljava/nio/file/Path;>;>;
8 38 4 noSuffixPaths Ljava/util/List<Ljava/nio/file/Path;>;
9 38 5 anySuffix Z
11 32 6 seg Ljava/lang/String;
12 32 8 markStart I
14 16 9 p Ljava/nio/file/Path;
20 32 9 prefix Ljava/nio/file/Path;
23 24 10 suffix Ljava/nio/file/Path;
28 32 10 suffix Ljava/nio/file/Path;
21 32 11 markEnd I
MethodParameters:
Name Flags
value
private void initModuleTable(java.util.Map<java.lang.String, java.util.List<java.nio.file.Path>>);
descriptor: (Ljava/util/Map;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 0
new com.sun.tools.javac.file.Locations$ModuleTable
dup
aload 0
getfield com.sun.tools.javac.file.Locations$ModuleSourcePathLocationHandler.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$ModuleSourcePathLocationHandler.moduleTable:Lcom/sun/tools/javac/file/Locations$ModuleTable;
1: aload 1
aload 0
invokedynamic accept(Lcom/sun/tools/javac/file/Locations$ModuleSourcePathLocationHandler;)Ljava/util/function/BiConsumer;
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;)V
com/sun/tools/javac/file/Locations$ModuleSourcePathLocationHandler.lambda$2(Ljava/lang/String;Ljava/util/List;)V (7)
(Ljava/lang/String;Ljava/util/List;)V
invokeinterface java.util.Map.forEach:(Ljava/util/function/BiConsumer;)V
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/sun/tools/javac/file/Locations$ModuleSourcePathLocationHandler;
0 3 1 map Ljava/util/Map<Ljava/lang/String;Ljava/util/List<Ljava/nio/file/Path;>;>;
Signature: (Ljava/util/Map<Ljava/lang/String;Ljava/util/List<Ljava/nio/file/Path;>;>;)V
MethodParameters:
Name Flags
map
private boolean isSeparator(char);
descriptor: (C)Z
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: iload 1
getstatic java.io.File.separatorChar:C
if_icmpeq 1
iload 1
bipush 47
if_icmpeq 1
iconst_0
ireturn
StackMap locals:
StackMap stack:
1: iconst_1
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/sun/tools/javac/file/Locations$ModuleSourcePathLocationHandler;
0 2 1 ch C
MethodParameters:
Name Flags
ch
void add(java.util.Map<java.lang.String, java.util.List<java.nio.file.Path>>, java.nio.file.Path, java.nio.file.Path);
descriptor: (Ljava/util/Map;Ljava/nio/file/Path;Ljava/nio/file/Path;)V
flags: (0x0000)
Code:
stack=4, locals=12, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 2
iconst_0
anewarray java.nio.file.LinkOption
invokestatic java.nio.file.Files.isDirectory:(Ljava/nio/file/Path;[Ljava/nio/file/LinkOption;)Z
ifne 8
1: aload 0
getfield com.sun.tools.javac.file.Locations$ModuleSourcePathLocationHandler.this$0:Lcom/sun/tools/javac/file/Locations;
getfield com.sun.tools.javac.file.Locations.warn:Z
ifeq 7
2: aload 2
iconst_0
anewarray java.nio.file.LinkOption
invokestatic java.nio.file.Files.exists:(Ljava/nio/file/Path;[Ljava/nio/file/LinkOption;)Z
ifeq 4
3: aload 2
invokestatic com.sun.tools.javac.resources.CompilerProperties$Warnings.DirPathElementNotDirectory:(Ljava/nio/file/Path;)Lcom/sun/tools/javac/util/JCDiagnostic$Warning;
goto 5
4: StackMap locals:
StackMap stack:
aload 2
invokestatic com.sun.tools.javac.resources.CompilerProperties$Warnings.DirPathElementNotFound:(Ljava/nio/file/Path;)Lcom/sun/tools/javac/util/JCDiagnostic$Warning;
5: StackMap locals:
StackMap stack: com.sun.tools.javac.util.JCDiagnostic$Warning
astore 4
start local 4 6: aload 0
getfield com.sun.tools.javac.file.Locations$ModuleSourcePathLocationHandler.this$0:Lcom/sun/tools/javac/file/Locations;
getfield com.sun.tools.javac.file.Locations.log:Lcom/sun/tools/javac/util/Log;
getstatic com.sun.tools.javac.code.Lint$LintCategory.PATH:Lcom/sun/tools/javac/code/Lint$LintCategory;
aload 4
invokevirtual com.sun.tools.javac.util.Log.warning:(Lcom/sun/tools/javac/code/Lint$LintCategory;Lcom/sun/tools/javac/util/JCDiagnostic$Warning;)V
end local 4 7: StackMap locals:
StackMap stack:
return
8: StackMap locals:
StackMap stack:
aconst_null
astore 4
aconst_null
astore 5
9: aload 2
invokedynamic accept()Ljava/nio/file/DirectoryStream$Filter;
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;)Z
com/sun/tools/javac/file/Locations$ModuleSourcePathLocationHandler.lambda$3(Ljava/nio/file/Path;)Z (6)
(Ljava/nio/file/Path;)Z
invokestatic java.nio.file.Files.newDirectoryStream:(Ljava/nio/file/Path;Ljava/nio/file/DirectoryStream$Filter;)Ljava/nio/file/DirectoryStream;
astore 6
start local 6 10: aload 6
invokeinterface java.nio.file.DirectoryStream.iterator:()Ljava/util/Iterator;
astore 8
goto 21
StackMap locals: com.sun.tools.javac.file.Locations$ModuleSourcePathLocationHandler java.util.Map java.nio.file.Path java.nio.file.Path java.lang.Throwable java.lang.Throwable java.nio.file.DirectoryStream top java.util.Iterator
StackMap stack:
11: aload 8
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.nio.file.Path
astore 7
start local 7 12: aload 3
ifnonnull 13
aload 7
goto 14
StackMap locals: com.sun.tools.javac.file.Locations$ModuleSourcePathLocationHandler java.util.Map java.nio.file.Path java.nio.file.Path java.lang.Throwable java.lang.Throwable java.nio.file.DirectoryStream java.nio.file.Path java.util.Iterator
StackMap stack:
13: aload 7
aload 3
invokeinterface java.nio.file.Path.resolve:(Ljava/nio/file/Path;)Ljava/nio/file/Path;
StackMap locals:
StackMap stack: java.nio.file.Path
14: astore 9
start local 9 15: aload 9
iconst_0
anewarray java.nio.file.LinkOption
invokestatic java.nio.file.Files.isDirectory:(Ljava/nio/file/Path;[Ljava/nio/file/LinkOption;)Z
ifeq 21
16: aload 7
invokeinterface java.nio.file.Path.getFileName:()Ljava/nio/file/Path;
invokeinterface java.nio.file.Path.toString:()Ljava/lang/String;
astore 10
start local 10 17: aload 1
aload 10
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.util.List
astore 11
start local 11 18: aload 11
ifnonnull 20
19: aload 1
aload 10
new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
dup
astore 11
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
20: StackMap locals: java.nio.file.Path java.lang.String java.util.List
StackMap stack:
aload 11
aload 9
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
end local 11 end local 10 end local 9 end local 7 21: StackMap locals: com.sun.tools.javac.file.Locations$ModuleSourcePathLocationHandler java.util.Map java.nio.file.Path java.nio.file.Path java.lang.Throwable java.lang.Throwable java.nio.file.DirectoryStream top java.util.Iterator
StackMap stack:
aload 8
invokeinterface java.util.Iterator.hasNext:()Z
ifne 11
22: aload 6
ifnull 30
aload 6
invokeinterface java.nio.file.DirectoryStream.close:()V
goto 30
StackMap locals: com.sun.tools.javac.file.Locations$ModuleSourcePathLocationHandler java.util.Map java.nio.file.Path java.nio.file.Path java.lang.Throwable java.lang.Throwable java.nio.file.DirectoryStream
StackMap stack: java.lang.Throwable
23: astore 4
aload 6
ifnull 24
aload 6
invokeinterface java.nio.file.DirectoryStream.close:()V
end local 6 StackMap locals:
StackMap stack:
24: aload 4
athrow
StackMap locals:
StackMap stack: java.lang.Throwable
25: astore 5
aload 4
ifnonnull 26
aload 5
astore 4
goto 27
StackMap locals:
StackMap stack:
26: aload 4
aload 5
if_acmpeq 27
aload 4
aload 5
invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
StackMap locals:
StackMap stack:
27: aload 4
athrow
StackMap locals: com.sun.tools.javac.file.Locations$ModuleSourcePathLocationHandler java.util.Map java.nio.file.Path java.nio.file.Path
StackMap stack: java.io.IOException
28: astore 4
start local 4 29: getstatic java.lang.System.err:Ljava/io/PrintStream;
aload 4
invokevirtual java.io.PrintStream.println:(Ljava/lang/Object;)V
end local 4 30: StackMap locals:
StackMap stack:
return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 31 0 this Lcom/sun/tools/javac/file/Locations$ModuleSourcePathLocationHandler;
0 31 1 map Ljava/util/Map<Ljava/lang/String;Ljava/util/List<Ljava/nio/file/Path;>;>;
0 31 2 prefix Ljava/nio/file/Path;
0 31 3 suffix Ljava/nio/file/Path;
6 7 4 key Lcom/sun/tools/javac/util/JCDiagnostic$Warning;
10 24 6 stream Ljava/nio/file/DirectoryStream<Ljava/nio/file/Path;>;
12 21 7 entry Ljava/nio/file/Path;
15 21 9 path Ljava/nio/file/Path;
17 21 10 name Ljava/lang/String;
18 21 11 paths Ljava/util/List<Ljava/nio/file/Path;>;
29 30 4 e Ljava/io/IOException;
Exception table:
from to target type
10 22 23 any
9 25 25 any
8 28 28 Class java.io.IOException
Signature: (Ljava/util/Map<Ljava/lang/String;Ljava/util/List<Ljava/nio/file/Path;>;>;Ljava/nio/file/Path;Ljava/nio/file/Path;)V
MethodParameters:
Name Flags
map
prefix
suffix
private void expandBraces(java.lang.String, java.util.Collection<java.lang.String>);
descriptor: (Ljava/lang/String;Ljava/util/Collection;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=9, args_size=3
start local 0 start local 1 start local 2 0: iconst_0
istore 3
start local 3 1: iconst_m1
istore 4
start local 4 2: aconst_null
astore 5
start local 5 3: aconst_null
astore 6
start local 6 4: iconst_0
istore 7
start local 7 5: goto 25
6: StackMap locals: com.sun.tools.javac.file.Locations$ModuleSourcePathLocationHandler java.lang.String java.util.Collection int int java.lang.String java.lang.String int
StackMap stack:
aload 1
iload 7
invokevirtual java.lang.String.charAt:(I)C
lookupswitch { // 3
44: 13
123: 7
125: 18
default: 24
}
7: StackMap locals:
StackMap stack:
iinc 3 1
8: iload 3
iconst_1
if_icmpne 24
9: aload 1
iconst_0
iload 7
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
astore 5
10: aload 1
aload 0
aload 1
iload 7
invokevirtual com.sun.tools.javac.file.Locations$ModuleSourcePathLocationHandler.getMatchingBrace:(Ljava/lang/String;I)I
iconst_1
iadd
invokevirtual java.lang.String.substring:(I)Ljava/lang/String;
astore 6
11: iload 7
iconst_1
iadd
istore 4
12: goto 24
13: StackMap locals:
StackMap stack:
iload 3
iconst_1
if_icmpne 24
14: aload 1
iload 4
iload 7
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
astore 8
start local 8 15: aload 0
new java.lang.StringBuilder
dup
aload 5
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 8
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 6
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
aload 2
invokevirtual com.sun.tools.javac.file.Locations$ModuleSourcePathLocationHandler.expandBraces:(Ljava/lang/String;Ljava/util/Collection;)V
16: iload 7
iconst_1
iadd
istore 4
end local 8 17: goto 24
18: StackMap locals:
StackMap stack:
iload 3
tableswitch { // 0 - 1
0: 19
1: 20
default: 23
}
19: StackMap locals:
StackMap stack:
new java.lang.IllegalArgumentException
dup
ldc "mismatched braces"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
20: StackMap locals:
StackMap stack:
aload 1
iload 4
iload 7
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
astore 8
start local 8 21: aload 0
new java.lang.StringBuilder
dup
aload 5
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 8
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 6
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
aload 2
invokevirtual com.sun.tools.javac.file.Locations$ModuleSourcePathLocationHandler.expandBraces:(Ljava/lang/String;Ljava/util/Collection;)V
22: return
end local 8 23: StackMap locals:
StackMap stack:
iinc 3 -1
24: StackMap locals:
StackMap stack:
iinc 7 1
StackMap locals:
StackMap stack:
25: iload 7
aload 1
invokevirtual java.lang.String.length:()I
if_icmplt 6
end local 7 26: iload 3
ifle 28
27: new java.lang.IllegalArgumentException
dup
ldc "mismatched braces"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
28: StackMap locals:
StackMap stack:
aload 2
aload 1
invokeinterface java.util.Collection.add:(Ljava/lang/Object;)Z
pop
29: return
end local 6 end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 30 0 this Lcom/sun/tools/javac/file/Locations$ModuleSourcePathLocationHandler;
0 30 1 value Ljava/lang/String;
0 30 2 results Ljava/util/Collection<Ljava/lang/String;>;
1 30 3 depth I
2 30 4 start I
3 30 5 prefix Ljava/lang/String;
4 30 6 suffix Ljava/lang/String;
5 26 7 i I
15 17 8 elem Ljava/lang/String;
21 23 8 elem Ljava/lang/String;
Signature: (Ljava/lang/String;Ljava/util/Collection<Ljava/lang/String;>;)V
MethodParameters:
Name Flags
value
results
int getMatchingBrace(java.lang.String, int);
descriptor: (Ljava/lang/String;I)I
flags: (0x0000)
Code:
stack=3, locals=5, args_size=3
start local 0 start local 1 start local 2 0: iconst_1
istore 3
start local 3 1: iload 2
iconst_1
iadd
istore 4
start local 4 2: goto 9
3: StackMap locals: int int
StackMap stack:
aload 1
iload 4
invokevirtual java.lang.String.charAt:(I)C
tableswitch { // 123 - 125
123: 4
124: 8
125: 6
default: 8
}
4: StackMap locals:
StackMap stack:
iinc 3 1
5: goto 8
6: StackMap locals:
StackMap stack:
iinc 3 -1
iload 3
ifne 8
7: iload 4
ireturn
8: StackMap locals:
StackMap stack:
iinc 4 1
StackMap locals:
StackMap stack:
9: iload 4
aload 1
invokevirtual java.lang.String.length:()I
if_icmplt 3
end local 4 10: new java.lang.IllegalArgumentException
dup
ldc "mismatched braces"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Lcom/sun/tools/javac/file/Locations$ModuleSourcePathLocationHandler;
0 11 1 value Ljava/lang/String;
0 11 2 offset I
1 11 3 depth I
2 10 4 i I
MethodParameters:
Name Flags
value
offset
boolean isSet();
descriptor: ()Z
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.sun.tools.javac.file.Locations$ModuleSourcePathLocationHandler.moduleTable:Lcom/sun/tools/javac/file/Locations$ModuleTable;
ifnull 1
iconst_1
ireturn
StackMap locals:
StackMap stack:
1: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/sun/tools/javac/file/Locations$ModuleSourcePathLocationHandler;
java.util.Collection<java.nio.file.Path> getPaths();
descriptor: ()Ljava/util/Collection;
flags: (0x0000)
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
getfield com.sun.tools.javac.file.Locations$ModuleSourcePathLocationHandler.paths:Ljava/util/List;
ifnonnull 2
1: new java.lang.IllegalStateException
dup
ldc "paths not available"
invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.tools.javac.file.Locations$ModuleSourcePathLocationHandler.paths:Ljava/util/List;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/sun/tools/javac/file/Locations$ModuleSourcePathLocationHandler;
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=4, locals=6, args_size=2
start local 0 start local 1 0: new java.util.LinkedHashMap
dup
invokespecial java.util.LinkedHashMap.<init>:()V
astore 2
start local 2 1: new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
astore 3
start local 3 2: aload 1
invokeinterface java.lang.Iterable.iterator:()Ljava/util/Iterator;
astore 5
goto 6
StackMap locals: com.sun.tools.javac.file.Locations$ModuleSourcePathLocationHandler java.lang.Iterable java.util.Map java.util.List top java.util.Iterator
StackMap stack:
3: aload 5
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.nio.file.Path
astore 4
start local 4 4: aload 0
aload 2
aload 4
aconst_null
invokevirtual com.sun.tools.javac.file.Locations$ModuleSourcePathLocationHandler.add:(Ljava/util/Map;Ljava/nio/file/Path;Ljava/nio/file/Path;)V
5: aload 3
aload 4
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
end local 4 6: StackMap locals:
StackMap stack:
aload 5
invokeinterface java.util.Iterator.hasNext:()Z
ifne 3
7: aload 0
aload 2
invokevirtual com.sun.tools.javac.file.Locations$ModuleSourcePathLocationHandler.initModuleTable:(Ljava/util/Map;)V
8: aload 0
iconst_1
putfield com.sun.tools.javac.file.Locations$ModuleSourcePathLocationHandler.explicit:Z
9: aload 0
aload 3
invokestatic java.util.Collections.unmodifiableList:(Ljava/util/List;)Ljava/util/List;
putfield com.sun.tools.javac.file.Locations$ModuleSourcePathLocationHandler.paths:Ljava/util/List;
10: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Lcom/sun/tools/javac/file/Locations$ModuleSourcePathLocationHandler;
0 11 1 files Ljava/lang/Iterable<+Ljava/nio/file/Path;>;
1 11 2 map Ljava/util/Map<Ljava/lang/String;Ljava/util/List<Ljava/nio/file/Path;>;>;
2 11 3 newPaths Ljava/util/List<Ljava/nio/file/Path;>;
4 6 4 file Ljava/nio/file/Path;
Exceptions:
throws java.io.IOException
Signature: (Ljava/lang/Iterable<+Ljava/nio/file/Path;>;)V
MethodParameters:
Name Flags
files
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$ModuleSourcePathLocationHandler.checkPaths:(Ljava/lang/Iterable;)Ljava/util/List;
astore 3
start local 3 1: aload 0
getfield com.sun.tools.javac.file.Locations$ModuleSourcePathLocationHandler.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$ModuleSourcePathLocationHandler.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$ModuleSourcePathLocationHandler.moduleTable:Lcom/sun/tools/javac/file/Locations$ModuleTable;
3: StackMap locals: java.util.List
StackMap stack:
aload 0
getfield com.sun.tools.javac.file.Locations$ModuleSourcePathLocationHandler.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 13
5: new com.sun.tools.javac.file.Locations$ModuleLocationHandler
dup
aload 0
getfield com.sun.tools.javac.file.Locations$ModuleSourcePathLocationHandler.this$0:Lcom/sun/tools/javac/file/Locations;
aload 0
6: new java.lang.StringBuilder
dup
aload 0
getfield com.sun.tools.javac.file.Locations$ModuleSourcePathLocationHandler.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;
7: aload 1
8: aload 3
9: iconst_1
10: 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
11: aload 0
getfield com.sun.tools.javac.file.Locations$ModuleSourcePathLocationHandler.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
12: goto 15
13: StackMap locals: com.sun.tools.javac.file.Locations$ModuleLocationHandler
StackMap stack:
aload 4
aload 3
putfield com.sun.tools.javac.file.Locations$ModuleLocationHandler.searchPath:Ljava/util/Collection;
14: aload 0
getfield com.sun.tools.javac.file.Locations$ModuleSourcePathLocationHandler.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
15: StackMap locals:
StackMap stack:
aload 0
iconst_1
putfield com.sun.tools.javac.file.Locations$ModuleSourcePathLocationHandler.explicit:Z
16: return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 17 0 this Lcom/sun/tools/javac/file/Locations$ModuleSourcePathLocationHandler;
0 17 1 name Ljava/lang/String;
0 17 2 paths Ljava/lang/Iterable<+Ljava/nio/file/Path;>;
1 17 3 validPaths Ljava/util/List<Ljava/nio/file/Path;>;
4 17 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
private java.util.List<java.nio.file.Path> checkPaths(java.lang.Iterable<? extends java.nio.file.Path>);
descriptor: (Ljava/lang/Iterable;)Ljava/util/List;
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=5, args_size=2
start local 0 start local 1 0: aload 1
invokestatic java.util.Objects.requireNonNull:(Ljava/lang/Object;)Ljava/lang/Object;
pop
1: new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
astore 2
start local 2 2: aload 1
invokeinterface java.lang.Iterable.iterator:()Ljava/util/Iterator;
astore 4
goto 5
StackMap locals: com.sun.tools.javac.file.Locations$ModuleSourcePathLocationHandler java.lang.Iterable java.util.List top java.util.Iterator
StackMap stack:
3: aload 4
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.nio.file.Path
astore 3
start local 3 4: aload 2
aload 0
aload 3
invokevirtual com.sun.tools.javac.file.Locations$ModuleSourcePathLocationHandler.checkDirectory:(Ljava/nio/file/Path;)Ljava/nio/file/Path;
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
end local 3 5: StackMap locals:
StackMap stack:
aload 4
invokeinterface java.util.Iterator.hasNext:()Z
ifne 3
6: aload 2
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lcom/sun/tools/javac/file/Locations$ModuleSourcePathLocationHandler;
0 7 1 paths Ljava/lang/Iterable<+Ljava/nio/file/Path;>;
2 7 2 validPaths Ljava/util/List<Ljava/nio/file/Path;>;
4 5 3 p Ljava/nio/file/Path;
Exceptions:
throws java.io.IOException
Signature: (Ljava/lang/Iterable<+Ljava/nio/file/Path;>;)Ljava/util/List<Ljava/nio/file/Path;>;
MethodParameters:
Name Flags
paths
javax.tools.JavaFileManager$Location getLocationForModule(java.lang.String);
descriptor: (Ljava/lang/String;)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$ModuleSourcePathLocationHandler.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$ModuleSourcePathLocationHandler.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;
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$ModuleSourcePathLocationHandler;
0 3 1 name Ljava/lang/String;
MethodParameters:
Name Flags
name
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$ModuleSourcePathLocationHandler.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$ModuleSourcePathLocationHandler.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$ModuleSourcePathLocationHandler;
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=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.sun.tools.javac.file.Locations$ModuleSourcePathLocationHandler.moduleTable:Lcom/sun/tools/javac/file/Locations$ModuleTable;
ifnonnull 2
1: invokestatic java.util.Collections.emptySet:()Ljava/util/Set;
areturn
2: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.tools.javac.file.Locations$ModuleSourcePathLocationHandler.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 3 0 this Lcom/sun/tools/javac/file/Locations$ModuleSourcePathLocationHandler;
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$ModuleSourcePathLocationHandler.moduleTable:Lcom/sun/tools/javac/file/Locations$ModuleTable;
ifnonnull 1
iconst_0
goto 2
StackMap locals:
StackMap stack:
1: aload 0
getfield com.sun.tools.javac.file.Locations$ModuleSourcePathLocationHandler.moduleTable:Lcom/sun/tools/javac/file/Locations$ModuleTable;
aload 1
invokevirtual com.sun.tools.javac.file.Locations$ModuleTable.contains:(Ljava/nio/file/Path;)Z
StackMap locals:
StackMap stack: int
2: ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/sun/tools/javac/file/Locations$ModuleSourcePathLocationHandler;
0 3 1 file Ljava/nio/file/Path;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
file
private static boolean lambda$0(java.nio.file.Path);
descriptor: (Ljava/nio/file/Path;)Z
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
ldc "module-info.java"
invokeinterface java.nio.file.Path.resolve:(Ljava/lang/String;)Ljava/nio/file/Path;
iconst_0
anewarray java.nio.file.LinkOption
invokestatic java.nio.file.Files.exists:(Ljava/nio/file/Path;[Ljava/nio/file/LinkOption;)Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 p Ljava/nio/file/Path;
private void lambda$2(java.lang.String, java.util.List);
descriptor: (Ljava/lang/String;Ljava/util/List;)V
flags: (0x1002) ACC_PRIVATE, ACC_SYNTHETIC
Code:
stack=8, locals=6, args_size=3
start local 0 start local 1 start local 2 0: aload 2
invokeinterface java.util.List.stream:()Ljava/util/stream/Stream;
aload 0
getfield com.sun.tools.javac.file.Locations$ModuleSourcePathLocationHandler.checkModuleInfo:Ljava/util/function/Predicate;
invokeinterface java.util.stream.Stream.anyMatch:(Ljava/util/function/Predicate;)Z
istore 3
start local 3 1: iload 3
ifeq 7
2: new java.lang.StringBuilder
dup
aload 0
getfield com.sun.tools.javac.file.Locations$ModuleSourcePathLocationHandler.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;
astore 4
start local 4 3: new com.sun.tools.javac.file.Locations$ModuleLocationHandler
dup
aload 0
getfield com.sun.tools.javac.file.Locations$ModuleSourcePathLocationHandler.this$0:Lcom/sun/tools/javac/file/Locations;
aload 0
aload 4
aload 1
4: aload 2
iconst_0
5: 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 5
start local 5 6: aload 0
getfield com.sun.tools.javac.file.Locations$ModuleSourcePathLocationHandler.moduleTable:Lcom/sun/tools/javac/file/Locations$ModuleTable;
aload 5
invokevirtual com.sun.tools.javac.file.Locations$ModuleTable.add:(Lcom/sun/tools/javac/file/Locations$ModuleLocationHandler;)V
end local 5 end local 4 end local 3 7: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lcom/sun/tools/javac/file/Locations$ModuleSourcePathLocationHandler;
0 8 1 modName Ljava/lang/String;
0 8 2 modPath Ljava/util/List<Ljava/nio/file/Path;>;
1 7 3 hasModuleInfo Z
3 7 4 locnName Ljava/lang/String;
6 7 5 l Lcom/sun/tools/javac/file/Locations$ModuleLocationHandler;
private static boolean lambda$3(java.nio.file.Path);
descriptor: (Ljava/nio/file/Path;)Z
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
iconst_0
anewarray java.nio.file.LinkOption
invokestatic java.nio.file.Files.isDirectory:(Ljava/nio/file/Path;[Ljava/nio/file/LinkOption;)Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 path Ljava/nio/file/Path;
Exceptions:
throws java.io.IOException
}
SourceFile: "Locations.java"
NestHost: com.sun.tools.javac.file.Locations
InnerClasses:
public final LintCategory = com.sun.tools.javac.code.Lint$LintCategory of com.sun.tools.javac.code.Lint
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 ModuleSourcePathLocationHandler = com.sun.tools.javac.file.Locations$ModuleSourcePathLocationHandler of com.sun.tools.javac.file.Locations
private ModuleTable = com.sun.tools.javac.file.Locations$ModuleTable of com.sun.tools.javac.file.Locations
public Warnings = com.sun.tools.javac.resources.CompilerProperties$Warnings of com.sun.tools.javac.resources.CompilerProperties
public final Warning = com.sun.tools.javac.util.JCDiagnostic$Warning of com.sun.tools.javac.util.JCDiagnostic
public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles
public abstract Filter = java.nio.file.DirectoryStream$Filter of java.nio.file.DirectoryStream
public abstract Location = javax.tools.JavaFileManager$Location of javax.tools.JavaFileManager