public class jdk.javadoc.internal.doclets.formats.html.markup.StringContent 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.StringContent
super_class: jdk.javadoc.internal.doclets.toolkit.Content
{
private final java.lang.StringBuilder stringContent;
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.StringContent.stringContent: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/StringContent;
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.StringContent.stringContent:Ljava/lang/StringBuilder;
2: aload 0
aload 1
invokevirtual jdk.javadoc.internal.doclets.formats.html.markup.StringContent.appendChars:(Ljava/lang/CharSequence;)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/StringContent;
0 4 1 initialContent Ljava/lang/CharSequence;
MethodParameters:
Name Flags
initialContent
public void addContent(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: new java.lang.UnsupportedOperationException
dup
invokespecial java.lang.UnsupportedOperationException.<init>:()V
athrow
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/javadoc/internal/doclets/formats/html/markup/StringContent;
0 1 1 content Ljdk/javadoc/internal/doclets/toolkit/Content;
MethodParameters:
Name Flags
content
public void addContent(java.lang.CharSequence);
descriptor: (Ljava/lang/CharSequence;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokevirtual jdk.javadoc.internal.doclets.formats.html.markup.StringContent.appendChars:(Ljava/lang/CharSequence;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljdk/javadoc/internal/doclets/formats/html/markup/StringContent;
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.StringContent.stringContent: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/StringContent;
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.StringContent.stringContent: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/StringContent;
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.StringContent.stringContent: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/StringContent;
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.StringContent.stringContent: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/StringContent;
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
private void appendChars(java.lang.CharSequence);
descriptor: (Ljava/lang/CharSequence;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=4, args_size=2
start local 0 start local 1 0: iconst_0
istore 2
start local 2 1: goto 9
2: StackMap locals: int
StackMap stack:
aload 1
iload 2
invokeinterface java.lang.CharSequence.charAt:(I)C
istore 3
start local 3 3: iload 3
lookupswitch { // 3
38: 6
60: 4
62: 5
default: 7
}
4: StackMap locals: int
StackMap stack:
aload 0
getfield jdk.javadoc.internal.doclets.formats.html.markup.StringContent.stringContent:Ljava/lang/StringBuilder;
ldc "<"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
goto 8
5: StackMap locals:
StackMap stack:
aload 0
getfield jdk.javadoc.internal.doclets.formats.html.markup.StringContent.stringContent:Ljava/lang/StringBuilder;
ldc ">"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
goto 8
6: StackMap locals:
StackMap stack:
aload 0
getfield jdk.javadoc.internal.doclets.formats.html.markup.StringContent.stringContent:Ljava/lang/StringBuilder;
ldc "&"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
goto 8
7: StackMap locals:
StackMap stack:
aload 0
getfield jdk.javadoc.internal.doclets.formats.html.markup.StringContent.stringContent:Ljava/lang/StringBuilder;
iload 3
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
pop
end local 3 8: StackMap locals:
StackMap stack:
iinc 2 1
StackMap locals:
StackMap stack:
9: iload 2
aload 1
invokeinterface java.lang.CharSequence.length:()I
if_icmplt 2
end local 2 10: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Ljdk/javadoc/internal/doclets/formats/html/markup/StringContent;
0 11 1 s Ljava/lang/CharSequence;
1 10 2 i I
3 8 3 ch C
MethodParameters:
Name Flags
s
}
SourceFile: "StringContent.java"