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 bytes;
descriptor: Ljava/lang/String;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private static volatile int considered;
descriptor: I
flags: (0x004a) ACC_PRIVATE, ACC_STATIC, ACC_VOLATILE
private static volatile int hits;
descriptor: I
flags: (0x004a) ACC_PRIVATE, ACC_STATIC, ACC_VOLATILE
private static volatile int skipped;
descriptor: I
flags: (0x004a) ACC_PRIVATE, ACC_STATIC, ACC_VOLATILE
private static volatile int created;
descriptor: I
flags: (0x004a) ACC_PRIVATE, ACC_STATIC, ACC_VOLATILE
private static final int MAX_CACHED_SIZE;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 200
private static final boolean BCEL_STATISTICS;
descriptor: Z
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 0
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: iconst_0
putstatic com.sun.org.apache.bcel.internal.classfile.ConstantUtf8.considered:I
1: iconst_0
putstatic com.sun.org.apache.bcel.internal.classfile.ConstantUtf8.hits:I
2: iconst_0
putstatic com.sun.org.apache.bcel.internal.classfile.ConstantUtf8.skipped:I
3: iconst_0
putstatic com.sun.org.apache.bcel.internal.classfile.ConstantUtf8.created:I
4: return
LocalVariableTable:
Start End Slot Name Signature
static void printStats();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=4, locals=0, args_size=0
0: getstatic java.lang.System.err:Ljava/io/PrintStream;
new java.lang.StringBuilder
dup
ldc "Cache hit "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
getstatic com.sun.org.apache.bcel.internal.classfile.ConstantUtf8.hits:I
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
ldc "/"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
getstatic com.sun.org.apache.bcel.internal.classfile.ConstantUtf8.considered:I
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
ldc ", "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
getstatic com.sun.org.apache.bcel.internal.classfile.ConstantUtf8.skipped:I
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
ldc " skipped"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
1: getstatic java.lang.System.err:Ljava/io/PrintStream;
new java.lang.StringBuilder
dup
ldc "Total of "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
getstatic com.sun.org.apache.bcel.internal.classfile.ConstantUtf8.created:I
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
ldc " ConstantUtf8 objects created"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
2: return
LocalVariableTable:
Start End Slot Name Signature
static void clearStats();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=0, args_size=0
0: iconst_0
dup
putstatic com.sun.org.apache.bcel.internal.classfile.ConstantUtf8.created:I
dup
putstatic com.sun.org.apache.bcel.internal.classfile.ConstantUtf8.skipped:I
dup
putstatic com.sun.org.apache.bcel.internal.classfile.ConstantUtf8.considered:I
putstatic com.sun.org.apache.bcel.internal.classfile.ConstantUtf8.hits:I
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 3
1: getstatic com.sun.org.apache.bcel.internal.classfile.ConstantUtf8.skipped:I
iconst_1
iadd
putstatic com.sun.org.apache.bcel.internal.classfile.ConstantUtf8.skipped:I
2: 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
3: StackMap locals:
StackMap stack:
getstatic com.sun.org.apache.bcel.internal.classfile.ConstantUtf8.considered:I
iconst_1
iadd
putstatic com.sun.org.apache.bcel.internal.classfile.ConstantUtf8.considered:I
4: ldc Lcom/sun/org/apache/bcel/internal/classfile/ConstantUtf8;
dup
astore 1
monitorenter
5: getstatic com.sun.org.apache.bcel.internal.classfile.ConstantUtf8$CACHE_HOLDER.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 6: aload 2
ifnull 10
7: getstatic com.sun.org.apache.bcel.internal.classfile.ConstantUtf8.hits:I
iconst_1
iadd
putstatic com.sun.org.apache.bcel.internal.classfile.ConstantUtf8.hits:I
8: aload 2
aload 1
monitorexit
9: areturn
10: 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
11: getstatic com.sun.org.apache.bcel.internal.classfile.ConstantUtf8$CACHE_HOLDER.CACHE:Ljava/util/HashMap;
aload 0
aload 2
invokevirtual java.util.HashMap.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
12: aload 2
aload 1
monitorexit
13: areturn
end local 2 14: StackMap locals: java.lang.String java.lang.Class
StackMap stack: java.lang.Throwable
aload 1
monitorexit
15: athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 16 0 s Ljava/lang/String;
6 14 2 result Lcom/sun/org/apache/bcel/internal/classfile/ConstantUtf8;
Exception table:
from to target type
5 9 14 any
10 13 14 any
14 15 14 any
MethodParameters:
Name Flags
s 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: 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
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 s Ljava/lang/String;
MethodParameters:
Name Flags
s 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 input Ljava/io/DataInput;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
input 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 c Lcom/sun/org/apache/bcel/internal/classfile/ConstantUtf8;
MethodParameters:
Name Flags
c 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.bytes:Ljava/lang/String;
2: getstatic com.sun.org.apache.bcel.internal.classfile.ConstantUtf8.created:I
iconst_1
iadd
putstatic com.sun.org.apache.bcel.internal.classfile.ConstantUtf8.created:I
3: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/sun/org/apache/bcel/internal/classfile/ConstantUtf8;
0 4 1 file Ljava/io/DataInput;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
file 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 "bytes 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.bytes:Ljava/lang/String;
4: getstatic com.sun.org.apache.bcel.internal.classfile.ConstantUtf8.created:I
iconst_1
iadd
putstatic com.sun.org.apache.bcel.internal.classfile.ConstantUtf8.created:I
5: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lcom/sun/org/apache/bcel/internal/classfile/ConstantUtf8;
0 6 1 bytes Ljava/lang/String;
MethodParameters:
Name Flags
bytes 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 final void dump(java.io.DataOutputStream);
descriptor: (Ljava/io/DataOutputStream;)V
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
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.bytes: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 final java.lang.String getBytes();
descriptor: ()Ljava/lang/String;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.sun.org.apache.bcel.internal.classfile.ConstantUtf8.bytes: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 final void setBytes(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
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 final java.lang.String toString();
descriptor: ()Ljava/lang/String;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
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.bytes: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$1 com.sun.org.apache.bcel.internal.classfile.ConstantUtf8$CACHE_HOLDER com.sun.org.apache.bcel.internal.classfile.ConstantUtf8$CACHE_HOLDER$1
InnerClasses:
private CACHE_HOLDER = com.sun.org.apache.bcel.internal.classfile.ConstantUtf8$CACHE_HOLDER of com.sun.org.apache.bcel.internal.classfile.ConstantUtf8