public class org.hibernate.dialect.lock.OptimisticLockingStrategy implements org.hibernate.dialect.lock.LockingStrategy
  minor version: 0
  major version: 59
  flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
  this_class: org.hibernate.dialect.lock.OptimisticLockingStrategy
  super_class: java.lang.Object
{
  private final org.hibernate.persister.entity.Lockable lockable;
    descriptor: Lorg/hibernate/persister/entity/Lockable;
    flags: (0x0012) ACC_PRIVATE, ACC_FINAL

  private final org.hibernate.LockMode lockMode;
    descriptor: Lorg/hibernate/LockMode;
    flags: (0x0012) ACC_PRIVATE, ACC_FINAL

  public void <init>(org.hibernate.persister.entity.Lockable, org.hibernate.LockMode);
    descriptor: (Lorg/hibernate/persister/entity/Lockable;Lorg/hibernate/LockMode;)V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=5, locals=3, args_size=3
        start local 0 // org.hibernate.dialect.lock.OptimisticLockingStrategy this
        start local 1 // org.hibernate.persister.entity.Lockable lockable
        start local 2 // org.hibernate.LockMode lockMode
         0: .line 56
            aload 0 /* this */
            invokespecial java.lang.Object.<init>:()V
         1: .line 57
            aload 0 /* this */
            aload 1 /* lockable */
            putfield org.hibernate.dialect.lock.OptimisticLockingStrategy.lockable:Lorg/hibernate/persister/entity/Lockable;
         2: .line 58
            aload 0 /* this */
            aload 2 /* lockMode */
            putfield org.hibernate.dialect.lock.OptimisticLockingStrategy.lockMode:Lorg/hibernate/LockMode;
         3: .line 59
            aload 2 /* lockMode */
            getstatic org.hibernate.LockMode.OPTIMISTIC:Lorg/hibernate/LockMode;
            invokevirtual org.hibernate.LockMode.lessThan:(Lorg/hibernate/LockMode;)Z
            ifeq 5
         4: .line 60
            new org.hibernate.HibernateException
            dup
            new java.lang.StringBuilder
            dup
            ldc "["
            invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
            aload 2 /* lockMode */
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
            ldc "] not valid for ["
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            aload 1 /* lockable */
            invokeinterface org.hibernate.persister.entity.Lockable.getEntityName:()Ljava/lang/String;
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            ldc "]"
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
            invokespecial org.hibernate.HibernateException.<init>:(Ljava/lang/String;)V
            athrow
         5: .line 62
      StackMap locals: org.hibernate.dialect.lock.OptimisticLockingStrategy org.hibernate.persister.entity.Lockable org.hibernate.LockMode
      StackMap stack:
            return
        end local 2 // org.hibernate.LockMode lockMode
        end local 1 // org.hibernate.persister.entity.Lockable lockable
        end local 0 // org.hibernate.dialect.lock.OptimisticLockingStrategy this
      LocalVariableTable:
        Start  End  Slot      Name  Signature
            0    6     0      this  Lorg/hibernate/dialect/lock/OptimisticLockingStrategy;
            0    6     1  lockable  Lorg/hibernate/persister/entity/Lockable;
            0    6     2  lockMode  Lorg/hibernate/LockMode;
    MethodParameters:
          Name  Flags
      lockable  
      lockMode  

  public void lock(java.io.Serializable, java.lang.Object, java.lang.Object, int, org.hibernate.engine.spi.SessionImplementor);
    descriptor: (Ljava/io/Serializable;Ljava/lang/Object;Ljava/lang/Object;ILorg/hibernate/engine/spi/SessionImplementor;)V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=6, locals=7, args_size=6
        start local 0 // org.hibernate.dialect.lock.OptimisticLockingStrategy this
        start local 1 // java.io.Serializable id
        start local 2 // java.lang.Object version
        start local 3 // java.lang.Object object
        start local 4 // int timeout
        start local 5 // org.hibernate.engine.spi.SessionImplementor session
         0: .line 66
            aload 0 /* this */
            getfield org.hibernate.dialect.lock.OptimisticLockingStrategy.lockable:Lorg/hibernate/persister/entity/Lockable;
            invokeinterface org.hibernate.persister.entity.Lockable.isVersioned:()Z
            ifne 2
         1: .line 67
            new org.hibernate.OptimisticLockException
            dup
            aload 3 /* object */
            new java.lang.StringBuilder
            dup
            ldc "["
            invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
            aload 0 /* this */
            getfield org.hibernate.dialect.lock.OptimisticLockingStrategy.lockMode:Lorg/hibernate/LockMode;
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
            ldc "] not supported for non-versioned entities ["
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            aload 0 /* this */
            getfield org.hibernate.dialect.lock.OptimisticLockingStrategy.lockable:Lorg/hibernate/persister/entity/Lockable;
            invokeinterface org.hibernate.persister.entity.Lockable.getEntityName:()Ljava/lang/String;
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            ldc "]"
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
            invokespecial org.hibernate.OptimisticLockException.<init>:(Ljava/lang/Object;Ljava/lang/String;)V
            athrow
         2: .line 69
      StackMap locals:
      StackMap stack:
            aload 5 /* session */
            invokeinterface org.hibernate.engine.spi.SessionImplementor.getPersistenceContext:()Lorg/hibernate/engine/spi/PersistenceContext;
            aload 3 /* object */
            invokeinterface org.hibernate.engine.spi.PersistenceContext.getEntry:(Ljava/lang/Object;)Lorg/hibernate/engine/spi/EntityEntry;
            astore 6 /* entry */
        start local 6 // org.hibernate.engine.spi.EntityEntry entry
         3: .line 71
            aload 5 /* session */
            checkcast org.hibernate.event.spi.EventSource
            invokeinterface org.hibernate.event.spi.EventSource.getActionQueue:()Lorg/hibernate/engine/spi/ActionQueue;
            new org.hibernate.action.internal.EntityVerifyVersionProcess
            dup
            aload 3 /* object */
            aload 6 /* entry */
            invokespecial org.hibernate.action.internal.EntityVerifyVersionProcess.<init>:(Ljava/lang/Object;Lorg/hibernate/engine/spi/EntityEntry;)V
            invokevirtual org.hibernate.engine.spi.ActionQueue.registerProcess:(Lorg/hibernate/action/spi/BeforeTransactionCompletionProcess;)V
         4: .line 72
            return
        end local 6 // org.hibernate.engine.spi.EntityEntry entry
        end local 5 // org.hibernate.engine.spi.SessionImplementor session
        end local 4 // int timeout
        end local 3 // java.lang.Object object
        end local 2 // java.lang.Object version
        end local 1 // java.io.Serializable id
        end local 0 // org.hibernate.dialect.lock.OptimisticLockingStrategy this
      LocalVariableTable:
        Start  End  Slot     Name  Signature
            0    5     0     this  Lorg/hibernate/dialect/lock/OptimisticLockingStrategy;
            0    5     1       id  Ljava/io/Serializable;
            0    5     2  version  Ljava/lang/Object;
            0    5     3   object  Ljava/lang/Object;
            0    5     4  timeout  I
            0    5     5  session  Lorg/hibernate/engine/spi/SessionImplementor;
            3    5     6    entry  Lorg/hibernate/engine/spi/EntityEntry;
    MethodParameters:
         Name  Flags
      id       
      version  
      object   
      timeout  
      session  

  protected org.hibernate.LockMode getLockMode();
    descriptor: ()Lorg/hibernate/LockMode;
    flags: (0x0004) ACC_PROTECTED
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // org.hibernate.dialect.lock.OptimisticLockingStrategy this
         0: .line 75
            aload 0 /* this */
            getfield org.hibernate.dialect.lock.OptimisticLockingStrategy.lockMode:Lorg/hibernate/LockMode;
            areturn
        end local 0 // org.hibernate.dialect.lock.OptimisticLockingStrategy this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Lorg/hibernate/dialect/lock/OptimisticLockingStrategy;
}
SourceFile: "OptimisticLockingStrategy.java"