public class org.hibernate.event.internal.EntityCopyAllowedLoggedObserver extends org.hibernate.event.internal.EntityCopyAllowedObserver
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.hibernate.event.internal.EntityCopyAllowedLoggedObserver
super_class: org.hibernate.event.internal.EntityCopyAllowedObserver
{
private static final org.hibernate.internal.CoreMessageLogger LOG;
descriptor: Lorg/hibernate/internal/CoreMessageLogger;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
public static final java.lang.String SHORT_NAME;
descriptor: Ljava/lang/String;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: "log"
private java.util.Map<java.lang.String, java.lang.Integer> countsByEntityName;
descriptor: Ljava/util/Map;
flags: (0x0002) ACC_PRIVATE
Signature: Ljava/util/Map<Ljava/lang/String;Ljava/lang/Integer;>;
private java.util.Map<java.lang.Object, java.util.Set<java.lang.Object>> managedToMergeEntitiesXref;
descriptor: Ljava/util/Map;
flags: (0x0002) ACC_PRIVATE
Signature: Ljava/util/Map<Ljava/lang/Object;Ljava/util/Set<Ljava/lang/Object;>;>;
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: ldc Lorg/hibernate/event/internal/EntityCopyAllowedLoggedObserver;
invokestatic org.hibernate.internal.CoreLogging.messageLogger:(Ljava/lang/Class;)Lorg/hibernate/internal/CoreMessageLogger;
putstatic org.hibernate.event.internal.EntityCopyAllowedLoggedObserver.LOG:Lorg/hibernate/internal/CoreMessageLogger;
1: return
LocalVariableTable:
Start End Slot Name Signature
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokespecial org.hibernate.event.internal.EntityCopyAllowedObserver.<init>:()V
1: aload 0
aconst_null
putfield org.hibernate.event.internal.EntityCopyAllowedLoggedObserver.managedToMergeEntitiesXref:Ljava/util/Map;
2: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/hibernate/event/internal/EntityCopyAllowedLoggedObserver;
public static boolean isDebugLoggingEnabled();
descriptor: ()Z
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: getstatic org.hibernate.event.internal.EntityCopyAllowedLoggedObserver.LOG:Lorg/hibernate/internal/CoreMessageLogger;
invokeinterface org.hibernate.internal.CoreMessageLogger.isDebugEnabled:()Z
ireturn
LocalVariableTable:
Start End Slot Name Signature
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=8, locals=7, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 4
aload 1
invokeinterface org.hibernate.event.spi.EventSource.getEntityName:(Ljava/lang/Object;)Ljava/lang/String;
astore 5
start local 5 1: getstatic org.hibernate.event.internal.EntityCopyAllowedLoggedObserver.LOG:Lorg/hibernate/internal/CoreMessageLogger;
2: ldc "More than one representation of the same persistent entity being merged for: %s"
iconst_1
anewarray java.lang.Object
dup
iconst_0
3: aload 5
4: aload 4
aload 1
invokeinterface org.hibernate.event.spi.EventSource.getIdentifier:(Ljava/lang/Object;)Ljava/io/Serializable;
5: invokestatic org.hibernate.pretty.MessageHelper.infoString:(Ljava/lang/String;Ljava/io/Serializable;)Ljava/lang/String;
aastore
6: invokestatic java.lang.String.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
7: invokeinterface org.hibernate.internal.CoreMessageLogger.trace:(Ljava/lang/Object;)V
8: aconst_null
astore 6
start local 6 9: aload 0
getfield org.hibernate.event.internal.EntityCopyAllowedLoggedObserver.managedToMergeEntitiesXref:Ljava/util/Map;
ifnonnull 12
10: aload 0
new java.util.IdentityHashMap
dup
invokespecial java.util.IdentityHashMap.<init>:()V
putfield org.hibernate.event.internal.EntityCopyAllowedLoggedObserver.managedToMergeEntitiesXref:Ljava/util/Map;
11: goto 13
12: StackMap locals: java.lang.String java.util.Set
StackMap stack:
aload 0
getfield org.hibernate.event.internal.EntityCopyAllowedLoggedObserver.managedToMergeEntitiesXref:Ljava/util/Map;
aload 1
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.util.Set
astore 6
13: StackMap locals:
StackMap stack:
aload 6
ifnonnull 17
14: new org.hibernate.internal.util.collections.IdentitySet
dup
invokespecial org.hibernate.internal.util.collections.IdentitySet.<init>:()V
astore 6
15: aload 0
getfield org.hibernate.event.internal.EntityCopyAllowedLoggedObserver.managedToMergeEntitiesXref:Ljava/util/Map;
aload 1
aload 6
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
16: aload 0
aload 5
invokevirtual org.hibernate.event.internal.EntityCopyAllowedLoggedObserver.incrementEntityNameCount:(Ljava/lang/String;)V
17: StackMap locals:
StackMap stack:
aload 6
aload 2
invokeinterface java.util.Set.add:(Ljava/lang/Object;)Z
pop
18: aload 6
aload 3
invokeinterface java.util.Set.add:(Ljava/lang/Object;)Z
pop
19: return
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 20 0 this Lorg/hibernate/event/internal/EntityCopyAllowedLoggedObserver;
0 20 1 managedEntity Ljava/lang/Object;
0 20 2 mergeEntity1 Ljava/lang/Object;
0 20 3 mergeEntity2 Ljava/lang/Object;
0 20 4 session Lorg/hibernate/event/spi/EventSource;
1 20 5 entityName Ljava/lang/String;
9 20 6 detachedEntitiesForManaged Ljava/util/Set<Ljava/lang/Object;>;
MethodParameters:
Name Flags
managedEntity
mergeEntity1
mergeEntity2
session
private void incrementEntityNameCount(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=3, args_size=2
start local 0 start local 1 0: iconst_0
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
astore 2
start local 2 1: aload 0
getfield org.hibernate.event.internal.EntityCopyAllowedLoggedObserver.countsByEntityName:Ljava/util/Map;
ifnonnull 4
2: aload 0
new java.util.TreeMap
dup
invokespecial java.util.TreeMap.<init>:()V
putfield org.hibernate.event.internal.EntityCopyAllowedLoggedObserver.countsByEntityName:Ljava/util/Map;
3: goto 7
4: StackMap locals: java.lang.Integer
StackMap stack:
aload 0
getfield org.hibernate.event.internal.EntityCopyAllowedLoggedObserver.countsByEntityName:Ljava/util/Map;
aload 1
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.lang.Integer
astore 2
5: aload 2
ifnonnull 7
6: iconst_0
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
astore 2
7: StackMap locals:
StackMap stack:
aload 0
getfield org.hibernate.event.internal.EntityCopyAllowedLoggedObserver.countsByEntityName:Ljava/util/Map;
aload 1
aload 2
invokevirtual java.lang.Integer.intValue:()I
iconst_1
iadd
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
8: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lorg/hibernate/event/internal/EntityCopyAllowedLoggedObserver;
0 9 1 entityName Ljava/lang/String;
1 9 2 countBeforeIncrement Ljava/lang/Integer;
MethodParameters:
Name Flags
entityName
public void clear();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield org.hibernate.event.internal.EntityCopyAllowedLoggedObserver.managedToMergeEntitiesXref:Ljava/util/Map;
ifnull 3
1: aload 0
getfield org.hibernate.event.internal.EntityCopyAllowedLoggedObserver.managedToMergeEntitiesXref:Ljava/util/Map;
invokeinterface java.util.Map.clear:()V
2: aload 0
aconst_null
putfield org.hibernate.event.internal.EntityCopyAllowedLoggedObserver.managedToMergeEntitiesXref:Ljava/util/Map;
3: StackMap locals:
StackMap stack:
aload 0
getfield org.hibernate.event.internal.EntityCopyAllowedLoggedObserver.countsByEntityName:Ljava/util/Map;
ifnull 6
4: aload 0
getfield org.hibernate.event.internal.EntityCopyAllowedLoggedObserver.countsByEntityName:Ljava/util/Map;
invokeinterface java.util.Map.clear:()V
5: aload 0
aconst_null
putfield org.hibernate.event.internal.EntityCopyAllowedLoggedObserver.countsByEntityName:Ljava/util/Map;
6: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lorg/hibernate/event/internal/EntityCopyAllowedLoggedObserver;
public void topLevelMergeComplete(org.hibernate.event.spi.EventSource);
descriptor: (Lorg/hibernate/event/spi/EventSource;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=10, args_size=2
start local 0 start local 1 0: aload 0
getfield org.hibernate.event.internal.EntityCopyAllowedLoggedObserver.countsByEntityName:Ljava/util/Map;
ifnull 13
1: aload 0
getfield org.hibernate.event.internal.EntityCopyAllowedLoggedObserver.countsByEntityName:Ljava/util/Map;
invokeinterface java.util.Map.entrySet:()Ljava/util/Set;
invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
astore 3
goto 11
StackMap locals: org.hibernate.event.internal.EntityCopyAllowedLoggedObserver org.hibernate.event.spi.EventSource top java.util.Iterator
StackMap stack:
2: aload 3
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.util.Map$Entry
astore 2
start local 2 3: aload 2
invokeinterface java.util.Map$Entry.getKey:()Ljava/lang/Object;
checkcast java.lang.String
astore 4
start local 4 4: aload 2
invokeinterface java.util.Map$Entry.getValue:()Ljava/lang/Object;
checkcast java.lang.Integer
invokevirtual java.lang.Integer.intValue:()I
istore 5
start local 5 5: getstatic org.hibernate.event.internal.EntityCopyAllowedLoggedObserver.LOG:Lorg/hibernate/internal/CoreMessageLogger;
6: ldc "Summary: number of %s entities with multiple representations merged: %d"
iconst_2
anewarray java.lang.Object
dup
iconst_0
7: aload 4
aastore
dup
iconst_1
8: iload 5
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
9: invokestatic java.lang.String.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
10: invokeinterface org.hibernate.internal.CoreMessageLogger.debug:(Ljava/lang/Object;)V
end local 5 end local 4 end local 2 11: StackMap locals:
StackMap stack:
aload 3
invokeinterface java.util.Iterator.hasNext:()Z
ifne 2
12: goto 14
13: StackMap locals: org.hibernate.event.internal.EntityCopyAllowedLoggedObserver org.hibernate.event.spi.EventSource
StackMap stack:
getstatic org.hibernate.event.internal.EntityCopyAllowedLoggedObserver.LOG:Lorg/hibernate/internal/CoreMessageLogger;
ldc "No entity copies merged."
invokeinterface org.hibernate.internal.CoreMessageLogger.debug:(Ljava/lang/Object;)V
14: StackMap locals:
StackMap stack:
aload 0
getfield org.hibernate.event.internal.EntityCopyAllowedLoggedObserver.managedToMergeEntitiesXref:Ljava/util/Map;
ifnull 40
15: aload 0
getfield org.hibernate.event.internal.EntityCopyAllowedLoggedObserver.managedToMergeEntitiesXref:Ljava/util/Map;
invokeinterface java.util.Map.entrySet:()Ljava/util/Set;
invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
astore 3
goto 39
StackMap locals: org.hibernate.event.internal.EntityCopyAllowedLoggedObserver org.hibernate.event.spi.EventSource top java.util.Iterator
StackMap stack:
16: aload 3
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.util.Map$Entry
astore 2
start local 2 17: aload 2
invokeinterface java.util.Map$Entry.getKey:()Ljava/lang/Object;
astore 4
start local 4 18: aload 2
invokeinterface java.util.Map$Entry.getValue:()Ljava/lang/Object;
checkcast java.util.Set
astore 5
start local 5 19: new java.lang.StringBuilder
dup
ldc "Details: merged "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
20: aload 5
invokeinterface java.util.Set.size:()I
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
21: ldc " representations of the same entity "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
22: aload 1
aload 4
invokeinterface org.hibernate.event.spi.EventSource.getEntityName:(Ljava/lang/Object;)Ljava/lang/String;
23: aload 1
aload 4
invokeinterface org.hibernate.event.spi.EventSource.getIdentifier:(Ljava/lang/Object;)Ljava/io/Serializable;
24: invokestatic org.hibernate.pretty.MessageHelper.infoString:(Ljava/lang/String;Ljava/io/Serializable;)Ljava/lang/String;
25: invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
26: ldc " being merged: "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
27: astore 6
start local 6 28: iconst_1
istore 7
start local 7 29: aload 5
invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
astore 9
goto 36
StackMap locals: org.hibernate.event.internal.EntityCopyAllowedLoggedObserver org.hibernate.event.spi.EventSource java.util.Map$Entry java.util.Iterator java.lang.Object java.util.Set java.lang.StringBuilder int top java.util.Iterator
StackMap stack:
30: aload 9
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
astore 8
start local 8 31: iload 7
ifeq 34
32: iconst_0
istore 7
33: goto 35
34: StackMap locals: org.hibernate.event.internal.EntityCopyAllowedLoggedObserver org.hibernate.event.spi.EventSource java.util.Map$Entry java.util.Iterator java.lang.Object java.util.Set java.lang.StringBuilder int java.lang.Object java.util.Iterator
StackMap stack:
aload 6
ldc ", "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
35: StackMap locals:
StackMap stack:
aload 6
aload 0
aload 4
aload 8
invokevirtual org.hibernate.event.internal.EntityCopyAllowedLoggedObserver.getManagedOrDetachedEntityString:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
end local 8 36: StackMap locals: org.hibernate.event.internal.EntityCopyAllowedLoggedObserver org.hibernate.event.spi.EventSource java.util.Map$Entry java.util.Iterator java.lang.Object java.util.Set java.lang.StringBuilder int top java.util.Iterator
StackMap stack:
aload 9
invokeinterface java.util.Iterator.hasNext:()Z
ifne 30
37: aload 6
ldc "; resulting managed entity: ["
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 4
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
bipush 93
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
pop
38: getstatic org.hibernate.event.internal.EntityCopyAllowedLoggedObserver.LOG:Lorg/hibernate/internal/CoreMessageLogger;
aload 6
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokeinterface org.hibernate.internal.CoreMessageLogger.debug:(Ljava/lang/Object;)V
end local 7 end local 6 end local 5 end local 4 end local 2 39: StackMap locals: org.hibernate.event.internal.EntityCopyAllowedLoggedObserver org.hibernate.event.spi.EventSource top java.util.Iterator
StackMap stack:
aload 3
invokeinterface java.util.Iterator.hasNext:()Z
ifne 16
40: StackMap locals: org.hibernate.event.internal.EntityCopyAllowedLoggedObserver org.hibernate.event.spi.EventSource
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 41 0 this Lorg/hibernate/event/internal/EntityCopyAllowedLoggedObserver;
0 41 1 session Lorg/hibernate/event/spi/EventSource;
3 11 2 entry Ljava/util/Map$Entry<Ljava/lang/String;Ljava/lang/Integer;>;
4 11 4 entityName Ljava/lang/String;
5 11 5 count I
17 39 2 entry Ljava/util/Map$Entry<Ljava/lang/Object;Ljava/util/Set<Ljava/lang/Object;>;>;
18 39 4 managedEntity Ljava/lang/Object;
19 39 5 mergeEntities Ljava/util/Set;
28 39 6 sb Ljava/lang/StringBuilder;
29 39 7 first Z
31 36 8 mergeEntity Ljava/lang/Object;
MethodParameters:
Name Flags
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/EntityCopyAllowedLoggedObserver;
0 3 1 managedEntity Ljava/lang/Object;
0 3 2 mergeEntity Ljava/lang/Object;
MethodParameters:
Name Flags
managedEntity
mergeEntity
}
SourceFile: "EntityCopyAllowedLoggedObserver.java"
InnerClasses:
public abstract Entry = java.util.Map$Entry of java.util.Map