public final class org.hibernate.engine.OptimisticLockStyle extends java.lang.Enum<org.hibernate.engine.OptimisticLockStyle>
minor version: 0
major version: 59
flags: flags: (0x4031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER, ACC_ANNOTATION
this_class: org.hibernate.engine.OptimisticLockStyle
super_class: java.lang.Enum
{
public static final org.hibernate.engine.OptimisticLockStyle NONE;
descriptor: Lorg/hibernate/engine/OptimisticLockStyle;
flags: (0x4019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL, ACC_ANNOTATION
public static final org.hibernate.engine.OptimisticLockStyle VERSION;
descriptor: Lorg/hibernate/engine/OptimisticLockStyle;
flags: (0x4019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL, ACC_ANNOTATION
public static final org.hibernate.engine.OptimisticLockStyle DIRTY;
descriptor: Lorg/hibernate/engine/OptimisticLockStyle;
flags: (0x4019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL, ACC_ANNOTATION
public static final org.hibernate.engine.OptimisticLockStyle ALL;
descriptor: Lorg/hibernate/engine/OptimisticLockStyle;
flags: (0x4019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL, ACC_ANNOTATION
private final int oldCode;
descriptor: I
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private static final org.hibernate.engine.OptimisticLockStyle[] ENUM$VALUES;
descriptor: [Lorg/hibernate/engine/OptimisticLockStyle;
flags: (0x101a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL, ACC_SYNTHETIC
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=5, locals=0, args_size=0
0: new org.hibernate.engine.OptimisticLockStyle
dup
ldc "NONE"
iconst_0
1: iconst_m1
invokespecial org.hibernate.engine.OptimisticLockStyle.<init>:(Ljava/lang/String;II)V
putstatic org.hibernate.engine.OptimisticLockStyle.NONE:Lorg/hibernate/engine/OptimisticLockStyle;
2: new org.hibernate.engine.OptimisticLockStyle
dup
ldc "VERSION"
iconst_1
3: iconst_0
invokespecial org.hibernate.engine.OptimisticLockStyle.<init>:(Ljava/lang/String;II)V
putstatic org.hibernate.engine.OptimisticLockStyle.VERSION:Lorg/hibernate/engine/OptimisticLockStyle;
4: new org.hibernate.engine.OptimisticLockStyle
dup
ldc "DIRTY"
iconst_2
5: iconst_1
invokespecial org.hibernate.engine.OptimisticLockStyle.<init>:(Ljava/lang/String;II)V
putstatic org.hibernate.engine.OptimisticLockStyle.DIRTY:Lorg/hibernate/engine/OptimisticLockStyle;
6: new org.hibernate.engine.OptimisticLockStyle
dup
ldc "ALL"
iconst_3
7: iconst_2
invokespecial org.hibernate.engine.OptimisticLockStyle.<init>:(Ljava/lang/String;II)V
putstatic org.hibernate.engine.OptimisticLockStyle.ALL:Lorg/hibernate/engine/OptimisticLockStyle;
8: iconst_4
anewarray org.hibernate.engine.OptimisticLockStyle
dup
iconst_0
getstatic org.hibernate.engine.OptimisticLockStyle.NONE:Lorg/hibernate/engine/OptimisticLockStyle;
aastore
dup
iconst_1
getstatic org.hibernate.engine.OptimisticLockStyle.VERSION:Lorg/hibernate/engine/OptimisticLockStyle;
aastore
dup
iconst_2
getstatic org.hibernate.engine.OptimisticLockStyle.DIRTY:Lorg/hibernate/engine/OptimisticLockStyle;
aastore
dup
iconst_3
getstatic org.hibernate.engine.OptimisticLockStyle.ALL:Lorg/hibernate/engine/OptimisticLockStyle;
aastore
putstatic org.hibernate.engine.OptimisticLockStyle.ENUM$VALUES:[Lorg/hibernate/engine/OptimisticLockStyle;
return
LocalVariableTable:
Start End Slot Name Signature
private void <init>(java.lang.String, int, int);
descriptor: (Ljava/lang/String;II)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=4, args_size=4
start local 0 start local 3 0: aload 0
aload 1
iload 2
invokespecial java.lang.Enum.<init>:(Ljava/lang/String;I)V
1: aload 0
iload 3
putfield org.hibernate.engine.OptimisticLockStyle.oldCode:I
2: return
end local 3 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/hibernate/engine/OptimisticLockStyle;
0 3 3 oldCode I
MethodParameters:
Name Flags
$enum$name
$enum$ordinal
oldCode
public int getOldCode();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.hibernate.engine.OptimisticLockStyle.oldCode:I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/hibernate/engine/OptimisticLockStyle;
public static org.hibernate.engine.OptimisticLockStyle interpretOldCode(int);
descriptor: (I)Lorg/hibernate/engine/OptimisticLockStyle;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=1, args_size=1
start local 0 0: iload 0
tableswitch { // -1 - 2
-1: 1
0: 2
1: 3
2: 4
default: 5
}
1: StackMap locals:
StackMap stack:
getstatic org.hibernate.engine.OptimisticLockStyle.NONE:Lorg/hibernate/engine/OptimisticLockStyle;
areturn
2: StackMap locals:
StackMap stack:
getstatic org.hibernate.engine.OptimisticLockStyle.VERSION:Lorg/hibernate/engine/OptimisticLockStyle;
areturn
3: StackMap locals:
StackMap stack:
getstatic org.hibernate.engine.OptimisticLockStyle.DIRTY:Lorg/hibernate/engine/OptimisticLockStyle;
areturn
4: StackMap locals:
StackMap stack:
getstatic org.hibernate.engine.OptimisticLockStyle.ALL:Lorg/hibernate/engine/OptimisticLockStyle;
areturn
5: StackMap locals:
StackMap stack:
new java.lang.IllegalArgumentException
dup
new java.lang.StringBuilder
dup
ldc "Illegal legacy optimistic lock style code :"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
iload 0
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 oldCode I
MethodParameters:
Name Flags
oldCode
public static org.hibernate.engine.OptimisticLockStyle[] values();
descriptor: ()[Lorg/hibernate/engine/OptimisticLockStyle;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=3, args_size=0
0: getstatic org.hibernate.engine.OptimisticLockStyle.ENUM$VALUES:[Lorg/hibernate/engine/OptimisticLockStyle;
dup
astore 0
iconst_0
aload 0
arraylength
dup
istore 1
anewarray org.hibernate.engine.OptimisticLockStyle
dup
astore 2
iconst_0
iload 1
invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
aload 2
areturn
LocalVariableTable:
Start End Slot Name Signature
public static org.hibernate.engine.OptimisticLockStyle valueOf(java.lang.String);
descriptor: (Ljava/lang/String;)Lorg/hibernate/engine/OptimisticLockStyle;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=1, args_size=1
0: ldc Lorg/hibernate/engine/OptimisticLockStyle;
aload 0
invokestatic java.lang.Enum.valueOf:(Ljava/lang/Class;Ljava/lang/String;)Ljava/lang/Enum;
checkcast org.hibernate.engine.OptimisticLockStyle
areturn
LocalVariableTable:
Start End Slot Name Signature
MethodParameters:
Name Flags
name
}
Signature: Ljava/lang/Enum<Lorg/hibernate/engine/OptimisticLockStyle;>;
SourceFile: "OptimisticLockStyle.java"