public class com.mongodb.client.model.FindOneAndReplaceOptions
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: com.mongodb.client.model.FindOneAndReplaceOptions
super_class: java.lang.Object
{
private org.bson.conversions.Bson projection;
descriptor: Lorg/bson/conversions/Bson;
flags: (0x0002) ACC_PRIVATE
private org.bson.conversions.Bson sort;
descriptor: Lorg/bson/conversions/Bson;
flags: (0x0002) ACC_PRIVATE
private boolean upsert;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
private com.mongodb.client.model.ReturnDocument returnDocument;
descriptor: Lcom/mongodb/client/model/ReturnDocument;
flags: (0x0002) ACC_PRIVATE
private long maxTimeMS;
descriptor: J
flags: (0x0002) ACC_PRIVATE
private java.lang.Boolean bypassDocumentValidation;
descriptor: Ljava/lang/Boolean;
flags: (0x0002) ACC_PRIVATE
private com.mongodb.client.model.Collation collation;
descriptor: Lcom/mongodb/client/model/Collation;
flags: (0x0002) ACC_PRIVATE
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
getstatic com.mongodb.client.model.ReturnDocument.BEFORE:Lcom/mongodb/client/model/ReturnDocument;
putfield com.mongodb.client.model.FindOneAndReplaceOptions.returnDocument:Lcom/mongodb/client/model/ReturnDocument;
2: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/mongodb/client/model/FindOneAndReplaceOptions;
public org.bson.conversions.Bson getProjection();
descriptor: ()Lorg/bson/conversions/Bson;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.mongodb.client.model.FindOneAndReplaceOptions.projection:Lorg/bson/conversions/Bson;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/mongodb/client/model/FindOneAndReplaceOptions;
RuntimeVisibleAnnotations:
com.mongodb.lang.Nullable()
public com.mongodb.client.model.FindOneAndReplaceOptions projection(org.bson.conversions.Bson);
descriptor: (Lorg/bson/conversions/Bson;)Lcom/mongodb/client/model/FindOneAndReplaceOptions;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
putfield com.mongodb.client.model.FindOneAndReplaceOptions.projection:Lorg/bson/conversions/Bson;
1: aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/mongodb/client/model/FindOneAndReplaceOptions;
0 2 1 projection Lorg/bson/conversions/Bson;
RuntimeVisibleParameterAnnotations:
0:
com.mongodb.lang.Nullable()
MethodParameters:
Name Flags
projection final
public org.bson.conversions.Bson getSort();
descriptor: ()Lorg/bson/conversions/Bson;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.mongodb.client.model.FindOneAndReplaceOptions.sort:Lorg/bson/conversions/Bson;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/mongodb/client/model/FindOneAndReplaceOptions;
RuntimeVisibleAnnotations:
com.mongodb.lang.Nullable()
public com.mongodb.client.model.FindOneAndReplaceOptions sort(org.bson.conversions.Bson);
descriptor: (Lorg/bson/conversions/Bson;)Lcom/mongodb/client/model/FindOneAndReplaceOptions;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
putfield com.mongodb.client.model.FindOneAndReplaceOptions.sort:Lorg/bson/conversions/Bson;
1: aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/mongodb/client/model/FindOneAndReplaceOptions;
0 2 1 sort Lorg/bson/conversions/Bson;
RuntimeVisibleParameterAnnotations:
0:
com.mongodb.lang.Nullable()
MethodParameters:
Name Flags
sort final
public boolean isUpsert();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.mongodb.client.model.FindOneAndReplaceOptions.upsert:Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/mongodb/client/model/FindOneAndReplaceOptions;
public com.mongodb.client.model.FindOneAndReplaceOptions upsert(boolean);
descriptor: (Z)Lcom/mongodb/client/model/FindOneAndReplaceOptions;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
iload 1
putfield com.mongodb.client.model.FindOneAndReplaceOptions.upsert:Z
1: aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/mongodb/client/model/FindOneAndReplaceOptions;
0 2 1 upsert Z
MethodParameters:
Name Flags
upsert final
public com.mongodb.client.model.ReturnDocument getReturnDocument();
descriptor: ()Lcom/mongodb/client/model/ReturnDocument;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.mongodb.client.model.FindOneAndReplaceOptions.returnDocument:Lcom/mongodb/client/model/ReturnDocument;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/mongodb/client/model/FindOneAndReplaceOptions;
public com.mongodb.client.model.FindOneAndReplaceOptions returnDocument(com.mongodb.client.model.ReturnDocument);
descriptor: (Lcom/mongodb/client/model/ReturnDocument;)Lcom/mongodb/client/model/FindOneAndReplaceOptions;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
ldc "returnDocument"
aload 1
invokestatic com.mongodb.assertions.Assertions.notNull:(Ljava/lang/String;Ljava/lang/Object;)Ljava/lang/Object;
checkcast com.mongodb.client.model.ReturnDocument
putfield com.mongodb.client.model.FindOneAndReplaceOptions.returnDocument:Lcom/mongodb/client/model/ReturnDocument;
1: aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/mongodb/client/model/FindOneAndReplaceOptions;
0 2 1 returnDocument Lcom/mongodb/client/model/ReturnDocument;
MethodParameters:
Name Flags
returnDocument final
public com.mongodb.client.model.FindOneAndReplaceOptions maxTime(long, java.util.concurrent.TimeUnit);
descriptor: (JLjava/util/concurrent/TimeUnit;)Lcom/mongodb/client/model/FindOneAndReplaceOptions;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=4, args_size=3
start local 0 start local 1 start local 3 0: ldc "timeUnit"
aload 3
invokestatic com.mongodb.assertions.Assertions.notNull:(Ljava/lang/String;Ljava/lang/Object;)Ljava/lang/Object;
pop
1: aload 0
getstatic java.util.concurrent.TimeUnit.MILLISECONDS:Ljava/util/concurrent/TimeUnit;
lload 1
aload 3
invokevirtual java.util.concurrent.TimeUnit.convert:(JLjava/util/concurrent/TimeUnit;)J
putfield com.mongodb.client.model.FindOneAndReplaceOptions.maxTimeMS:J
2: aload 0
areturn
end local 3 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/mongodb/client/model/FindOneAndReplaceOptions;
0 3 1 maxTime J
0 3 3 timeUnit Ljava/util/concurrent/TimeUnit;
MethodParameters:
Name Flags
maxTime final
timeUnit final
public long getMaxTime(java.util.concurrent.TimeUnit);
descriptor: (Ljava/util/concurrent/TimeUnit;)J
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 1
aload 0
getfield com.mongodb.client.model.FindOneAndReplaceOptions.maxTimeMS:J
getstatic java.util.concurrent.TimeUnit.MILLISECONDS:Ljava/util/concurrent/TimeUnit;
invokevirtual java.util.concurrent.TimeUnit.convert:(JLjava/util/concurrent/TimeUnit;)J
lreturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/mongodb/client/model/FindOneAndReplaceOptions;
0 1 1 timeUnit Ljava/util/concurrent/TimeUnit;
MethodParameters:
Name Flags
timeUnit final
public java.lang.Boolean getBypassDocumentValidation();
descriptor: ()Ljava/lang/Boolean;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.mongodb.client.model.FindOneAndReplaceOptions.bypassDocumentValidation:Ljava/lang/Boolean;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/mongodb/client/model/FindOneAndReplaceOptions;
RuntimeVisibleAnnotations:
com.mongodb.lang.Nullable()
public com.mongodb.client.model.FindOneAndReplaceOptions bypassDocumentValidation(java.lang.Boolean);
descriptor: (Ljava/lang/Boolean;)Lcom/mongodb/client/model/FindOneAndReplaceOptions;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
putfield com.mongodb.client.model.FindOneAndReplaceOptions.bypassDocumentValidation:Ljava/lang/Boolean;
1: aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/mongodb/client/model/FindOneAndReplaceOptions;
0 2 1 bypassDocumentValidation Ljava/lang/Boolean;
RuntimeVisibleParameterAnnotations:
0:
com.mongodb.lang.Nullable()
MethodParameters:
Name Flags
bypassDocumentValidation final
public com.mongodb.client.model.Collation getCollation();
descriptor: ()Lcom/mongodb/client/model/Collation;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.mongodb.client.model.FindOneAndReplaceOptions.collation:Lcom/mongodb/client/model/Collation;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/mongodb/client/model/FindOneAndReplaceOptions;
RuntimeVisibleAnnotations:
com.mongodb.lang.Nullable()
public com.mongodb.client.model.FindOneAndReplaceOptions collation(com.mongodb.client.model.Collation);
descriptor: (Lcom/mongodb/client/model/Collation;)Lcom/mongodb/client/model/FindOneAndReplaceOptions;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
putfield com.mongodb.client.model.FindOneAndReplaceOptions.collation:Lcom/mongodb/client/model/Collation;
1: aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/mongodb/client/model/FindOneAndReplaceOptions;
0 2 1 collation Lcom/mongodb/client/model/Collation;
RuntimeVisibleParameterAnnotations:
0:
com.mongodb.lang.Nullable()
MethodParameters:
Name Flags
collation final
public java.lang.String toString();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: new java.lang.StringBuilder
dup
ldc "FindOneAndReplaceOptions{projection="
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
1: aload 0
getfield com.mongodb.client.model.FindOneAndReplaceOptions.projection:Lorg/bson/conversions/Bson;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
2: ldc ", sort="
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
getfield com.mongodb.client.model.FindOneAndReplaceOptions.sort:Lorg/bson/conversions/Bson;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
3: ldc ", upsert="
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
getfield com.mongodb.client.model.FindOneAndReplaceOptions.upsert:Z
invokevirtual java.lang.StringBuilder.append:(Z)Ljava/lang/StringBuilder;
4: ldc ", returnDocument="
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
getfield com.mongodb.client.model.FindOneAndReplaceOptions.returnDocument:Lcom/mongodb/client/model/ReturnDocument;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
5: ldc ", maxTimeMS="
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
getfield com.mongodb.client.model.FindOneAndReplaceOptions.maxTimeMS:J
invokevirtual java.lang.StringBuilder.append:(J)Ljava/lang/StringBuilder;
6: ldc ", bypassDocumentValidation="
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
getfield com.mongodb.client.model.FindOneAndReplaceOptions.bypassDocumentValidation:Ljava/lang/Boolean;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
7: ldc ", collation="
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
getfield com.mongodb.client.model.FindOneAndReplaceOptions.collation:Lcom/mongodb/client/model/Collation;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
8: bipush 125
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
9: invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lcom/mongodb/client/model/FindOneAndReplaceOptions;
}
SourceFile: "FindOneAndReplaceOptions.java"