public final class com.mongodb.ReadConcern
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: com.mongodb.ReadConcern
super_class: java.lang.Object
{
private final com.mongodb.ReadConcernLevel level;
descriptor: Lcom/mongodb/ReadConcernLevel;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
public static final com.mongodb.ReadConcern DEFAULT;
descriptor: Lcom/mongodb/ReadConcern;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
public static final com.mongodb.ReadConcern LOCAL;
descriptor: Lcom/mongodb/ReadConcern;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
public static final com.mongodb.ReadConcern MAJORITY;
descriptor: Lcom/mongodb/ReadConcern;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
public static final com.mongodb.ReadConcern LINEARIZABLE;
descriptor: Lcom/mongodb/ReadConcern;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
public static final com.mongodb.ReadConcern SNAPSHOT;
descriptor: Lcom/mongodb/ReadConcern;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
public static final com.mongodb.ReadConcern AVAILABLE;
descriptor: Lcom/mongodb/ReadConcern;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=3, locals=0, args_size=0
0: new com.mongodb.ReadConcern
dup
invokespecial com.mongodb.ReadConcern.<init>:()V
putstatic com.mongodb.ReadConcern.DEFAULT:Lcom/mongodb/ReadConcern;
1: new com.mongodb.ReadConcern
dup
getstatic com.mongodb.ReadConcernLevel.LOCAL:Lcom/mongodb/ReadConcernLevel;
invokespecial com.mongodb.ReadConcern.<init>:(Lcom/mongodb/ReadConcernLevel;)V
putstatic com.mongodb.ReadConcern.LOCAL:Lcom/mongodb/ReadConcern;
2: new com.mongodb.ReadConcern
dup
getstatic com.mongodb.ReadConcernLevel.MAJORITY:Lcom/mongodb/ReadConcernLevel;
invokespecial com.mongodb.ReadConcern.<init>:(Lcom/mongodb/ReadConcernLevel;)V
putstatic com.mongodb.ReadConcern.MAJORITY:Lcom/mongodb/ReadConcern;
3: new com.mongodb.ReadConcern
dup
getstatic com.mongodb.ReadConcernLevel.LINEARIZABLE:Lcom/mongodb/ReadConcernLevel;
invokespecial com.mongodb.ReadConcern.<init>:(Lcom/mongodb/ReadConcernLevel;)V
putstatic com.mongodb.ReadConcern.LINEARIZABLE:Lcom/mongodb/ReadConcern;
4: new com.mongodb.ReadConcern
dup
getstatic com.mongodb.ReadConcernLevel.SNAPSHOT:Lcom/mongodb/ReadConcernLevel;
invokespecial com.mongodb.ReadConcern.<init>:(Lcom/mongodb/ReadConcernLevel;)V
putstatic com.mongodb.ReadConcern.SNAPSHOT:Lcom/mongodb/ReadConcern;
5: new com.mongodb.ReadConcern
dup
getstatic com.mongodb.ReadConcernLevel.AVAILABLE:Lcom/mongodb/ReadConcernLevel;
invokespecial com.mongodb.ReadConcern.<init>:(Lcom/mongodb/ReadConcernLevel;)V
putstatic com.mongodb.ReadConcern.AVAILABLE:Lcom/mongodb/ReadConcern;
return
LocalVariableTable:
Start End Slot Name Signature
public void <init>(com.mongodb.ReadConcernLevel);
descriptor: (Lcom/mongodb/ReadConcernLevel;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
ldc "level"
aload 1
invokestatic com.mongodb.assertions.Assertions.notNull:(Ljava/lang/String;Ljava/lang/Object;)Ljava/lang/Object;
checkcast com.mongodb.ReadConcernLevel
putfield com.mongodb.ReadConcern.level:Lcom/mongodb/ReadConcernLevel;
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/mongodb/ReadConcern;
0 3 1 level Lcom/mongodb/ReadConcernLevel;
MethodParameters:
Name Flags
level final
public com.mongodb.ReadConcernLevel getLevel();
descriptor: ()Lcom/mongodb/ReadConcernLevel;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.mongodb.ReadConcern.level:Lcom/mongodb/ReadConcernLevel;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/mongodb/ReadConcern;
RuntimeVisibleAnnotations:
com.mongodb.lang.Nullable()
public boolean isServerDefault();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.mongodb.ReadConcern.level:Lcom/mongodb/ReadConcernLevel;
ifnonnull 1
iconst_1
ireturn
StackMap locals:
StackMap stack:
1: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/mongodb/ReadConcern;
public org.bson.BsonDocument asDocument();
descriptor: ()Lorg/bson/BsonDocument;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=2, args_size=1
start local 0 0: new org.bson.BsonDocument
dup
invokespecial org.bson.BsonDocument.<init>:()V
astore 1
start local 1 1: aload 0
getfield com.mongodb.ReadConcern.level:Lcom/mongodb/ReadConcernLevel;
ifnull 3
2: aload 1
ldc "level"
new org.bson.BsonString
dup
aload 0
getfield com.mongodb.ReadConcern.level:Lcom/mongodb/ReadConcernLevel;
invokevirtual com.mongodb.ReadConcernLevel.getValue:()Ljava/lang/String;
invokespecial org.bson.BsonString.<init>:(Ljava/lang/String;)V
invokevirtual org.bson.BsonDocument.put:(Ljava/lang/String;Lorg/bson/BsonValue;)Lorg/bson/BsonValue;
pop
3: StackMap locals: org.bson.BsonDocument
StackMap stack:
aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/mongodb/ReadConcern;
1 4 1 readConcern Lorg/bson/BsonDocument;
public boolean equals(java.lang.Object);
descriptor: (Ljava/lang/Object;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 0
aload 1
if_acmpne 2
1: iconst_1
ireturn
2: StackMap locals:
StackMap stack:
aload 1
ifnull 3
aload 0
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
aload 1
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
if_acmpeq 4
3: StackMap locals:
StackMap stack:
iconst_0
ireturn
4: StackMap locals:
StackMap stack:
aload 1
checkcast com.mongodb.ReadConcern
astore 2
start local 2 5: aload 0
getfield com.mongodb.ReadConcern.level:Lcom/mongodb/ReadConcernLevel;
aload 2
getfield com.mongodb.ReadConcern.level:Lcom/mongodb/ReadConcernLevel;
if_acmpne 6
iconst_1
ireturn
StackMap locals: com.mongodb.ReadConcern
StackMap stack:
6: iconst_0
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lcom/mongodb/ReadConcern;
0 7 1 o Ljava/lang/Object;
5 7 2 that Lcom/mongodb/ReadConcern;
MethodParameters:
Name Flags
o final
public int hashCode();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.mongodb.ReadConcern.level:Lcom/mongodb/ReadConcernLevel;
ifnull 1
aload 0
getfield com.mongodb.ReadConcern.level:Lcom/mongodb/ReadConcernLevel;
invokevirtual com.mongodb.ReadConcernLevel.hashCode:()I
goto 2
StackMap locals:
StackMap stack:
1: iconst_0
StackMap locals:
StackMap stack: int
2: ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/mongodb/ReadConcern;
private void <init>();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aconst_null
putfield com.mongodb.ReadConcern.level:Lcom/mongodb/ReadConcernLevel;
2: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/mongodb/ReadConcern;
}
SourceFile: "ReadConcern.java"