public class jdk.javadoc.internal.doclets.formats.html.markup.TextBuilder 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.TextBuilder
super_class: jdk.javadoc.internal.doclets.toolkit.Content
{
private final java.lang.StringBuilder stringBuilder;
descriptor: Ljava/lang/StringBuilder;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
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.lang.StringBuilder
dup
invokespecial java.lang.StringBuilder.<init>:()V
putfield jdk.javadoc.internal.doclets.formats.html.markup.TextBuilder.stringBuilder:Ljava/lang/StringBuilder;
2: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljdk/javadoc/internal/doclets/formats/html/markup/TextBuilder;
public void <init>(java.lang.CharSequence);
descriptor: (Ljava/lang/CharSequence;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial jdk.javadoc.internal.doclets.toolkit.Content.<init>:()V
1: aload 0
new java.lang.StringBuilder
dup
invokespecial java.lang.StringBuilder.<init>:()V
putfield jdk.javadoc.internal.doclets.formats.html.markup.TextBuilder.stringBuilder:Ljava/lang/StringBuilder;
2: aload 1
aload 0
getfield jdk.javadoc.internal.doclets.formats.html.markup.TextBuilder.stringBuilder:Ljava/lang/StringBuilder;
invokestatic jdk.javadoc.internal.doclets.formats.html.markup.Entity.escapeHtmlChars:(Ljava/lang/CharSequence;Ljava/lang/StringBuilder;)V
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/TextBuilder;
0 4 1 initialContent Ljava/lang/CharSequence;
MethodParameters:
Name Flags
initialContent
public jdk.javadoc.internal.doclets.formats.html.markup.TextBuilder add(java.lang.CharSequence);
descriptor: (Ljava/lang/CharSequence;)Ljdk/javadoc/internal/doclets/formats/html/markup/TextBuilder;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 1
aload 0
getfield jdk.javadoc.internal.doclets.formats.html.markup.TextBuilder.stringBuilder:Ljava/lang/StringBuilder;
invokestatic jdk.javadoc.internal.doclets.formats.html.markup.Entity.escapeHtmlChars:(Ljava/lang/CharSequence;Ljava/lang/StringBuilder;)V
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/TextBuilder;
0 2 1 strContent Ljava/lang/CharSequence;
MethodParameters:
Name Flags
strContent
public boolean isEmpty();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.javadoc.internal.doclets.formats.html.markup.TextBuilder.stringBuilder:Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.length:()I
ifne 1
iconst_1
ireturn
StackMap locals:
StackMap stack:
1: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljdk/javadoc/internal/doclets/formats/html/markup/TextBuilder;
public int charCount();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.javadoc.internal.doclets.formats.html.markup.TextBuilder.stringBuilder:Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokestatic jdk.javadoc.internal.doclets.formats.html.markup.RawHtml.charCount:(Ljava/lang/CharSequence;)I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/javadoc/internal/doclets/formats/html/markup/TextBuilder;
public java.lang.String toString();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.javadoc.internal.doclets.formats.html.markup.TextBuilder.stringBuilder:Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/javadoc/internal/doclets/formats/html/markup/TextBuilder;
public boolean write(java.io.Writer, boolean);
descriptor: (Ljava/io/Writer;Z)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield jdk.javadoc.internal.doclets.formats.html.markup.TextBuilder.stringBuilder:Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
astore 3
start local 3 1: aload 1
aload 3
invokevirtual java.io.Writer.write:(Ljava/lang/String;)V
2: aload 3
getstatic jdk.javadoc.internal.doclets.toolkit.util.DocletConstants.NL:Ljava/lang/String;
invokevirtual java.lang.String.endsWith:(Ljava/lang/String;)Z
ireturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljdk/javadoc/internal/doclets/formats/html/markup/TextBuilder;
0 3 1 out Ljava/io/Writer;
0 3 2 atNewline Z
1 3 3 s Ljava/lang/String;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
out
atNewline
public jdk.javadoc.internal.doclets.toolkit.Content add(java.lang.CharSequence);
descriptor: (Ljava/lang/CharSequence;)Ljdk/javadoc/internal/doclets/toolkit/Content;
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=2, locals=2, args_size=2
0: aload 0
aload 1
invokevirtual jdk.javadoc.internal.doclets.formats.html.markup.TextBuilder.add:(Ljava/lang/CharSequence;)Ljdk/javadoc/internal/doclets/formats/html/markup/TextBuilder;
areturn
LocalVariableTable:
Start End Slot Name Signature
}
SourceFile: "TextBuilder.java"