public class com.oracle.objectfile.debugentry.StringTable implements java.lang.Iterable<com.oracle.objectfile.debugentry.StringEntry>
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: com.oracle.objectfile.debugentry.StringTable
super_class: java.lang.Object
{
private final java.util.HashMap<java.lang.String, com.oracle.objectfile.debugentry.StringEntry> table;
descriptor: Ljava/util/HashMap;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/HashMap<Ljava/lang/String;Lcom/oracle/objectfile/debugentry/StringEntry;>;
static final boolean $assertionsDisabled;
descriptor: Z
flags: (0x1018) ACC_STATIC, ACC_FINAL, ACC_SYNTHETIC
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: ldc Lcom/oracle/objectfile/debugentry/StringTable;
invokevirtual java.lang.Class.desiredAssertionStatus:()Z
ifne 1
iconst_1
goto 2
StackMap locals:
StackMap stack:
1: iconst_0
StackMap locals:
StackMap stack: int
2: putstatic com.oracle.objectfile.debugentry.StringTable.$assertionsDisabled:Z
return
LocalVariableTable:
Start End Slot Name Signature
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
new java.util.HashMap
dup
invokespecial java.util.HashMap.<init>:()V
putfield com.oracle.objectfile.debugentry.StringTable.table:Ljava/util/HashMap;
2: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/oracle/objectfile/debugentry/StringTable;
public java.lang.String uniqueString(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
iconst_0
invokevirtual com.oracle.objectfile.debugentry.StringTable.ensureString:(Ljava/lang/String;Z)Ljava/lang/String;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/oracle/objectfile/debugentry/StringTable;
0 1 1 string Ljava/lang/String;
MethodParameters:
Name Flags
string
public java.lang.String uniqueDebugString(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
iconst_1
invokevirtual com.oracle.objectfile.debugentry.StringTable.ensureString:(Ljava/lang/String;Z)Ljava/lang/String;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/oracle/objectfile/debugentry/StringTable;
0 1 1 string Ljava/lang/String;
MethodParameters:
Name Flags
string
private java.lang.String ensureString(java.lang.String, boolean);
descriptor: (Ljava/lang/String;Z)Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield com.oracle.objectfile.debugentry.StringTable.table:Ljava/util/HashMap;
aload 1
invokevirtual java.util.HashMap.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast com.oracle.objectfile.debugentry.StringEntry
astore 3
start local 3 1: aload 3
ifnonnull 4
2: new com.oracle.objectfile.debugentry.StringEntry
dup
aload 1
invokespecial com.oracle.objectfile.debugentry.StringEntry.<init>:(Ljava/lang/String;)V
astore 3
3: aload 0
getfield com.oracle.objectfile.debugentry.StringTable.table:Ljava/util/HashMap;
aload 1
aload 3
invokevirtual java.util.HashMap.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
4: StackMap locals: com.oracle.objectfile.debugentry.StringEntry
StackMap stack:
iload 2
ifeq 6
aload 3
invokevirtual com.oracle.objectfile.debugentry.StringEntry.isAddToStrSection:()Z
ifne 6
5: aload 3
invokevirtual com.oracle.objectfile.debugentry.StringEntry.setAddToStrSection:()V
6: StackMap locals:
StackMap stack:
aload 3
invokevirtual com.oracle.objectfile.debugentry.StringEntry.getString:()Ljava/lang/String;
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lcom/oracle/objectfile/debugentry/StringTable;
0 7 1 string Ljava/lang/String;
0 7 2 addToStrSection Z
1 7 3 stringEntry Lcom/oracle/objectfile/debugentry/StringEntry;
MethodParameters:
Name Flags
string
addToStrSection
public int debugStringIndex(java.lang.String);
descriptor: (Ljava/lang/String;)I
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield com.oracle.objectfile.debugentry.StringTable.table:Ljava/util/HashMap;
aload 1
invokevirtual java.util.HashMap.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast com.oracle.objectfile.debugentry.StringEntry
astore 2
start local 2 1: getstatic com.oracle.objectfile.debugentry.StringTable.$assertionsDisabled:Z
ifne 2
aload 2
ifnonnull 2
new java.lang.AssertionError
dup
new java.lang.StringBuilder
dup
ldc "\""
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc "\" not in string table"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.AssertionError.<init>:(Ljava/lang/Object;)V
athrow
2: StackMap locals: com.oracle.objectfile.debugentry.StringEntry
StackMap stack:
aload 2
ifnonnull 4
3: iconst_m1
ireturn
4: StackMap locals:
StackMap stack:
aload 2
invokevirtual com.oracle.objectfile.debugentry.StringEntry.getOffset:()I
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lcom/oracle/objectfile/debugentry/StringTable;
0 5 1 string Ljava/lang/String;
1 5 2 stringEntry Lcom/oracle/objectfile/debugentry/StringEntry;
MethodParameters:
Name Flags
string
public java.util.Iterator<com.oracle.objectfile.debugentry.StringEntry> iterator();
descriptor: ()Ljava/util/Iterator;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.oracle.objectfile.debugentry.StringTable.table:Ljava/util/HashMap;
invokevirtual java.util.HashMap.values:()Ljava/util/Collection;
invokeinterface java.util.Collection.iterator:()Ljava/util/Iterator;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/oracle/objectfile/debugentry/StringTable;
Signature: ()Ljava/util/Iterator<Lcom/oracle/objectfile/debugentry/StringEntry;>;
}
Signature: Ljava/lang/Object;Ljava/lang/Iterable<Lcom/oracle/objectfile/debugentry/StringEntry;>;
SourceFile: "StringTable.java"