public final class com.mongodb.ReadConcernLevel extends java.lang.Enum<com.mongodb.ReadConcernLevel>
minor version: 0
major version: 59
flags: flags: (0x4031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER, ACC_ANNOTATION
this_class: com.mongodb.ReadConcernLevel
super_class: java.lang.Enum
{
public static final com.mongodb.ReadConcernLevel LOCAL;
descriptor: Lcom/mongodb/ReadConcernLevel;
flags: (0x4019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL, ACC_ANNOTATION
public static final com.mongodb.ReadConcernLevel MAJORITY;
descriptor: Lcom/mongodb/ReadConcernLevel;
flags: (0x4019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL, ACC_ANNOTATION
public static final com.mongodb.ReadConcernLevel LINEARIZABLE;
descriptor: Lcom/mongodb/ReadConcernLevel;
flags: (0x4019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL, ACC_ANNOTATION
public static final com.mongodb.ReadConcernLevel SNAPSHOT;
descriptor: Lcom/mongodb/ReadConcernLevel;
flags: (0x4019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL, ACC_ANNOTATION
public static final com.mongodb.ReadConcernLevel AVAILABLE;
descriptor: Lcom/mongodb/ReadConcernLevel;
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.ReadConcernLevel[] ENUM$VALUES;
descriptor: [Lcom/mongodb/ReadConcernLevel;
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.ReadConcernLevel
dup
ldc "LOCAL"
iconst_0
1: ldc "local"
invokespecial com.mongodb.ReadConcernLevel.<init>:(Ljava/lang/String;ILjava/lang/String;)V
putstatic com.mongodb.ReadConcernLevel.LOCAL:Lcom/mongodb/ReadConcernLevel;
2: new com.mongodb.ReadConcernLevel
dup
ldc "MAJORITY"
iconst_1
3: ldc "majority"
invokespecial com.mongodb.ReadConcernLevel.<init>:(Ljava/lang/String;ILjava/lang/String;)V
putstatic com.mongodb.ReadConcernLevel.MAJORITY:Lcom/mongodb/ReadConcernLevel;
4: new com.mongodb.ReadConcernLevel
dup
ldc "LINEARIZABLE"
iconst_2
5: ldc "linearizable"
invokespecial com.mongodb.ReadConcernLevel.<init>:(Ljava/lang/String;ILjava/lang/String;)V
putstatic com.mongodb.ReadConcernLevel.LINEARIZABLE:Lcom/mongodb/ReadConcernLevel;
6: new com.mongodb.ReadConcernLevel
dup
ldc "SNAPSHOT"
iconst_3
7: ldc "snapshot"
invokespecial com.mongodb.ReadConcernLevel.<init>:(Ljava/lang/String;ILjava/lang/String;)V
putstatic com.mongodb.ReadConcernLevel.SNAPSHOT:Lcom/mongodb/ReadConcernLevel;
8: new com.mongodb.ReadConcernLevel
dup
ldc "AVAILABLE"
iconst_4
9: ldc "available"
invokespecial com.mongodb.ReadConcernLevel.<init>:(Ljava/lang/String;ILjava/lang/String;)V
putstatic com.mongodb.ReadConcernLevel.AVAILABLE:Lcom/mongodb/ReadConcernLevel;
10: iconst_5
anewarray com.mongodb.ReadConcernLevel
dup
iconst_0
getstatic com.mongodb.ReadConcernLevel.LOCAL:Lcom/mongodb/ReadConcernLevel;
aastore
dup
iconst_1
getstatic com.mongodb.ReadConcernLevel.MAJORITY:Lcom/mongodb/ReadConcernLevel;
aastore
dup
iconst_2
getstatic com.mongodb.ReadConcernLevel.LINEARIZABLE:Lcom/mongodb/ReadConcernLevel;
aastore
dup
iconst_3
getstatic com.mongodb.ReadConcernLevel.SNAPSHOT:Lcom/mongodb/ReadConcernLevel;
aastore
dup
iconst_4
getstatic com.mongodb.ReadConcernLevel.AVAILABLE:Lcom/mongodb/ReadConcernLevel;
aastore
putstatic com.mongodb.ReadConcernLevel.ENUM$VALUES:[Lcom/mongodb/ReadConcernLevel;
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.ReadConcernLevel.value:Ljava/lang/String;
2: return
end local 3 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/mongodb/ReadConcernLevel;
0 3 3 readConcernLevel Ljava/lang/String;
MethodParameters:
Name Flags
$enum$name
$enum$ordinal
readConcernLevel 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.ReadConcernLevel.value:Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/mongodb/ReadConcernLevel;
public static com.mongodb.ReadConcernLevel fromString(java.lang.String);
descriptor: (Ljava/lang/String;)Lcom/mongodb/ReadConcernLevel;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=7, locals=5, args_size=1
start local 0 0: ldc "readConcernLevel"
aload 0
invokestatic com.mongodb.assertions.Assertions.notNull:(Ljava/lang/String;Ljava/lang/Object;)Ljava/lang/Object;
pop
1: invokestatic com.mongodb.ReadConcernLevel.values:()[Lcom/mongodb/ReadConcernLevel;
dup
astore 4
arraylength
istore 3
iconst_0
istore 2
goto 6
StackMap locals: java.lang.String top int int com.mongodb.ReadConcernLevel[]
StackMap stack:
2: aload 4
iload 2
aaload
astore 1
start local 1 3: aload 0
aload 1
getfield com.mongodb.ReadConcernLevel.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 readConcernLevel"
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 readConcernLevel Ljava/lang/String;
3 5 1 level Lcom/mongodb/ReadConcernLevel;
MethodParameters:
Name Flags
readConcernLevel final
public static com.mongodb.ReadConcernLevel[] values();
descriptor: ()[Lcom/mongodb/ReadConcernLevel;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=3, args_size=0
0: getstatic com.mongodb.ReadConcernLevel.ENUM$VALUES:[Lcom/mongodb/ReadConcernLevel;
dup
astore 0
iconst_0
aload 0
arraylength
dup
istore 1
anewarray com.mongodb.ReadConcernLevel
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.ReadConcernLevel valueOf(java.lang.String);
descriptor: (Ljava/lang/String;)Lcom/mongodb/ReadConcernLevel;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=1, args_size=1
0: ldc Lcom/mongodb/ReadConcernLevel;
aload 0
invokestatic java.lang.Enum.valueOf:(Ljava/lang/Class;Ljava/lang/String;)Ljava/lang/Enum;
checkcast com.mongodb.ReadConcernLevel
areturn
LocalVariableTable:
Start End Slot Name Signature
MethodParameters:
Name Flags
name
}
Signature: Ljava/lang/Enum<Lcom/mongodb/ReadConcernLevel;>;
SourceFile: "ReadConcernLevel.java"