public abstract class org.hibernate.event.internal.ProxyVisitor extends org.hibernate.event.internal.AbstractVisitor
minor version: 0
major version: 59
flags: flags: (0x0421) ACC_PUBLIC, ACC_SUPER, ACC_ABSTRACT
this_class: org.hibernate.event.internal.ProxyVisitor
super_class: org.hibernate.event.internal.AbstractVisitor
{
public void <init>(org.hibernate.event.spi.EventSource);
descriptor: (Lorg/hibernate/event/spi/EventSource;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokespecial org.hibernate.event.internal.AbstractVisitor.<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/ProxyVisitor;
0 2 1 session Lorg/hibernate/event/spi/EventSource;
MethodParameters:
Name Flags
session
java.lang.Object processEntity(java.lang.Object, org.hibernate.type.EntityType);
descriptor: (Ljava/lang/Object;Lorg/hibernate/type/EntityType;)Ljava/lang/Object;
flags: (0x0000)
Code:
stack=2, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 1
ifnull 2
1: aload 0
invokevirtual org.hibernate.event.internal.ProxyVisitor.getSession:()Lorg/hibernate/event/spi/EventSource;
invokeinterface org.hibernate.event.spi.EventSource.getPersistenceContext:()Lorg/hibernate/engine/spi/PersistenceContext;
aload 1
invokeinterface org.hibernate.engine.spi.PersistenceContext.reassociateIfUninitializedProxy:(Ljava/lang/Object;)Z
pop
2: StackMap locals:
StackMap stack:
aconst_null
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/hibernate/event/internal/ProxyVisitor;
0 3 1 value Ljava/lang/Object;
0 3 2 entityType Lorg/hibernate/type/EntityType;
Exceptions:
throws org.hibernate.HibernateException
MethodParameters:
Name Flags
value
entityType
protected static boolean isOwnerUnchanged(org.hibernate.collection.spi.PersistentCollection, org.hibernate.persister.collection.CollectionPersister, java.io.Serializable);
descriptor: (Lorg/hibernate/collection/spi/PersistentCollection;Lorg/hibernate/persister/collection/CollectionPersister;Ljava/io/Serializable;)Z
flags: (0x000c) ACC_PROTECTED, ACC_STATIC
Code:
stack=2, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokestatic org.hibernate.event.internal.ProxyVisitor.isCollectionSnapshotValid:(Lorg/hibernate/collection/spi/PersistentCollection;)Z
ifeq 4
1: aload 1
invokeinterface org.hibernate.persister.collection.CollectionPersister.getRole:()Ljava/lang/String;
aload 0
invokeinterface org.hibernate.collection.spi.PersistentCollection.getRole:()Ljava/lang/String;
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 4
2: aload 2
aload 0
invokeinterface org.hibernate.collection.spi.PersistentCollection.getKey:()Ljava/io/Serializable;
invokevirtual java.lang.Object.equals:(Ljava/lang/Object;)Z
ifeq 4
3: iconst_1
ireturn
StackMap locals:
StackMap stack:
4: iconst_0
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 snapshot Lorg/hibernate/collection/spi/PersistentCollection;
0 5 1 persister Lorg/hibernate/persister/collection/CollectionPersister;
0 5 2 id Ljava/io/Serializable;
MethodParameters:
Name Flags
snapshot final
persister final
id final
private static boolean isCollectionSnapshotValid(org.hibernate.collection.spi.PersistentCollection);
descriptor: (Lorg/hibernate/collection/spi/PersistentCollection;)Z
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
ifnull 4
1: aload 0
invokeinterface org.hibernate.collection.spi.PersistentCollection.getRole:()Ljava/lang/String;
ifnull 4
2: aload 0
invokeinterface org.hibernate.collection.spi.PersistentCollection.getKey:()Ljava/io/Serializable;
ifnull 4
3: iconst_1
ireturn
StackMap locals:
StackMap stack:
4: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 snapshot Lorg/hibernate/collection/spi/PersistentCollection;
MethodParameters:
Name Flags
snapshot
protected void reattachCollection(org.hibernate.collection.spi.PersistentCollection, org.hibernate.type.CollectionType);
descriptor: (Lorg/hibernate/collection/spi/PersistentCollection;Lorg/hibernate/type/CollectionType;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=3, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 1
invokeinterface org.hibernate.collection.spi.PersistentCollection.wasInitialized:()Z
ifeq 7
1: aload 0
invokevirtual org.hibernate.event.internal.ProxyVisitor.getSession:()Lorg/hibernate/event/spi/EventSource;
invokeinterface org.hibernate.event.spi.EventSource.getFactory:()Lorg/hibernate/engine/spi/SessionFactoryImplementor;
2: 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;
3: astore 3
start local 3 4: aload 0
invokevirtual org.hibernate.event.internal.ProxyVisitor.getSession:()Lorg/hibernate/event/spi/EventSource;
invokeinterface org.hibernate.event.spi.EventSource.getPersistenceContext:()Lorg/hibernate/engine/spi/PersistenceContext;
5: aload 3
aload 1
invokeinterface org.hibernate.engine.spi.PersistenceContext.addInitializedDetachedCollection:(Lorg/hibernate/persister/collection/CollectionPersister;Lorg/hibernate/collection/spi/PersistentCollection;)V
end local 3 6: goto 14
7: StackMap locals:
StackMap stack:
aload 1
invokestatic org.hibernate.event.internal.ProxyVisitor.isCollectionSnapshotValid:(Lorg/hibernate/collection/spi/PersistentCollection;)Z
ifne 9
8: new org.hibernate.HibernateException
dup
ldc "could not reassociate uninitialized transient collection"
invokespecial org.hibernate.HibernateException.<init>:(Ljava/lang/String;)V
athrow
9: StackMap locals:
StackMap stack:
aload 0
invokevirtual org.hibernate.event.internal.ProxyVisitor.getSession:()Lorg/hibernate/event/spi/EventSource;
invokeinterface org.hibernate.event.spi.EventSource.getFactory:()Lorg/hibernate/engine/spi/SessionFactoryImplementor;
10: aload 1
invokeinterface org.hibernate.collection.spi.PersistentCollection.getRole:()Ljava/lang/String;
invokeinterface org.hibernate.engine.spi.SessionFactoryImplementor.getCollectionPersister:(Ljava/lang/String;)Lorg/hibernate/persister/collection/CollectionPersister;
11: astore 3
start local 3 12: aload 0
invokevirtual org.hibernate.event.internal.ProxyVisitor.getSession:()Lorg/hibernate/event/spi/EventSource;
invokeinterface org.hibernate.event.spi.EventSource.getPersistenceContext:()Lorg/hibernate/engine/spi/PersistenceContext;
13: aload 3
aload 1
invokeinterface org.hibernate.engine.spi.PersistenceContext.addUninitializedDetachedCollection:(Lorg/hibernate/persister/collection/CollectionPersister;Lorg/hibernate/collection/spi/PersistentCollection;)V
end local 3 14: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 15 0 this Lorg/hibernate/event/internal/ProxyVisitor;
0 15 1 collection Lorg/hibernate/collection/spi/PersistentCollection;
0 15 2 type Lorg/hibernate/type/CollectionType;
4 6 3 collectionPersister Lorg/hibernate/persister/collection/CollectionPersister;
12 14 3 collectionPersister Lorg/hibernate/persister/collection/CollectionPersister;
Exceptions:
throws org.hibernate.HibernateException
MethodParameters:
Name Flags
collection
type
}
SourceFile: "ProxyVisitor.java"