class org.graalvm.compiler.replacements.test.NewInstanceTest$SomeObject
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: org.graalvm.compiler.replacements.test.NewInstanceTest$SomeObject
super_class: java.lang.Object
{
java.lang.String name;
descriptor: Ljava/lang/String;
flags: (0x0000)
java.util.HashMap<java.lang.String, java.lang.Object> map;
descriptor: Ljava/util/HashMap;
flags: (0x0000)
Signature: Ljava/util/HashMap<Ljava/lang/String;Ljava/lang/Object;>;
void <init>();
descriptor: ()V
flags: (0x0000)
Code:
stack=3, locals=1, args_size=1
start local 0 // org.graalvm.compiler.replacements.test.NewInstanceTest$SomeObject this
0: .line 147
aload 0 /* this */
invokespecial java.lang.Object.<init>:()V
1: .line 144
aload 0 /* this */
ldc "o1"
putfield org.graalvm.compiler.replacements.test.NewInstanceTest$SomeObject.name:Ljava/lang/String;
2: .line 145
aload 0 /* this */
new java.util.HashMap
dup
invokespecial java.util.HashMap.<init>:()V
putfield org.graalvm.compiler.replacements.test.NewInstanceTest$SomeObject.map:Ljava/util/HashMap;
3: .line 148
aload 0 /* this */
getfield org.graalvm.compiler.replacements.test.NewInstanceTest$SomeObject.map:Ljava/util/HashMap;
aload 0 /* this */
getfield org.graalvm.compiler.replacements.test.NewInstanceTest$SomeObject.name:Ljava/lang/String;
aload 0 /* this */
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
invokevirtual java.util.HashMap.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
4: .line 149
return
end local 0 // org.graalvm.compiler.replacements.test.NewInstanceTest$SomeObject this
LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/graalvm/compiler/replacements/test/NewInstanceTest$SomeObject;
public boolean equals(java.lang.Object);
descriptor: (Ljava/lang/Object;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=2
start local 0 // org.graalvm.compiler.replacements.test.NewInstanceTest$SomeObject this
start local 1 // java.lang.Object obj
0: .line 153
aload 1 /* obj */
instanceof org.graalvm.compiler.replacements.test.NewInstanceTest$SomeObject
ifeq 4
1: .line 154
aload 1 /* obj */
checkcast org.graalvm.compiler.replacements.test.NewInstanceTest$SomeObject
astore 2 /* so */
start local 2 // org.graalvm.compiler.replacements.test.NewInstanceTest$SomeObject so
2: .line 155
aload 2 /* so */
getfield org.graalvm.compiler.replacements.test.NewInstanceTest$SomeObject.name:Ljava/lang/String;
aload 0 /* this */
getfield org.graalvm.compiler.replacements.test.NewInstanceTest$SomeObject.name:Ljava/lang/String;
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 3
aload 2 /* so */
getfield org.graalvm.compiler.replacements.test.NewInstanceTest$SomeObject.map:Ljava/util/HashMap;
aload 0 /* this */
getfield org.graalvm.compiler.replacements.test.NewInstanceTest$SomeObject.map:Ljava/util/HashMap;
invokevirtual java.util.HashMap.equals:(Ljava/lang/Object;)Z
ifeq 3
iconst_1
ireturn
StackMap locals: org.graalvm.compiler.replacements.test.NewInstanceTest$SomeObject
StackMap stack:
3: iconst_0
ireturn
end local 2 // org.graalvm.compiler.replacements.test.NewInstanceTest$SomeObject so
4: .line 157
StackMap locals:
StackMap stack:
iconst_0
ireturn
end local 1 // java.lang.Object obj
end local 0 // org.graalvm.compiler.replacements.test.NewInstanceTest$SomeObject this
LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/graalvm/compiler/replacements/test/NewInstanceTest$SomeObject;
0 5 1 obj Ljava/lang/Object;
2 4 2 so Lorg/graalvm/compiler/replacements/test/NewInstanceTest$SomeObject;
MethodParameters:
Name Flags
obj
public int hashCode();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 // org.graalvm.compiler.replacements.test.NewInstanceTest$SomeObject this
0: .line 162
aload 0 /* this */
getfield org.graalvm.compiler.replacements.test.NewInstanceTest$SomeObject.name:Ljava/lang/String;
invokevirtual java.lang.String.hashCode:()I
ireturn
end local 0 // org.graalvm.compiler.replacements.test.NewInstanceTest$SomeObject this
LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/graalvm/compiler/replacements/test/NewInstanceTest$SomeObject;
}
SourceFile: "NewInstanceTest.java"
NestHost: org.graalvm.compiler.replacements.test.NewInstanceTest
InnerClasses:
SomeObject = org.graalvm.compiler.replacements.test.NewInstanceTest$SomeObject of org.graalvm.compiler.replacements.test.NewInstanceTest