public class com.sun.tools.doclets.formats.html.markup.ContentBuilder extends com.sun.tools.doclets.internal.toolkit.Content
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: com.sun.tools.doclets.formats.html.markup.ContentBuilder
super_class: com.sun.tools.doclets.internal.toolkit.Content
{
protected java.util.List<com.sun.tools.doclets.internal.toolkit.Content> contents;
descriptor: Ljava/util/List;
flags: (0x0004) ACC_PROTECTED
Signature: Ljava/util/List<Lcom/sun/tools/doclets/internal/toolkit/Content;>;
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokespecial com.sun.tools.doclets.internal.toolkit.Content.<init>:()V
1: aload 0
invokestatic java.util.Collections.emptyList:()Ljava/util/List;
putfield com.sun.tools.doclets.formats.html.markup.ContentBuilder.contents:Ljava/util/List;
2: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/sun/tools/doclets/formats/html/markup/ContentBuilder;
public void addContent(com.sun.tools.doclets.internal.toolkit.Content);
descriptor: (Lcom/sun/tools/doclets/internal/toolkit/Content;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 1
invokestatic com.sun.tools.doclets.formats.html.markup.ContentBuilder.nullCheck:(Ljava/lang/Object;)Ljava/lang/Object;
pop
1: aload 0
invokevirtual com.sun.tools.doclets.formats.html.markup.ContentBuilder.ensureMutableContents:()V
2: aload 1
instanceof com.sun.tools.doclets.formats.html.markup.ContentBuilder
ifeq 5
3: aload 0
getfield com.sun.tools.doclets.formats.html.markup.ContentBuilder.contents:Ljava/util/List;
aload 1
checkcast com.sun.tools.doclets.formats.html.markup.ContentBuilder
getfield com.sun.tools.doclets.formats.html.markup.ContentBuilder.contents:Ljava/util/List;
invokeinterface java.util.List.addAll:(Ljava/util/Collection;)Z
pop
4: goto 6
5: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.tools.doclets.formats.html.markup.ContentBuilder.contents:Ljava/util/List;
aload 1
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
6: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lcom/sun/tools/doclets/formats/html/markup/ContentBuilder;
0 7 1 content Lcom/sun/tools/doclets/internal/toolkit/Content;
MethodParameters:
Name Flags
content
public void addContent(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=4, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual java.lang.String.isEmpty:()Z
ifeq 2
1: return
2: StackMap locals:
StackMap stack:
aload 0
invokevirtual com.sun.tools.doclets.formats.html.markup.ContentBuilder.ensureMutableContents:()V
3: aload 0
getfield com.sun.tools.doclets.formats.html.markup.ContentBuilder.contents:Ljava/util/List;
invokeinterface java.util.List.isEmpty:()Z
ifeq 4
aconst_null
goto 5
StackMap locals:
StackMap stack:
4: aload 0
getfield com.sun.tools.doclets.formats.html.markup.ContentBuilder.contents:Ljava/util/List;
aload 0
getfield com.sun.tools.doclets.formats.html.markup.ContentBuilder.contents:Ljava/util/List;
invokeinterface java.util.List.size:()I
iconst_1
isub
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
checkcast com.sun.tools.doclets.internal.toolkit.Content
StackMap locals:
StackMap stack: com.sun.tools.doclets.internal.toolkit.Content
5: astore 2
start local 2 6: aload 2
ifnull 9
aload 2
instanceof com.sun.tools.doclets.formats.html.markup.StringContent
ifeq 9
7: aload 2
checkcast com.sun.tools.doclets.formats.html.markup.StringContent
astore 3
start local 3 8: goto 11
end local 3 9: StackMap locals: com.sun.tools.doclets.internal.toolkit.Content
StackMap stack:
aload 0
getfield com.sun.tools.doclets.formats.html.markup.ContentBuilder.contents:Ljava/util/List;
new com.sun.tools.doclets.formats.html.markup.StringContent
dup
invokespecial com.sun.tools.doclets.formats.html.markup.StringContent.<init>:()V
dup
astore 3
start local 3 10: invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
11: StackMap locals: com.sun.tools.doclets.formats.html.markup.StringContent
StackMap stack:
aload 3
aload 1
invokevirtual com.sun.tools.doclets.formats.html.markup.StringContent.addContent:(Ljava/lang/String;)V
12: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 this Lcom/sun/tools/doclets/formats/html/markup/ContentBuilder;
0 13 1 text Ljava/lang/String;
6 13 2 c Lcom/sun/tools/doclets/internal/toolkit/Content;
8 9 3 sc Lcom/sun/tools/doclets/formats/html/markup/StringContent;
10 13 3 sc Lcom/sun/tools/doclets/formats/html/markup/StringContent;
MethodParameters:
Name Flags
text
public boolean write(java.io.Writer, boolean);
descriptor: (Ljava/io/Writer;Z)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=5, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield com.sun.tools.doclets.formats.html.markup.ContentBuilder.contents:Ljava/util/List;
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 4
goto 3
StackMap locals: com.sun.tools.doclets.formats.html.markup.ContentBuilder java.io.Writer int top java.util.Iterator
StackMap stack:
1: aload 4
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast com.sun.tools.doclets.internal.toolkit.Content
astore 3
start local 3 2: aload 3
aload 1
iload 2
invokevirtual com.sun.tools.doclets.internal.toolkit.Content.write:(Ljava/io/Writer;Z)Z
istore 2
end local 3 3: StackMap locals:
StackMap stack:
aload 4
invokeinterface java.util.Iterator.hasNext:()Z
ifne 1
4: iload 2
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lcom/sun/tools/doclets/formats/html/markup/ContentBuilder;
0 5 1 writer Ljava/io/Writer;
0 5 2 atNewline Z
2 3 3 content Lcom/sun/tools/doclets/internal/toolkit/Content;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
writer
atNewline
public boolean isEmpty();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=3, args_size=1
start local 0 0: aload 0
getfield com.sun.tools.doclets.formats.html.markup.ContentBuilder.contents:Ljava/util/List;
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 2
goto 4
StackMap locals: com.sun.tools.doclets.formats.html.markup.ContentBuilder top java.util.Iterator
StackMap stack:
1: aload 2
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast com.sun.tools.doclets.internal.toolkit.Content
astore 1
start local 1 2: aload 1
invokevirtual com.sun.tools.doclets.internal.toolkit.Content.isEmpty:()Z
ifne 4
3: iconst_0
ireturn
end local 1 4: StackMap locals:
StackMap stack:
aload 2
invokeinterface java.util.Iterator.hasNext:()Z
ifne 1
5: iconst_1
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lcom/sun/tools/doclets/formats/html/markup/ContentBuilder;
2 4 1 content Lcom/sun/tools/doclets/internal/toolkit/Content;
public int charCount();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=4, args_size=1
start local 0 0: iconst_0
istore 1
start local 1 1: aload 0
getfield com.sun.tools.doclets.formats.html.markup.ContentBuilder.contents:Ljava/util/List;
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 3
goto 4
StackMap locals: com.sun.tools.doclets.formats.html.markup.ContentBuilder int top java.util.Iterator
StackMap stack:
2: aload 3
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast com.sun.tools.doclets.internal.toolkit.Content
astore 2
start local 2 3: iload 1
aload 2
invokevirtual com.sun.tools.doclets.internal.toolkit.Content.charCount:()I
iadd
istore 1
end local 2 4: StackMap locals:
StackMap stack:
aload 3
invokeinterface java.util.Iterator.hasNext:()Z
ifne 2
5: iload 1
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lcom/sun/tools/doclets/formats/html/markup/ContentBuilder;
1 6 1 n I
3 4 2 c Lcom/sun/tools/doclets/internal/toolkit/Content;
private void ensureMutableContents();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
getfield com.sun.tools.doclets.formats.html.markup.ContentBuilder.contents:Ljava/util/List;
invokeinterface java.util.List.isEmpty:()Z
ifeq 2
1: aload 0
new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
putfield com.sun.tools.doclets.formats.html.markup.ContentBuilder.contents:Ljava/util/List;
2: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/sun/tools/doclets/formats/html/markup/ContentBuilder;
}
SourceFile: "ContentBuilder.java"
RuntimeVisibleAnnotations:
java.lang.Deprecated()