public class sun.jvm.hotspot.runtime.VirtualConstructor extends sun.jvm.hotspot.runtime.InstanceConstructor<sun.jvm.hotspot.runtime.VMObject>
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: sun.jvm.hotspot.runtime.VirtualConstructor
super_class: sun.jvm.hotspot.runtime.InstanceConstructor
{
private sun.jvm.hotspot.types.TypeDataBase db;
descriptor: Lsun/jvm/hotspot/types/TypeDataBase;
flags: (0x0002) ACC_PRIVATE
private java.util.Map<java.lang.String, java.lang.Class<? extends sun.jvm.hotspot.runtime.VMObject>> map;
descriptor: Ljava/util/Map;
flags: (0x0002) ACC_PRIVATE
Signature: Ljava/util/Map<Ljava/lang/String;Ljava/lang/Class<+Lsun/jvm/hotspot/runtime/VMObject;>;>;
public void <init>(sun.jvm.hotspot.types.TypeDataBase);
descriptor: (Lsun/jvm/hotspot/types/TypeDataBase;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial sun.jvm.hotspot.runtime.InstanceConstructor.<init>:()V
1: aload 0
aload 1
putfield sun.jvm.hotspot.runtime.VirtualConstructor.db:Lsun/jvm/hotspot/types/TypeDataBase;
2: aload 0
new java.util.HashMap
dup
invokespecial java.util.HashMap.<init>:()V
putfield sun.jvm.hotspot.runtime.VirtualConstructor.map:Ljava/util/Map;
3: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lsun/jvm/hotspot/runtime/VirtualConstructor;
0 4 1 db Lsun/jvm/hotspot/types/TypeDataBase;
MethodParameters:
Name Flags
db
public boolean addMapping(java.lang.String, java.lang.Class<? extends sun.jvm.hotspot.runtime.VMObject>);
descriptor: (Ljava/lang/String;Ljava/lang/Class;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield sun.jvm.hotspot.runtime.VirtualConstructor.map:Ljava/util/Map;
aload 1
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
ifnull 2
1: iconst_0
ireturn
2: StackMap locals:
StackMap stack:
aload 0
getfield sun.jvm.hotspot.runtime.VirtualConstructor.map:Ljava/util/Map;
aload 1
aload 2
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
3: iconst_1
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lsun/jvm/hotspot/runtime/VirtualConstructor;
0 4 1 cTypeName Ljava/lang/String;
0 4 2 clazz Ljava/lang/Class<+Lsun/jvm/hotspot/runtime/VMObject;>;
Signature: (Ljava/lang/String;Ljava/lang/Class<+Lsun/jvm/hotspot/runtime/VMObject;>;)Z
MethodParameters:
Name Flags
cTypeName
clazz
public sun.jvm.hotspot.runtime.VMObject instantiateWrapperFor(sun.jvm.hotspot.debugger.Address);
descriptor: (Lsun/jvm/hotspot/debugger/Address;)Lsun/jvm/hotspot/runtime/VMObject;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=4, args_size=2
start local 0 start local 1 0: aload 1
ifnonnull 2
1: aconst_null
areturn
2: StackMap locals:
StackMap stack:
aload 0
getfield sun.jvm.hotspot.runtime.VirtualConstructor.map:Ljava/util/Map;
invokeinterface java.util.Map.keySet:()Ljava/util/Set;
invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
astore 2
start local 2 3: goto 7
4: StackMap locals: java.util.Iterator
StackMap stack:
aload 2
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.lang.String
astore 3
start local 3 5: aload 0
getfield sun.jvm.hotspot.runtime.VirtualConstructor.db:Lsun/jvm/hotspot/types/TypeDataBase;
aload 1
aload 0
getfield sun.jvm.hotspot.runtime.VirtualConstructor.db:Lsun/jvm/hotspot/types/TypeDataBase;
aload 3
invokeinterface sun.jvm.hotspot.types.TypeDataBase.lookupType:(Ljava/lang/String;)Lsun/jvm/hotspot/types/Type;
invokeinterface sun.jvm.hotspot.types.TypeDataBase.addressTypeIsEqualToType:(Lsun/jvm/hotspot/debugger/Address;Lsun/jvm/hotspot/types/Type;)Z
ifeq 7
6: aload 0
getfield sun.jvm.hotspot.runtime.VirtualConstructor.map:Ljava/util/Map;
aload 3
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.lang.Class
aload 1
invokestatic sun.jvm.hotspot.runtime.VMObjectFactory.newObject:(Ljava/lang/Class;Lsun/jvm/hotspot/debugger/Address;)Ljava/lang/Object;
checkcast sun.jvm.hotspot.runtime.VMObject
areturn
end local 3 7: StackMap locals:
StackMap stack:
aload 2
invokeinterface java.util.Iterator.hasNext:()Z
ifne 4
end local 2 8: aload 0
aload 1
invokevirtual sun.jvm.hotspot.runtime.VirtualConstructor.newWrongTypeException:(Lsun/jvm/hotspot/debugger/Address;)Lsun/jvm/hotspot/types/WrongTypeException;
athrow
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lsun/jvm/hotspot/runtime/VirtualConstructor;
0 9 1 addr Lsun/jvm/hotspot/debugger/Address;
3 8 2 iter Ljava/util/Iterator<Ljava/lang/String;>;
5 7 3 typeName Ljava/lang/String;
Exceptions:
throws sun.jvm.hotspot.types.WrongTypeException
MethodParameters:
Name Flags
addr
public java.lang.Object instantiateWrapperFor(sun.jvm.hotspot.debugger.Address);
descriptor: (Lsun/jvm/hotspot/debugger/Address;)Ljava/lang/Object;
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=2, locals=2, args_size=2
0: aload 0
aload 1
invokevirtual sun.jvm.hotspot.runtime.VirtualConstructor.instantiateWrapperFor:(Lsun/jvm/hotspot/debugger/Address;)Lsun/jvm/hotspot/runtime/VMObject;
areturn
LocalVariableTable:
Start End Slot Name Signature
Exceptions:
throws sun.jvm.hotspot.types.WrongTypeException
}
Signature: Lsun/jvm/hotspot/runtime/InstanceConstructor<Lsun/jvm/hotspot/runtime/VMObject;>;
SourceFile: "VirtualConstructor.java"