final class jdk.nashorn.internal.codegen.ConstantData
minor version: 0
major version: 59
flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
this_class: jdk.nashorn.internal.codegen.ConstantData
super_class: java.lang.Object
{
final java.util.List<java.lang.Object> constants;
descriptor: Ljava/util/List;
flags: (0x0010) ACC_FINAL
Signature: Ljava/util/List<Ljava/lang/Object;>;
final java.util.Map<java.lang.String, java.lang.Integer> stringMap;
descriptor: Ljava/util/Map;
flags: (0x0010) ACC_FINAL
Signature: Ljava/util/Map<Ljava/lang/String;Ljava/lang/Integer;>;
final java.util.Map<java.lang.Object, java.lang.Integer> objectMap;
descriptor: Ljava/util/Map;
flags: (0x0010) ACC_FINAL
Signature: Ljava/util/Map<Ljava/lang/Object;Ljava/lang/Integer;>;
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 Ljdk/nashorn/internal/codegen/ConstantData;
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 jdk.nashorn.internal.codegen.ConstantData.$assertionsDisabled:Z
return
LocalVariableTable:
Start End Slot Name Signature
void <init>();
descriptor: ()V
flags: (0x0000)
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.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
putfield jdk.nashorn.internal.codegen.ConstantData.constants:Ljava/util/List;
2: aload 0
new java.util.HashMap
dup
invokespecial java.util.HashMap.<init>:()V
putfield jdk.nashorn.internal.codegen.ConstantData.stringMap:Ljava/util/Map;
3: aload 0
new java.util.HashMap
dup
invokespecial java.util.HashMap.<init>:()V
putfield jdk.nashorn.internal.codegen.ConstantData.objectMap:Ljava/util/Map;
4: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Ljdk/nashorn/internal/codegen/ConstantData;
public int add(java.lang.String);
descriptor: (Ljava/lang/String;)I
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=4, args_size=2
start local 0 start local 1 0: aload 0
getfield jdk.nashorn.internal.codegen.ConstantData.stringMap:Ljava/util/Map;
aload 1
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.lang.Integer
astore 2
start local 2 1: aload 2
ifnull 3
2: aload 2
invokevirtual java.lang.Integer.intValue:()I
ireturn
3: StackMap locals: java.lang.Integer
StackMap stack:
aload 0
getfield jdk.nashorn.internal.codegen.ConstantData.constants:Ljava/util/List;
aload 1
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
4: aload 0
getfield jdk.nashorn.internal.codegen.ConstantData.constants:Ljava/util/List;
invokeinterface java.util.List.size:()I
iconst_1
isub
istore 3
start local 3 5: aload 0
getfield jdk.nashorn.internal.codegen.ConstantData.stringMap:Ljava/util/Map;
aload 1
iload 3
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
6: iload 3
ireturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Ljdk/nashorn/internal/codegen/ConstantData;
0 7 1 string Ljava/lang/String;
1 7 2 value Ljava/lang/Integer;
5 7 3 index I
MethodParameters:
Name Flags
string final
public int add(java.lang.Object);
descriptor: (Ljava/lang/Object;)I
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=5, args_size=2
start local 0 start local 1 0: getstatic jdk.nashorn.internal.codegen.ConstantData.$assertionsDisabled:Z
ifne 1
aload 1
ifnonnull 1
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
1: StackMap locals:
StackMap stack:
aload 1
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
invokevirtual java.lang.Class.isArray:()Z
ifeq 4
2: new jdk.nashorn.internal.codegen.ConstantData$ArrayWrapper
dup
aload 1
invokespecial jdk.nashorn.internal.codegen.ConstantData$ArrayWrapper.<init>:(Ljava/lang/Object;)V
astore 2
start local 2 3: goto 8
end local 2 StackMap locals:
StackMap stack:
4: aload 1
instanceof jdk.nashorn.internal.runtime.PropertyMap
ifeq 7
5: new jdk.nashorn.internal.codegen.ConstantData$PropertyMapWrapper
dup
aload 1
checkcast jdk.nashorn.internal.runtime.PropertyMap
invokespecial jdk.nashorn.internal.codegen.ConstantData$PropertyMapWrapper.<init>:(Ljdk/nashorn/internal/runtime/PropertyMap;)V
astore 2
start local 2 6: goto 8
end local 2 7: StackMap locals:
StackMap stack:
aload 1
astore 2
start local 2 8: StackMap locals: java.lang.Object
StackMap stack:
aload 0
getfield jdk.nashorn.internal.codegen.ConstantData.objectMap:Ljava/util/Map;
aload 2
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.lang.Integer
astore 3
start local 3 9: aload 3
ifnull 11
10: aload 3
invokevirtual java.lang.Integer.intValue:()I
ireturn
11: StackMap locals: java.lang.Integer
StackMap stack:
aload 0
getfield jdk.nashorn.internal.codegen.ConstantData.constants:Ljava/util/List;
aload 1
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
12: aload 0
getfield jdk.nashorn.internal.codegen.ConstantData.constants:Ljava/util/List;
invokeinterface java.util.List.size:()I
iconst_1
isub
istore 4
start local 4 13: aload 0
getfield jdk.nashorn.internal.codegen.ConstantData.objectMap:Ljava/util/Map;
aload 2
iload 4
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
14: iload 4
ireturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 15 0 this Ljdk/nashorn/internal/codegen/ConstantData;
0 15 1 object Ljava/lang/Object;
3 4 2 entry Ljava/lang/Object;
6 7 2 entry Ljava/lang/Object;
8 15 2 entry Ljava/lang/Object;
9 15 3 value Ljava/lang/Integer;
13 15 4 index I
MethodParameters:
Name Flags
object final
java.lang.Object[] toArray();
descriptor: ()[Ljava/lang/Object;
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.nashorn.internal.codegen.ConstantData.constants:Ljava/util/List;
invokeinterface java.util.List.toArray:()[Ljava/lang/Object;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/nashorn/internal/codegen/ConstantData;
}
SourceFile: "ConstantData.java"
NestMembers:
jdk.nashorn.internal.codegen.ConstantData$ArrayWrapper jdk.nashorn.internal.codegen.ConstantData$PropertyMapWrapper
InnerClasses:
private ArrayWrapper = jdk.nashorn.internal.codegen.ConstantData$ArrayWrapper of jdk.nashorn.internal.codegen.ConstantData
private PropertyMapWrapper = jdk.nashorn.internal.codegen.ConstantData$PropertyMapWrapper of jdk.nashorn.internal.codegen.ConstantData