public final class org.hibernate.engine.internal.Versioning
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: org.hibernate.engine.internal.Versioning
super_class: java.lang.Object
{
private static final org.hibernate.internal.CoreMessageLogger LOG;
descriptor: Lorg/hibernate/internal/CoreMessageLogger;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=0, args_size=0
0: ldc Lorg/hibernate/internal/CoreMessageLogger;
1: ldc Lorg/hibernate/engine/internal/Versioning;
invokevirtual java.lang.Class.getName:()Ljava/lang/String;
2: invokestatic org.jboss.logging.Logger.getMessageLogger:(Ljava/lang/Class;Ljava/lang/String;)Ljava/lang/Object;
checkcast org.hibernate.internal.CoreMessageLogger
putstatic org.hibernate.engine.internal.Versioning.LOG:Lorg/hibernate/internal/CoreMessageLogger;
3: return
LocalVariableTable:
Start End Slot Name Signature
private void <init>();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/hibernate/engine/internal/Versioning;
private static java.lang.Object seed(org.hibernate.type.VersionType, org.hibernate.engine.spi.SessionImplementor);
descriptor: (Lorg/hibernate/type/VersionType;Lorg/hibernate/engine/spi/SessionImplementor;)Ljava/lang/Object;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokeinterface org.hibernate.type.VersionType.seed:(Lorg/hibernate/engine/spi/SessionImplementor;)Ljava/lang/Object;
astore 2
start local 2 1: getstatic org.hibernate.engine.internal.Versioning.LOG:Lorg/hibernate/internal/CoreMessageLogger;
ldc "Seeding: %s"
aload 2
invokeinterface org.hibernate.internal.CoreMessageLogger.tracef:(Ljava/lang/String;Ljava/lang/Object;)V
2: aload 2
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 versionType Lorg/hibernate/type/VersionType;
0 3 1 session Lorg/hibernate/engine/spi/SessionImplementor;
1 3 2 seed Ljava/lang/Object;
MethodParameters:
Name Flags
versionType
session
public static boolean seedVersion(java.lang.Object[], int, org.hibernate.type.VersionType, org.hibernate.engine.spi.SessionImplementor);
descriptor: ([Ljava/lang/Object;ILorg/hibernate/type/VersionType;Lorg/hibernate/engine/spi/SessionImplementor;)Z
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=5, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
iload 1
aaload
astore 4
start local 4 1: aload 4
ifnull 3
2: aload 4
instanceof java.lang.Number
ifeq 5
aload 4
checkcast java.lang.Number
invokevirtual java.lang.Number.longValue:()J
lconst_0
lcmp
ifge 5
3: StackMap locals: java.lang.Object
StackMap stack:
aload 0
iload 1
aload 2
aload 3
invokestatic org.hibernate.engine.internal.Versioning.seed:(Lorg/hibernate/type/VersionType;Lorg/hibernate/engine/spi/SessionImplementor;)Ljava/lang/Object;
aastore
4: iconst_1
ireturn
5: StackMap locals:
StackMap stack:
getstatic org.hibernate.engine.internal.Versioning.LOG:Lorg/hibernate/internal/CoreMessageLogger;
ldc "Using initial version: {0}"
aload 4
invokeinterface org.hibernate.internal.CoreMessageLogger.tracev:(Ljava/lang/String;Ljava/lang/Object;)V
6: iconst_0
ireturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 fields [Ljava/lang/Object;
0 7 1 versionProperty I
0 7 2 versionType Lorg/hibernate/type/VersionType;
0 7 3 session Lorg/hibernate/engine/spi/SessionImplementor;
1 7 4 initialVersion Ljava/lang/Object;
MethodParameters:
Name Flags
fields
versionProperty
versionType
session
public static java.lang.Object increment(java.lang.Object, org.hibernate.type.VersionType, org.hibernate.engine.spi.SessionImplementor);
descriptor: (Ljava/lang/Object;Lorg/hibernate/type/VersionType;Lorg/hibernate/engine/spi/SessionImplementor;)Ljava/lang/Object;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=6, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 1
aload 0
aload 2
invokeinterface org.hibernate.type.VersionType.next:(Ljava/lang/Object;Lorg/hibernate/engine/spi/SessionImplementor;)Ljava/lang/Object;
astore 3
start local 3 1: getstatic org.hibernate.engine.internal.Versioning.LOG:Lorg/hibernate/internal/CoreMessageLogger;
invokeinterface org.hibernate.internal.CoreMessageLogger.isTraceEnabled:()Z
ifeq 7
2: getstatic org.hibernate.engine.internal.Versioning.LOG:Lorg/hibernate/internal/CoreMessageLogger;
3: ldc "Incrementing: %s to %s"
4: aload 1
aload 0
aload 2
invokeinterface org.hibernate.engine.spi.SessionImplementor.getFactory:()Lorg/hibernate/engine/spi/SessionFactoryImplementor;
invokeinterface org.hibernate.type.VersionType.toLoggableString:(Ljava/lang/Object;Lorg/hibernate/engine/spi/SessionFactoryImplementor;)Ljava/lang/String;
5: aload 1
aload 3
aload 2
invokeinterface org.hibernate.engine.spi.SessionImplementor.getFactory:()Lorg/hibernate/engine/spi/SessionFactoryImplementor;
invokeinterface org.hibernate.type.VersionType.toLoggableString:(Ljava/lang/Object;Lorg/hibernate/engine/spi/SessionFactoryImplementor;)Ljava/lang/String;
6: invokeinterface org.hibernate.internal.CoreMessageLogger.tracef:(Ljava/lang/String;Ljava/lang/Object;Ljava/lang/Object;)V
7: StackMap locals: java.lang.Object
StackMap stack:
aload 3
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 version Ljava/lang/Object;
0 8 1 versionType Lorg/hibernate/type/VersionType;
0 8 2 session Lorg/hibernate/engine/spi/SessionImplementor;
1 8 3 next Ljava/lang/Object;
MethodParameters:
Name Flags
version
versionType
session
public static void setVersion(java.lang.Object[], java.lang.Object, org.hibernate.persister.entity.EntityPersister);
descriptor: ([Ljava/lang/Object;Ljava/lang/Object;Lorg/hibernate/persister/entity/EntityPersister;)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 2
invokeinterface org.hibernate.persister.entity.EntityPersister.isVersioned:()Z
ifne 2
1: return
2: StackMap locals:
StackMap stack:
aload 0
aload 2
invokeinterface org.hibernate.persister.entity.EntityPersister.getVersionProperty:()I
aload 1
aastore
3: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 fields [Ljava/lang/Object;
0 4 1 version Ljava/lang/Object;
0 4 2 persister Lorg/hibernate/persister/entity/EntityPersister;
MethodParameters:
Name Flags
fields
version
persister
public static java.lang.Object getVersion(java.lang.Object[], org.hibernate.persister.entity.EntityPersister);
descriptor: ([Ljava/lang/Object;Lorg/hibernate/persister/entity/EntityPersister;)Ljava/lang/Object;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 1
invokeinterface org.hibernate.persister.entity.EntityPersister.isVersioned:()Z
ifne 2
1: aconst_null
areturn
2: StackMap locals:
StackMap stack:
aload 0
aload 1
invokeinterface org.hibernate.persister.entity.EntityPersister.getVersionProperty:()I
aaload
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 fields [Ljava/lang/Object;
0 3 1 persister Lorg/hibernate/persister/entity/EntityPersister;
MethodParameters:
Name Flags
fields
persister
public static boolean isVersionIncrementRequired(int[], boolean, boolean[]);
descriptor: ([IZ[Z)Z
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=7, args_size=3
start local 0 start local 1 start local 2 0: iload 1
ifeq 2
1: iconst_1
ireturn
2: StackMap locals:
StackMap stack:
aload 0
dup
astore 6
arraylength
istore 5
iconst_0
istore 4
goto 7
StackMap locals: int[] int boolean[] top int int int[]
StackMap stack:
3: aload 6
iload 4
iaload
istore 3
start local 3 4: aload 2
iload 3
baload
ifeq 6
5: iconst_1
ireturn
end local 3 6: StackMap locals:
StackMap stack:
iinc 4 1
StackMap locals:
StackMap stack:
7: iload 4
iload 5
if_icmplt 3
8: iconst_0
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 dirtyProperties [I
0 9 1 hasDirtyCollections Z
0 9 2 propertyVersionability [Z
4 6 3 dirtyProperty I
MethodParameters:
Name Flags
dirtyProperties final
hasDirtyCollections final
propertyVersionability final
}
SourceFile: "Versioning.java"