public final class org.hibernate.cfg.beanvalidation.ValidationMode extends java.lang.Enum<org.hibernate.cfg.beanvalidation.ValidationMode>
minor version: 0
major version: 59
flags: flags: (0x4031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER, ACC_ANNOTATION
this_class: org.hibernate.cfg.beanvalidation.ValidationMode
super_class: java.lang.Enum
{
public static final org.hibernate.cfg.beanvalidation.ValidationMode AUTO;
descriptor: Lorg/hibernate/cfg/beanvalidation/ValidationMode;
flags: (0x4019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL, ACC_ANNOTATION
public static final org.hibernate.cfg.beanvalidation.ValidationMode CALLBACK;
descriptor: Lorg/hibernate/cfg/beanvalidation/ValidationMode;
flags: (0x4019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL, ACC_ANNOTATION
public static final org.hibernate.cfg.beanvalidation.ValidationMode NONE;
descriptor: Lorg/hibernate/cfg/beanvalidation/ValidationMode;
flags: (0x4019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL, ACC_ANNOTATION
public static final org.hibernate.cfg.beanvalidation.ValidationMode DDL;
descriptor: Lorg/hibernate/cfg/beanvalidation/ValidationMode;
flags: (0x4019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL, ACC_ANNOTATION
private final java.lang.String externalForm;
descriptor: Ljava/lang/String;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private static final org.hibernate.cfg.beanvalidation.ValidationMode[] ENUM$VALUES;
descriptor: [Lorg/hibernate/cfg/beanvalidation/ValidationMode;
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.cfg.beanvalidation.ValidationMode
dup
ldc "AUTO"
iconst_0
ldc "auto"
invokespecial org.hibernate.cfg.beanvalidation.ValidationMode.<init>:(Ljava/lang/String;ILjava/lang/String;)V
putstatic org.hibernate.cfg.beanvalidation.ValidationMode.AUTO:Lorg/hibernate/cfg/beanvalidation/ValidationMode;
1: new org.hibernate.cfg.beanvalidation.ValidationMode
dup
ldc "CALLBACK"
iconst_1
ldc "callback"
invokespecial org.hibernate.cfg.beanvalidation.ValidationMode.<init>:(Ljava/lang/String;ILjava/lang/String;)V
putstatic org.hibernate.cfg.beanvalidation.ValidationMode.CALLBACK:Lorg/hibernate/cfg/beanvalidation/ValidationMode;
2: new org.hibernate.cfg.beanvalidation.ValidationMode
dup
ldc "NONE"
iconst_2
ldc "none"
invokespecial org.hibernate.cfg.beanvalidation.ValidationMode.<init>:(Ljava/lang/String;ILjava/lang/String;)V
putstatic org.hibernate.cfg.beanvalidation.ValidationMode.NONE:Lorg/hibernate/cfg/beanvalidation/ValidationMode;
3: new org.hibernate.cfg.beanvalidation.ValidationMode
dup
ldc "DDL"
iconst_3
ldc "ddl"
invokespecial org.hibernate.cfg.beanvalidation.ValidationMode.<init>:(Ljava/lang/String;ILjava/lang/String;)V
putstatic org.hibernate.cfg.beanvalidation.ValidationMode.DDL:Lorg/hibernate/cfg/beanvalidation/ValidationMode;
4: iconst_4
anewarray org.hibernate.cfg.beanvalidation.ValidationMode
dup
iconst_0
getstatic org.hibernate.cfg.beanvalidation.ValidationMode.AUTO:Lorg/hibernate/cfg/beanvalidation/ValidationMode;
aastore
dup
iconst_1
getstatic org.hibernate.cfg.beanvalidation.ValidationMode.CALLBACK:Lorg/hibernate/cfg/beanvalidation/ValidationMode;
aastore
dup
iconst_2
getstatic org.hibernate.cfg.beanvalidation.ValidationMode.NONE:Lorg/hibernate/cfg/beanvalidation/ValidationMode;
aastore
dup
iconst_3
getstatic org.hibernate.cfg.beanvalidation.ValidationMode.DDL:Lorg/hibernate/cfg/beanvalidation/ValidationMode;
aastore
putstatic org.hibernate.cfg.beanvalidation.ValidationMode.ENUM$VALUES:[Lorg/hibernate/cfg/beanvalidation/ValidationMode;
return
LocalVariableTable:
Start End Slot Name Signature
private void <init>(java.lang.String, int, java.lang.String);
descriptor: (Ljava/lang/String;ILjava/lang/String;)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
aload 3
putfield org.hibernate.cfg.beanvalidation.ValidationMode.externalForm:Ljava/lang/String;
2: return
end local 3 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/hibernate/cfg/beanvalidation/ValidationMode;
0 3 3 externalForm Ljava/lang/String;
MethodParameters:
Name Flags
$enum$name
$enum$ordinal
externalForm
public static java.util.Set<org.hibernate.cfg.beanvalidation.ValidationMode> getModes();
descriptor: (Ljava/lang/Object;)Ljava/util/Set;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=7, args_size=1
start local 0 0: new java.util.HashSet
dup
iconst_3
invokespecial java.util.HashSet.<init>:(I)V
astore 1
start local 1 1: aload 0
ifnonnull 4
2: aload 1
getstatic org.hibernate.cfg.beanvalidation.ValidationMode.AUTO:Lorg/hibernate/cfg/beanvalidation/ValidationMode;
invokeinterface java.util.Set.add:(Ljava/lang/Object;)Z
pop
3: goto 10
4: StackMap locals: java.util.Set
StackMap stack:
aload 0
invokevirtual java.lang.Object.toString:()Ljava/lang/String;
ldc ","
invokevirtual java.lang.String.split:(Ljava/lang/String;)[Ljava/lang/String;
astore 2
start local 2 5: aload 2
dup
astore 6
arraylength
istore 5
iconst_0
istore 4
goto 9
StackMap locals: java.lang.Object java.util.Set java.lang.String[] top int int java.lang.String[]
StackMap stack:
6: aload 6
iload 4
aaload
astore 3
start local 3 7: aload 1
aload 3
invokestatic org.hibernate.cfg.beanvalidation.ValidationMode.getMode:(Ljava/lang/String;)Lorg/hibernate/cfg/beanvalidation/ValidationMode;
invokeinterface java.util.Set.add:(Ljava/lang/Object;)Z
pop
end local 3 8: iinc 4 1
StackMap locals:
StackMap stack:
9: iload 4
iload 5
if_icmplt 6
end local 2 10: StackMap locals: java.lang.Object java.util.Set
StackMap stack:
aload 1
invokeinterface java.util.Set.size:()I
iconst_1
if_icmple 12
aload 1
getstatic org.hibernate.cfg.beanvalidation.ValidationMode.AUTO:Lorg/hibernate/cfg/beanvalidation/ValidationMode;
invokeinterface java.util.Set.contains:(Ljava/lang/Object;)Z
ifne 11
aload 1
getstatic org.hibernate.cfg.beanvalidation.ValidationMode.NONE:Lorg/hibernate/cfg/beanvalidation/ValidationMode;
invokeinterface java.util.Set.contains:(Ljava/lang/Object;)Z
ifeq 12
11: StackMap locals:
StackMap stack:
new org.hibernate.HibernateException
dup
new java.lang.StringBuilder
dup
ldc "Incompatible validation modes mixed: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
invokestatic org.hibernate.cfg.beanvalidation.ValidationMode.loggable:(Ljava/util/Set;)Ljava/lang/String;
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
12: StackMap locals:
StackMap stack:
aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 modeProperty Ljava/lang/Object;
1 13 1 modes Ljava/util/Set<Lorg/hibernate/cfg/beanvalidation/ValidationMode;>;
5 10 2 modesInString [Ljava/lang/String;
7 8 3 modeInString Ljava/lang/String;
Signature: (Ljava/lang/Object;)Ljava/util/Set<Lorg/hibernate/cfg/beanvalidation/ValidationMode;>;
MethodParameters:
Name Flags
modeProperty
private static org.hibernate.cfg.beanvalidation.ValidationMode getMode(java.lang.String);
descriptor: (Ljava/lang/String;)Lorg/hibernate/cfg/beanvalidation/ValidationMode;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=5, locals=1, args_size=1
start local 0 0: aload 0
ifnull 1
aload 0
invokevirtual java.lang.String.length:()I
ifne 2
1: StackMap locals:
StackMap stack:
getstatic org.hibernate.cfg.beanvalidation.ValidationMode.AUTO:Lorg/hibernate/cfg/beanvalidation/ValidationMode;
areturn
2: StackMap locals:
StackMap stack:
aload 0
invokevirtual java.lang.String.trim:()Ljava/lang/String;
getstatic java.util.Locale.ROOT:Ljava/util/Locale;
invokevirtual java.lang.String.toUpperCase:(Ljava/util/Locale;)Ljava/lang/String;
invokestatic org.hibernate.cfg.beanvalidation.ValidationMode.valueOf:(Ljava/lang/String;)Lorg/hibernate/cfg/beanvalidation/ValidationMode;
3: areturn
4: StackMap locals:
StackMap stack: java.lang.IllegalArgumentException
pop
5: new org.hibernate.HibernateException
dup
new java.lang.StringBuilder
dup
ldc "Unknown validation mode in javax.persistence.validation.mode: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
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
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 modeProperty Ljava/lang/String;
Exception table:
from to target type
2 3 4 Class java.lang.IllegalArgumentException
MethodParameters:
Name Flags
modeProperty
public static java.lang.String loggable(java.util.Set<org.hibernate.cfg.beanvalidation.ValidationMode>);
descriptor: (Ljava/util/Set;)Ljava/lang/String;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=5, args_size=1
start local 0 0: aload 0
ifnull 1
aload 0
invokeinterface java.util.Set.isEmpty:()Z
ifeq 2
1: StackMap locals:
StackMap stack:
ldc "[<empty>]"
areturn
2: StackMap locals:
StackMap stack:
new java.lang.StringBuilder
dup
ldc "["
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
astore 1
start local 1 3: ldc ""
astore 2
start local 2 4: aload 0
invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
astore 4
goto 8
StackMap locals: java.util.Set java.lang.StringBuilder java.lang.String top java.util.Iterator
StackMap stack:
5: aload 4
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.hibernate.cfg.beanvalidation.ValidationMode
astore 3
start local 3 6: aload 1
aload 2
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 3
getfield org.hibernate.cfg.beanvalidation.ValidationMode.externalForm:Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
7: ldc ", "
astore 2
end local 3 8: StackMap locals:
StackMap stack:
aload 4
invokeinterface java.util.Iterator.hasNext:()Z
ifne 5
9: aload 1
ldc "]"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 modes Ljava/util/Set<Lorg/hibernate/cfg/beanvalidation/ValidationMode;>;
3 10 1 buffer Ljava/lang/StringBuilder;
4 10 2 sep Ljava/lang/String;
6 8 3 mode Lorg/hibernate/cfg/beanvalidation/ValidationMode;
Signature: (Ljava/util/Set<Lorg/hibernate/cfg/beanvalidation/ValidationMode;>;)Ljava/lang/String;
MethodParameters:
Name Flags
modes
public static org.hibernate.cfg.beanvalidation.ValidationMode[] values();
descriptor: ()[Lorg/hibernate/cfg/beanvalidation/ValidationMode;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=3, args_size=0
0: getstatic org.hibernate.cfg.beanvalidation.ValidationMode.ENUM$VALUES:[Lorg/hibernate/cfg/beanvalidation/ValidationMode;
dup
astore 0
iconst_0
aload 0
arraylength
dup
istore 1
anewarray org.hibernate.cfg.beanvalidation.ValidationMode
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.cfg.beanvalidation.ValidationMode valueOf(java.lang.String);
descriptor: (Ljava/lang/String;)Lorg/hibernate/cfg/beanvalidation/ValidationMode;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=1, args_size=1
0: ldc Lorg/hibernate/cfg/beanvalidation/ValidationMode;
aload 0
invokestatic java.lang.Enum.valueOf:(Ljava/lang/Class;Ljava/lang/String;)Ljava/lang/Enum;
checkcast org.hibernate.cfg.beanvalidation.ValidationMode
areturn
LocalVariableTable:
Start End Slot Name Signature
MethodParameters:
Name Flags
name
}
Signature: Ljava/lang/Enum<Lorg/hibernate/cfg/beanvalidation/ValidationMode;>;
SourceFile: "ValidationMode.java"