public class jdk.javadoc.internal.doclets.formats.html.markup.BodyContents extends jdk.javadoc.internal.doclets.toolkit.Content
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: jdk.javadoc.internal.doclets.formats.html.markup.BodyContents
super_class: jdk.javadoc.internal.doclets.toolkit.Content
{
private java.util.List<jdk.javadoc.internal.doclets.toolkit.Content> mainContents;
descriptor: Ljava/util/List;
flags: (0x0002) ACC_PRIVATE
Signature: Ljava/util/List<Ljdk/javadoc/internal/doclets/toolkit/Content;>;
private jdk.javadoc.internal.doclets.formats.html.markup.HtmlTree header;
descriptor: Ljdk/javadoc/internal/doclets/formats/html/markup/HtmlTree;
flags: (0x0002) ACC_PRIVATE
private jdk.javadoc.internal.doclets.formats.html.markup.HtmlTree footer;
descriptor: Ljdk/javadoc/internal/doclets/formats/html/markup/HtmlTree;
flags: (0x0002) ACC_PRIVATE
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
invokespecial jdk.javadoc.internal.doclets.toolkit.Content.<init>:()V
1: aload 0
new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
putfield jdk.javadoc.internal.doclets.formats.html.markup.BodyContents.mainContents:Ljava/util/List;
2: aload 0
aconst_null
putfield jdk.javadoc.internal.doclets.formats.html.markup.BodyContents.header:Ljdk/javadoc/internal/doclets/formats/html/markup/HtmlTree;
3: aload 0
aconst_null
putfield jdk.javadoc.internal.doclets.formats.html.markup.BodyContents.footer:Ljdk/javadoc/internal/doclets/formats/html/markup/HtmlTree;
4: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Ljdk/javadoc/internal/doclets/formats/html/markup/BodyContents;
public jdk.javadoc.internal.doclets.formats.html.markup.BodyContents addMainContent(jdk.javadoc.internal.doclets.toolkit.Content);
descriptor: (Ljdk/javadoc/internal/doclets/toolkit/Content;)Ljdk/javadoc/internal/doclets/formats/html/markup/BodyContents;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield jdk.javadoc.internal.doclets.formats.html.markup.BodyContents.mainContents:Ljava/util/List;
aload 1
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
1: aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljdk/javadoc/internal/doclets/formats/html/markup/BodyContents;
0 2 1 content Ljdk/javadoc/internal/doclets/toolkit/Content;
MethodParameters:
Name Flags
content
public jdk.javadoc.internal.doclets.formats.html.markup.BodyContents setHeader(jdk.javadoc.internal.doclets.formats.html.markup.HtmlTree);
descriptor: (Ljdk/javadoc/internal/doclets/formats/html/markup/HtmlTree;)Ljdk/javadoc/internal/doclets/formats/html/markup/BodyContents;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokestatic java.util.Objects.requireNonNull:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast jdk.javadoc.internal.doclets.formats.html.markup.HtmlTree
putfield jdk.javadoc.internal.doclets.formats.html.markup.BodyContents.header:Ljdk/javadoc/internal/doclets/formats/html/markup/HtmlTree;
1: aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljdk/javadoc/internal/doclets/formats/html/markup/BodyContents;
0 2 1 header Ljdk/javadoc/internal/doclets/formats/html/markup/HtmlTree;
MethodParameters:
Name Flags
header
public jdk.javadoc.internal.doclets.formats.html.markup.BodyContents setFooter(jdk.javadoc.internal.doclets.formats.html.markup.HtmlTree);
descriptor: (Ljdk/javadoc/internal/doclets/formats/html/markup/HtmlTree;)Ljdk/javadoc/internal/doclets/formats/html/markup/BodyContents;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
putfield jdk.javadoc.internal.doclets.formats.html.markup.BodyContents.footer:Ljdk/javadoc/internal/doclets/formats/html/markup/HtmlTree;
1: aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljdk/javadoc/internal/doclets/formats/html/markup/BodyContents;
0 2 1 footer Ljdk/javadoc/internal/doclets/formats/html/markup/HtmlTree;
MethodParameters:
Name Flags
footer
public boolean isEmpty();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/javadoc/internal/doclets/formats/html/markup/BodyContents;
public boolean write(java.io.Writer, boolean);
descriptor: (Ljava/io/Writer;Z)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
invokevirtual jdk.javadoc.internal.doclets.formats.html.markup.BodyContents.toContent:()Ljdk/javadoc/internal/doclets/toolkit/Content;
aload 1
iload 2
invokevirtual jdk.javadoc.internal.doclets.toolkit.Content.write:(Ljava/io/Writer;Z)Z
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/javadoc/internal/doclets/formats/html/markup/BodyContents;
0 1 1 out Ljava/io/Writer;
0 1 2 atNewline Z
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
out
atNewline
private jdk.javadoc.internal.doclets.toolkit.Content toContent();
descriptor: ()Ljdk/javadoc/internal/doclets/toolkit/Content;
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=3, args_size=1
start local 0 0: aload 0
getfield jdk.javadoc.internal.doclets.formats.html.markup.BodyContents.header:Ljdk/javadoc/internal/doclets/formats/html/markup/HtmlTree;
ifnonnull 2
1: new java.lang.NullPointerException
dup
invokespecial java.lang.NullPointerException.<init>:()V
athrow
2: StackMap locals:
StackMap stack:
aload 0
getfield jdk.javadoc.internal.doclets.formats.html.markup.BodyContents.header:Ljdk/javadoc/internal/doclets/formats/html/markup/HtmlTree;
getstatic jdk.javadoc.internal.doclets.formats.html.markup.HtmlStyle.flexHeader:Ljdk/javadoc/internal/doclets/formats/html/markup/HtmlStyle;
invokevirtual jdk.javadoc.internal.doclets.formats.html.markup.HtmlTree.addStyle:(Ljdk/javadoc/internal/doclets/formats/html/markup/HtmlStyle;)Ljdk/javadoc/internal/doclets/formats/html/markup/HtmlTree;
astore 1
start local 1 3: getstatic jdk.javadoc.internal.doclets.formats.html.markup.HtmlStyle.flexContent:Ljdk/javadoc/internal/doclets/formats/html/markup/HtmlStyle;
invokestatic jdk.javadoc.internal.doclets.formats.html.markup.HtmlTree.DIV:(Ljdk/javadoc/internal/doclets/formats/html/markup/HtmlStyle;)Ljdk/javadoc/internal/doclets/formats/html/markup/HtmlTree;
4: invokestatic jdk.javadoc.internal.doclets.formats.html.markup.HtmlTree.MAIN:()Ljdk/javadoc/internal/doclets/formats/html/markup/HtmlTree;
aload 0
getfield jdk.javadoc.internal.doclets.formats.html.markup.BodyContents.mainContents:Ljava/util/List;
invokevirtual jdk.javadoc.internal.doclets.formats.html.markup.HtmlTree.add:(Ljava/util/List;)Ljdk/javadoc/internal/doclets/formats/html/markup/HtmlTree;
invokevirtual jdk.javadoc.internal.doclets.formats.html.markup.HtmlTree.add:(Ljdk/javadoc/internal/doclets/toolkit/Content;)Ljdk/javadoc/internal/doclets/formats/html/markup/HtmlTree;
5: aload 0
getfield jdk.javadoc.internal.doclets.formats.html.markup.BodyContents.footer:Ljdk/javadoc/internal/doclets/formats/html/markup/HtmlTree;
ifnonnull 6
getstatic jdk.javadoc.internal.doclets.formats.html.markup.HtmlTree.EMPTY:Ljdk/javadoc/internal/doclets/toolkit/Content;
goto 7
StackMap locals: jdk.javadoc.internal.doclets.formats.html.markup.BodyContents jdk.javadoc.internal.doclets.formats.html.markup.HtmlTree
StackMap stack: jdk.javadoc.internal.doclets.formats.html.markup.HtmlTree
6: aload 0
getfield jdk.javadoc.internal.doclets.formats.html.markup.BodyContents.footer:Ljdk/javadoc/internal/doclets/formats/html/markup/HtmlTree;
StackMap locals: jdk.javadoc.internal.doclets.formats.html.markup.BodyContents jdk.javadoc.internal.doclets.formats.html.markup.HtmlTree
StackMap stack: jdk.javadoc.internal.doclets.formats.html.markup.HtmlTree jdk.javadoc.internal.doclets.toolkit.Content
7: invokevirtual jdk.javadoc.internal.doclets.formats.html.markup.HtmlTree.add:(Ljdk/javadoc/internal/doclets/toolkit/Content;)Ljdk/javadoc/internal/doclets/formats/html/markup/HtmlTree;
8: astore 2
start local 2 9: getstatic jdk.javadoc.internal.doclets.formats.html.markup.HtmlStyle.flexBox:Ljdk/javadoc/internal/doclets/formats/html/markup/HtmlStyle;
invokestatic jdk.javadoc.internal.doclets.formats.html.markup.HtmlTree.DIV:(Ljdk/javadoc/internal/doclets/formats/html/markup/HtmlStyle;)Ljdk/javadoc/internal/doclets/formats/html/markup/HtmlTree;
10: aload 1
invokevirtual jdk.javadoc.internal.doclets.formats.html.markup.HtmlTree.add:(Ljdk/javadoc/internal/doclets/toolkit/Content;)Ljdk/javadoc/internal/doclets/formats/html/markup/HtmlTree;
11: aload 2
invokevirtual jdk.javadoc.internal.doclets.formats.html.markup.HtmlTree.add:(Ljdk/javadoc/internal/doclets/toolkit/Content;)Ljdk/javadoc/internal/doclets/formats/html/markup/HtmlTree;
12: areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 this Ljdk/javadoc/internal/doclets/formats/html/markup/BodyContents;
3 13 1 flexHeader Ljdk/javadoc/internal/doclets/formats/html/markup/HtmlTree;
9 13 2 flexContent Ljdk/javadoc/internal/doclets/formats/html/markup/HtmlTree;
}
SourceFile: "BodyContents.java"