public abstract class jdk.javadoc.internal.doclets.toolkit.util.DocFile
minor version: 0
major version: 59
flags: flags: (0x0421) ACC_PUBLIC, ACC_SUPER, ACC_ABSTRACT
this_class: jdk.javadoc.internal.doclets.toolkit.util.DocFile
super_class: java.lang.Object
{
protected final javax.tools.JavaFileManager$Location location;
descriptor: Ljavax/tools/JavaFileManager$Location;
flags: (0x0014) ACC_PROTECTED, ACC_FINAL
protected final jdk.javadoc.internal.doclets.toolkit.util.DocPath path;
descriptor: Ljdk/javadoc/internal/doclets/toolkit/util/DocPath;
flags: (0x0014) ACC_PROTECTED, ACC_FINAL
private static final java.util.regex.Pattern replacePtn;
descriptor: Ljava/util/regex/Pattern;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: ldc "##REPLACE:(?<key>[A-Za-z0-9._]+)##"
invokestatic java.util.regex.Pattern.compile:(Ljava/lang/String;)Ljava/util/regex/Pattern;
putstatic jdk.javadoc.internal.doclets.toolkit.util.DocFile.replacePtn:Ljava/util/regex/Pattern;
return
LocalVariableTable:
Start End Slot Name Signature
public static jdk.javadoc.internal.doclets.toolkit.util.DocFile createFileForDirectory(jdk.javadoc.internal.doclets.toolkit.BaseConfiguration, java.lang.String);
descriptor: (Ljdk/javadoc/internal/doclets/toolkit/BaseConfiguration;Ljava/lang/String;)Ljdk/javadoc/internal/doclets/toolkit/util/DocFile;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokestatic jdk.javadoc.internal.doclets.toolkit.util.DocFileFactory.getFactory:(Ljdk/javadoc/internal/doclets/toolkit/BaseConfiguration;)Ljdk/javadoc/internal/doclets/toolkit/util/DocFileFactory;
aload 1
invokevirtual jdk.javadoc.internal.doclets.toolkit.util.DocFileFactory.createFileForDirectory:(Ljava/lang/String;)Ljdk/javadoc/internal/doclets/toolkit/util/DocFile;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 configuration Ljdk/javadoc/internal/doclets/toolkit/BaseConfiguration;
0 1 1 file Ljava/lang/String;
MethodParameters:
Name Flags
configuration
file
public static jdk.javadoc.internal.doclets.toolkit.util.DocFile createFileForInput(jdk.javadoc.internal.doclets.toolkit.BaseConfiguration, java.lang.String);
descriptor: (Ljdk/javadoc/internal/doclets/toolkit/BaseConfiguration;Ljava/lang/String;)Ljdk/javadoc/internal/doclets/toolkit/util/DocFile;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokestatic jdk.javadoc.internal.doclets.toolkit.util.DocFileFactory.getFactory:(Ljdk/javadoc/internal/doclets/toolkit/BaseConfiguration;)Ljdk/javadoc/internal/doclets/toolkit/util/DocFileFactory;
aload 1
invokevirtual jdk.javadoc.internal.doclets.toolkit.util.DocFileFactory.createFileForInput:(Ljava/lang/String;)Ljdk/javadoc/internal/doclets/toolkit/util/DocFile;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 configuration Ljdk/javadoc/internal/doclets/toolkit/BaseConfiguration;
0 1 1 file Ljava/lang/String;
MethodParameters:
Name Flags
configuration
file
public static jdk.javadoc.internal.doclets.toolkit.util.DocFile createFileForOutput(jdk.javadoc.internal.doclets.toolkit.BaseConfiguration, jdk.javadoc.internal.doclets.toolkit.util.DocPath);
descriptor: (Ljdk/javadoc/internal/doclets/toolkit/BaseConfiguration;Ljdk/javadoc/internal/doclets/toolkit/util/DocPath;)Ljdk/javadoc/internal/doclets/toolkit/util/DocFile;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokestatic jdk.javadoc.internal.doclets.toolkit.util.DocFileFactory.getFactory:(Ljdk/javadoc/internal/doclets/toolkit/BaseConfiguration;)Ljdk/javadoc/internal/doclets/toolkit/util/DocFileFactory;
aload 1
invokevirtual jdk.javadoc.internal.doclets.toolkit.util.DocFileFactory.createFileForOutput:(Ljdk/javadoc/internal/doclets/toolkit/util/DocPath;)Ljdk/javadoc/internal/doclets/toolkit/util/DocFile;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 configuration Ljdk/javadoc/internal/doclets/toolkit/BaseConfiguration;
0 1 1 path Ljdk/javadoc/internal/doclets/toolkit/util/DocPath;
MethodParameters:
Name Flags
configuration
path
public static java.lang.Iterable<jdk.javadoc.internal.doclets.toolkit.util.DocFile> list(jdk.javadoc.internal.doclets.toolkit.BaseConfiguration, javax.tools.JavaFileManager$Location, jdk.javadoc.internal.doclets.toolkit.util.DocPath);
descriptor: (Ljdk/javadoc/internal/doclets/toolkit/BaseConfiguration;Ljavax/tools/JavaFileManager$Location;Ljdk/javadoc/internal/doclets/toolkit/util/DocPath;)Ljava/lang/Iterable;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokestatic jdk.javadoc.internal.doclets.toolkit.util.DocFileFactory.getFactory:(Ljdk/javadoc/internal/doclets/toolkit/BaseConfiguration;)Ljdk/javadoc/internal/doclets/toolkit/util/DocFileFactory;
aload 1
aload 2
invokevirtual jdk.javadoc.internal.doclets.toolkit.util.DocFileFactory.list:(Ljavax/tools/JavaFileManager$Location;Ljdk/javadoc/internal/doclets/toolkit/util/DocPath;)Ljava/lang/Iterable;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 configuration Ljdk/javadoc/internal/doclets/toolkit/BaseConfiguration;
0 1 1 location Ljavax/tools/JavaFileManager$Location;
0 1 2 path Ljdk/javadoc/internal/doclets/toolkit/util/DocPath;
Signature: (Ljdk/javadoc/internal/doclets/toolkit/BaseConfiguration;Ljavax/tools/JavaFileManager$Location;Ljdk/javadoc/internal/doclets/toolkit/util/DocPath;)Ljava/lang/Iterable<Ljdk/javadoc/internal/doclets/toolkit/util/DocFile;>;
MethodParameters:
Name Flags
configuration
location
path
protected void <init>();
descriptor: ()V
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aconst_null
putfield jdk.javadoc.internal.doclets.toolkit.util.DocFile.location:Ljavax/tools/JavaFileManager$Location;
2: aload 0
aconst_null
putfield jdk.javadoc.internal.doclets.toolkit.util.DocFile.path:Ljdk/javadoc/internal/doclets/toolkit/util/DocPath;
3: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljdk/javadoc/internal/doclets/toolkit/util/DocFile;
protected void <init>(javax.tools.JavaFileManager$Location, jdk.javadoc.internal.doclets.toolkit.util.DocPath);
descriptor: (Ljavax/tools/JavaFileManager$Location;Ljdk/javadoc/internal/doclets/toolkit/util/DocPath;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aload 1
putfield jdk.javadoc.internal.doclets.toolkit.util.DocFile.location:Ljavax/tools/JavaFileManager$Location;
2: aload 0
aload 2
putfield jdk.javadoc.internal.doclets.toolkit.util.DocFile.path:Ljdk/javadoc/internal/doclets/toolkit/util/DocPath;
3: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljdk/javadoc/internal/doclets/toolkit/util/DocFile;
0 4 1 location Ljavax/tools/JavaFileManager$Location;
0 4 2 path Ljdk/javadoc/internal/doclets/toolkit/util/DocPath;
MethodParameters:
Name Flags
location
path
public abstract javax.tools.FileObject getFileObject();
descriptor: ()Ljavax/tools/FileObject;
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
public abstract java.io.InputStream openInputStream();
descriptor: ()Ljava/io/InputStream;
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
Exceptions:
throws jdk.javadoc.internal.doclets.toolkit.util.DocFileIOException
public abstract java.io.OutputStream openOutputStream();
descriptor: ()Ljava/io/OutputStream;
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
Exceptions:
throws jdk.javadoc.internal.doclets.toolkit.util.DocFileIOException, java.io.UnsupportedEncodingException
public abstract java.io.Writer openWriter();
descriptor: ()Ljava/io/Writer;
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
Exceptions:
throws jdk.javadoc.internal.doclets.toolkit.util.DocFileIOException, java.io.UnsupportedEncodingException
public void copyFile(jdk.javadoc.internal.doclets.toolkit.util.DocFile);
descriptor: (Ljdk/javadoc/internal/doclets/toolkit/util/DocFile;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=10, args_size=2
start local 0 start local 1 0: aconst_null
astore 2
aconst_null
astore 3
1: aload 0
invokevirtual jdk.javadoc.internal.doclets.toolkit.util.DocFile.openOutputStream:()Ljava/io/OutputStream;
astore 4
start local 4 2: aconst_null
astore 5
aconst_null
astore 6
3: aload 1
invokevirtual jdk.javadoc.internal.doclets.toolkit.util.DocFile.openInputStream:()Ljava/io/InputStream;
astore 7
start local 7 4: sipush 1024
newarray 8
astore 8
start local 8 5: goto 7
start local 9 6: StackMap locals: jdk.javadoc.internal.doclets.toolkit.util.DocFile jdk.javadoc.internal.doclets.toolkit.util.DocFile java.lang.Throwable java.lang.Throwable java.io.OutputStream java.lang.Throwable java.lang.Throwable java.io.InputStream byte[] int
StackMap stack:
aload 0
aload 4
aload 8
iload 9
invokestatic jdk.javadoc.internal.doclets.toolkit.util.DocFile.write:(Ljdk/javadoc/internal/doclets/toolkit/util/DocFile;Ljava/io/OutputStream;[BI)V
end local 9 7: StackMap locals:
StackMap stack:
aload 1
aload 7
aload 8
invokestatic jdk.javadoc.internal.doclets.toolkit.util.DocFile.read:(Ljdk/javadoc/internal/doclets/toolkit/util/DocFile;Ljava/io/InputStream;[B)I
dup
istore 9
start local 9 8: iconst_m1
if_icmpne 6
end local 9 end local 8 9: aload 7
ifnull 17
aload 7
invokevirtual java.io.InputStream.close:()V
goto 17
StackMap locals: jdk.javadoc.internal.doclets.toolkit.util.DocFile jdk.javadoc.internal.doclets.toolkit.util.DocFile java.lang.Throwable java.lang.Throwable java.io.OutputStream java.lang.Throwable java.lang.Throwable java.io.InputStream
StackMap stack: java.lang.Throwable
10: astore 5
aload 7
ifnull 11
aload 7
invokevirtual java.io.InputStream.close:()V
end local 7 StackMap locals:
StackMap stack:
11: aload 5
athrow
StackMap locals:
StackMap stack: java.lang.Throwable
12: astore 6
aload 5
ifnonnull 13
aload 6
astore 5
goto 14
StackMap locals:
StackMap stack:
13: aload 5
aload 6
if_acmpeq 14
aload 5
aload 6
invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
StackMap locals:
StackMap stack:
14: aload 5
athrow
StackMap locals: jdk.javadoc.internal.doclets.toolkit.util.DocFile jdk.javadoc.internal.doclets.toolkit.util.DocFile java.lang.Throwable java.lang.Throwable java.io.OutputStream
StackMap stack: java.io.IOException
15: astore 5
start local 5 16: new jdk.javadoc.internal.doclets.toolkit.util.DocFileIOException
dup
aload 1
getstatic jdk.javadoc.internal.doclets.toolkit.util.DocFileIOException$Mode.READ:Ljdk/javadoc/internal/doclets/toolkit/util/DocFileIOException$Mode;
aload 5
invokespecial jdk.javadoc.internal.doclets.toolkit.util.DocFileIOException.<init>:(Ljdk/javadoc/internal/doclets/toolkit/util/DocFile;Ljdk/javadoc/internal/doclets/toolkit/util/DocFileIOException$Mode;Ljava/io/IOException;)V
athrow
end local 5 17: StackMap locals:
StackMap stack:
aload 4
ifnull 25
aload 4
invokevirtual java.io.OutputStream.close:()V
goto 25
StackMap locals:
StackMap stack: java.lang.Throwable
18: astore 2
aload 4
ifnull 19
aload 4
invokevirtual java.io.OutputStream.close:()V
end local 4 StackMap locals:
StackMap stack:
19: aload 2
athrow
StackMap locals:
StackMap stack: java.lang.Throwable
20: astore 3
aload 2
ifnonnull 21
aload 3
astore 2
goto 22
StackMap locals:
StackMap stack:
21: aload 2
aload 3
if_acmpeq 22
aload 2
aload 3
invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
StackMap locals:
StackMap stack:
22: aload 2
athrow
StackMap locals: jdk.javadoc.internal.doclets.toolkit.util.DocFile jdk.javadoc.internal.doclets.toolkit.util.DocFile
StackMap stack: java.io.IOException
23: astore 2
start local 2 24: new jdk.javadoc.internal.doclets.toolkit.util.DocFileIOException
dup
aload 0
getstatic jdk.javadoc.internal.doclets.toolkit.util.DocFileIOException$Mode.WRITE:Ljdk/javadoc/internal/doclets/toolkit/util/DocFileIOException$Mode;
aload 2
invokespecial jdk.javadoc.internal.doclets.toolkit.util.DocFileIOException.<init>:(Ljdk/javadoc/internal/doclets/toolkit/util/DocFile;Ljdk/javadoc/internal/doclets/toolkit/util/DocFileIOException$Mode;Ljava/io/IOException;)V
athrow
end local 2 25: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 26 0 this Ljdk/javadoc/internal/doclets/toolkit/util/DocFile;
0 26 1 fromFile Ljdk/javadoc/internal/doclets/toolkit/util/DocFile;
2 19 4 output Ljava/io/OutputStream;
4 11 7 input Ljava/io/InputStream;
5 9 8 bytearr [B
6 7 9 len I
8 9 9 len I
16 17 5 e Ljava/io/IOException;
24 25 2 e Ljava/io/IOException;
Exception table:
from to target type
4 9 10 any
3 12 12 any
2 15 15 Class java.io.IOException
2 17 18 any
1 20 20 any
0 23 23 Class java.io.IOException
Exceptions:
throws jdk.javadoc.internal.doclets.toolkit.util.DocFileIOException
MethodParameters:
Name Flags
fromFile
public void copyResource(jdk.javadoc.internal.doclets.toolkit.util.DocPath, boolean, boolean);
descriptor: (Ljdk/javadoc/internal/doclets/toolkit/util/DocPath;ZZ)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
invokevirtual jdk.javadoc.internal.doclets.toolkit.util.DocFile.exists:()Z
ifeq 2
iload 2
ifne 2
1: return
2: StackMap locals:
StackMap stack:
aload 0
aload 1
iload 3
aconst_null
invokevirtual jdk.javadoc.internal.doclets.toolkit.util.DocFile.copyResource:(Ljdk/javadoc/internal/doclets/toolkit/util/DocPath;ZLjdk/javadoc/internal/doclets/toolkit/Resources;)V
3: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljdk/javadoc/internal/doclets/toolkit/util/DocFile;
0 4 1 resource Ljdk/javadoc/internal/doclets/toolkit/util/DocPath;
0 4 2 overwrite Z
0 4 3 replaceNewLine Z
Exceptions:
throws jdk.javadoc.internal.doclets.toolkit.util.DocFileIOException, jdk.javadoc.internal.doclets.toolkit.util.ResourceIOException
MethodParameters:
Name Flags
resource
overwrite
replaceNewLine
public void copyResource(jdk.javadoc.internal.doclets.toolkit.util.DocPath, jdk.javadoc.internal.doclets.toolkit.Resources);
descriptor: (Ljdk/javadoc/internal/doclets/toolkit/util/DocPath;Ljdk/javadoc/internal/doclets/toolkit/Resources;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
iconst_1
aload 2
invokevirtual jdk.javadoc.internal.doclets.toolkit.util.DocFile.copyResource:(Ljdk/javadoc/internal/doclets/toolkit/util/DocPath;ZLjdk/javadoc/internal/doclets/toolkit/Resources;)V
1: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljdk/javadoc/internal/doclets/toolkit/util/DocFile;
0 2 1 resource Ljdk/javadoc/internal/doclets/toolkit/util/DocPath;
0 2 2 resources Ljdk/javadoc/internal/doclets/toolkit/Resources;
Exceptions:
throws jdk.javadoc.internal.doclets.toolkit.util.DocFileIOException, jdk.javadoc.internal.doclets.toolkit.util.ResourceIOException
MethodParameters:
Name Flags
resource
resources
private void copyResource(jdk.javadoc.internal.doclets.toolkit.util.DocPath, boolean, jdk.javadoc.internal.doclets.toolkit.Resources);
descriptor: (Ljdk/javadoc/internal/doclets/toolkit/util/DocPath;ZLjdk/javadoc/internal/doclets/toolkit/Resources;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=13, args_size=4
start local 0 start local 1 start local 2 start local 3 0: ldc Ljdk/javadoc/internal/doclets/toolkit/BaseConfiguration;
aload 1
invokevirtual jdk.javadoc.internal.doclets.toolkit.util.DocPath.getPath:()Ljava/lang/String;
invokevirtual java.lang.Class.getResourceAsStream:(Ljava/lang/String;)Ljava/io/InputStream;
astore 4
start local 4 1: aload 4
ifnonnull 3
2: return
3: StackMap locals: java.io.InputStream
StackMap stack:
iload 2
ifeq 29
4: aconst_null
astore 5
aconst_null
astore 6
5: new java.io.BufferedReader
dup
new java.io.InputStreamReader
dup
aload 4
invokespecial java.io.InputStreamReader.<init>:(Ljava/io/InputStream;)V
invokespecial java.io.BufferedReader.<init>:(Ljava/io/Reader;)V
astore 7
start local 7 6: aconst_null
astore 8
aconst_null
astore 9
7: aload 0
invokevirtual jdk.javadoc.internal.doclets.toolkit.util.DocFile.openWriter:()Ljava/io/Writer;
astore 10
start local 10 8: goto 13
start local 11 9: StackMap locals: jdk.javadoc.internal.doclets.toolkit.util.DocFile jdk.javadoc.internal.doclets.toolkit.util.DocPath int jdk.javadoc.internal.doclets.toolkit.Resources java.io.InputStream java.lang.Throwable java.lang.Throwable java.io.BufferedReader java.lang.Throwable java.lang.Throwable java.io.Writer java.lang.String
StackMap stack:
aload 0
aload 10
aload 3
ifnonnull 10
aload 11
goto 11
StackMap locals: jdk.javadoc.internal.doclets.toolkit.util.DocFile jdk.javadoc.internal.doclets.toolkit.util.DocPath int jdk.javadoc.internal.doclets.toolkit.Resources java.io.InputStream java.lang.Throwable java.lang.Throwable java.io.BufferedReader java.lang.Throwable java.lang.Throwable java.io.Writer java.lang.String
StackMap stack: jdk.javadoc.internal.doclets.toolkit.util.DocFile java.io.Writer
10: aload 0
aload 11
aload 3
invokevirtual jdk.javadoc.internal.doclets.toolkit.util.DocFile.localize:(Ljava/lang/String;Ljdk/javadoc/internal/doclets/toolkit/Resources;)Ljava/lang/String;
StackMap locals: jdk.javadoc.internal.doclets.toolkit.util.DocFile jdk.javadoc.internal.doclets.toolkit.util.DocPath int jdk.javadoc.internal.doclets.toolkit.Resources java.io.InputStream java.lang.Throwable java.lang.Throwable java.io.BufferedReader java.lang.Throwable java.lang.Throwable java.io.Writer java.lang.String
StackMap stack: jdk.javadoc.internal.doclets.toolkit.util.DocFile java.io.Writer java.lang.String
11: invokestatic jdk.javadoc.internal.doclets.toolkit.util.DocFile.write:(Ljdk/javadoc/internal/doclets/toolkit/util/DocFile;Ljava/io/Writer;Ljava/lang/String;)V
12: aload 0
aload 10
getstatic jdk.javadoc.internal.doclets.toolkit.util.DocletConstants.NL:Ljava/lang/String;
invokestatic jdk.javadoc.internal.doclets.toolkit.util.DocFile.write:(Ljdk/javadoc/internal/doclets/toolkit/util/DocFile;Ljava/io/Writer;Ljava/lang/String;)V
end local 11 13: StackMap locals:
StackMap stack:
aload 1
aload 7
invokestatic jdk.javadoc.internal.doclets.toolkit.util.DocFile.readResourceLine:(Ljdk/javadoc/internal/doclets/toolkit/util/DocPath;Ljava/io/BufferedReader;)Ljava/lang/String;
dup
astore 11
start local 11 14: ifnonnull 9
end local 11 15: aload 10
ifnull 23
aload 10
invokevirtual java.io.Writer.close:()V
goto 23
StackMap locals:
StackMap stack: java.lang.Throwable
16: astore 8
aload 10
ifnull 17
aload 10
invokevirtual java.io.Writer.close:()V
end local 10 StackMap locals:
StackMap stack:
17: aload 8
athrow
StackMap locals:
StackMap stack: java.lang.Throwable
18: astore 9
aload 8
ifnonnull 19
aload 9
astore 8
goto 20
StackMap locals:
StackMap stack:
19: aload 8
aload 9
if_acmpeq 20
aload 8
aload 9
invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
StackMap locals:
StackMap stack:
20: aload 8
athrow
StackMap locals: jdk.javadoc.internal.doclets.toolkit.util.DocFile jdk.javadoc.internal.doclets.toolkit.util.DocPath int jdk.javadoc.internal.doclets.toolkit.Resources java.io.InputStream java.lang.Throwable java.lang.Throwable java.io.BufferedReader
StackMap stack: java.io.IOException
21: astore 8
start local 8 22: new jdk.javadoc.internal.doclets.toolkit.util.DocFileIOException
dup
aload 0
getstatic jdk.javadoc.internal.doclets.toolkit.util.DocFileIOException$Mode.WRITE:Ljdk/javadoc/internal/doclets/toolkit/util/DocFileIOException$Mode;
aload 8
invokespecial jdk.javadoc.internal.doclets.toolkit.util.DocFileIOException.<init>:(Ljdk/javadoc/internal/doclets/toolkit/util/DocFile;Ljdk/javadoc/internal/doclets/toolkit/util/DocFileIOException$Mode;Ljava/io/IOException;)V
athrow
end local 8 23: StackMap locals:
StackMap stack:
aload 7
ifnull 47
aload 7
invokevirtual java.io.BufferedReader.close:()V
goto 47
StackMap locals:
StackMap stack: java.lang.Throwable
24: astore 5
aload 7
ifnull 25
aload 7
invokevirtual java.io.BufferedReader.close:()V
end local 7 StackMap locals:
StackMap stack:
25: aload 5
athrow
StackMap locals:
StackMap stack: java.lang.Throwable
26: astore 6
aload 5
ifnonnull 27
aload 6
astore 5
goto 28
StackMap locals:
StackMap stack:
27: aload 5
aload 6
if_acmpeq 28
aload 5
aload 6
invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
StackMap locals:
StackMap stack:
28: aload 5
athrow
29: StackMap locals:
StackMap stack:
aconst_null
astore 5
aconst_null
astore 6
30: aload 0
invokevirtual jdk.javadoc.internal.doclets.toolkit.util.DocFile.openOutputStream:()Ljava/io/OutputStream;
astore 7
start local 7 31: sipush 2048
newarray 8
astore 8
start local 8 32: goto 34
start local 9 33: StackMap locals: jdk.javadoc.internal.doclets.toolkit.util.DocFile jdk.javadoc.internal.doclets.toolkit.util.DocPath int jdk.javadoc.internal.doclets.toolkit.Resources java.io.InputStream java.lang.Throwable java.lang.Throwable java.io.OutputStream byte[] int
StackMap stack:
aload 0
aload 7
aload 8
iload 9
invokestatic jdk.javadoc.internal.doclets.toolkit.util.DocFile.write:(Ljdk/javadoc/internal/doclets/toolkit/util/DocFile;Ljava/io/OutputStream;[BI)V
end local 9 34: StackMap locals:
StackMap stack:
aload 1
aload 4
aload 8
invokestatic jdk.javadoc.internal.doclets.toolkit.util.DocFile.readResource:(Ljdk/javadoc/internal/doclets/toolkit/util/DocPath;Ljava/io/InputStream;[B)I
dup
istore 9
start local 9 35: ifgt 33
end local 9 end local 8 36: aload 7
ifnull 47
aload 7
invokevirtual java.io.OutputStream.close:()V
goto 47
StackMap locals: jdk.javadoc.internal.doclets.toolkit.util.DocFile jdk.javadoc.internal.doclets.toolkit.util.DocPath int jdk.javadoc.internal.doclets.toolkit.Resources java.io.InputStream java.lang.Throwable java.lang.Throwable java.io.OutputStream
StackMap stack: java.lang.Throwable
37: astore 5
aload 7
ifnull 38
aload 7
invokevirtual java.io.OutputStream.close:()V
end local 7 StackMap locals:
StackMap stack:
38: aload 5
athrow
StackMap locals:
StackMap stack: java.lang.Throwable
39: astore 6
aload 5
ifnonnull 40
aload 6
astore 5
goto 41
StackMap locals:
StackMap stack:
40: aload 5
aload 6
if_acmpeq 41
aload 5
aload 6
invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
StackMap locals:
StackMap stack:
41: aload 5
athrow
StackMap locals: jdk.javadoc.internal.doclets.toolkit.util.DocFile jdk.javadoc.internal.doclets.toolkit.util.DocPath int jdk.javadoc.internal.doclets.toolkit.Resources java.io.InputStream
StackMap stack: java.io.IOException
42: astore 5
start local 5 43: new jdk.javadoc.internal.doclets.toolkit.util.DocFileIOException
dup
aload 0
getstatic jdk.javadoc.internal.doclets.toolkit.util.DocFileIOException$Mode.WRITE:Ljdk/javadoc/internal/doclets/toolkit/util/DocFileIOException$Mode;
aload 5
invokespecial jdk.javadoc.internal.doclets.toolkit.util.DocFileIOException.<init>:(Ljdk/javadoc/internal/doclets/toolkit/util/DocFile;Ljdk/javadoc/internal/doclets/toolkit/util/DocFileIOException$Mode;Ljava/io/IOException;)V
athrow
end local 5 44: StackMap locals:
StackMap stack: java.lang.Throwable
astore 12
45: aload 4
invokevirtual java.io.InputStream.close:()V
46: aload 12
athrow
47: StackMap locals:
StackMap stack:
aload 4
invokevirtual java.io.InputStream.close:()V
end local 4 48: goto 51
StackMap locals: jdk.javadoc.internal.doclets.toolkit.util.DocFile jdk.javadoc.internal.doclets.toolkit.util.DocPath int jdk.javadoc.internal.doclets.toolkit.Resources
StackMap stack: java.io.IOException
49: astore 4
start local 4 50: new jdk.javadoc.internal.doclets.toolkit.util.ResourceIOException
dup
aload 1
aload 4
invokespecial jdk.javadoc.internal.doclets.toolkit.util.ResourceIOException.<init>:(Ljdk/javadoc/internal/doclets/toolkit/util/DocPath;Ljava/io/IOException;)V
athrow
end local 4 51: StackMap locals:
StackMap stack:
return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 52 0 this Ljdk/javadoc/internal/doclets/toolkit/util/DocFile;
0 52 1 resource Ljdk/javadoc/internal/doclets/toolkit/util/DocPath;
0 52 2 replaceNewLine Z
0 52 3 resources Ljdk/javadoc/internal/doclets/toolkit/Resources;
1 48 4 in Ljava/io/InputStream;
6 25 7 reader Ljava/io/BufferedReader;
8 17 10 writer Ljava/io/Writer;
9 13 11 line Ljava/lang/String;
14 15 11 line Ljava/lang/String;
22 23 8 e Ljava/io/IOException;
31 38 7 out Ljava/io/OutputStream;
32 36 8 buf [B
33 34 9 n I
35 36 9 n I
43 44 5 e Ljava/io/IOException;
50 51 4 e Ljava/io/IOException;
Exception table:
from to target type
8 15 16 any
7 18 18 any
6 21 21 Class java.io.IOException
6 23 24 any
5 26 26 any
31 36 37 any
30 39 39 any
29 42 42 Class java.io.IOException
3 44 44 any
0 2 49 Class java.io.IOException
3 48 49 Class java.io.IOException
Exceptions:
throws jdk.javadoc.internal.doclets.toolkit.util.DocFileIOException, jdk.javadoc.internal.doclets.toolkit.util.ResourceIOException
MethodParameters:
Name Flags
resource
replaceNewLine
resources
private java.lang.String localize(java.lang.String, jdk.javadoc.internal.doclets.toolkit.Resources);
descriptor: (Ljava/lang/String;Ljdk/javadoc/internal/doclets/toolkit/Resources;)Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=6, args_size=3
start local 0 start local 1 start local 2 0: getstatic jdk.javadoc.internal.doclets.toolkit.util.DocFile.replacePtn:Ljava/util/regex/Pattern;
aload 1
invokevirtual java.util.regex.Pattern.matcher:(Ljava/lang/CharSequence;)Ljava/util/regex/Matcher;
astore 3
start local 3 1: aconst_null
astore 4
start local 4 2: iconst_0
istore 5
start local 5 3: goto 12
4: StackMap locals: java.util.regex.Matcher java.lang.StringBuilder int
StackMap stack:
aload 4
ifnonnull 6
5: new java.lang.StringBuilder
dup
invokespecial java.lang.StringBuilder.<init>:()V
astore 4
6: StackMap locals:
StackMap stack:
aload 4
aload 1
iload 5
aload 3
invokevirtual java.util.regex.Matcher.start:()I
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/CharSequence;II)Ljava/lang/StringBuilder;
pop
7: aload 4
aload 2
aload 3
ldc "key"
invokevirtual java.util.regex.Matcher.group:(Ljava/lang/String;)Ljava/lang/String;
invokevirtual jdk.javadoc.internal.doclets.toolkit.Resources.getText:(Ljava/lang/String;)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
8: goto 11
StackMap locals:
StackMap stack: java.util.MissingResourceException
9: pop
10: aload 4
aload 3
invokevirtual java.util.regex.Matcher.group:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
11: StackMap locals:
StackMap stack:
aload 3
invokevirtual java.util.regex.Matcher.end:()I
istore 5
12: StackMap locals:
StackMap stack:
aload 3
invokevirtual java.util.regex.Matcher.find:()Z
ifne 4
13: aload 4
ifnonnull 15
14: aload 1
areturn
15: StackMap locals:
StackMap stack:
aload 4
aload 1
iload 5
invokevirtual java.lang.String.substring:(I)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
16: aload 4
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
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 17 0 this Ljdk/javadoc/internal/doclets/toolkit/util/DocFile;
0 17 1 line Ljava/lang/String;
0 17 2 resources Ljdk/javadoc/internal/doclets/toolkit/Resources;
1 17 3 m Ljava/util/regex/Matcher;
2 17 4 sb Ljava/lang/StringBuilder;
3 17 5 start I
Exception table:
from to target type
7 8 9 Class java.util.MissingResourceException
MethodParameters:
Name Flags
line
resources
public abstract boolean canRead();
descriptor: ()Z
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
public abstract boolean canWrite();
descriptor: ()Z
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
public abstract boolean exists();
descriptor: ()Z
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
public abstract java.lang.String getName();
descriptor: ()Ljava/lang/String;
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
public abstract java.lang.String getPath();
descriptor: ()Ljava/lang/String;
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
public abstract boolean isAbsolute();
descriptor: ()Z
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
public abstract boolean isDirectory();
descriptor: ()Z
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
public abstract boolean isFile();
descriptor: ()Z
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
public abstract boolean isSameFile(jdk.javadoc.internal.doclets.toolkit.util.DocFile);
descriptor: (Ljdk/javadoc/internal/doclets/toolkit/util/DocFile;)Z
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
MethodParameters:
Name Flags
other
public abstract java.lang.Iterable<jdk.javadoc.internal.doclets.toolkit.util.DocFile> list();
descriptor: ()Ljava/lang/Iterable;
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
Exceptions:
throws jdk.javadoc.internal.doclets.toolkit.util.DocFileIOException
Signature: ()Ljava/lang/Iterable<Ljdk/javadoc/internal/doclets/toolkit/util/DocFile;>;
public abstract boolean mkdirs();
descriptor: ()Z
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
public abstract jdk.javadoc.internal.doclets.toolkit.util.DocFile resolve(jdk.javadoc.internal.doclets.toolkit.util.DocPath);
descriptor: (Ljdk/javadoc/internal/doclets/toolkit/util/DocPath;)Ljdk/javadoc/internal/doclets/toolkit/util/DocFile;
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
MethodParameters:
Name Flags
p
public abstract jdk.javadoc.internal.doclets.toolkit.util.DocFile resolve(java.lang.String);
descriptor: (Ljava/lang/String;)Ljdk/javadoc/internal/doclets/toolkit/util/DocFile;
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
MethodParameters:
Name Flags
p
public abstract jdk.javadoc.internal.doclets.toolkit.util.DocFile resolveAgainst(javax.tools.JavaFileManager$Location);
descriptor: (Ljavax/tools/JavaFileManager$Location;)Ljdk/javadoc/internal/doclets/toolkit/util/DocFile;
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
MethodParameters:
Name Flags
locn
private static int read(jdk.javadoc.internal.doclets.toolkit.util.DocFile, java.io.InputStream, byte[]);
descriptor: (Ljdk/javadoc/internal/doclets/toolkit/util/DocFile;Ljava/io/InputStream;[B)I
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=5, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 1
aload 2
invokevirtual java.io.InputStream.read:([B)I
1: ireturn
2: StackMap locals:
StackMap stack: java.io.IOException
astore 3
start local 3 3: new jdk.javadoc.internal.doclets.toolkit.util.DocFileIOException
dup
aload 0
getstatic jdk.javadoc.internal.doclets.toolkit.util.DocFileIOException$Mode.READ:Ljdk/javadoc/internal/doclets/toolkit/util/DocFileIOException$Mode;
aload 3
invokespecial jdk.javadoc.internal.doclets.toolkit.util.DocFileIOException.<init>:(Ljdk/javadoc/internal/doclets/toolkit/util/DocFile;Ljdk/javadoc/internal/doclets/toolkit/util/DocFileIOException$Mode;Ljava/io/IOException;)V
athrow
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 inFile Ljdk/javadoc/internal/doclets/toolkit/util/DocFile;
0 4 1 input Ljava/io/InputStream;
0 4 2 buf [B
3 4 3 e Ljava/io/IOException;
Exception table:
from to target type
0 1 2 Class java.io.IOException
Exceptions:
throws jdk.javadoc.internal.doclets.toolkit.util.DocFileIOException
MethodParameters:
Name Flags
inFile
input
buf
private static void write(jdk.javadoc.internal.doclets.toolkit.util.DocFile, java.io.OutputStream, byte[], int);
descriptor: (Ljdk/javadoc/internal/doclets/toolkit/util/DocFile;Ljava/io/OutputStream;[BI)V
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=5, locals=5, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 1
aload 2
iconst_0
iload 3
invokevirtual java.io.OutputStream.write:([BII)V
1: goto 4
StackMap locals:
StackMap stack: java.io.IOException
2: astore 4
start local 4 3: new jdk.javadoc.internal.doclets.toolkit.util.DocFileIOException
dup
aload 0
getstatic jdk.javadoc.internal.doclets.toolkit.util.DocFileIOException$Mode.WRITE:Ljdk/javadoc/internal/doclets/toolkit/util/DocFileIOException$Mode;
aload 4
invokespecial jdk.javadoc.internal.doclets.toolkit.util.DocFileIOException.<init>:(Ljdk/javadoc/internal/doclets/toolkit/util/DocFile;Ljdk/javadoc/internal/doclets/toolkit/util/DocFileIOException$Mode;Ljava/io/IOException;)V
athrow
end local 4 4: StackMap locals:
StackMap stack:
return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 outFile Ljdk/javadoc/internal/doclets/toolkit/util/DocFile;
0 5 1 out Ljava/io/OutputStream;
0 5 2 buf [B
0 5 3 len I
3 4 4 e Ljava/io/IOException;
Exception table:
from to target type
0 1 2 Class java.io.IOException
Exceptions:
throws jdk.javadoc.internal.doclets.toolkit.util.DocFileIOException
MethodParameters:
Name Flags
outFile
out
buf
len
private static void write(jdk.javadoc.internal.doclets.toolkit.util.DocFile, java.io.Writer, java.lang.String);
descriptor: (Ljdk/javadoc/internal/doclets/toolkit/util/DocFile;Ljava/io/Writer;Ljava/lang/String;)V
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=5, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 1
aload 2
invokevirtual java.io.Writer.write:(Ljava/lang/String;)V
1: goto 4
StackMap locals:
StackMap stack: java.io.IOException
2: astore 3
start local 3 3: new jdk.javadoc.internal.doclets.toolkit.util.DocFileIOException
dup
aload 0
getstatic jdk.javadoc.internal.doclets.toolkit.util.DocFileIOException$Mode.WRITE:Ljdk/javadoc/internal/doclets/toolkit/util/DocFileIOException$Mode;
aload 3
invokespecial jdk.javadoc.internal.doclets.toolkit.util.DocFileIOException.<init>:(Ljdk/javadoc/internal/doclets/toolkit/util/DocFile;Ljdk/javadoc/internal/doclets/toolkit/util/DocFileIOException$Mode;Ljava/io/IOException;)V
athrow
end local 3 4: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 outFile Ljdk/javadoc/internal/doclets/toolkit/util/DocFile;
0 5 1 out Ljava/io/Writer;
0 5 2 text Ljava/lang/String;
3 4 3 e Ljava/io/IOException;
Exception table:
from to target type
0 1 2 Class java.io.IOException
Exceptions:
throws jdk.javadoc.internal.doclets.toolkit.util.DocFileIOException
MethodParameters:
Name Flags
outFile
out
text
private static int readResource(jdk.javadoc.internal.doclets.toolkit.util.DocPath, java.io.InputStream, byte[]);
descriptor: (Ljdk/javadoc/internal/doclets/toolkit/util/DocPath;Ljava/io/InputStream;[B)I
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=4, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 1
aload 2
invokevirtual java.io.InputStream.read:([B)I
1: ireturn
2: StackMap locals:
StackMap stack: java.io.IOException
astore 3
start local 3 3: new jdk.javadoc.internal.doclets.toolkit.util.ResourceIOException
dup
aload 0
aload 3
invokespecial jdk.javadoc.internal.doclets.toolkit.util.ResourceIOException.<init>:(Ljdk/javadoc/internal/doclets/toolkit/util/DocPath;Ljava/io/IOException;)V
athrow
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 docPath Ljdk/javadoc/internal/doclets/toolkit/util/DocPath;
0 4 1 in Ljava/io/InputStream;
0 4 2 buf [B
3 4 3 e Ljava/io/IOException;
Exception table:
from to target type
0 1 2 Class java.io.IOException
Exceptions:
throws jdk.javadoc.internal.doclets.toolkit.util.ResourceIOException
MethodParameters:
Name Flags
docPath
in
buf
private static java.lang.String readResourceLine(jdk.javadoc.internal.doclets.toolkit.util.DocPath, java.io.BufferedReader);
descriptor: (Ljdk/javadoc/internal/doclets/toolkit/util/DocPath;Ljava/io/BufferedReader;)Ljava/lang/String;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=4, locals=3, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual java.io.BufferedReader.readLine:()Ljava/lang/String;
1: areturn
2: StackMap locals:
StackMap stack: java.io.IOException
astore 2
start local 2 3: new jdk.javadoc.internal.doclets.toolkit.util.ResourceIOException
dup
aload 0
aload 2
invokespecial jdk.javadoc.internal.doclets.toolkit.util.ResourceIOException.<init>:(Ljdk/javadoc/internal/doclets/toolkit/util/DocPath;Ljava/io/IOException;)V
athrow
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 docPath Ljdk/javadoc/internal/doclets/toolkit/util/DocPath;
0 4 1 in Ljava/io/BufferedReader;
3 4 2 e Ljava/io/IOException;
Exception table:
from to target type
0 1 2 Class java.io.IOException
Exceptions:
throws jdk.javadoc.internal.doclets.toolkit.util.ResourceIOException
MethodParameters:
Name Flags
docPath
in
}
SourceFile: "DocFile.java"
InnerClasses:
public abstract Location = javax.tools.JavaFileManager$Location of javax.tools.JavaFileManager
public final Mode = jdk.javadoc.internal.doclets.toolkit.util.DocFileIOException$Mode of jdk.javadoc.internal.doclets.toolkit.util.DocFileIOException