public class org.hibernate.event.internal.WrapVisitor extends org.hibernate.event.internal.ProxyVisitor
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.hibernate.event.internal.WrapVisitor
super_class: org.hibernate.event.internal.ProxyVisitor
{
private static final org.hibernate.internal.CoreMessageLogger LOG;
descriptor: Lorg/hibernate/internal/CoreMessageLogger;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
boolean substitute;
descriptor: Z
flags: (0x0000)
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: ldc Lorg/hibernate/event/internal/WrapVisitor;
invokestatic org.hibernate.internal.CoreLogging.messageLogger:(Ljava/lang/Class;)Lorg/hibernate/internal/CoreMessageLogger;
putstatic org.hibernate.event.internal.WrapVisitor.LOG:Lorg/hibernate/internal/CoreMessageLogger;
return
LocalVariableTable:
Start End Slot Name Signature
boolean isSubstitutionRequired();
descriptor: ()Z
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.hibernate.event.internal.WrapVisitor.substitute:Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/hibernate/event/internal/WrapVisitor;
void <init>(org.hibernate.event.spi.EventSource);
descriptor: (Lorg/hibernate/event/spi/EventSource;)V
flags: (0x0000)
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokespecial org.hibernate.event.internal.ProxyVisitor.<init>:(Lorg/hibernate/event/spi/EventSource;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/hibernate/event/internal/WrapVisitor;
0 2 1 session Lorg/hibernate/event/spi/EventSource;
MethodParameters:
Name Flags
session
java.lang.Object processCollection(java.lang.Object, org.hibernate.type.CollectionType);
descriptor: (Ljava/lang/Object;Lorg/hibernate/type/CollectionType;)Ljava/lang/Object;
flags: (0x0000)
Code:
stack=3, locals=5, args_size=3
start local 0 start local 1 start local 2 0: aload 1
ifnull 6
aload 1
instanceof org.hibernate.collection.spi.PersistentCollection
ifeq 6
1: aload 0
invokevirtual org.hibernate.event.internal.WrapVisitor.getSession:()Lorg/hibernate/event/spi/EventSource;
astore 3
start local 3 2: aload 1
checkcast org.hibernate.collection.spi.PersistentCollection
astore 4
start local 4 3: aload 4
aload 3
invokeinterface org.hibernate.collection.spi.PersistentCollection.setCurrentSession:(Lorg/hibernate/engine/spi/SharedSessionContractImplementor;)Z
ifeq 5
4: aload 0
aload 4
aload 2
invokevirtual org.hibernate.event.internal.WrapVisitor.reattachCollection:(Lorg/hibernate/collection/spi/PersistentCollection;Lorg/hibernate/type/CollectionType;)V
5: StackMap locals: org.hibernate.engine.spi.SessionImplementor org.hibernate.collection.spi.PersistentCollection
StackMap stack:
aconst_null
areturn
end local 4 end local 3 6: StackMap locals:
StackMap stack:
aload 0
aload 1
aload 2
invokevirtual org.hibernate.event.internal.WrapVisitor.processArrayOrNewCollection:(Ljava/lang/Object;Lorg/hibernate/type/CollectionType;)Ljava/lang/Object;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lorg/hibernate/event/internal/WrapVisitor;
0 7 1 collection Ljava/lang/Object;
0 7 2 collectionType Lorg/hibernate/type/CollectionType;
2 6 3 session Lorg/hibernate/engine/spi/SessionImplementor;
3 6 4 coll Lorg/hibernate/collection/spi/PersistentCollection;
Exceptions:
throws org.hibernate.HibernateException
MethodParameters:
Name Flags
collection
collectionType
final java.lang.Object processArrayOrNewCollection(java.lang.Object, org.hibernate.type.CollectionType);
descriptor: (Ljava/lang/Object;Lorg/hibernate/type/CollectionType;)Ljava/lang/Object;
flags: (0x0010) ACC_FINAL
Code:
stack=3, locals=7, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokevirtual org.hibernate.event.internal.WrapVisitor.getSession:()Lorg/hibernate/event/spi/EventSource;
astore 3
start local 3 1: aload 1
ifnonnull 3
2: aconst_null
areturn
3: StackMap locals: org.hibernate.engine.spi.SessionImplementor
StackMap stack:
aload 3
invokeinterface org.hibernate.engine.spi.SessionImplementor.getFactory:()Lorg/hibernate/engine/spi/SessionFactoryImplementor;
aload 2
invokevirtual org.hibernate.type.CollectionType.getRole:()Ljava/lang/String;
invokeinterface org.hibernate.engine.spi.SessionFactoryImplementor.getCollectionPersister:(Ljava/lang/String;)Lorg/hibernate/persister/collection/CollectionPersister;
astore 4
start local 4 4: aload 3
invokeinterface org.hibernate.engine.spi.SessionImplementor.getPersistenceContext:()Lorg/hibernate/engine/spi/PersistenceContext;
astore 5
start local 5 5: aload 2
invokevirtual org.hibernate.type.CollectionType.hasHolder:()Z
ifeq 14
6: aload 1
getstatic org.hibernate.type.CollectionType.UNFETCHED_COLLECTION:Ljava/lang/Object;
if_acmpne 8
7: aconst_null
areturn
8: StackMap locals: org.hibernate.persister.collection.CollectionPersister org.hibernate.engine.spi.PersistenceContext
StackMap stack:
aload 5
aload 1
invokeinterface org.hibernate.engine.spi.PersistenceContext.getCollectionHolder:(Ljava/lang/Object;)Lorg/hibernate/collection/spi/PersistentCollection;
astore 6
start local 6 9: aload 6
ifnonnull 13
10: aload 2
aload 3
aload 1
invokevirtual org.hibernate.type.CollectionType.wrap:(Lorg/hibernate/engine/spi/SharedSessionContractImplementor;Ljava/lang/Object;)Lorg/hibernate/collection/spi/PersistentCollection;
astore 6
11: aload 5
aload 4
aload 6
invokeinterface org.hibernate.engine.spi.PersistenceContext.addNewCollection:(Lorg/hibernate/persister/collection/CollectionPersister;Lorg/hibernate/collection/spi/PersistentCollection;)V
12: aload 5
aload 6
invokeinterface org.hibernate.engine.spi.PersistenceContext.addCollectionHolder:(Lorg/hibernate/collection/spi/PersistentCollection;)V
13: StackMap locals: org.hibernate.collection.spi.PersistentCollection
StackMap stack:
aconst_null
areturn
end local 6 14: StackMap locals:
StackMap stack:
aload 2
aload 3
aload 1
invokevirtual org.hibernate.type.CollectionType.wrap:(Lorg/hibernate/engine/spi/SharedSessionContractImplementor;Ljava/lang/Object;)Lorg/hibernate/collection/spi/PersistentCollection;
astore 6
start local 6 15: aload 5
aload 4
aload 6
invokeinterface org.hibernate.engine.spi.PersistenceContext.addNewCollection:(Lorg/hibernate/persister/collection/CollectionPersister;Lorg/hibernate/collection/spi/PersistentCollection;)V
16: getstatic org.hibernate.event.internal.WrapVisitor.LOG:Lorg/hibernate/internal/CoreMessageLogger;
invokeinterface org.hibernate.internal.CoreMessageLogger.isTraceEnabled:()Z
ifeq 18
17: getstatic org.hibernate.event.internal.WrapVisitor.LOG:Lorg/hibernate/internal/CoreMessageLogger;
ldc "Wrapped collection in role: {0}"
aload 2
invokevirtual org.hibernate.type.CollectionType.getRole:()Ljava/lang/String;
invokeinterface org.hibernate.internal.CoreMessageLogger.tracev:(Ljava/lang/String;Ljava/lang/Object;)V
18: StackMap locals: org.hibernate.collection.spi.PersistentCollection
StackMap stack:
aload 6
areturn
end local 6 end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 19 0 this Lorg/hibernate/event/internal/WrapVisitor;
0 19 1 collection Ljava/lang/Object;
0 19 2 collectionType Lorg/hibernate/type/CollectionType;
1 19 3 session Lorg/hibernate/engine/spi/SessionImplementor;
4 19 4 persister Lorg/hibernate/persister/collection/CollectionPersister;
5 19 5 persistenceContext Lorg/hibernate/engine/spi/PersistenceContext;
9 14 6 ah Lorg/hibernate/collection/spi/PersistentCollection;
15 19 6 persistentCollection Lorg/hibernate/collection/spi/PersistentCollection;
Exceptions:
throws org.hibernate.HibernateException
MethodParameters:
Name Flags
collection
collectionType
void processValue(int, java.lang.Object[], org.hibernate.type.Type[]);
descriptor: (I[Ljava/lang/Object;[Lorg/hibernate/type/Type;)V
flags: (0x0000)
Code:
stack=4, locals=5, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
aload 2
iload 1
aaload
aload 3
iload 1
aaload
invokevirtual org.hibernate.event.internal.WrapVisitor.processValue:(Ljava/lang/Object;Lorg/hibernate/type/Type;)Ljava/lang/Object;
astore 4
start local 4 1: aload 4
ifnull 4
2: aload 0
iconst_1
putfield org.hibernate.event.internal.WrapVisitor.substitute:Z
3: aload 2
iload 1
aload 4
aastore
4: StackMap locals: java.lang.Object
StackMap stack:
return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/hibernate/event/internal/WrapVisitor;
0 5 1 i I
0 5 2 values [Ljava/lang/Object;
0 5 3 types [Lorg/hibernate/type/Type;
1 5 4 result Ljava/lang/Object;
MethodParameters:
Name Flags
i
values
types
java.lang.Object processComponent(java.lang.Object, org.hibernate.type.CompositeType);
descriptor: (Ljava/lang/Object;Lorg/hibernate/type/CompositeType;)Ljava/lang/Object;
flags: (0x0000)
Code:
stack=4, locals=8, args_size=3
start local 0 start local 1 start local 2 0: aload 1
ifnull 14
1: aload 2
aload 1
aload 0
invokevirtual org.hibernate.event.internal.WrapVisitor.getSession:()Lorg/hibernate/event/spi/EventSource;
invokeinterface org.hibernate.type.CompositeType.getPropertyValues:(Ljava/lang/Object;Lorg/hibernate/engine/spi/SharedSessionContractImplementor;)[Ljava/lang/Object;
astore 3
start local 3 2: aload 2
invokeinterface org.hibernate.type.CompositeType.getSubtypes:()[Lorg/hibernate/type/Type;
astore 4
start local 4 3: iconst_0
istore 5
start local 5 4: iconst_0
istore 6
start local 6 5: goto 11
6: StackMap locals: org.hibernate.event.internal.WrapVisitor java.lang.Object org.hibernate.type.CompositeType java.lang.Object[] org.hibernate.type.Type[] int int
StackMap stack:
aload 0
aload 3
iload 6
aaload
aload 4
iload 6
aaload
invokevirtual org.hibernate.event.internal.WrapVisitor.processValue:(Ljava/lang/Object;Lorg/hibernate/type/Type;)Ljava/lang/Object;
astore 7
start local 7 7: aload 7
ifnull 10
8: aload 3
iload 6
aload 7
aastore
9: iconst_1
istore 5
end local 7 10: StackMap locals:
StackMap stack:
iinc 6 1
StackMap locals:
StackMap stack:
11: iload 6
aload 4
arraylength
if_icmplt 6
end local 6 12: iload 5
ifeq 14
13: aload 2
aload 1
aload 3
getstatic org.hibernate.EntityMode.POJO:Lorg/hibernate/EntityMode;
invokeinterface org.hibernate.type.CompositeType.setPropertyValues:(Ljava/lang/Object;[Ljava/lang/Object;Lorg/hibernate/EntityMode;)V
end local 5 end local 4 end local 3 14: StackMap locals: org.hibernate.event.internal.WrapVisitor java.lang.Object org.hibernate.type.CompositeType
StackMap stack:
aconst_null
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 15 0 this Lorg/hibernate/event/internal/WrapVisitor;
0 15 1 component Ljava/lang/Object;
0 15 2 componentType Lorg/hibernate/type/CompositeType;
2 14 3 values [Ljava/lang/Object;
3 14 4 types [Lorg/hibernate/type/Type;
4 14 5 substituteComponent Z
5 12 6 i I
7 10 7 result Ljava/lang/Object;
Exceptions:
throws org.hibernate.HibernateException
MethodParameters:
Name Flags
component
componentType
void process(java.lang.Object, org.hibernate.persister.entity.EntityPersister);
descriptor: (Ljava/lang/Object;Lorg/hibernate/persister/entity/EntityPersister;)V
flags: (0x0000)
Code:
stack=3, locals=5, args_size=3
start local 0 start local 1 start local 2 0: aload 2
aload 1
invokeinterface org.hibernate.persister.entity.EntityPersister.getPropertyValues:(Ljava/lang/Object;)[Ljava/lang/Object;
astore 3
start local 3 1: aload 2
invokeinterface org.hibernate.persister.entity.EntityPersister.getPropertyTypes:()[Lorg/hibernate/type/Type;
astore 4
start local 4 2: aload 0
aload 3
aload 4
invokevirtual org.hibernate.event.internal.WrapVisitor.processEntityPropertyValues:([Ljava/lang/Object;[Lorg/hibernate/type/Type;)V
3: aload 0
invokevirtual org.hibernate.event.internal.WrapVisitor.isSubstitutionRequired:()Z
ifeq 5
4: aload 2
aload 1
aload 3
invokeinterface org.hibernate.persister.entity.EntityPersister.setPropertyValues:(Ljava/lang/Object;[Ljava/lang/Object;)V
5: StackMap locals: java.lang.Object[] org.hibernate.type.Type[]
StackMap stack:
return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/hibernate/event/internal/WrapVisitor;
0 6 1 object Ljava/lang/Object;
0 6 2 persister Lorg/hibernate/persister/entity/EntityPersister;
1 6 3 values [Ljava/lang/Object;
2 6 4 types [Lorg/hibernate/type/Type;
Exceptions:
throws org.hibernate.HibernateException
MethodParameters:
Name Flags
object
persister
}
SourceFile: "WrapVisitor.java"