public class org.hibernate.event.internal.EntityCopyNotAllowedObserver implements org.hibernate.event.spi.EntityCopyObserver
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.hibernate.event.internal.EntityCopyNotAllowedObserver
super_class: java.lang.Object
{
public static final java.lang.String SHORT_NAME;
descriptor: Ljava/lang/String;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: "disallow"
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/hibernate/event/internal/EntityCopyNotAllowedObserver;
public void entityCopyDetected(java.lang.Object, java.lang.Object, java.lang.Object, org.hibernate.event.spi.EventSource);
descriptor: (Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;Lorg/hibernate/event/spi/EventSource;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=6, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 2
aload 1
if_acmpne 2
aload 3
aload 1
if_acmpne 2
1: new org.hibernate.AssertionFailure
dup
ldc "entity1 and entity2 are the same as managedEntity; must be different."
invokespecial org.hibernate.AssertionFailure.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
aload 4
aload 1
invokeinterface org.hibernate.event.spi.EventSource.getEntityName:(Ljava/lang/Object;)Ljava/lang/String;
3: aload 4
aload 1
invokeinterface org.hibernate.event.spi.EventSource.getIdentifier:(Ljava/lang/Object;)Ljava/io/Serializable;
4: invokestatic org.hibernate.pretty.MessageHelper.infoString:(Ljava/lang/String;Ljava/io/Serializable;)Ljava/lang/String;
astore 5
start local 5 5: new java.lang.IllegalStateException
dup
6: new java.lang.StringBuilder
dup
ldc "Multiple representations of the same entity "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 5
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc " are being merged. "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
7: aload 0
aload 1
aload 2
invokevirtual org.hibernate.event.internal.EntityCopyNotAllowedObserver.getManagedOrDetachedEntityString:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc "; "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
8: aload 0
aload 1
aload 3
invokevirtual org.hibernate.event.internal.EntityCopyNotAllowedObserver.getManagedOrDetachedEntityString:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
9: invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
10: invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
athrow
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 11 0 this Lorg/hibernate/event/internal/EntityCopyNotAllowedObserver;
0 11 1 managedEntity Ljava/lang/Object;
0 11 2 mergeEntity1 Ljava/lang/Object;
0 11 3 mergeEntity2 Ljava/lang/Object;
0 11 4 session Lorg/hibernate/event/spi/EventSource;
5 11 5 managedEntityString Ljava/lang/String;
MethodParameters:
Name Flags
managedEntity
mergeEntity1
mergeEntity2
session
private java.lang.String getManagedOrDetachedEntityString(java.lang.Object, java.lang.Object);
descriptor: (Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 2
aload 1
if_acmpne 2
1: new java.lang.StringBuilder
dup
ldc "Managed: ["
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 2
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
ldc "]"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
2: StackMap locals:
StackMap stack:
new java.lang.StringBuilder
dup
ldc "Detached: ["
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 2
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
ldc "]"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/hibernate/event/internal/EntityCopyNotAllowedObserver;
0 3 1 managedEntity Ljava/lang/Object;
0 3 2 entity Ljava/lang/Object;
MethodParameters:
Name Flags
managedEntity
entity
public void clear();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=0, locals=1, args_size=1
start local 0 0: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/hibernate/event/internal/EntityCopyNotAllowedObserver;
public void topLevelMergeComplete(org.hibernate.event.spi.EventSource);
descriptor: (Lorg/hibernate/event/spi/EventSource;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=0, locals=2, args_size=2
start local 0 start local 1 0: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/hibernate/event/internal/EntityCopyNotAllowedObserver;
0 1 1 session Lorg/hibernate/event/spi/EventSource;
MethodParameters:
Name Flags
session
}
SourceFile: "EntityCopyNotAllowedObserver.java"