public class jdk.javadoc.internal.doclets.formats.html.markup.HtmlDocument
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: jdk.javadoc.internal.doclets.formats.html.markup.HtmlDocument
super_class: java.lang.Object
{
private final jdk.javadoc.internal.doclets.formats.html.markup.DocType docType;
descriptor: Ljdk/javadoc/internal/doclets/formats/html/markup/DocType;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.util.List<jdk.javadoc.internal.doclets.toolkit.Content> docContent;
descriptor: Ljava/util/List;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/List<Ljdk/javadoc/internal/doclets/toolkit/Content;>;
public void <init>(jdk.javadoc.internal.doclets.toolkit.Content, jdk.javadoc.internal.doclets.toolkit.Content);
descriptor: (Ljdk/javadoc/internal/doclets/toolkit/Content;Ljdk/javadoc/internal/doclets/toolkit/Content;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, 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
getstatic jdk.javadoc.internal.doclets.formats.html.markup.DocType.HTML5:Ljdk/javadoc/internal/doclets/formats/html/markup/DocType;
putfield jdk.javadoc.internal.doclets.formats.html.markup.HtmlDocument.docType:Ljdk/javadoc/internal/doclets/formats/html/markup/DocType;
2: aload 0
iconst_2
anewarray jdk.javadoc.internal.doclets.toolkit.Content
dup
iconst_0
aload 1
aastore
dup
iconst_1
aload 2
aastore
invokestatic java.util.Arrays.asList:([Ljava/lang/Object;)Ljava/util/List;
putfield jdk.javadoc.internal.doclets.formats.html.markup.HtmlDocument.docContent:Ljava/util/List;
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/formats/html/markup/HtmlDocument;
0 4 1 docComment Ljdk/javadoc/internal/doclets/toolkit/Content;
0 4 2 htmlTree Ljdk/javadoc/internal/doclets/toolkit/Content;
MethodParameters:
Name Flags
docComment
htmlTree
public void <init>(jdk.javadoc.internal.doclets.toolkit.Content);
descriptor: (Ljdk/javadoc/internal/doclets/toolkit/Content;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
getstatic jdk.javadoc.internal.doclets.formats.html.markup.DocType.HTML5:Ljdk/javadoc/internal/doclets/formats/html/markup/DocType;
putfield jdk.javadoc.internal.doclets.formats.html.markup.HtmlDocument.docType:Ljdk/javadoc/internal/doclets/formats/html/markup/DocType;
2: aload 0
aload 1
invokestatic java.util.Collections.singletonList:(Ljava/lang/Object;)Ljava/util/List;
putfield jdk.javadoc.internal.doclets.formats.html.markup.HtmlDocument.docContent:Ljava/util/List;
3: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljdk/javadoc/internal/doclets/formats/html/markup/HtmlDocument;
0 4 1 htmlTree Ljdk/javadoc/internal/doclets/toolkit/Content;
MethodParameters:
Name Flags
htmlTree
public void write(jdk.javadoc.internal.doclets.toolkit.util.DocFile);
descriptor: (Ljdk/javadoc/internal/doclets/toolkit/util/DocFile;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=5, args_size=2
start local 0 start local 1 0: aconst_null
astore 2
aconst_null
astore 3
1: aload 1
invokevirtual jdk.javadoc.internal.doclets.toolkit.util.DocFile.openWriter:()Ljava/io/Writer;
astore 4
start local 4 2: aload 0
aload 4
invokevirtual jdk.javadoc.internal.doclets.formats.html.markup.HtmlDocument.write:(Ljava/io/Writer;)V
3: aload 4
ifnull 11
aload 4
invokevirtual java.io.Writer.close:()V
goto 11
StackMap locals: jdk.javadoc.internal.doclets.formats.html.markup.HtmlDocument jdk.javadoc.internal.doclets.toolkit.util.DocFile java.lang.Throwable java.lang.Throwable java.io.Writer
StackMap stack: java.lang.Throwable
4: astore 2
aload 4
ifnull 5
aload 4
invokevirtual java.io.Writer.close:()V
end local 4 StackMap locals:
StackMap stack:
5: aload 2
athrow
StackMap locals:
StackMap stack: java.lang.Throwable
6: astore 3
aload 2
ifnonnull 7
aload 3
astore 2
goto 8
StackMap locals:
StackMap stack:
7: aload 2
aload 3
if_acmpeq 8
aload 2
aload 3
invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
StackMap locals:
StackMap stack:
8: aload 2
athrow
StackMap locals: jdk.javadoc.internal.doclets.formats.html.markup.HtmlDocument jdk.javadoc.internal.doclets.toolkit.util.DocFile
StackMap stack: java.io.IOException
9: astore 2
start local 2 10: new jdk.javadoc.internal.doclets.toolkit.util.DocFileIOException
dup
aload 1
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 11: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Ljdk/javadoc/internal/doclets/formats/html/markup/HtmlDocument;
0 12 1 docFile Ljdk/javadoc/internal/doclets/toolkit/util/DocFile;
2 5 4 writer Ljava/io/Writer;
10 11 2 e Ljava/io/IOException;
Exception table:
from to target type
2 3 4 any
1 6 6 any
0 9 9 Class java.io.IOException
Exceptions:
throws jdk.javadoc.internal.doclets.toolkit.util.DocFileIOException
MethodParameters:
Name Flags
docFile
public java.lang.String toString();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=4, args_size=1
start local 0 0: aconst_null
astore 1
aconst_null
astore 2
1: new java.io.StringWriter
dup
invokespecial java.io.StringWriter.<init>:()V
astore 3
start local 3 2: aload 0
aload 3
invokevirtual jdk.javadoc.internal.doclets.formats.html.markup.HtmlDocument.write:(Ljava/io/Writer;)V
3: aload 3
invokevirtual java.lang.Object.toString:()Ljava/lang/String;
4: aload 3
ifnull 5
aload 3
invokevirtual java.io.Writer.close:()V
5: StackMap locals: jdk.javadoc.internal.doclets.formats.html.markup.HtmlDocument java.lang.Throwable java.lang.Throwable java.io.Writer
StackMap stack: java.lang.String
areturn
StackMap locals:
StackMap stack: java.lang.Throwable
6: astore 1
7: aload 3
ifnull 8
aload 3
invokevirtual java.io.Writer.close:()V
end local 3 StackMap locals:
StackMap stack:
8: aload 1
athrow
StackMap locals:
StackMap stack: java.lang.Throwable
9: astore 2
aload 1
ifnonnull 10
aload 2
astore 1
goto 11
StackMap locals:
StackMap stack:
10: aload 1
aload 2
if_acmpeq 11
aload 1
aload 2
invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
StackMap locals:
StackMap stack:
11: aload 1
athrow
StackMap locals: jdk.javadoc.internal.doclets.formats.html.markup.HtmlDocument
StackMap stack: java.io.IOException
12: astore 1
start local 1 13: new java.lang.Error
dup
aload 1
invokespecial java.lang.Error.<init>:(Ljava/lang/Throwable;)V
athrow
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 14 0 this Ljdk/javadoc/internal/doclets/formats/html/markup/HtmlDocument;
2 8 3 writer Ljava/io/Writer;
13 14 1 e Ljava/io/IOException;
Exception table:
from to target type
2 4 6 any
1 5 9 any
6 9 9 any
0 5 12 Class java.io.IOException
6 12 12 Class java.io.IOException
private void write(java.io.Writer);
descriptor: (Ljava/io/Writer;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=5, args_size=2
start local 0 start local 1 0: aload 1
aload 0
getfield jdk.javadoc.internal.doclets.formats.html.markup.HtmlDocument.docType:Ljdk/javadoc/internal/doclets/formats/html/markup/DocType;
getfield jdk.javadoc.internal.doclets.formats.html.markup.DocType.text:Ljava/lang/String;
invokevirtual java.io.Writer.write:(Ljava/lang/String;)V
1: aload 1
getstatic jdk.javadoc.internal.doclets.toolkit.util.DocletConstants.NL:Ljava/lang/String;
invokevirtual java.io.Writer.write:(Ljava/lang/String;)V
2: iconst_1
istore 2
start local 2 3: aload 0
getfield jdk.javadoc.internal.doclets.formats.html.markup.HtmlDocument.docContent:Ljava/util/List;
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 4
goto 6
StackMap locals: jdk.javadoc.internal.doclets.formats.html.markup.HtmlDocument java.io.Writer int top java.util.Iterator
StackMap stack:
4: aload 4
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast jdk.javadoc.internal.doclets.toolkit.Content
astore 3
start local 3 5: aload 3
aload 1
iload 2
invokevirtual jdk.javadoc.internal.doclets.toolkit.Content.write:(Ljava/io/Writer;Z)Z
istore 2
end local 3 6: StackMap locals:
StackMap stack:
aload 4
invokeinterface java.util.Iterator.hasNext:()Z
ifne 4
7: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Ljdk/javadoc/internal/doclets/formats/html/markup/HtmlDocument;
0 8 1 writer Ljava/io/Writer;
3 8 2 atNewline Z
5 6 3 c Ljdk/javadoc/internal/doclets/toolkit/Content;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
writer
}
SourceFile: "HtmlDocument.java"
InnerClasses:
public final Mode = jdk.javadoc.internal.doclets.toolkit.util.DocFileIOException$Mode of jdk.javadoc.internal.doclets.toolkit.util.DocFileIOException