public final class com.sun.org.apache.bcel.internal.classfile.ConstantUtf8 extends com.sun.org.apache.bcel.internal.classfile.Constant
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: com.sun.org.apache.bcel.internal.classfile.ConstantUtf8
super_class: com.sun.org.apache.bcel.internal.classfile.Constant
{
private final java.lang.String value;
descriptor: Ljava/lang/String;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
public static synchronized void clearCache();
descriptor: ()V
flags: (0x0029) ACC_PUBLIC, ACC_STATIC, ACC_SYNCHRONIZED
Code:
stack=1, locals=0, args_size=0
0: getstatic com.sun.org.apache.bcel.internal.classfile.ConstantUtf8$Cache.CACHE:Ljava/util/HashMap;
invokevirtual java.util.HashMap.clear:()V
1: return
LocalVariableTable:
Start End Slot Name Signature
public static com.sun.org.apache.bcel.internal.classfile.ConstantUtf8 getCachedInstance(java.lang.String);
descriptor: (Ljava/lang/String;)Lcom/sun/org/apache/bcel/internal/classfile/ConstantUtf8;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=3, args_size=1
start local 0 0: aload 0
invokevirtual java.lang.String.length:()I
sipush 200
if_icmple 2
1: new com.sun.org.apache.bcel.internal.classfile.ConstantUtf8
dup
aload 0
invokespecial com.sun.org.apache.bcel.internal.classfile.ConstantUtf8.<init>:(Ljava/lang/String;)V
areturn
2: StackMap locals:
StackMap stack:
ldc Lcom/sun/org/apache/bcel/internal/classfile/ConstantUtf8;
dup
astore 1
monitorenter
3: getstatic com.sun.org.apache.bcel.internal.classfile.ConstantUtf8$Cache.CACHE:Ljava/util/HashMap;
aload 0
invokevirtual java.util.HashMap.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast com.sun.org.apache.bcel.internal.classfile.ConstantUtf8
astore 2
start local 2 4: aload 2
ifnull 7
5: aload 2
aload 1
monitorexit
6: areturn
7: StackMap locals: java.lang.Class com.sun.org.apache.bcel.internal.classfile.ConstantUtf8
StackMap stack:
new com.sun.org.apache.bcel.internal.classfile.ConstantUtf8
dup
aload 0
invokespecial com.sun.org.apache.bcel.internal.classfile.ConstantUtf8.<init>:(Ljava/lang/String;)V
astore 2
8: getstatic com.sun.org.apache.bcel.internal.classfile.ConstantUtf8$Cache.CACHE:Ljava/util/HashMap;
aload 0
aload 2
invokevirtual java.util.HashMap.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
9: aload 2
aload 1
monitorexit
10: areturn
end local 2 11: StackMap locals: java.lang.String java.lang.Class
StackMap stack: java.lang.Throwable
aload 1
monitorexit
12: athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 value Ljava/lang/String;
4 11 2 result Lcom/sun/org/apache/bcel/internal/classfile/ConstantUtf8;
Exception table:
from to target type
3 6 11 any
7 10 11 any
11 12 11 any
MethodParameters:
Name Flags
value final
public static com.sun.org.apache.bcel.internal.classfile.ConstantUtf8 getInstance(java.io.DataInput);
descriptor: (Ljava/io/DataInput;)Lcom/sun/org/apache/bcel/internal/classfile/ConstantUtf8;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokeinterface java.io.DataInput.readUTF:()Ljava/lang/String;
invokestatic com.sun.org.apache.bcel.internal.classfile.ConstantUtf8.getInstance:(Ljava/lang/String;)Lcom/sun/org/apache/bcel/internal/classfile/ConstantUtf8;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 dataInput Ljava/io/DataInput;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
dataInput final
public static com.sun.org.apache.bcel.internal.classfile.ConstantUtf8 getInstance(java.lang.String);
descriptor: (Ljava/lang/String;)Lcom/sun/org/apache/bcel/internal/classfile/ConstantUtf8;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: invokestatic com.sun.org.apache.bcel.internal.classfile.ConstantUtf8$Cache.isEnabled:()Z
ifeq 1
aload 0
invokestatic com.sun.org.apache.bcel.internal.classfile.ConstantUtf8.getCachedInstance:(Ljava/lang/String;)Lcom/sun/org/apache/bcel/internal/classfile/ConstantUtf8;
goto 2
StackMap locals:
StackMap stack:
1: new com.sun.org.apache.bcel.internal.classfile.ConstantUtf8
dup
aload 0
invokespecial com.sun.org.apache.bcel.internal.classfile.ConstantUtf8.<init>:(Ljava/lang/String;)V
StackMap locals:
StackMap stack: com.sun.org.apache.bcel.internal.classfile.ConstantUtf8
2: areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 value Ljava/lang/String;
MethodParameters:
Name Flags
value final
public void <init>(com.sun.org.apache.bcel.internal.classfile.ConstantUtf8);
descriptor: (Lcom/sun/org/apache/bcel/internal/classfile/ConstantUtf8;)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 com.sun.org.apache.bcel.internal.classfile.ConstantUtf8.getBytes:()Ljava/lang/String;
invokespecial com.sun.org.apache.bcel.internal.classfile.ConstantUtf8.<init>:(Ljava/lang/String;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/sun/org/apache/bcel/internal/classfile/ConstantUtf8;
0 2 1 constantUtf8 Lcom/sun/org/apache/bcel/internal/classfile/ConstantUtf8;
MethodParameters:
Name Flags
constantUtf8 final
void <init>(java.io.DataInput);
descriptor: (Ljava/io/DataInput;)V
flags: (0x0000)
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
iconst_1
invokespecial com.sun.org.apache.bcel.internal.classfile.Constant.<init>:(B)V
1: aload 0
aload 1
invokeinterface java.io.DataInput.readUTF:()Ljava/lang/String;
putfield com.sun.org.apache.bcel.internal.classfile.ConstantUtf8.value:Ljava/lang/String;
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/sun/org/apache/bcel/internal/classfile/ConstantUtf8;
0 3 1 dataInput Ljava/io/DataInput;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
dataInput final
public void <init>(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
iconst_1
invokespecial com.sun.org.apache.bcel.internal.classfile.Constant.<init>:(B)V
1: aload 1
ifnonnull 3
2: new java.lang.IllegalArgumentException
dup
ldc "Value must not be null."
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
3: StackMap locals: com.sun.org.apache.bcel.internal.classfile.ConstantUtf8 java.lang.String
StackMap stack:
aload 0
aload 1
putfield com.sun.org.apache.bcel.internal.classfile.ConstantUtf8.value:Ljava/lang/String;
4: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lcom/sun/org/apache/bcel/internal/classfile/ConstantUtf8;
0 5 1 value Ljava/lang/String;
MethodParameters:
Name Flags
value final
public void accept(com.sun.org.apache.bcel.internal.classfile.Visitor);
descriptor: (Lcom/sun/org/apache/bcel/internal/classfile/Visitor;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 1
aload 0
invokeinterface com.sun.org.apache.bcel.internal.classfile.Visitor.visitConstantUtf8:(Lcom/sun/org/apache/bcel/internal/classfile/ConstantUtf8;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/sun/org/apache/bcel/internal/classfile/ConstantUtf8;
0 2 1 v Lcom/sun/org/apache/bcel/internal/classfile/Visitor;
MethodParameters:
Name Flags
v final
public void dump(java.io.DataOutputStream);
descriptor: (Ljava/io/DataOutputStream;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 1
aload 0
invokespecial com.sun.org.apache.bcel.internal.classfile.Constant.getTag:()B
invokevirtual java.io.DataOutputStream.writeByte:(I)V
1: aload 1
aload 0
getfield com.sun.org.apache.bcel.internal.classfile.ConstantUtf8.value:Ljava/lang/String;
invokevirtual java.io.DataOutputStream.writeUTF:(Ljava/lang/String;)V
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/sun/org/apache/bcel/internal/classfile/ConstantUtf8;
0 3 1 file Ljava/io/DataOutputStream;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
file final
public java.lang.String getBytes();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.sun.org.apache.bcel.internal.classfile.ConstantUtf8.value:Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/org/apache/bcel/internal/classfile/ConstantUtf8;
public void setBytes(java.lang.String);
descriptor: (Ljava/lang/String;)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 Lcom/sun/org/apache/bcel/internal/classfile/ConstantUtf8;
0 1 1 bytes Ljava/lang/String;
RuntimeVisibleAnnotations:
java.lang.Deprecated()
MethodParameters:
Name Flags
bytes final
public java.lang.String toString();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=1, args_size=1
start local 0 0: new java.lang.StringBuilder
dup
aload 0
invokespecial com.sun.org.apache.bcel.internal.classfile.Constant.toString:()Ljava/lang/String;
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc "(\""
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
getfield com.sun.org.apache.bcel.internal.classfile.ConstantUtf8.value:Ljava/lang/String;
ldc "\n"
ldc "\\n"
invokestatic com.sun.org.apache.bcel.internal.classfile.Utility.replace:(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc "\")"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)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 Lcom/sun/org/apache/bcel/internal/classfile/ConstantUtf8;
}
SourceFile: "ConstantUtf8.java"
NestMembers:
com.sun.org.apache.bcel.internal.classfile.ConstantUtf8$Cache com.sun.org.apache.bcel.internal.classfile.ConstantUtf8$Cache$1
InnerClasses:
private Cache = com.sun.org.apache.bcel.internal.classfile.ConstantUtf8$Cache of com.sun.org.apache.bcel.internal.classfile.ConstantUtf8