public final class com.mongodb.client.model.ValidationAction extends java.lang.Enum<com.mongodb.client.model.ValidationAction>
minor version: 0
major version: 59
flags: flags: (0x4031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER, ACC_ANNOTATION
this_class: com.mongodb.client.model.ValidationAction
super_class: java.lang.Enum
{
public static final com.mongodb.client.model.ValidationAction ERROR;
descriptor: Lcom/mongodb/client/model/ValidationAction;
flags: (0x4019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL, ACC_ANNOTATION
public static final com.mongodb.client.model.ValidationAction WARN;
descriptor: Lcom/mongodb/client/model/ValidationAction;
flags: (0x4019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL, ACC_ANNOTATION
private final java.lang.String value;
descriptor: Ljava/lang/String;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private static final com.mongodb.client.model.ValidationAction[] ENUM$VALUES;
descriptor: [Lcom/mongodb/client/model/ValidationAction;
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 com.mongodb.client.model.ValidationAction
dup
ldc "ERROR"
iconst_0
1: ldc "error"
invokespecial com.mongodb.client.model.ValidationAction.<init>:(Ljava/lang/String;ILjava/lang/String;)V
putstatic com.mongodb.client.model.ValidationAction.ERROR:Lcom/mongodb/client/model/ValidationAction;
2: new com.mongodb.client.model.ValidationAction
dup
ldc "WARN"
iconst_1
3: ldc "warn"
invokespecial com.mongodb.client.model.ValidationAction.<init>:(Ljava/lang/String;ILjava/lang/String;)V
putstatic com.mongodb.client.model.ValidationAction.WARN:Lcom/mongodb/client/model/ValidationAction;
4: iconst_2
anewarray com.mongodb.client.model.ValidationAction
dup
iconst_0
getstatic com.mongodb.client.model.ValidationAction.ERROR:Lcom/mongodb/client/model/ValidationAction;
aastore
dup
iconst_1
getstatic com.mongodb.client.model.ValidationAction.WARN:Lcom/mongodb/client/model/ValidationAction;
aastore
putstatic com.mongodb.client.model.ValidationAction.ENUM$VALUES:[Lcom/mongodb/client/model/ValidationAction;
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 com.mongodb.client.model.ValidationAction.value:Ljava/lang/String;
2: return
end local 3 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/mongodb/client/model/ValidationAction;
0 3 3 value Ljava/lang/String;
MethodParameters:
Name Flags
$enum$name
$enum$ordinal
value final
public java.lang.String getValue();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.mongodb.client.model.ValidationAction.value:Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/mongodb/client/model/ValidationAction;
public static com.mongodb.client.model.ValidationAction fromString(java.lang.String);
descriptor: (Ljava/lang/String;)Lcom/mongodb/client/model/ValidationAction;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=7, locals=5, args_size=1
start local 0 0: ldc "validationAction"
aload 0
invokestatic com.mongodb.assertions.Assertions.notNull:(Ljava/lang/String;Ljava/lang/Object;)Ljava/lang/Object;
pop
1: invokestatic com.mongodb.client.model.ValidationAction.values:()[Lcom/mongodb/client/model/ValidationAction;
dup
astore 4
arraylength
istore 3
iconst_0
istore 2
goto 6
StackMap locals: java.lang.String top int int com.mongodb.client.model.ValidationAction[]
StackMap stack:
2: aload 4
iload 2
aaload
astore 1
start local 1 3: aload 0
aload 1
getfield com.mongodb.client.model.ValidationAction.value:Ljava/lang/String;
invokevirtual java.lang.String.equalsIgnoreCase:(Ljava/lang/String;)Z
ifeq 5
4: aload 1
areturn
end local 1 5: StackMap locals:
StackMap stack:
iinc 2 1
StackMap locals:
StackMap stack:
6: iload 2
iload 3
if_icmplt 2
7: new java.lang.IllegalArgumentException
dup
ldc "'%s' is not a valid validationAction"
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 0
aastore
invokestatic java.lang.String.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 validationAction Ljava/lang/String;
3 5 1 action Lcom/mongodb/client/model/ValidationAction;
MethodParameters:
Name Flags
validationAction final
public static com.mongodb.client.model.ValidationAction[] values();
descriptor: ()[Lcom/mongodb/client/model/ValidationAction;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=3, args_size=0
0: getstatic com.mongodb.client.model.ValidationAction.ENUM$VALUES:[Lcom/mongodb/client/model/ValidationAction;
dup
astore 0
iconst_0
aload 0
arraylength
dup
istore 1
anewarray com.mongodb.client.model.ValidationAction
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 com.mongodb.client.model.ValidationAction valueOf(java.lang.String);
descriptor: (Ljava/lang/String;)Lcom/mongodb/client/model/ValidationAction;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=1, args_size=1
0: ldc Lcom/mongodb/client/model/ValidationAction;
aload 0
invokestatic java.lang.Enum.valueOf:(Ljava/lang/Class;Ljava/lang/String;)Ljava/lang/Enum;
checkcast com.mongodb.client.model.ValidationAction
areturn
LocalVariableTable:
Start End Slot Name Signature
MethodParameters:
Name Flags
name
}
Signature: Ljava/lang/Enum<Lcom/mongodb/client/model/ValidationAction;>;
SourceFile: "ValidationAction.java"