class com.sun.tools.javac.file.Locations$ModulePathLocationHandler extends com.sun.tools.javac.file.Locations$SimpleLocationHandler
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: com.sun.tools.javac.file.Locations$ModulePathLocationHandler
super_class: com.sun.tools.javac.file.Locations$SimpleLocationHandler
{
private com.sun.tools.javac.file.Locations$ModuleTable moduleTable;
descriptor: Lcom/sun/tools/javac/file/Locations$ModuleTable;
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=4, 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$ModulePathLocationHandler.this$0:Lcom/sun/tools/javac/file/Locations;
1: aload 0
aload 1
aload 2
aload 3
invokespecial com.sun.tools.javac.file.Locations$SimpleLocationHandler.<init>:(Lcom/sun/tools/javac/file/Locations;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$ModulePathLocationHandler;
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
public boolean handleOption(com.sun.tools.javac.main.Option, java.lang.String);
descriptor: (Lcom/sun/tools/javac/main/Option;Ljava/lang/String;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield com.sun.tools.javac.file.Locations$ModulePathLocationHandler.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$ModulePathLocationHandler
3: aload 0
getfield com.sun.tools.javac.file.Locations$ModulePathLocationHandler.this$0:Lcom/sun/tools/javac/file/Locations;
aload 2
invokevirtual com.sun.tools.javac.file.Locations.getPathEntries:(Ljava/lang/String;)Ljava/lang/Iterable;
StackMap locals: com.sun.tools.javac.file.Locations$ModulePathLocationHandler com.sun.tools.javac.main.Option java.lang.String
StackMap stack: com.sun.tools.javac.file.Locations$ModulePathLocationHandler java.lang.Iterable
4: invokevirtual com.sun.tools.javac.file.Locations$ModulePathLocationHandler.setPaths:(Ljava/lang/Iterable;)V
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$ModulePathLocationHandler;
0 6 1 option Lcom/sun/tools/javac/main/Option;
0 6 2 value Ljava/lang/String;
MethodParameters:
Name Flags
option
value
public javax.tools.JavaFileManager$Location getLocationForModule(java.lang.String);
descriptor: (Ljava/lang/String;)Ljavax/tools/JavaFileManager$Location;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual com.sun.tools.javac.file.Locations$ModulePathLocationHandler.initModuleLocations:()V
1: aload 0
getfield com.sun.tools.javac.file.Locations$ModulePathLocationHandler.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;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/sun/tools/javac/file/Locations$ModulePathLocationHandler;
0 2 1 moduleName Ljava/lang/String;
MethodParameters:
Name Flags
moduleName
public javax.tools.JavaFileManager$Location getLocationForModule(java.nio.file.Path);
descriptor: (Ljava/nio/file/Path;)Ljavax/tools/JavaFileManager$Location;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual com.sun.tools.javac.file.Locations$ModulePathLocationHandler.initModuleLocations:()V
1: aload 0
getfield com.sun.tools.javac.file.Locations$ModulePathLocationHandler.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;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/sun/tools/javac/file/Locations$ModulePathLocationHandler;
0 2 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=4, args_size=1
start local 0 0: aload 0
getfield com.sun.tools.javac.file.Locations$ModulePathLocationHandler.moduleTable:Lcom/sun/tools/javac/file/Locations$ModuleTable;
ifnull 2
1: aload 0
getfield com.sun.tools.javac.file.Locations$ModulePathLocationHandler.moduleTable:Lcom/sun/tools/javac/file/Locations$ModuleTable;
invokevirtual com.sun.tools.javac.file.Locations$ModuleTable.explicitLocations:()Ljava/util/Set;
goto 3
StackMap locals:
StackMap stack:
2: invokestatic java.util.Collections.emptySet:()Ljava/util/Set;
3: StackMap locals:
StackMap stack: java.util.Set
astore 1
start local 1 4: aload 1
invokeinterface java.util.Set.isEmpty:()Z
ifne 6
5: aload 1
invokestatic java.util.Collections.singletonList:(Ljava/lang/Object;)Ljava/util/List;
goto 7
6: StackMap locals: java.util.Set
StackMap stack:
invokestatic java.util.Collections.emptyList:()Ljava/util/List;
7: StackMap locals:
StackMap stack: java.util.List
astore 2
start local 2 8: aload 0
getfield com.sun.tools.javac.file.Locations$ModulePathLocationHandler.searchPath:Ljava/util/Collection;
ifnonnull 10
9: aload 2
areturn
10: StackMap locals: java.lang.Iterable
StackMap stack:
aload 0
invokedynamic iterator(Lcom/sun/tools/javac/file/Locations$ModulePathLocationHandler;)Ljava/lang/Iterable;
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/util/Iterator;
com/sun/tools/javac/file/Locations$ModulePathLocationHandler.lambda$0()Ljava/util/Iterator; (7)
()Ljava/util/Iterator;
11: astore 3
start local 3 12: aload 2
aload 3
invokedynamic iterator(Ljava/lang/Iterable;Ljava/lang/Iterable;)Ljava/lang/Iterable;
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/util/Iterator;
com/sun/tools/javac/file/Locations$ModulePathLocationHandler.lambda$1(Ljava/lang/Iterable;Ljava/lang/Iterable;)Ljava/util/Iterator; (6)
()Ljava/util/Iterator;
areturn
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$ModulePathLocationHandler;
4 13 1 explicitLocations Ljava/util/Set<Ljavax/tools/JavaFileManager$Location;>;
8 13 2 explicitLocationsList Ljava/lang/Iterable<Ljava/util/Set<Ljavax/tools/JavaFileManager$Location;>;>;
12 13 3 searchPathLocations Ljava/lang/Iterable<Ljava/util/Set<Ljavax/tools/JavaFileManager$Location;>;>;
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$ModulePathLocationHandler.moduleTable:Lcom/sun/tools/javac/file/Locations$ModuleTable;
ifnonnull 2
1: aload 0
invokevirtual com.sun.tools.javac.file.Locations$ModulePathLocationHandler.initModuleLocations:()V
2: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.tools.javac.file.Locations$ModulePathLocationHandler.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
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/sun/tools/javac/file/Locations$ModulePathLocationHandler;
0 3 1 file Ljava/nio/file/Path;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
file
void setPaths(java.lang.Iterable<? extends java.nio.file.Path>);
descriptor: (Ljava/lang/Iterable;)V
flags: (0x0000)
Code:
stack=2, locals=4, args_size=2
start local 0 start local 1 0: aload 1
ifnull 5
1: aload 1
invokeinterface java.lang.Iterable.iterator:()Ljava/util/Iterator;
astore 3
goto 4
StackMap locals: com.sun.tools.javac.file.Locations$ModulePathLocationHandler java.lang.Iterable top java.util.Iterator
StackMap stack:
2: aload 3
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.nio.file.Path
astore 2
start local 2 3: aload 0
aload 2
invokevirtual com.sun.tools.javac.file.Locations$ModulePathLocationHandler.checkValidModulePathEntry:(Ljava/nio/file/Path;)V
end local 2 4: StackMap locals:
StackMap stack:
aload 3
invokeinterface java.util.Iterator.hasNext:()Z
ifne 2
5: StackMap locals: com.sun.tools.javac.file.Locations$ModulePathLocationHandler java.lang.Iterable
StackMap stack:
aload 0
aload 1
invokespecial com.sun.tools.javac.file.Locations$SimpleLocationHandler.setPaths:(Ljava/lang/Iterable;)V
6: aload 0
aconst_null
putfield com.sun.tools.javac.file.Locations$ModulePathLocationHandler.moduleTable:Lcom/sun/tools/javac/file/Locations$ModuleTable;
7: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lcom/sun/tools/javac/file/Locations$ModulePathLocationHandler;
0 8 1 paths Ljava/lang/Iterable<+Ljava/nio/file/Path;>;
3 4 2 p Ljava/nio/file/Path;
Signature: (Ljava/lang/Iterable<+Ljava/nio/file/Path;>;)V
MethodParameters:
Name Flags
paths
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$ModulePathLocationHandler.checkPaths:(Ljava/lang/Iterable;)Ljava/util/List;
astore 3
start local 3 1: aload 0
invokevirtual com.sun.tools.javac.file.Locations$ModulePathLocationHandler.initModuleLocations:()V
2: aload 0
getfield com.sun.tools.javac.file.Locations$ModulePathLocationHandler.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 3: aload 4
ifnonnull 9
4: new com.sun.tools.javac.file.Locations$ModuleLocationHandler
dup
aload 0
getfield com.sun.tools.javac.file.Locations$ModulePathLocationHandler.this$0:Lcom/sun/tools/javac/file/Locations;
aload 0
new java.lang.StringBuilder
dup
aload 0
getfield com.sun.tools.javac.file.Locations$ModulePathLocationHandler.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;
5: aload 1
aload 3
iconst_1
6: 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
7: aload 0
getfield com.sun.tools.javac.file.Locations$ModulePathLocationHandler.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
8: goto 11
9: StackMap locals: java.util.List 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;
10: aload 0
getfield com.sun.tools.javac.file.Locations$ModulePathLocationHandler.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
11: StackMap locals:
StackMap stack:
aload 4
iconst_1
putfield com.sun.tools.javac.file.Locations$ModuleLocationHandler.explicit:Z
12: aload 0
iconst_1
putfield com.sun.tools.javac.file.Locations$ModulePathLocationHandler.explicit:Z
13: return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 14 0 this Lcom/sun/tools/javac/file/Locations$ModulePathLocationHandler;
0 14 1 name Ljava/lang/String;
0 14 2 paths Ljava/lang/Iterable<+Ljava/nio/file/Path;>;
1 14 3 checkedPaths Ljava/util/List<Ljava/nio/file/Path;>;
3 14 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$ModulePathLocationHandler 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$ModulePathLocationHandler.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$ModulePathLocationHandler;
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
private void initModuleLocations();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=6, args_size=1
start local 0 0: aload 0
getfield com.sun.tools.javac.file.Locations$ModulePathLocationHandler.moduleTable:Lcom/sun/tools/javac/file/Locations$ModuleTable;
ifnull 2
1: return
2: StackMap locals:
StackMap stack:
aload 0
new com.sun.tools.javac.file.Locations$ModuleTable
dup
aload 0
getfield com.sun.tools.javac.file.Locations$ModulePathLocationHandler.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$ModulePathLocationHandler.moduleTable:Lcom/sun/tools/javac/file/Locations$ModuleTable;
3: aload 0
invokevirtual com.sun.tools.javac.file.Locations$ModulePathLocationHandler.listLocationsForModules:()Ljava/lang/Iterable;
invokeinterface java.lang.Iterable.iterator:()Ljava/util/Iterator;
astore 2
goto 12
StackMap locals: com.sun.tools.javac.file.Locations$ModulePathLocationHandler top java.util.Iterator
StackMap stack:
4: aload 2
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.util.Set
astore 1
start local 1 5: aload 1
invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
astore 4
goto 11
StackMap locals: com.sun.tools.javac.file.Locations$ModulePathLocationHandler java.util.Set java.util.Iterator top java.util.Iterator
StackMap stack:
6: aload 4
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast javax.tools.JavaFileManager$Location
astore 3
start local 3 7: aload 3
instanceof com.sun.tools.javac.file.Locations$ModuleLocationHandler
ifeq 11
8: aload 3
checkcast com.sun.tools.javac.file.Locations$ModuleLocationHandler
astore 5
start local 5 9: aload 0
getfield com.sun.tools.javac.file.Locations$ModulePathLocationHandler.moduleTable:Lcom/sun/tools/javac/file/Locations$ModuleTable;
getfield com.sun.tools.javac.file.Locations$ModuleTable.nameMap:Ljava/util/Map;
aload 5
getfield com.sun.tools.javac.file.Locations$ModuleLocationHandler.moduleName:Ljava/lang/String;
invokeinterface java.util.Map.containsKey:(Ljava/lang/Object;)Z
ifne 11
10: aload 0
getfield com.sun.tools.javac.file.Locations$ModulePathLocationHandler.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 3 11: StackMap locals:
StackMap stack:
aload 4
invokeinterface java.util.Iterator.hasNext:()Z
ifne 6
end local 1 12: StackMap locals: com.sun.tools.javac.file.Locations$ModulePathLocationHandler top java.util.Iterator
StackMap stack:
aload 2
invokeinterface java.util.Iterator.hasNext:()Z
ifne 4
13: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 14 0 this Lcom/sun/tools/javac/file/Locations$ModulePathLocationHandler;
5 12 1 set Ljava/util/Set<Ljavax/tools/JavaFileManager$Location;>;
7 11 3 locn Ljavax/tools/JavaFileManager$Location;
9 11 5 l Lcom/sun/tools/javac/file/Locations$ModuleLocationHandler;
private void checkValidModulePathEntry(java.nio.file.Path);
descriptor: (Ljava/nio/file/Path;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=5, args_size=2
start local 0 start local 1 0: aload 1
iconst_0
anewarray java.nio.file.LinkOption
invokestatic java.nio.file.Files.exists:(Ljava/nio/file/Path;[Ljava/nio/file/LinkOption;)Z
ifne 2
1: return
2: StackMap locals:
StackMap stack:
aload 1
iconst_0
anewarray java.nio.file.LinkOption
invokestatic java.nio.file.Files.isDirectory:(Ljava/nio/file/Path;[Ljava/nio/file/LinkOption;)Z
ifeq 4
3: return
4: StackMap locals:
StackMap stack:
aload 1
invokeinterface java.nio.file.Path.getFileName:()Ljava/nio/file/Path;
invokeinterface java.nio.file.Path.toString:()Ljava/lang/String;
astore 2
start local 2 5: aload 2
ldc "."
invokevirtual java.lang.String.lastIndexOf:(Ljava/lang/String;)I
istore 3
start local 3 6: iload 3
ifle 11
7: aload 2
iload 3
invokevirtual java.lang.String.substring:(I)Ljava/lang/String;
dup
astore 4
invokevirtual java.lang.String.hashCode:()I
lookupswitch { // 2
1475373: 8
45748102: 9
default: 11
}
StackMap locals: java.lang.String int java.lang.String
StackMap stack:
8: aload 4
ldc ".jar"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 10
goto 11
StackMap locals:
StackMap stack:
9: aload 4
ldc ".jmod"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 10
goto 11
10: StackMap locals:
StackMap stack:
return
11: StackMap locals:
StackMap stack:
new java.lang.IllegalArgumentException
dup
aload 1
invokeinterface java.nio.file.Path.toString:()Ljava/lang/String;
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 12 0 this Lcom/sun/tools/javac/file/Locations$ModulePathLocationHandler;
0 12 1 p Ljava/nio/file/Path;
5 12 2 name Ljava/lang/String;
6 12 3 lastDot I
MethodParameters:
Name Flags
p
private boolean isModuleName(java.lang.String);
descriptor: (Ljava/lang/String;)Z
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=5, args_size=2
start local 0 start local 1 0: iconst_0
istore 3
start local 3 1: goto 6
start local 2 2: StackMap locals: int int
StackMap stack:
aload 1
iload 3
iload 2
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
astore 4
start local 4 3: aload 4
invokestatic javax.lang.model.SourceVersion.isName:(Ljava/lang/CharSequence;)Z
ifne 5
4: iconst_0
ireturn
5: StackMap locals: java.lang.String
StackMap stack:
iload 2
iconst_1
iadd
istore 3
end local 4 end local 2 6: StackMap locals: com.sun.tools.javac.file.Locations$ModulePathLocationHandler java.lang.String top int
StackMap stack:
aload 1
bipush 46
iload 3
invokevirtual java.lang.String.indexOf:(II)I
dup
istore 2
start local 2 7: iconst_m1
if_icmpne 2
8: aload 1
iload 3
invokevirtual java.lang.String.substring:(I)Ljava/lang/String;
astore 4
start local 4 9: aload 4
invokestatic javax.lang.model.SourceVersion.isName:(Ljava/lang/CharSequence;)Z
ireturn
end local 4 end local 3 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$ModulePathLocationHandler;
0 10 1 name Ljava/lang/String;
2 6 2 next I
7 10 2 next I
1 10 3 off I
3 6 4 id Ljava/lang/String;
9 10 4 last Ljava/lang/String;
MethodParameters:
Name Flags
name
static com.sun.tools.javac.file.Locations access$0(com.sun.tools.javac.file.Locations$ModulePathLocationHandler);
descriptor: (Lcom/sun/tools/javac/file/Locations$ModulePathLocationHandler;)Lcom/sun/tools/javac/file/Locations;
flags: (0x1008) ACC_STATIC, ACC_SYNTHETIC
Code:
stack=1, locals=1, args_size=1
0: aload 0
getfield com.sun.tools.javac.file.Locations$ModulePathLocationHandler.this$0:Lcom/sun/tools/javac/file/Locations;
areturn
LocalVariableTable:
Start End Slot Name Signature
private java.util.Iterator lambda$0();
descriptor: ()Ljava/util/Iterator;
flags: (0x1002) ACC_PRIVATE, ACC_SYNTHETIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: new com.sun.tools.javac.file.Locations$ModulePathLocationHandler$ModulePathIterator
dup
aload 0
invokespecial com.sun.tools.javac.file.Locations$ModulePathLocationHandler$ModulePathIterator.<init>:(Lcom/sun/tools/javac/file/Locations$ModulePathLocationHandler;)V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/tools/javac/file/Locations$ModulePathLocationHandler;
private static java.util.Iterator lambda$1(java.lang.Iterable, java.lang.Iterable);
descriptor: (Ljava/lang/Iterable;Ljava/lang/Iterable;)Ljava/util/Iterator;
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=4, locals=2, args_size=2
0: iconst_2
anewarray java.lang.Iterable
dup
iconst_0
1: aload 0
aastore
dup
iconst_1
2: aload 1
aastore
3: invokestatic java.util.Arrays.asList:([Ljava/lang/Object;)Ljava/util/List;
4: 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/lang/Iterable.iterator()Ljava/util/Iterator; (9 itf)
(Ljava/lang/Iterable;)Ljava/util/Iterator;
5: invokestatic com.sun.tools.javac.util.Iterators.createCompoundIterator:(Ljava/lang/Iterable;Ljava/util/function/Function;)Ljava/util/Iterator;
areturn
LocalVariableTable:
Start End Slot Name Signature
}
SourceFile: "Locations.java"
NestHost: com.sun.tools.javac.file.Locations
InnerClasses:
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 ModulePathLocationHandler = com.sun.tools.javac.file.Locations$ModulePathLocationHandler of com.sun.tools.javac.file.Locations
ModulePathIterator = com.sun.tools.javac.file.Locations$ModulePathLocationHandler$ModulePathIterator of com.sun.tools.javac.file.Locations$ModulePathLocationHandler
private ModuleTable = com.sun.tools.javac.file.Locations$ModuleTable of com.sun.tools.javac.file.Locations
private SimpleLocationHandler = com.sun.tools.javac.file.Locations$SimpleLocationHandler of com.sun.tools.javac.file.Locations
public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles
public abstract Location = javax.tools.JavaFileManager$Location of javax.tools.JavaFileManager