class org.hibernate.event.internal.MergeContext implements java.util.Map
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: org.hibernate.event.internal.MergeContext
super_class: java.lang.Object
{
private static final org.jboss.logging.Logger LOG;
descriptor: Lorg/jboss/logging/Logger;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private final org.hibernate.event.spi.EventSource session;
descriptor: Lorg/hibernate/event/spi/EventSource;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final org.hibernate.event.spi.EntityCopyObserver entityCopyObserver;
descriptor: Lorg/hibernate/event/spi/EntityCopyObserver;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private java.util.Map<java.lang.Object, java.lang.Object> mergeToManagedEntityXref;
descriptor: Ljava/util/Map;
flags: (0x0002) ACC_PRIVATE
Signature: Ljava/util/Map<Ljava/lang/Object;Ljava/lang/Object;>;
private java.util.Map<java.lang.Object, java.lang.Object> managedToMergeEntityXref;
descriptor: Ljava/util/Map;
flags: (0x0002) ACC_PRIVATE
Signature: Ljava/util/Map<Ljava/lang/Object;Ljava/lang/Object;>;
private java.util.Map<java.lang.Object, java.lang.Boolean> mergeEntityToOperatedOnFlagMap;
descriptor: Ljava/util/Map;
flags: (0x0002) ACC_PRIVATE
Signature: Ljava/util/Map<Ljava/lang/Object;Ljava/lang/Boolean;>;
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: ldc Lorg/hibernate/event/internal/MergeContext;
invokestatic org.jboss.logging.Logger.getLogger:(Ljava/lang/Class;)Lorg/jboss/logging/Logger;
putstatic org.hibernate.event.internal.MergeContext.LOG:Lorg/jboss/logging/Logger;
return
LocalVariableTable:
Start End Slot Name Signature
void <init>(org.hibernate.event.spi.EventSource, org.hibernate.event.spi.EntityCopyObserver);
descriptor: (Lorg/hibernate/event/spi/EventSource;Lorg/hibernate/event/spi/EntityCopyObserver;)V
flags: (0x0000)
Code:
stack=4, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
new java.util.IdentityHashMap
dup
bipush 10
invokespecial java.util.IdentityHashMap.<init>:(I)V
putfield org.hibernate.event.internal.MergeContext.mergeToManagedEntityXref:Ljava/util/Map;
2: aload 0
new java.util.IdentityHashMap
dup
bipush 10
invokespecial java.util.IdentityHashMap.<init>:(I)V
putfield org.hibernate.event.internal.MergeContext.managedToMergeEntityXref:Ljava/util/Map;
3: aload 0
new java.util.IdentityHashMap
dup
bipush 10
invokespecial java.util.IdentityHashMap.<init>:(I)V
putfield org.hibernate.event.internal.MergeContext.mergeEntityToOperatedOnFlagMap:Ljava/util/Map;
4: aload 0
aload 1
putfield org.hibernate.event.internal.MergeContext.session:Lorg/hibernate/event/spi/EventSource;
5: aload 0
aload 2
putfield org.hibernate.event.internal.MergeContext.entityCopyObserver:Lorg/hibernate/event/spi/EntityCopyObserver;
6: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lorg/hibernate/event/internal/MergeContext;
0 7 1 session Lorg/hibernate/event/spi/EventSource;
0 7 2 entityCopyObserver Lorg/hibernate/event/spi/EntityCopyObserver;
MethodParameters:
Name Flags
session
entityCopyObserver
public void clear();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.hibernate.event.internal.MergeContext.mergeToManagedEntityXref:Ljava/util/Map;
invokeinterface java.util.Map.clear:()V
1: aload 0
getfield org.hibernate.event.internal.MergeContext.managedToMergeEntityXref:Ljava/util/Map;
invokeinterface java.util.Map.clear:()V
2: aload 0
getfield org.hibernate.event.internal.MergeContext.mergeEntityToOperatedOnFlagMap:Ljava/util/Map;
invokeinterface java.util.Map.clear:()V
3: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/hibernate/event/internal/MergeContext;
public boolean containsKey(java.lang.Object);
descriptor: (Ljava/lang/Object;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=2, args_size=2
start local 0 start local 1 0: aload 1
ifnonnull 2
1: new java.lang.NullPointerException
dup
new java.lang.StringBuilder
dup
ldc "null entities are not supported by "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
invokevirtual java.lang.Class.getName:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.NullPointerException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
aload 0
getfield org.hibernate.event.internal.MergeContext.mergeToManagedEntityXref:Ljava/util/Map;
aload 1
invokeinterface java.util.Map.containsKey:(Ljava/lang/Object;)Z
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/hibernate/event/internal/MergeContext;
0 3 1 mergeEntity Ljava/lang/Object;
MethodParameters:
Name Flags
mergeEntity
public boolean containsValue(java.lang.Object);
descriptor: (Ljava/lang/Object;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=2, args_size=2
start local 0 start local 1 0: aload 1
ifnonnull 2
1: new java.lang.NullPointerException
dup
new java.lang.StringBuilder
dup
ldc "null copies are not supported by "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
invokevirtual java.lang.Class.getName:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.NullPointerException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
aload 0
getfield org.hibernate.event.internal.MergeContext.managedToMergeEntityXref:Ljava/util/Map;
aload 1
invokeinterface java.util.Map.containsKey:(Ljava/lang/Object;)Z
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/hibernate/event/internal/MergeContext;
0 3 1 managedEntity Ljava/lang/Object;
MethodParameters:
Name Flags
managedEntity
public java.util.Set entrySet();
descriptor: ()Ljava/util/Set;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.hibernate.event.internal.MergeContext.mergeToManagedEntityXref:Ljava/util/Map;
invokeinterface java.util.Map.entrySet:()Ljava/util/Set;
invokestatic java.util.Collections.unmodifiableSet:(Ljava/util/Set;)Ljava/util/Set;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/hibernate/event/internal/MergeContext;
public java.lang.Object get(java.lang.Object);
descriptor: (Ljava/lang/Object;)Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=2, args_size=2
start local 0 start local 1 0: aload 1
ifnonnull 2
1: new java.lang.NullPointerException
dup
new java.lang.StringBuilder
dup
ldc "null entities are not supported by "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
invokevirtual java.lang.Class.getName:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.NullPointerException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
aload 0
getfield org.hibernate.event.internal.MergeContext.mergeToManagedEntityXref:Ljava/util/Map;
aload 1
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/hibernate/event/internal/MergeContext;
0 3 1 mergeEntity Ljava/lang/Object;
MethodParameters:
Name Flags
mergeEntity
public boolean isEmpty();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.hibernate.event.internal.MergeContext.mergeToManagedEntityXref:Ljava/util/Map;
invokeinterface java.util.Map.isEmpty:()Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/hibernate/event/internal/MergeContext;
public java.util.Set keySet();
descriptor: ()Ljava/util/Set;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.hibernate.event.internal.MergeContext.mergeToManagedEntityXref:Ljava/util/Map;
invokeinterface java.util.Map.keySet:()Ljava/util/Set;
invokestatic java.util.Collections.unmodifiableSet:(Ljava/util/Set;)Ljava/util/Set;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/hibernate/event/internal/MergeContext;
public java.lang.Object put(java.lang.Object, java.lang.Object);
descriptor: (Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
aload 2
getstatic java.lang.Boolean.FALSE:Ljava/lang/Boolean;
invokevirtual java.lang.Boolean.booleanValue:()Z
invokevirtual org.hibernate.event.internal.MergeContext.put:(Ljava/lang/Object;Ljava/lang/Object;Z)Ljava/lang/Object;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/hibernate/event/internal/MergeContext;
0 1 1 mergeEntity Ljava/lang/Object;
0 1 2 managedEntity Ljava/lang/Object;
MethodParameters:
Name Flags
mergeEntity
managedEntity
java.lang.Object put(java.lang.Object, java.lang.Object, boolean);
descriptor: (Ljava/lang/Object;Ljava/lang/Object;Z)Ljava/lang/Object;
flags: (0x0000)
Code:
stack=5, locals=7, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 1
ifnull 1
aload 2
ifnonnull 2
1: StackMap locals:
StackMap stack:
new java.lang.NullPointerException
dup
new java.lang.StringBuilder
dup
ldc "null merge and managed entities are not supported by "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
invokevirtual java.lang.Class.getName:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.NullPointerException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
aload 0
getfield org.hibernate.event.internal.MergeContext.mergeToManagedEntityXref:Ljava/util/Map;
aload 1
aload 2
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
astore 4
start local 4 3: aload 0
getfield org.hibernate.event.internal.MergeContext.mergeEntityToOperatedOnFlagMap:Ljava/util/Map;
aload 1
iload 3
invokestatic java.lang.Boolean.valueOf:(Z)Ljava/lang/Boolean;
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.lang.Boolean
astore 5
start local 5 4: aload 0
getfield org.hibernate.event.internal.MergeContext.managedToMergeEntityXref:Ljava/util/Map;
aload 2
aload 1
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
astore 6
start local 6 5: aload 4
ifnonnull 19
6: aload 6
ifnull 13
7: aload 0
getfield org.hibernate.event.internal.MergeContext.entityCopyObserver:Lorg/hibernate/event/spi/EntityCopyObserver;
8: aload 2
9: aload 1
10: aload 6
11: aload 0
getfield org.hibernate.event.internal.MergeContext.session:Lorg/hibernate/event/spi/EventSource;
12: invokeinterface org.hibernate.event.spi.EntityCopyObserver.entityCopyDetected:(Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;Lorg/hibernate/event/spi/EventSource;)V
13: StackMap locals: java.lang.Object java.lang.Boolean java.lang.Object
StackMap stack:
aload 5
ifnull 32
14: new java.lang.IllegalStateException
dup
15: new java.lang.StringBuilder
dup
ldc "MergeContext#mergeEntityToOperatedOnFlagMap contains a merge entity "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
aload 1
invokevirtual org.hibernate.event.internal.MergeContext.printEntity:(Ljava/lang/Object;)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
16: ldc ", but MergeContext#mergeToManagedEntityXref does not."
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
17: invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
18: invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
athrow
19: StackMap locals:
StackMap stack:
aload 4
aload 2
if_acmpeq 26
20: new java.lang.IllegalArgumentException
dup
21: new java.lang.StringBuilder
dup
ldc "Error occurred while storing a merge Entity "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
aload 1
invokevirtual org.hibernate.event.internal.MergeContext.printEntity:(Ljava/lang/Object;)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
22: ldc ". It was previously associated with managed entity "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
aload 4
invokevirtual org.hibernate.event.internal.MergeContext.printEntity:(Ljava/lang/Object;)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
23: ldc ". Attempted to replace managed entity with "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
aload 2
invokevirtual org.hibernate.event.internal.MergeContext.printEntity:(Ljava/lang/Object;)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
24: invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
25: invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
26: StackMap locals:
StackMap stack:
aload 5
ifnonnull 32
27: new java.lang.IllegalStateException
dup
28: new java.lang.StringBuilder
dup
ldc "MergeContext#mergeToManagedEntityXref contained a merge entity "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
aload 1
invokevirtual org.hibernate.event.internal.MergeContext.printEntity:(Ljava/lang/Object;)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
29: ldc ", but MergeContext#mergeEntityToOperatedOnFlagMap did not."
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
30: invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
31: invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
athrow
32: StackMap locals:
StackMap stack:
aload 4
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 33 0 this Lorg/hibernate/event/internal/MergeContext;
0 33 1 mergeEntity Ljava/lang/Object;
0 33 2 managedEntity Ljava/lang/Object;
0 33 3 isOperatedOn Z
3 33 4 oldManagedEntity Ljava/lang/Object;
4 33 5 oldOperatedOn Ljava/lang/Boolean;
5 33 6 oldMergeEntity Ljava/lang/Object;
MethodParameters:
Name Flags
mergeEntity
managedEntity
isOperatedOn
public void putAll(java.util.Map);
descriptor: (Ljava/util/Map;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=5, args_size=2
start local 0 start local 1 0: aload 1
invokeinterface java.util.Map.entrySet:()Ljava/util/Set;
invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
astore 3
goto 4
StackMap locals: org.hibernate.event.internal.MergeContext java.util.Map top java.util.Iterator
StackMap stack:
1: aload 3
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
astore 2
start local 2 2: aload 2
checkcast java.util.Map$Entry
astore 4
start local 4 3: aload 0
aload 4
invokeinterface java.util.Map$Entry.getKey:()Ljava/lang/Object;
aload 4
invokeinterface java.util.Map$Entry.getValue:()Ljava/lang/Object;
invokevirtual org.hibernate.event.internal.MergeContext.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
end local 4 end local 2 4: StackMap locals:
StackMap stack:
aload 3
invokeinterface java.util.Iterator.hasNext:()Z
ifne 1
5: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/hibernate/event/internal/MergeContext;
0 6 1 map Ljava/util/Map;
2 4 2 o Ljava/lang/Object;
3 4 4 entry Ljava/util/Map$Entry;
MethodParameters:
Name Flags
map
public java.lang.Object remove(java.lang.Object);
descriptor: (Ljava/lang/Object;)Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=7, locals=2, args_size=2
start local 0 start local 1 0: new java.lang.UnsupportedOperationException
dup
1: ldc "Operation not supported: %s.remove()"
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 0
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
invokevirtual java.lang.Class.getName:()Ljava/lang/String;
aastore
invokestatic java.lang.String.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
2: invokespecial java.lang.UnsupportedOperationException.<init>:(Ljava/lang/String;)V
athrow
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/hibernate/event/internal/MergeContext;
0 3 1 mergeEntity Ljava/lang/Object;
MethodParameters:
Name Flags
mergeEntity
public int size();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.hibernate.event.internal.MergeContext.mergeToManagedEntityXref:Ljava/util/Map;
invokeinterface java.util.Map.size:()I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/hibernate/event/internal/MergeContext;
public java.util.Collection values();
descriptor: ()Ljava/util/Collection;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.hibernate.event.internal.MergeContext.managedToMergeEntityXref:Ljava/util/Map;
invokeinterface java.util.Map.keySet:()Ljava/util/Set;
invokestatic java.util.Collections.unmodifiableSet:(Ljava/util/Set;)Ljava/util/Set;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/hibernate/event/internal/MergeContext;
public boolean isOperatedOn(java.lang.Object);
descriptor: (Ljava/lang/Object;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=3, args_size=2
start local 0 start local 1 0: aload 1
ifnonnull 2
1: new java.lang.NullPointerException
dup
new java.lang.StringBuilder
dup
ldc "null merge entities are not supported by "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
invokevirtual java.lang.Class.getName:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.NullPointerException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
aload 0
getfield org.hibernate.event.internal.MergeContext.mergeEntityToOperatedOnFlagMap:Ljava/util/Map;
aload 1
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.lang.Boolean
astore 2
start local 2 3: aload 2
ifnonnull 4
iconst_0
goto 5
StackMap locals: java.lang.Boolean
StackMap stack:
4: aload 2
invokevirtual java.lang.Boolean.booleanValue:()Z
StackMap locals:
StackMap stack: int
5: ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/hibernate/event/internal/MergeContext;
0 6 1 mergeEntity Ljava/lang/Object;
3 6 2 isOperatedOn Ljava/lang/Boolean;
MethodParameters:
Name Flags
mergeEntity
void setOperatedOn(java.lang.Object, boolean);
descriptor: (Ljava/lang/Object;Z)V
flags: (0x0000)
Code:
stack=5, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 1
ifnonnull 2
1: new java.lang.NullPointerException
dup
new java.lang.StringBuilder
dup
ldc "null entities are not supported by "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
invokevirtual java.lang.Class.getName:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.NullPointerException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
aload 0
getfield org.hibernate.event.internal.MergeContext.mergeEntityToOperatedOnFlagMap:Ljava/util/Map;
aload 1
invokeinterface java.util.Map.containsKey:(Ljava/lang/Object;)Z
ifeq 4
3: aload 0
getfield org.hibernate.event.internal.MergeContext.mergeToManagedEntityXref:Ljava/util/Map;
aload 1
invokeinterface java.util.Map.containsKey:(Ljava/lang/Object;)Z
ifne 5
4: StackMap locals:
StackMap stack:
new java.lang.IllegalStateException
dup
ldc "called MergeContext#setOperatedOn() for mergeEntity not found in MergeContext"
invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
athrow
5: StackMap locals:
StackMap stack:
aload 0
getfield org.hibernate.event.internal.MergeContext.mergeEntityToOperatedOnFlagMap:Ljava/util/Map;
aload 1
iload 2
invokestatic java.lang.Boolean.valueOf:(Z)Ljava/lang/Boolean;
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
6: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lorg/hibernate/event/internal/MergeContext;
0 7 1 mergeEntity Ljava/lang/Object;
0 7 2 isOperatedOn Z
MethodParameters:
Name Flags
mergeEntity
isOperatedOn
public java.util.Map invertMap();
descriptor: ()Ljava/util/Map;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.hibernate.event.internal.MergeContext.managedToMergeEntityXref:Ljava/util/Map;
invokestatic java.util.Collections.unmodifiableMap:(Ljava/util/Map;)Ljava/util/Map;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/hibernate/event/internal/MergeContext;
private java.lang.String printEntity(java.lang.Object);
descriptor: (Ljava/lang/Object;)Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield org.hibernate.event.internal.MergeContext.session: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.getEntry:(Ljava/lang/Object;)Lorg/hibernate/engine/spi/EntityEntry;
ifnull 2
1: aload 0
getfield org.hibernate.event.internal.MergeContext.session:Lorg/hibernate/event/spi/EventSource;
aload 1
invokeinterface org.hibernate.event.spi.EventSource.getEntityName:(Ljava/lang/Object;)Ljava/lang/String;
aload 0
getfield org.hibernate.event.internal.MergeContext.session:Lorg/hibernate/event/spi/EventSource;
aload 1
invokeinterface org.hibernate.event.spi.EventSource.getIdentifier:(Ljava/lang/Object;)Ljava/io/Serializable;
invokestatic org.hibernate.pretty.MessageHelper.infoString:(Ljava/lang/String;Ljava/io/Serializable;)Ljava/lang/String;
areturn
2: StackMap locals:
StackMap stack:
new java.lang.StringBuilder
dup
ldc "["
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
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 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/hibernate/event/internal/MergeContext;
0 3 1 entity Ljava/lang/Object;
MethodParameters:
Name Flags
entity
}
SourceFile: "MergeContext.java"
InnerClasses:
public abstract Entry = java.util.Map$Entry of java.util.Map