class jdk.nashorn.internal.codegen.ConstantData$ArrayWrapper
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: jdk.nashorn.internal.codegen.ConstantData$ArrayWrapper
super_class: java.lang.Object
{
private final java.lang.Object array;
descriptor: Ljava/lang/Object;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final int hashCode;
descriptor: I
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
public void <init>(java.lang.Object);
descriptor: (Ljava/lang/Object;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aload 1
putfield jdk.nashorn.internal.codegen.ConstantData$ArrayWrapper.array:Ljava/lang/Object;
2: aload 0
aload 0
invokevirtual jdk.nashorn.internal.codegen.ConstantData$ArrayWrapper.calcHashCode:()I
putfield jdk.nashorn.internal.codegen.ConstantData$ArrayWrapper.hashCode:I
3: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljdk/nashorn/internal/codegen/ConstantData$ArrayWrapper;
0 4 1 array Ljava/lang/Object;
MethodParameters:
Name Flags
array final
private int calcHashCode();
descriptor: ()I
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=2, args_size=1
start local 0 0: aload 0
getfield jdk.nashorn.internal.codegen.ConstantData$ArrayWrapper.array:Ljava/lang/Object;
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
astore 1
start local 1 1: aload 1
invokevirtual java.lang.Class.getComponentType:()Ljava/lang/Class;
invokevirtual java.lang.Class.isPrimitive:()Z
ifne 3
2: aload 0
getfield jdk.nashorn.internal.codegen.ConstantData$ArrayWrapper.array:Ljava/lang/Object;
checkcast java.lang.Object[]
invokestatic java.util.Arrays.hashCode:([Ljava/lang/Object;)I
ireturn
3: StackMap locals: java.lang.Class
StackMap stack:
aload 1
ldc [D
if_acmpne 5
4: aload 0
getfield jdk.nashorn.internal.codegen.ConstantData$ArrayWrapper.array:Ljava/lang/Object;
checkcast double[]
invokestatic java.util.Arrays.hashCode:([D)I
ireturn
5: StackMap locals:
StackMap stack:
aload 1
ldc [J
if_acmpne 7
6: aload 0
getfield jdk.nashorn.internal.codegen.ConstantData$ArrayWrapper.array:Ljava/lang/Object;
checkcast long[]
invokestatic java.util.Arrays.hashCode:([J)I
ireturn
7: StackMap locals:
StackMap stack:
aload 1
ldc [I
if_acmpne 9
8: aload 0
getfield jdk.nashorn.internal.codegen.ConstantData$ArrayWrapper.array:Ljava/lang/Object;
checkcast int[]
invokestatic java.util.Arrays.hashCode:([I)I
ireturn
9: StackMap locals:
StackMap stack:
new java.lang.AssertionError
dup
new java.lang.StringBuilder
dup
ldc "ConstantData doesn't support "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.AssertionError.<init>:(Ljava/lang/Object;)V
athrow
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Ljdk/nashorn/internal/codegen/ConstantData$ArrayWrapper;
1 10 1 cls Ljava/lang/Class<*>;
public boolean equals(java.lang.Object);
descriptor: (Ljava/lang/Object;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=4, args_size=2
start local 0 start local 1 0: aload 1
instanceof jdk.nashorn.internal.codegen.ConstantData$ArrayWrapper
ifne 2
1: iconst_0
ireturn
2: StackMap locals:
StackMap stack:
aload 1
checkcast jdk.nashorn.internal.codegen.ConstantData$ArrayWrapper
getfield jdk.nashorn.internal.codegen.ConstantData$ArrayWrapper.array:Ljava/lang/Object;
astore 2
start local 2 3: aload 0
getfield jdk.nashorn.internal.codegen.ConstantData$ArrayWrapper.array:Ljava/lang/Object;
aload 2
if_acmpne 5
4: iconst_1
ireturn
5: StackMap locals: java.lang.Object
StackMap stack:
aload 0
getfield jdk.nashorn.internal.codegen.ConstantData$ArrayWrapper.array:Ljava/lang/Object;
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
astore 3
start local 3 6: aload 3
aload 2
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
if_acmpne 15
7: aload 3
invokevirtual java.lang.Class.getComponentType:()Ljava/lang/Class;
invokevirtual java.lang.Class.isPrimitive:()Z
ifne 9
8: aload 0
getfield jdk.nashorn.internal.codegen.ConstantData$ArrayWrapper.array:Ljava/lang/Object;
checkcast java.lang.Object[]
aload 2
checkcast java.lang.Object[]
invokestatic java.util.Arrays.equals:([Ljava/lang/Object;[Ljava/lang/Object;)Z
ireturn
9: StackMap locals: java.lang.Class
StackMap stack:
aload 3
ldc [D
if_acmpne 11
10: aload 0
getfield jdk.nashorn.internal.codegen.ConstantData$ArrayWrapper.array:Ljava/lang/Object;
checkcast double[]
aload 2
checkcast double[]
invokestatic java.util.Arrays.equals:([D[D)Z
ireturn
11: StackMap locals:
StackMap stack:
aload 3
ldc [J
if_acmpne 13
12: aload 0
getfield jdk.nashorn.internal.codegen.ConstantData$ArrayWrapper.array:Ljava/lang/Object;
checkcast long[]
aload 2
checkcast long[]
invokestatic java.util.Arrays.equals:([J[J)Z
ireturn
13: StackMap locals:
StackMap stack:
aload 3
ldc [I
if_acmpne 15
14: aload 0
getfield jdk.nashorn.internal.codegen.ConstantData$ArrayWrapper.array:Ljava/lang/Object;
checkcast int[]
aload 2
checkcast int[]
invokestatic java.util.Arrays.equals:([I[I)Z
ireturn
15: StackMap locals:
StackMap stack:
iconst_0
ireturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 16 0 this Ljdk/nashorn/internal/codegen/ConstantData$ArrayWrapper;
0 16 1 other Ljava/lang/Object;
3 16 2 otherArray Ljava/lang/Object;
6 16 3 cls Ljava/lang/Class<*>;
MethodParameters:
Name Flags
other final
public int hashCode();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.nashorn.internal.codegen.ConstantData$ArrayWrapper.hashCode:I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/nashorn/internal/codegen/ConstantData$ArrayWrapper;
}
SourceFile: "ConstantData.java"
NestHost: jdk.nashorn.internal.codegen.ConstantData
InnerClasses:
private ArrayWrapper = jdk.nashorn.internal.codegen.ConstantData$ArrayWrapper of jdk.nashorn.internal.codegen.ConstantData