public class org.hibernate.cache.spi.CacheKey implements java.io.Serializable
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.hibernate.cache.spi.CacheKey
super_class: java.lang.Object
{
private final java.io.Serializable key;
descriptor: Ljava/io/Serializable;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final org.hibernate.type.Type type;
descriptor: Lorg/hibernate/type/Type;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.lang.String entityOrRoleName;
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
public void <init>(java.io.Serializable, org.hibernate.type.Type, java.lang.String, java.lang.String, org.hibernate.engine.spi.SessionFactoryImplementor);
descriptor: (Ljava/io/Serializable;Lorg/hibernate/type/Type;Ljava/lang/String;Ljava/lang/String;Lorg/hibernate/engine/spi/SessionFactoryImplementor;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=6, 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 1
putfield org.hibernate.cache.spi.CacheKey.key:Ljava/io/Serializable;
2: aload 0
aload 2
putfield org.hibernate.cache.spi.CacheKey.type:Lorg/hibernate/type/Type;
3: aload 0
aload 3
putfield org.hibernate.cache.spi.CacheKey.entityOrRoleName:Ljava/lang/String;
4: aload 0
aload 4
putfield org.hibernate.cache.spi.CacheKey.tenantId:Ljava/lang/String;
5: aload 0
aload 0
aload 2
aload 5
invokevirtual org.hibernate.cache.spi.CacheKey.calculateHashCode:(Lorg/hibernate/type/Type;Lorg/hibernate/engine/spi/SessionFactoryImplementor;)I
putfield org.hibernate.cache.spi.CacheKey.hashCode:I
6: return
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 7 0 this Lorg/hibernate/cache/spi/CacheKey;
0 7 1 id Ljava/io/Serializable;
0 7 2 type Lorg/hibernate/type/Type;
0 7 3 entityOrRoleName Ljava/lang/String;
0 7 4 tenantId Ljava/lang/String;
0 7 5 factory Lorg/hibernate/engine/spi/SessionFactoryImplementor;
MethodParameters:
Name Flags
id final
type final
entityOrRoleName final
tenantId final
factory final
private int calculateHashCode(org.hibernate.type.Type, org.hibernate.engine.spi.SessionFactoryImplementor);
descriptor: (Lorg/hibernate/type/Type;Lorg/hibernate/engine/spi/SessionFactoryImplementor;)I
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 1
aload 0
getfield org.hibernate.cache.spi.CacheKey.key:Ljava/io/Serializable;
aload 2
invokeinterface org.hibernate.type.Type.getHashCode:(Ljava/lang/Object;Lorg/hibernate/engine/spi/SessionFactoryImplementor;)I
istore 3
start local 3 1: bipush 31
iload 3
imul
aload 0
getfield org.hibernate.cache.spi.CacheKey.tenantId:Ljava/lang/String;
ifnull 2
aload 0
getfield org.hibernate.cache.spi.CacheKey.tenantId:Ljava/lang/String;
invokevirtual java.lang.String.hashCode:()I
goto 3
StackMap locals: org.hibernate.cache.spi.CacheKey org.hibernate.type.Type org.hibernate.engine.spi.SessionFactoryImplementor int
StackMap stack: int
2: iconst_0
StackMap locals: org.hibernate.cache.spi.CacheKey org.hibernate.type.Type org.hibernate.engine.spi.SessionFactoryImplementor int
StackMap stack: int int
3: iadd
istore 3
4: iload 3
ireturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/hibernate/cache/spi/CacheKey;
0 5 1 type Lorg/hibernate/type/Type;
0 5 2 factory Lorg/hibernate/engine/spi/SessionFactoryImplementor;
1 5 3 result I
MethodParameters:
Name Flags
type
factory
public java.io.Serializable getKey();
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.spi.CacheKey.key:Ljava/io/Serializable;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/hibernate/cache/spi/CacheKey;
public java.lang.String getEntityOrRoleName();
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.spi.CacheKey.entityOrRoleName:Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/hibernate/cache/spi/CacheKey;
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.spi.CacheKey.tenantId:Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/hibernate/cache/spi/CacheKey;
public boolean equals(java.lang.Object);
descriptor: (Ljava/lang/Object;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, 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.spi.CacheKey.hashCode:I
aload 1
invokevirtual java.lang.Object.hashCode:()I
if_icmpne 5
aload 1
instanceof org.hibernate.cache.spi.CacheKey
ifne 6
5: StackMap locals:
StackMap stack:
iconst_0
ireturn
6: StackMap locals:
StackMap stack:
aload 1
checkcast org.hibernate.cache.spi.CacheKey
astore 2
start local 2 7: aload 0
getfield org.hibernate.cache.spi.CacheKey.entityOrRoleName:Ljava/lang/String;
aload 2
getfield org.hibernate.cache.spi.CacheKey.entityOrRoleName: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.spi.CacheKey.type:Lorg/hibernate/type/Type;
aload 0
getfield org.hibernate.cache.spi.CacheKey.key:Ljava/io/Serializable;
aload 2
getfield org.hibernate.cache.spi.CacheKey.key:Ljava/io/Serializable;
invokeinterface org.hibernate.type.Type.isEqual:(Ljava/lang/Object;Ljava/lang/Object;)Z
ifeq 11
9: aload 0
getfield org.hibernate.cache.spi.CacheKey.tenantId:Ljava/lang/String;
aload 2
getfield org.hibernate.cache.spi.CacheKey.tenantId:Ljava/lang/String;
invokestatic org.hibernate.internal.util.compare.EqualsHelper.equals:(Ljava/lang/Object;Ljava/lang/Object;)Z
ifeq 11
10: iconst_1
ireturn
StackMap locals: org.hibernate.cache.spi.CacheKey
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/spi/CacheKey;
0 12 1 other Ljava/lang/Object;
7 12 2 that Lorg/hibernate/cache/spi/CacheKey;
MethodParameters:
Name Flags
other
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.spi.CacheKey.hashCode:I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/hibernate/cache/spi/CacheKey;
public java.lang.String toString();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: new java.lang.StringBuilder
dup
aload 0
getfield org.hibernate.cache.spi.CacheKey.entityOrRoleName:Ljava/lang/String;
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
bipush 35
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
aload 0
getfield org.hibernate.cache.spi.CacheKey.key:Ljava/io/Serializable;
invokevirtual java.lang.Object.toString:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/hibernate/cache/spi/CacheKey;
}
SourceFile: "CacheKey.java"