public class org.hibernate.tuple.DynamicMapInstantiator implements org.hibernate.tuple.Instantiator
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.hibernate.tuple.DynamicMapInstantiator
super_class: java.lang.Object
{
public static final java.lang.String KEY;
descriptor: Ljava/lang/String;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: "$type$"
private java.lang.String entityName;
descriptor: Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
private java.util.Set isInstanceEntityNames;
descriptor: Ljava/util/Set;
flags: (0x0002) ACC_PRIVATE
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.HashSet
dup
invokespecial java.util.HashSet.<init>:()V
putfield org.hibernate.tuple.DynamicMapInstantiator.isInstanceEntityNames:Ljava/util/Set;
2: aload 0
aconst_null
putfield org.hibernate.tuple.DynamicMapInstantiator.entityName:Ljava/lang/String;
3: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/hibernate/tuple/DynamicMapInstantiator;
public void <init>(org.hibernate.mapping.PersistentClass);
descriptor: (Lorg/hibernate/mapping/PersistentClass;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=4, args_size=2
start local 0 start local 1 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
new java.util.HashSet
dup
invokespecial java.util.HashSet.<init>:()V
putfield org.hibernate.tuple.DynamicMapInstantiator.isInstanceEntityNames:Ljava/util/Set;
2: aload 0
aload 1
invokevirtual org.hibernate.mapping.PersistentClass.getEntityName:()Ljava/lang/String;
putfield org.hibernate.tuple.DynamicMapInstantiator.entityName:Ljava/lang/String;
3: aload 0
getfield org.hibernate.tuple.DynamicMapInstantiator.isInstanceEntityNames:Ljava/util/Set;
aload 0
getfield org.hibernate.tuple.DynamicMapInstantiator.entityName:Ljava/lang/String;
invokeinterface java.util.Set.add:(Ljava/lang/Object;)Z
pop
4: aload 1
invokevirtual org.hibernate.mapping.PersistentClass.hasSubclasses:()Z
ifeq 10
5: aload 1
invokevirtual org.hibernate.mapping.PersistentClass.getSubclassClosureIterator:()Ljava/util/Iterator;
astore 2
start local 2 6: goto 9
7: StackMap locals: org.hibernate.tuple.DynamicMapInstantiator org.hibernate.mapping.PersistentClass java.util.Iterator
StackMap stack:
aload 2
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.hibernate.mapping.PersistentClass
astore 3
start local 3 8: aload 0
getfield org.hibernate.tuple.DynamicMapInstantiator.isInstanceEntityNames:Ljava/util/Set;
aload 3
invokevirtual org.hibernate.mapping.PersistentClass.getEntityName:()Ljava/lang/String;
invokeinterface java.util.Set.add:(Ljava/lang/Object;)Z
pop
end local 3 9: StackMap locals:
StackMap stack:
aload 2
invokeinterface java.util.Iterator.hasNext:()Z
ifne 7
end local 2 10: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Lorg/hibernate/tuple/DynamicMapInstantiator;
0 11 1 mappingInfo Lorg/hibernate/mapping/PersistentClass;
6 10 2 itr Ljava/util/Iterator;
8 9 3 subclassInfo Lorg/hibernate/mapping/PersistentClass;
MethodParameters:
Name Flags
mappingInfo
public final java.lang.Object instantiate(java.io.Serializable);
descriptor: (Ljava/io/Serializable;)Ljava/lang/Object;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=1, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual org.hibernate.tuple.DynamicMapInstantiator.instantiate:()Ljava/lang/Object;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/hibernate/tuple/DynamicMapInstantiator;
0 1 1 id Ljava/io/Serializable;
MethodParameters:
Name Flags
id
public final java.lang.Object instantiate();
descriptor: ()Ljava/lang/Object;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=3, locals=2, args_size=1
start local 0 0: aload 0
invokevirtual org.hibernate.tuple.DynamicMapInstantiator.generateMap:()Ljava/util/Map;
astore 1
start local 1 1: aload 0
getfield org.hibernate.tuple.DynamicMapInstantiator.entityName:Ljava/lang/String;
ifnull 3
2: aload 1
ldc "$type$"
aload 0
getfield org.hibernate.tuple.DynamicMapInstantiator.entityName:Ljava/lang/String;
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
3: StackMap locals: java.util.Map
StackMap stack:
aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/hibernate/tuple/DynamicMapInstantiator;
1 4 1 map Ljava/util/Map;
public final boolean isInstance(java.lang.Object);
descriptor: (Ljava/lang/Object;)Z
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 1
instanceof java.util.Map
ifeq 6
1: aload 0
getfield org.hibernate.tuple.DynamicMapInstantiator.entityName:Ljava/lang/String;
ifnonnull 3
2: iconst_1
ireturn
3: StackMap locals:
StackMap stack:
aload 1
checkcast java.util.Map
ldc "$type$"
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.lang.String
astore 2
start local 2 4: aload 2
ifnull 5
aload 0
getfield org.hibernate.tuple.DynamicMapInstantiator.isInstanceEntityNames:Ljava/util/Set;
aload 2
invokeinterface java.util.Set.contains:(Ljava/lang/Object;)Z
ifne 5
iconst_0
ireturn
StackMap locals: java.lang.String
StackMap stack:
5: iconst_1
ireturn
end local 2 6: StackMap locals:
StackMap stack:
iconst_0
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lorg/hibernate/tuple/DynamicMapInstantiator;
0 7 1 object Ljava/lang/Object;
4 6 2 type Ljava/lang/String;
MethodParameters:
Name Flags
object
protected java.util.Map generateMap();
descriptor: ()Ljava/util/Map;
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=1, args_size=1
start local 0 0: new java.util.HashMap
dup
invokespecial java.util.HashMap.<init>:()V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/hibernate/tuple/DynamicMapInstantiator;
}
SourceFile: "DynamicMapInstantiator.java"