public class org.hibernate.cache.internal.NaturalIdCacheKey implements java.io.Serializable
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.hibernate.cache.internal.NaturalIdCacheKey
super_class: java.lang.Object
{
private final java.io.Serializable[] naturalIdValues;
descriptor: [Ljava/io/Serializable;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.lang.String entityName;
descriptor: Ljava/lang/String;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.lang.String tenantId;
descriptor: Ljava/lang/String;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final int hashCode;
descriptor: I
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private transient org.hibernate.internal.util.ValueHolder<java.lang.String> toString;
descriptor: Lorg/hibernate/internal/util/ValueHolder;
flags: (0x0082) ACC_PRIVATE, ACC_TRANSIENT
Signature: Lorg/hibernate/internal/util/ValueHolder<Ljava/lang/String;>;
public void <init>(java.lang.Object[], org.hibernate.type.Type[], int[], java.lang.String, org.hibernate.engine.spi.SharedSessionContractImplementor);
descriptor: ([Ljava/lang/Object;[Lorg/hibernate/type/Type;[ILjava/lang/String;Lorg/hibernate/engine/spi/SharedSessionContractImplementor;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=12, args_size=6
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aload 4
putfield org.hibernate.cache.internal.NaturalIdCacheKey.entityName:Ljava/lang/String;
2: aload 0
aload 5
invokeinterface org.hibernate.engine.spi.SharedSessionContractImplementor.getTenantIdentifier:()Ljava/lang/String;
putfield org.hibernate.cache.internal.NaturalIdCacheKey.tenantId:Ljava/lang/String;
3: aload 0
aload 1
arraylength
anewarray java.io.Serializable
putfield org.hibernate.cache.internal.NaturalIdCacheKey.naturalIdValues:[Ljava/io/Serializable;
4: aload 5
invokeinterface org.hibernate.engine.spi.SharedSessionContractImplementor.getFactory:()Lorg/hibernate/engine/spi/SessionFactoryImplementor;
astore 6
start local 6 5: iconst_1
istore 7
start local 7 6: bipush 31
iload 7
imul
aload 0
getfield org.hibernate.cache.internal.NaturalIdCacheKey.entityName:Ljava/lang/String;
ifnonnull 7
iconst_0
goto 8
StackMap locals: org.hibernate.cache.internal.NaturalIdCacheKey java.lang.Object[] org.hibernate.type.Type[] int[] java.lang.String org.hibernate.engine.spi.SharedSessionContractImplementor org.hibernate.engine.spi.SessionFactoryImplementor int
StackMap stack: int
7: aload 0
getfield org.hibernate.cache.internal.NaturalIdCacheKey.entityName:Ljava/lang/String;
invokevirtual java.lang.String.hashCode:()I
StackMap locals: org.hibernate.cache.internal.NaturalIdCacheKey java.lang.Object[] org.hibernate.type.Type[] int[] java.lang.String org.hibernate.engine.spi.SharedSessionContractImplementor org.hibernate.engine.spi.SessionFactoryImplementor int
StackMap stack: int int
8: iadd
istore 7
9: bipush 31
iload 7
imul
aload 0
getfield org.hibernate.cache.internal.NaturalIdCacheKey.tenantId:Ljava/lang/String;
ifnonnull 10
iconst_0
goto 11
StackMap locals:
StackMap stack: int
10: aload 0
getfield org.hibernate.cache.internal.NaturalIdCacheKey.tenantId:Ljava/lang/String;
invokevirtual java.lang.String.hashCode:()I
StackMap locals: org.hibernate.cache.internal.NaturalIdCacheKey java.lang.Object[] org.hibernate.type.Type[] int[] java.lang.String org.hibernate.engine.spi.SharedSessionContractImplementor org.hibernate.engine.spi.SessionFactoryImplementor int
StackMap stack: int int
11: iadd
istore 7
12: iconst_0
istore 8
start local 8 13: goto 25
14: StackMap locals: int
StackMap stack:
aload 3
iload 8
iaload
istore 9
start local 9 15: aload 2
iload 9
aaload
astore 10
start local 10 16: aload 1
iload 8
aaload
astore 11
start local 11 17: bipush 31
iload 7
imul
aload 11
ifnull 18
aload 10
aload 11
aload 6
invokeinterface org.hibernate.type.Type.getHashCode:(Ljava/lang/Object;Lorg/hibernate/engine/spi/SessionFactoryImplementor;)I
goto 19
StackMap locals: org.hibernate.cache.internal.NaturalIdCacheKey java.lang.Object[] org.hibernate.type.Type[] int[] java.lang.String org.hibernate.engine.spi.SharedSessionContractImplementor org.hibernate.engine.spi.SessionFactoryImplementor int int int org.hibernate.type.Type java.lang.Object
StackMap stack: int
18: iconst_0
StackMap locals: org.hibernate.cache.internal.NaturalIdCacheKey java.lang.Object[] org.hibernate.type.Type[] int[] java.lang.String org.hibernate.engine.spi.SharedSessionContractImplementor org.hibernate.engine.spi.SessionFactoryImplementor int int int org.hibernate.type.Type java.lang.Object
StackMap stack: int int
19: iadd
istore 7
20: aload 10
instanceof org.hibernate.type.EntityType
ifeq 23
aload 10
aload 6
invokeinterface org.hibernate.type.Type.getSemiResolvedType:(Lorg/hibernate/engine/spi/SessionFactoryImplementor;)Lorg/hibernate/type/Type;
invokeinterface org.hibernate.type.Type.getReturnedClass:()Ljava/lang/Class;
aload 11
invokevirtual java.lang.Class.isInstance:(Ljava/lang/Object;)Z
ifeq 23
21: aload 0
getfield org.hibernate.cache.internal.NaturalIdCacheKey.naturalIdValues:[Ljava/io/Serializable;
iload 8
aload 11
checkcast java.io.Serializable
aastore
22: goto 24
23: StackMap locals:
StackMap stack:
aload 0
getfield org.hibernate.cache.internal.NaturalIdCacheKey.naturalIdValues:[Ljava/io/Serializable;
iload 8
aload 10
aload 11
aload 5
aconst_null
invokeinterface org.hibernate.type.Type.disassemble:(Ljava/lang/Object;Lorg/hibernate/engine/spi/SharedSessionContractImplementor;Ljava/lang/Object;)Ljava/io/Serializable;
aastore
end local 11 end local 10 end local 9 24: StackMap locals:
StackMap stack:
iinc 8 1
StackMap locals:
StackMap stack:
25: iload 8
aload 1
arraylength
if_icmplt 14
end local 8 26: aload 0
iload 7
putfield org.hibernate.cache.internal.NaturalIdCacheKey.hashCode:I
27: aload 0
invokevirtual org.hibernate.cache.internal.NaturalIdCacheKey.initTransients:()V
28: return
end local 7 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 29 0 this Lorg/hibernate/cache/internal/NaturalIdCacheKey;
0 29 1 naturalIdValues [Ljava/lang/Object;
0 29 2 propertyTypes [Lorg/hibernate/type/Type;
0 29 3 naturalIdPropertyIndexes [I
0 29 4 entityName Ljava/lang/String;
0 29 5 session Lorg/hibernate/engine/spi/SharedSessionContractImplementor;
5 29 6 factory Lorg/hibernate/engine/spi/SessionFactoryImplementor;
6 29 7 result I
13 26 8 i I
15 24 9 naturalIdPropertyIndex I
16 24 10 type Lorg/hibernate/type/Type;
17 24 11 value Ljava/lang/Object;
MethodParameters:
Name Flags
naturalIdValues final
propertyTypes
naturalIdPropertyIndexes
entityName final
session final
private void initTransients();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=6, locals=1, args_size=1
start local 0 0: aload 0
new org.hibernate.internal.util.ValueHolder
dup
1: new org.hibernate.cache.internal.NaturalIdCacheKey$1
dup
aload 0
invokespecial org.hibernate.cache.internal.NaturalIdCacheKey$1.<init>:(Lorg/hibernate/cache/internal/NaturalIdCacheKey;)V
invokespecial org.hibernate.internal.util.ValueHolder.<init>:(Lorg/hibernate/internal/util/ValueHolder$DeferredInitializer;)V
2: putfield org.hibernate.cache.internal.NaturalIdCacheKey.toString:Lorg/hibernate/internal/util/ValueHolder;
3: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/hibernate/cache/internal/NaturalIdCacheKey;
public java.lang.String getEntityName();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.hibernate.cache.internal.NaturalIdCacheKey.entityName:Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/hibernate/cache/internal/NaturalIdCacheKey;
public java.lang.String getTenantId();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.hibernate.cache.internal.NaturalIdCacheKey.tenantId:Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/hibernate/cache/internal/NaturalIdCacheKey;
public java.io.Serializable[] getNaturalIdValues();
descriptor: ()[Ljava/io/Serializable;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.hibernate.cache.internal.NaturalIdCacheKey.naturalIdValues:[Ljava/io/Serializable;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/hibernate/cache/internal/NaturalIdCacheKey;
public java.lang.String toString();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.hibernate.cache.internal.NaturalIdCacheKey.toString:Lorg/hibernate/internal/util/ValueHolder;
invokevirtual org.hibernate.internal.util.ValueHolder.getValue:()Ljava/lang/Object;
checkcast java.lang.String
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/hibernate/cache/internal/NaturalIdCacheKey;
public int hashCode();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.hibernate.cache.internal.NaturalIdCacheKey.hashCode:I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/hibernate/cache/internal/NaturalIdCacheKey;
public boolean equals(java.lang.Object);
descriptor: (Ljava/lang/Object;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 1
ifnonnull 2
1: iconst_0
ireturn
2: StackMap locals:
StackMap stack:
aload 0
aload 1
if_acmpne 4
3: iconst_1
ireturn
4: StackMap locals:
StackMap stack:
aload 0
getfield org.hibernate.cache.internal.NaturalIdCacheKey.hashCode:I
aload 1
invokevirtual java.lang.Object.hashCode:()I
if_icmpne 5
aload 1
instanceof org.hibernate.cache.internal.NaturalIdCacheKey
ifne 6
5: StackMap locals:
StackMap stack:
iconst_0
ireturn
6: StackMap locals:
StackMap stack:
aload 1
checkcast org.hibernate.cache.internal.NaturalIdCacheKey
astore 2
start local 2 7: aload 0
getfield org.hibernate.cache.internal.NaturalIdCacheKey.entityName:Ljava/lang/String;
aload 2
getfield org.hibernate.cache.internal.NaturalIdCacheKey.entityName:Ljava/lang/String;
invokestatic org.hibernate.internal.util.compare.EqualsHelper.equals:(Ljava/lang/Object;Ljava/lang/Object;)Z
ifeq 11
8: aload 0
getfield org.hibernate.cache.internal.NaturalIdCacheKey.tenantId:Ljava/lang/String;
aload 2
getfield org.hibernate.cache.internal.NaturalIdCacheKey.tenantId:Ljava/lang/String;
invokestatic org.hibernate.internal.util.compare.EqualsHelper.equals:(Ljava/lang/Object;Ljava/lang/Object;)Z
ifeq 11
9: aload 0
getfield org.hibernate.cache.internal.NaturalIdCacheKey.naturalIdValues:[Ljava/io/Serializable;
aload 2
getfield org.hibernate.cache.internal.NaturalIdCacheKey.naturalIdValues:[Ljava/io/Serializable;
invokestatic java.util.Arrays.deepEquals:([Ljava/lang/Object;[Ljava/lang/Object;)Z
ifeq 11
10: iconst_1
ireturn
StackMap locals: org.hibernate.cache.internal.NaturalIdCacheKey
StackMap stack:
11: iconst_0
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Lorg/hibernate/cache/internal/NaturalIdCacheKey;
0 12 1 o Ljava/lang/Object;
7 12 2 other Lorg/hibernate/cache/internal/NaturalIdCacheKey;
MethodParameters:
Name Flags
o
private void readObject(java.io.ObjectInputStream);
descriptor: (Ljava/io/ObjectInputStream;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=1, locals=2, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual java.io.ObjectInputStream.defaultReadObject:()V
1: aload 0
invokevirtual org.hibernate.cache.internal.NaturalIdCacheKey.initTransients:()V
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/hibernate/cache/internal/NaturalIdCacheKey;
0 3 1 ois Ljava/io/ObjectInputStream;
Exceptions:
throws java.lang.ClassNotFoundException, java.io.IOException
MethodParameters:
Name Flags
ois
}
SourceFile: "NaturalIdCacheKey.java"
NestMembers:
org.hibernate.cache.internal.NaturalIdCacheKey$1
InnerClasses:
org.hibernate.cache.internal.NaturalIdCacheKey$1
public abstract DeferredInitializer = org.hibernate.internal.util.ValueHolder$DeferredInitializer of org.hibernate.internal.util.ValueHolder