abstract class com.sun.tools.javac.file.Locations$BasicLocationHandler extends com.sun.tools.javac.file.Locations$LocationHandler
minor version: 0
major version: 59
flags: flags: (0x0420) ACC_SUPER, ACC_ABSTRACT
this_class: com.sun.tools.javac.file.Locations$BasicLocationHandler
super_class: com.sun.tools.javac.file.Locations$LocationHandler
{
final javax.tools.JavaFileManager$Location location;
descriptor: Ljavax/tools/JavaFileManager$Location;
flags: (0x0010) ACC_FINAL
final java.util.Set<com.sun.tools.javac.main.Option> options;
descriptor: Ljava/util/Set;
flags: (0x0010) ACC_FINAL
Signature: Ljava/util/Set<Lcom/sun/tools/javac/main/Option;>;
boolean explicit;
descriptor: Z
flags: (0x0000)
protected void <init>(javax.tools.JavaFileManager$Location, com.sun.tools.javac.main.Option[]);
descriptor: (Ljavax/tools/JavaFileManager$Location;[Lcom/sun/tools/javac/main/Option;)V
flags: (0x0084) ACC_PROTECTED, ACC_VARARGS
Code:
stack=2, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokespecial com.sun.tools.javac.file.Locations$LocationHandler.<init>:()V
1: aload 0
aload 1
putfield com.sun.tools.javac.file.Locations$BasicLocationHandler.location:Ljavax/tools/JavaFileManager$Location;
2: aload 0
aload 2
arraylength
ifne 4
3: ldc Lcom/sun/tools/javac/main/Option;
invokestatic java.util.EnumSet.noneOf:(Ljava/lang/Class;)Ljava/util/EnumSet;
goto 5
4: StackMap locals: com.sun.tools.javac.file.Locations$BasicLocationHandler javax.tools.JavaFileManager$Location com.sun.tools.javac.main.Option[]
StackMap stack: com.sun.tools.javac.file.Locations$BasicLocationHandler
aload 2
invokestatic java.util.Arrays.asList:([Ljava/lang/Object;)Ljava/util/List;
invokestatic java.util.EnumSet.copyOf:(Ljava/util/Collection;)Ljava/util/EnumSet;
5: StackMap locals: com.sun.tools.javac.file.Locations$BasicLocationHandler javax.tools.JavaFileManager$Location com.sun.tools.javac.main.Option[]
StackMap stack: com.sun.tools.javac.file.Locations$BasicLocationHandler java.util.EnumSet
putfield com.sun.tools.javac.file.Locations$BasicLocationHandler.options:Ljava/util/Set;
6: return
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$BasicLocationHandler;
0 7 1 location Ljavax/tools/JavaFileManager$Location;
0 7 2 options [Lcom/sun/tools/javac/main/Option;
MethodParameters:
Name Flags
location
options
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=5, locals=3, args_size=3
start local 0 start local 1 start local 2 0: new java.lang.UnsupportedOperationException
dup
new java.lang.StringBuilder
dup
ldc "not supported for "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
getfield com.sun.tools.javac.file.Locations$BasicLocationHandler.location:Ljavax/tools/JavaFileManager$Location;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.UnsupportedOperationException.<init>:(Ljava/lang/String;)V
athrow
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/tools/javac/file/Locations$BasicLocationHandler;
0 1 1 moduleName Ljava/lang/String;
0 1 2 files Ljava/lang/Iterable<+Ljava/nio/file/Path;>;
Exceptions:
throws java.io.IOException
Signature: (Ljava/lang/String;Ljava/lang/Iterable<+Ljava/nio/file/Path;>;)V
MethodParameters:
Name Flags
moduleName
files
protected java.nio.file.Path checkSingletonDirectory(java.lang.Iterable<? extends java.nio.file.Path>);
descriptor: (Ljava/lang/Iterable;)Ljava/nio/file/Path;
flags: (0x0004) ACC_PROTECTED
Code:
stack=3, locals=4, args_size=2
start local 0 start local 1 0: aload 1
invokeinterface java.lang.Iterable.iterator:()Ljava/util/Iterator;
astore 2
start local 2 1: aload 2
invokeinterface java.util.Iterator.hasNext:()Z
ifne 3
2: new java.lang.IllegalArgumentException
dup
ldc "empty path for directory"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
3: StackMap locals: java.util.Iterator
StackMap stack:
aload 2
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.nio.file.Path
astore 3
start local 3 4: aload 2
invokeinterface java.util.Iterator.hasNext:()Z
ifeq 6
5: new java.lang.IllegalArgumentException
dup
ldc "path too long for directory"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
6: StackMap locals: java.nio.file.Path
StackMap stack:
aload 0
aload 3
invokevirtual com.sun.tools.javac.file.Locations$BasicLocationHandler.checkDirectory:(Ljava/nio/file/Path;)Ljava/nio/file/Path;
pop
7: aload 3
areturn
end local 3 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$BasicLocationHandler;
0 8 1 paths Ljava/lang/Iterable<+Ljava/nio/file/Path;>;
1 8 2 pathIter Ljava/util/Iterator<+Ljava/nio/file/Path;>;
4 8 3 path Ljava/nio/file/Path;
Exceptions:
throws java.io.IOException
Signature: (Ljava/lang/Iterable<+Ljava/nio/file/Path;>;)Ljava/nio/file/Path;
MethodParameters:
Name Flags
paths
protected java.nio.file.Path checkDirectory(java.nio.file.Path);
descriptor: (Ljava/nio/file/Path;)Ljava/nio/file/Path;
flags: (0x0004) ACC_PROTECTED
Code:
stack=4, locals=2, 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: 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 3
2: new java.io.FileNotFoundException
dup
new java.lang.StringBuilder
dup
invokespecial java.lang.StringBuilder.<init>:()V
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
ldc ": does not exist"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.io.FileNotFoundException.<init>:(Ljava/lang/String;)V
athrow
3: 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
ifne 5
4: new java.io.IOException
dup
new java.lang.StringBuilder
dup
invokespecial java.lang.StringBuilder.<init>:()V
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
ldc ": not a directory"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.io.IOException.<init>:(Ljava/lang/String;)V
athrow
5: StackMap locals:
StackMap stack:
aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lcom/sun/tools/javac/file/Locations$BasicLocationHandler;
0 6 1 path Ljava/nio/file/Path;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
path
boolean isExplicit();
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$BasicLocationHandler.explicit:Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/tools/javac/file/Locations$BasicLocationHandler;
}
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
public abstract Location = javax.tools.JavaFileManager$Location of javax.tools.JavaFileManager