class org.hibernate.engine.internal.NaturalIdXrefDelegate$NaturalIdResolutionCache implements java.io.Serializable
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: org.hibernate.engine.internal.NaturalIdXrefDelegate$NaturalIdResolutionCache
super_class: java.lang.Object
{
private final org.hibernate.persister.entity.EntityPersister persister;
descriptor: Lorg/hibernate/persister/entity/EntityPersister;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final org.hibernate.type.Type[] naturalIdTypes;
descriptor: [Lorg/hibernate/type/Type;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private java.util.Map<java.io.Serializable, org.hibernate.engine.internal.NaturalIdXrefDelegate$CachedNaturalId> pkToNaturalIdMap;
descriptor: Ljava/util/Map;
flags: (0x0002) ACC_PRIVATE
Signature: Ljava/util/Map<Ljava/io/Serializable;Lorg/hibernate/engine/internal/NaturalIdXrefDelegate$CachedNaturalId;>;
private java.util.Map<org.hibernate.engine.internal.NaturalIdXrefDelegate$CachedNaturalId, java.io.Serializable> naturalIdToPkMap;
descriptor: Ljava/util/Map;
flags: (0x0002) ACC_PRIVATE
Signature: Ljava/util/Map<Lorg/hibernate/engine/internal/NaturalIdXrefDelegate$CachedNaturalId;Ljava/io/Serializable;>;
private java.util.List<org.hibernate.engine.internal.NaturalIdXrefDelegate$CachedNaturalId> invalidNaturalIdList;
descriptor: Ljava/util/List;
flags: (0x0002) ACC_PRIVATE
Signature: Ljava/util/List<Lorg/hibernate/engine/internal/NaturalIdXrefDelegate$CachedNaturalId;>;
private void <init>(org.hibernate.persister.entity.EntityPersister);
descriptor: (Lorg/hibernate/persister/entity/EntityPersister;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=8, args_size=2
start local 0 start local 1 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
new java.util.concurrent.ConcurrentHashMap
dup
invokespecial java.util.concurrent.ConcurrentHashMap.<init>:()V
putfield org.hibernate.engine.internal.NaturalIdXrefDelegate$NaturalIdResolutionCache.pkToNaturalIdMap:Ljava/util/Map;
2: aload 0
new java.util.concurrent.ConcurrentHashMap
dup
invokespecial java.util.concurrent.ConcurrentHashMap.<init>:()V
putfield org.hibernate.engine.internal.NaturalIdXrefDelegate$NaturalIdResolutionCache.naturalIdToPkMap:Ljava/util/Map;
3: aload 0
aload 1
putfield org.hibernate.engine.internal.NaturalIdXrefDelegate$NaturalIdResolutionCache.persister:Lorg/hibernate/persister/entity/EntityPersister;
4: aload 1
invokeinterface org.hibernate.persister.entity.EntityPersister.getNaturalIdentifierProperties:()[I
astore 2
start local 2 5: aload 0
aload 2
arraylength
anewarray org.hibernate.type.Type
putfield org.hibernate.engine.internal.NaturalIdXrefDelegate$NaturalIdResolutionCache.naturalIdTypes:[Lorg/hibernate/type/Type;
6: iconst_0
istore 3
start local 3 7: aload 2
dup
astore 7
arraylength
istore 6
iconst_0
istore 5
goto 11
StackMap locals: org.hibernate.engine.internal.NaturalIdXrefDelegate$NaturalIdResolutionCache org.hibernate.persister.entity.EntityPersister int[] int top int int int[]
StackMap stack:
8: aload 7
iload 5
iaload
istore 4
start local 4 9: aload 0
getfield org.hibernate.engine.internal.NaturalIdXrefDelegate$NaturalIdResolutionCache.naturalIdTypes:[Lorg/hibernate/type/Type;
iload 3
iinc 3 1
aload 1
aload 1
invokeinterface org.hibernate.persister.entity.EntityPersister.getPropertyNames:()[Ljava/lang/String;
iload 4
aaload
invokeinterface org.hibernate.persister.entity.EntityPersister.getPropertyType:(Ljava/lang/String;)Lorg/hibernate/type/Type;
aastore
end local 4 10: iinc 5 1
StackMap locals:
StackMap stack:
11: iload 5
iload 6
if_icmplt 8
12: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 this Lorg/hibernate/engine/internal/NaturalIdXrefDelegate$NaturalIdResolutionCache;
0 13 1 persister Lorg/hibernate/persister/entity/EntityPersister;
5 13 2 naturalIdPropertyIndexes [I
7 13 3 i I
9 10 4 naturalIdPropertyIndex I
MethodParameters:
Name Flags
persister
public org.hibernate.persister.entity.EntityPersister getPersister();
descriptor: ()Lorg/hibernate/persister/entity/EntityPersister;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.hibernate.engine.internal.NaturalIdXrefDelegate$NaturalIdResolutionCache.persister:Lorg/hibernate/persister/entity/EntityPersister;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/hibernate/engine/internal/NaturalIdXrefDelegate$NaturalIdResolutionCache;
public boolean sameAsCached(java.io.Serializable, java.lang.Object[]);
descriptor: (Ljava/io/Serializable;[Ljava/lang/Object;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 1
ifnonnull 2
1: iconst_0
ireturn
2: StackMap locals:
StackMap stack:
aload 0
getfield org.hibernate.engine.internal.NaturalIdXrefDelegate$NaturalIdResolutionCache.pkToNaturalIdMap:Ljava/util/Map;
aload 1
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast org.hibernate.engine.internal.NaturalIdXrefDelegate$CachedNaturalId
astore 3
start local 3 3: aload 3
ifnull 6
4: aload 3
aload 2
invokevirtual org.hibernate.engine.internal.NaturalIdXrefDelegate$CachedNaturalId.isSame:([Ljava/lang/Object;)Z
ifeq 6
5: iconst_1
ireturn
6: StackMap locals: org.hibernate.engine.internal.NaturalIdXrefDelegate$CachedNaturalId
StackMap stack:
iconst_0
ireturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lorg/hibernate/engine/internal/NaturalIdXrefDelegate$NaturalIdResolutionCache;
0 7 1 pk Ljava/io/Serializable;
0 7 2 naturalIdValues [Ljava/lang/Object;
3 7 3 initial Lorg/hibernate/engine/internal/NaturalIdXrefDelegate$CachedNaturalId;
MethodParameters:
Name Flags
pk
naturalIdValues
public boolean cache(java.io.Serializable, java.lang.Object[]);
descriptor: (Ljava/io/Serializable;[Ljava/lang/Object;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=5, args_size=3
start local 0 start local 1 start local 2 0: aload 1
ifnonnull 2
1: iconst_0
ireturn
2: StackMap locals:
StackMap stack:
aload 0
getfield org.hibernate.engine.internal.NaturalIdXrefDelegate$NaturalIdResolutionCache.pkToNaturalIdMap:Ljava/util/Map;
aload 1
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast org.hibernate.engine.internal.NaturalIdXrefDelegate$CachedNaturalId
astore 3
start local 3 3: aload 3
ifnull 7
4: aload 3
aload 2
invokevirtual org.hibernate.engine.internal.NaturalIdXrefDelegate$CachedNaturalId.isSame:([Ljava/lang/Object;)Z
ifeq 6
5: iconst_0
ireturn
6: StackMap locals: org.hibernate.engine.internal.NaturalIdXrefDelegate$CachedNaturalId
StackMap stack:
aload 0
getfield org.hibernate.engine.internal.NaturalIdXrefDelegate$NaturalIdResolutionCache.naturalIdToPkMap:Ljava/util/Map;
aload 3
invokeinterface java.util.Map.remove:(Ljava/lang/Object;)Ljava/lang/Object;
pop
7: StackMap locals:
StackMap stack:
new org.hibernate.engine.internal.NaturalIdXrefDelegate$CachedNaturalId
dup
aload 0
getfield org.hibernate.engine.internal.NaturalIdXrefDelegate$NaturalIdResolutionCache.persister:Lorg/hibernate/persister/entity/EntityPersister;
aload 2
invokespecial org.hibernate.engine.internal.NaturalIdXrefDelegate$CachedNaturalId.<init>:(Lorg/hibernate/persister/entity/EntityPersister;[Ljava/lang/Object;)V
astore 4
start local 4 8: aload 0
getfield org.hibernate.engine.internal.NaturalIdXrefDelegate$NaturalIdResolutionCache.pkToNaturalIdMap:Ljava/util/Map;
aload 1
aload 4
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
9: aload 0
getfield org.hibernate.engine.internal.NaturalIdXrefDelegate$NaturalIdResolutionCache.naturalIdToPkMap:Ljava/util/Map;
aload 4
aload 1
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
10: iconst_1
ireturn
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/engine/internal/NaturalIdXrefDelegate$NaturalIdResolutionCache;
0 11 1 pk Ljava/io/Serializable;
0 11 2 naturalIdValues [Ljava/lang/Object;
3 11 3 initial Lorg/hibernate/engine/internal/NaturalIdXrefDelegate$CachedNaturalId;
8 11 4 cachedNaturalId Lorg/hibernate/engine/internal/NaturalIdXrefDelegate$CachedNaturalId;
MethodParameters:
Name Flags
pk
naturalIdValues
public void stashInvalidNaturalIdReference(java.lang.Object[]);
descriptor: ([Ljava/lang/Object;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield org.hibernate.engine.internal.NaturalIdXrefDelegate$NaturalIdResolutionCache.invalidNaturalIdList:Ljava/util/List;
ifnonnull 2
1: aload 0
new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
putfield org.hibernate.engine.internal.NaturalIdXrefDelegate$NaturalIdResolutionCache.invalidNaturalIdList:Ljava/util/List;
2: StackMap locals:
StackMap stack:
aload 0
getfield org.hibernate.engine.internal.NaturalIdXrefDelegate$NaturalIdResolutionCache.invalidNaturalIdList:Ljava/util/List;
new org.hibernate.engine.internal.NaturalIdXrefDelegate$CachedNaturalId
dup
aload 0
getfield org.hibernate.engine.internal.NaturalIdXrefDelegate$NaturalIdResolutionCache.persister:Lorg/hibernate/persister/entity/EntityPersister;
aload 1
invokespecial org.hibernate.engine.internal.NaturalIdXrefDelegate$CachedNaturalId.<init>:(Lorg/hibernate/persister/entity/EntityPersister;[Ljava/lang/Object;)V
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
3: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/hibernate/engine/internal/NaturalIdXrefDelegate$NaturalIdResolutionCache;
0 4 1 invalidNaturalIdValues [Ljava/lang/Object;
MethodParameters:
Name Flags
invalidNaturalIdValues
public boolean containsInvalidNaturalIdReference(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 0
getfield org.hibernate.engine.internal.NaturalIdXrefDelegate$NaturalIdResolutionCache.invalidNaturalIdList:Ljava/util/List;
ifnull 3
1: aload 0
getfield org.hibernate.engine.internal.NaturalIdXrefDelegate$NaturalIdResolutionCache.invalidNaturalIdList:Ljava/util/List;
new org.hibernate.engine.internal.NaturalIdXrefDelegate$CachedNaturalId
dup
aload 0
getfield org.hibernate.engine.internal.NaturalIdXrefDelegate$NaturalIdResolutionCache.persister:Lorg/hibernate/persister/entity/EntityPersister;
aload 1
invokespecial org.hibernate.engine.internal.NaturalIdXrefDelegate$CachedNaturalId.<init>:(Lorg/hibernate/persister/entity/EntityPersister;[Ljava/lang/Object;)V
invokeinterface java.util.List.contains:(Ljava/lang/Object;)Z
ifeq 3
2: iconst_1
ireturn
StackMap locals:
StackMap stack:
3: iconst_0
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/hibernate/engine/internal/NaturalIdXrefDelegate$NaturalIdResolutionCache;
0 4 1 naturalIdValues [Ljava/lang/Object;
MethodParameters:
Name Flags
naturalIdValues
public void unStashInvalidNaturalIdReferences();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.hibernate.engine.internal.NaturalIdXrefDelegate$NaturalIdResolutionCache.invalidNaturalIdList:Ljava/util/List;
ifnull 2
1: aload 0
getfield org.hibernate.engine.internal.NaturalIdXrefDelegate$NaturalIdResolutionCache.invalidNaturalIdList:Ljava/util/List;
invokeinterface java.util.List.clear:()V
2: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/hibernate/engine/internal/NaturalIdXrefDelegate$NaturalIdResolutionCache;
}
SourceFile: "NaturalIdXrefDelegate.java"
NestHost: org.hibernate.engine.internal.NaturalIdXrefDelegate
InnerClasses:
private CachedNaturalId = org.hibernate.engine.internal.NaturalIdXrefDelegate$CachedNaturalId of org.hibernate.engine.internal.NaturalIdXrefDelegate
private NaturalIdResolutionCache = org.hibernate.engine.internal.NaturalIdXrefDelegate$NaturalIdResolutionCache of org.hibernate.engine.internal.NaturalIdXrefDelegate