class com.sun.tools.doclets.internal.toolkit.util.StandardDocFileFactory extends com.sun.tools.doclets.internal.toolkit.util.DocFileFactory
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: com.sun.tools.doclets.internal.toolkit.util.StandardDocFileFactory
super_class: com.sun.tools.doclets.internal.toolkit.util.DocFileFactory
{
private final javax.tools.StandardJavaFileManager fileManager;
descriptor: Ljavax/tools/StandardJavaFileManager;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private java.nio.file.Path destDir;
descriptor: Ljava/nio/file/Path;
flags: (0x0002) ACC_PRIVATE
public void <init>(com.sun.tools.doclets.internal.toolkit.Configuration);
descriptor: (Lcom/sun/tools/doclets/internal/toolkit/Configuration;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokespecial com.sun.tools.doclets.internal.toolkit.util.DocFileFactory.<init>:(Lcom/sun/tools/doclets/internal/toolkit/Configuration;)V
1: aload 0
aload 1
invokevirtual com.sun.tools.doclets.internal.toolkit.Configuration.getFileManager:()Ljavax/tools/JavaFileManager;
checkcast javax.tools.StandardJavaFileManager
putfield com.sun.tools.doclets.internal.toolkit.util.StandardDocFileFactory.fileManager:Ljavax/tools/StandardJavaFileManager;
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/sun/tools/doclets/internal/toolkit/util/StandardDocFileFactory;
0 3 1 configuration Lcom/sun/tools/doclets/internal/toolkit/Configuration;
MethodParameters:
Name Flags
configuration
private java.nio.file.Path getDestDir();
descriptor: ()Ljava/nio/file/Path;
flags: (0x0002) ACC_PRIVATE
Code:
stack=6, locals=3, args_size=1
start local 0 0: aload 0
getfield com.sun.tools.doclets.internal.toolkit.util.StandardDocFileFactory.destDir:Ljava/nio/file/Path;
ifnonnull 12
1: aload 0
getfield com.sun.tools.doclets.internal.toolkit.util.StandardDocFileFactory.configuration:Lcom/sun/tools/doclets/internal/toolkit/Configuration;
getfield com.sun.tools.doclets.internal.toolkit.Configuration.destDirName:Ljava/lang/String;
invokevirtual java.lang.String.isEmpty:()Z
ifeq 3
2: aload 0
getfield com.sun.tools.doclets.internal.toolkit.util.StandardDocFileFactory.fileManager:Ljavax/tools/StandardJavaFileManager;
getstatic javax.tools.DocumentationTool$Location.DOCUMENTATION_OUTPUT:Ljavax/tools/DocumentationTool$Location;
invokeinterface javax.tools.StandardJavaFileManager.hasLocation:(Ljavax/tools/JavaFileManager$Location;)Z
ifne 11
3: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.tools.doclets.internal.toolkit.util.StandardDocFileFactory.configuration:Lcom/sun/tools/doclets/internal/toolkit/Configuration;
getfield com.sun.tools.doclets.internal.toolkit.Configuration.destDirName:Ljava/lang/String;
invokevirtual java.lang.String.isEmpty:()Z
ifeq 4
ldc "."
goto 5
StackMap locals:
StackMap stack:
4: aload 0
getfield com.sun.tools.doclets.internal.toolkit.util.StandardDocFileFactory.configuration:Lcom/sun/tools/doclets/internal/toolkit/Configuration;
getfield com.sun.tools.doclets.internal.toolkit.Configuration.destDirName:Ljava/lang/String;
StackMap locals:
StackMap stack: java.lang.String
5: astore 1
start local 1 6: aload 1
iconst_0
anewarray java.lang.String
invokestatic java.nio.file.Paths.get:(Ljava/lang/String;[Ljava/lang/String;)Ljava/nio/file/Path;
astore 2
start local 2 7: aload 0
getfield com.sun.tools.doclets.internal.toolkit.util.StandardDocFileFactory.fileManager:Ljavax/tools/StandardJavaFileManager;
getstatic javax.tools.DocumentationTool$Location.DOCUMENTATION_OUTPUT:Ljavax/tools/DocumentationTool$Location;
iconst_1
anewarray java.nio.file.Path
dup
iconst_0
aload 2
aastore
invokestatic java.util.Arrays.asList:([Ljava/lang/Object;)Ljava/util/List;
invokeinterface javax.tools.StandardJavaFileManager.setLocationFromPaths:(Ljavax/tools/JavaFileManager$Location;Ljava/util/Collection;)V
end local 2 end local 1 8: goto 11
StackMap locals:
StackMap stack: java.io.IOException
9: astore 1
start local 1 10: new com.sun.tools.doclets.internal.toolkit.util.DocletAbortException
dup
aload 1
invokespecial com.sun.tools.doclets.internal.toolkit.util.DocletAbortException.<init>:(Ljava/lang/Throwable;)V
athrow
end local 1 11: StackMap locals:
StackMap stack:
aload 0
aload 0
getfield com.sun.tools.doclets.internal.toolkit.util.StandardDocFileFactory.fileManager:Ljavax/tools/StandardJavaFileManager;
getstatic javax.tools.DocumentationTool$Location.DOCUMENTATION_OUTPUT:Ljavax/tools/DocumentationTool$Location;
invokeinterface javax.tools.StandardJavaFileManager.getLocationAsPaths:(Ljavax/tools/JavaFileManager$Location;)Ljava/lang/Iterable;
invokeinterface java.lang.Iterable.iterator:()Ljava/util/Iterator;
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.nio.file.Path
putfield com.sun.tools.doclets.internal.toolkit.util.StandardDocFileFactory.destDir:Ljava/nio/file/Path;
12: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.tools.doclets.internal.toolkit.util.StandardDocFileFactory.destDir:Ljava/nio/file/Path;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 this Lcom/sun/tools/doclets/internal/toolkit/util/StandardDocFileFactory;
6 8 1 dirName Ljava/lang/String;
7 8 2 dir Ljava/nio/file/Path;
10 11 1 e Ljava/io/IOException;
Exception table:
from to target type
3 8 9 Class java.io.IOException
public com.sun.tools.doclets.internal.toolkit.util.DocFile createFileForDirectory(java.lang.String);
descriptor: (Ljava/lang/String;)Lcom/sun/tools/doclets/internal/toolkit/util/DocFile;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=2, args_size=2
start local 0 start local 1 0: new com.sun.tools.doclets.internal.toolkit.util.StandardDocFileFactory$StandardDocFile
dup
aload 0
aload 1
iconst_0
anewarray java.lang.String
invokestatic java.nio.file.Paths.get:(Ljava/lang/String;[Ljava/lang/String;)Ljava/nio/file/Path;
invokespecial com.sun.tools.doclets.internal.toolkit.util.StandardDocFileFactory$StandardDocFile.<init>:(Lcom/sun/tools/doclets/internal/toolkit/util/StandardDocFileFactory;Ljava/nio/file/Path;)V
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/tools/doclets/internal/toolkit/util/StandardDocFileFactory;
0 1 1 file Ljava/lang/String;
MethodParameters:
Name Flags
file
public com.sun.tools.doclets.internal.toolkit.util.DocFile createFileForInput(java.lang.String);
descriptor: (Ljava/lang/String;)Lcom/sun/tools/doclets/internal/toolkit/util/DocFile;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=2, args_size=2
start local 0 start local 1 0: new com.sun.tools.doclets.internal.toolkit.util.StandardDocFileFactory$StandardDocFile
dup
aload 0
aload 1
iconst_0
anewarray java.lang.String
invokestatic java.nio.file.Paths.get:(Ljava/lang/String;[Ljava/lang/String;)Ljava/nio/file/Path;
invokespecial com.sun.tools.doclets.internal.toolkit.util.StandardDocFileFactory$StandardDocFile.<init>:(Lcom/sun/tools/doclets/internal/toolkit/util/StandardDocFileFactory;Ljava/nio/file/Path;)V
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/tools/doclets/internal/toolkit/util/StandardDocFileFactory;
0 1 1 file Ljava/lang/String;
MethodParameters:
Name Flags
file
public com.sun.tools.doclets.internal.toolkit.util.DocFile createFileForOutput(com.sun.tools.doclets.internal.toolkit.util.DocPath);
descriptor: (Lcom/sun/tools/doclets/internal/toolkit/util/DocPath;)Lcom/sun/tools/doclets/internal/toolkit/util/DocFile;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=2, args_size=2
start local 0 start local 1 0: new com.sun.tools.doclets.internal.toolkit.util.StandardDocFileFactory$StandardDocFile
dup
aload 0
getstatic javax.tools.DocumentationTool$Location.DOCUMENTATION_OUTPUT:Ljavax/tools/DocumentationTool$Location;
aload 1
invokespecial com.sun.tools.doclets.internal.toolkit.util.StandardDocFileFactory$StandardDocFile.<init>:(Lcom/sun/tools/doclets/internal/toolkit/util/StandardDocFileFactory;Ljavax/tools/JavaFileManager$Location;Lcom/sun/tools/doclets/internal/toolkit/util/DocPath;)V
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/tools/doclets/internal/toolkit/util/StandardDocFileFactory;
0 1 1 path Lcom/sun/tools/doclets/internal/toolkit/util/DocPath;
MethodParameters:
Name Flags
path
java.lang.Iterable<com.sun.tools.doclets.internal.toolkit.util.DocFile> list(javax.tools.JavaFileManager$Location, com.sun.tools.doclets.internal.toolkit.util.DocPath);
descriptor: (Ljavax/tools/JavaFileManager$Location;Lcom/sun/tools/doclets/internal/toolkit/util/DocPath;)Ljava/lang/Iterable;
flags: (0x0000)
Code:
stack=5, locals=7, args_size=3
start local 0 start local 1 start local 2 0: aload 1
getstatic javax.tools.StandardLocation.SOURCE_PATH:Ljavax/tools/StandardLocation;
if_acmpne 3
1: aload 0
getfield com.sun.tools.doclets.internal.toolkit.util.StandardDocFileFactory.fileManager:Ljavax/tools/StandardJavaFileManager;
getstatic javax.tools.StandardLocation.SOURCE_PATH:Ljavax/tools/StandardLocation;
invokeinterface javax.tools.StandardJavaFileManager.hasLocation:(Ljavax/tools/JavaFileManager$Location;)Z
ifne 3
2: getstatic javax.tools.StandardLocation.CLASS_PATH:Ljavax/tools/StandardLocation;
goto 4
3: StackMap locals:
StackMap stack:
aload 1
4: StackMap locals:
StackMap stack: javax.tools.JavaFileManager$Location
astore 3
start local 3 5: new java.util.LinkedHashSet
dup
invokespecial java.util.LinkedHashSet.<init>:()V
astore 4
start local 4 6: aload 0
getfield com.sun.tools.doclets.internal.toolkit.util.StandardDocFileFactory.fileManager:Ljavax/tools/StandardJavaFileManager;
aload 3
invokeinterface javax.tools.StandardJavaFileManager.getLocationAsPaths:(Ljavax/tools/JavaFileManager$Location;)Ljava/lang/Iterable;
invokeinterface java.lang.Iterable.iterator:()Ljava/util/Iterator;
astore 6
goto 12
StackMap locals: com.sun.tools.doclets.internal.toolkit.util.StandardDocFileFactory javax.tools.JavaFileManager$Location com.sun.tools.doclets.internal.toolkit.util.DocPath javax.tools.JavaFileManager$Location java.util.Set top java.util.Iterator
StackMap stack:
7: aload 6
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.nio.file.Path
astore 5
start local 5 8: aload 5
iconst_0
anewarray java.nio.file.LinkOption
invokestatic java.nio.file.Files.isDirectory:(Ljava/nio/file/Path;[Ljava/nio/file/LinkOption;)Z
ifeq 12
9: aload 5
aload 2
invokevirtual com.sun.tools.doclets.internal.toolkit.util.DocPath.getPath:()Ljava/lang/String;
invokeinterface java.nio.file.Path.resolve:(Ljava/lang/String;)Ljava/nio/file/Path;
astore 5
10: aload 5
iconst_0
anewarray java.nio.file.LinkOption
invokestatic java.nio.file.Files.exists:(Ljava/nio/file/Path;[Ljava/nio/file/LinkOption;)Z
ifeq 12
11: aload 4
new com.sun.tools.doclets.internal.toolkit.util.StandardDocFileFactory$StandardDocFile
dup
aload 0
aload 5
invokespecial com.sun.tools.doclets.internal.toolkit.util.StandardDocFileFactory$StandardDocFile.<init>:(Lcom/sun/tools/doclets/internal/toolkit/util/StandardDocFileFactory;Ljava/nio/file/Path;)V
invokeinterface java.util.Set.add:(Ljava/lang/Object;)Z
pop
end local 5 12: StackMap locals:
StackMap stack:
aload 6
invokeinterface java.util.Iterator.hasNext:()Z
ifne 7
13: aload 4
areturn
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/doclets/internal/toolkit/util/StandardDocFileFactory;
0 14 1 location Ljavax/tools/JavaFileManager$Location;
0 14 2 path Lcom/sun/tools/doclets/internal/toolkit/util/DocPath;
5 14 3 l Ljavax/tools/JavaFileManager$Location;
6 14 4 files Ljava/util/Set<Lcom/sun/tools/doclets/internal/toolkit/util/DocFile;>;
8 12 5 f Ljava/nio/file/Path;
Signature: (Ljavax/tools/JavaFileManager$Location;Lcom/sun/tools/doclets/internal/toolkit/util/DocPath;)Ljava/lang/Iterable<Lcom/sun/tools/doclets/internal/toolkit/util/DocFile;>;
MethodParameters:
Name Flags
location
path
private static java.nio.file.Path newFile(java.nio.file.Path, java.lang.String);
descriptor: (Ljava/nio/file/Path;Ljava/lang/String;)Ljava/nio/file/Path;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
ifnonnull 1
aload 1
iconst_0
anewarray java.lang.String
invokestatic java.nio.file.Paths.get:(Ljava/lang/String;[Ljava/lang/String;)Ljava/nio/file/Path;
goto 2
StackMap locals:
StackMap stack:
1: aload 0
aload 1
invokeinterface java.nio.file.Path.resolve:(Ljava/lang/String;)Ljava/nio/file/Path;
StackMap locals:
StackMap stack: java.nio.file.Path
2: areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 dir Ljava/nio/file/Path;
0 3 1 path Ljava/lang/String;
MethodParameters:
Name Flags
dir
path
}
SourceFile: "StandardDocFileFactory.java"
NestMembers:
com.sun.tools.doclets.internal.toolkit.util.StandardDocFileFactory$StandardDocFile
InnerClasses:
StandardDocFile = com.sun.tools.doclets.internal.toolkit.util.StandardDocFileFactory$StandardDocFile of com.sun.tools.doclets.internal.toolkit.util.StandardDocFileFactory
public final Location = javax.tools.DocumentationTool$Location of javax.tools.DocumentationTool
public abstract Location = javax.tools.JavaFileManager$Location of javax.tools.JavaFileManager
RuntimeVisibleAnnotations:
java.lang.Deprecated()