public final class com.mongodb.client.model.ReplaceOneModel<T> extends com.mongodb.client.model.WriteModel<T>
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: com.mongodb.client.model.ReplaceOneModel
super_class: com.mongodb.client.model.WriteModel
{
private final org.bson.conversions.Bson filter;
descriptor: Lorg/bson/conversions/Bson;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final T replacement;
descriptor: Ljava/lang/Object;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: TT;
private final com.mongodb.client.model.ReplaceOptions options;
descriptor: Lcom/mongodb/client/model/ReplaceOptions;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
public void <init>(org.bson.conversions.Bson, );
descriptor: (Lorg/bson/conversions/Bson;Ljava/lang/Object;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
aload 2
new com.mongodb.client.model.ReplaceOptions
dup
invokespecial com.mongodb.client.model.ReplaceOptions.<init>:()V
invokespecial com.mongodb.client.model.ReplaceOneModel.<init>:(Lorg/bson/conversions/Bson;Ljava/lang/Object;Lcom/mongodb/client/model/ReplaceOptions;)V
1: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/mongodb/client/model/ReplaceOneModel<TT;>;
0 2 1 filter Lorg/bson/conversions/Bson;
0 2 2 replacement TT;
Signature: (Lorg/bson/conversions/Bson;TT;)V
MethodParameters:
Name Flags
filter final
replacement final
public void <init>(org.bson.conversions.Bson, T, com.mongodb.client.model.UpdateOptions);
descriptor: (Lorg/bson/conversions/Bson;Ljava/lang/Object;Lcom/mongodb/client/model/UpdateOptions;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
aload 1
aload 2
aload 3
invokestatic com.mongodb.client.model.ReplaceOptions.createReplaceOptions:(Lcom/mongodb/client/model/UpdateOptions;)Lcom/mongodb/client/model/ReplaceOptions;
invokespecial com.mongodb.client.model.ReplaceOneModel.<init>:(Lorg/bson/conversions/Bson;Ljava/lang/Object;Lcom/mongodb/client/model/ReplaceOptions;)V
1: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/mongodb/client/model/ReplaceOneModel<TT;>;
0 2 1 filter Lorg/bson/conversions/Bson;
0 2 2 replacement TT;
0 2 3 options Lcom/mongodb/client/model/UpdateOptions;
Signature: (Lorg/bson/conversions/Bson;TT;Lcom/mongodb/client/model/UpdateOptions;)V
RuntimeVisibleAnnotations:
java.lang.Deprecated()
MethodParameters:
Name Flags
filter final
replacement final
options final
public void <init>(org.bson.conversions.Bson, T, com.mongodb.client.model.ReplaceOptions);
descriptor: (Lorg/bson/conversions/Bson;Ljava/lang/Object;Lcom/mongodb/client/model/ReplaceOptions;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
invokespecial com.mongodb.client.model.WriteModel.<init>:()V
1: aload 0
ldc "filter"
aload 1
invokestatic com.mongodb.assertions.Assertions.notNull:(Ljava/lang/String;Ljava/lang/Object;)Ljava/lang/Object;
checkcast org.bson.conversions.Bson
putfield com.mongodb.client.model.ReplaceOneModel.filter:Lorg/bson/conversions/Bson;
2: aload 0
ldc "options"
aload 3
invokestatic com.mongodb.assertions.Assertions.notNull:(Ljava/lang/String;Ljava/lang/Object;)Ljava/lang/Object;
checkcast com.mongodb.client.model.ReplaceOptions
putfield com.mongodb.client.model.ReplaceOneModel.options:Lcom/mongodb/client/model/ReplaceOptions;
3: aload 0
ldc "replacement"
aload 2
invokestatic com.mongodb.assertions.Assertions.notNull:(Ljava/lang/String;Ljava/lang/Object;)Ljava/lang/Object;
putfield com.mongodb.client.model.ReplaceOneModel.replacement:Ljava/lang/Object;
4: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lcom/mongodb/client/model/ReplaceOneModel<TT;>;
0 5 1 filter Lorg/bson/conversions/Bson;
0 5 2 replacement TT;
0 5 3 options Lcom/mongodb/client/model/ReplaceOptions;
Signature: (Lorg/bson/conversions/Bson;TT;Lcom/mongodb/client/model/ReplaceOptions;)V
MethodParameters:
Name Flags
filter final
replacement final
options final
public org.bson.conversions.Bson getFilter();
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.ReplaceOneModel.filter:Lorg/bson/conversions/Bson;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/mongodb/client/model/ReplaceOneModel<TT;>;
public T getReplacement();
descriptor: ()Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.mongodb.client.model.ReplaceOneModel.replacement:Ljava/lang/Object;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/mongodb/client/model/ReplaceOneModel<TT;>;
Signature: ()TT;
public com.mongodb.client.model.UpdateOptions getOptions();
descriptor: ()Lcom/mongodb/client/model/UpdateOptions;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: new com.mongodb.client.model.UpdateOptions
dup
invokespecial com.mongodb.client.model.UpdateOptions.<init>:()V
1: aload 0
getfield com.mongodb.client.model.ReplaceOneModel.options:Lcom/mongodb/client/model/ReplaceOptions;
invokevirtual com.mongodb.client.model.ReplaceOptions.getBypassDocumentValidation:()Ljava/lang/Boolean;
invokevirtual com.mongodb.client.model.UpdateOptions.bypassDocumentValidation:(Ljava/lang/Boolean;)Lcom/mongodb/client/model/UpdateOptions;
2: aload 0
getfield com.mongodb.client.model.ReplaceOneModel.options:Lcom/mongodb/client/model/ReplaceOptions;
invokevirtual com.mongodb.client.model.ReplaceOptions.getCollation:()Lcom/mongodb/client/model/Collation;
invokevirtual com.mongodb.client.model.UpdateOptions.collation:(Lcom/mongodb/client/model/Collation;)Lcom/mongodb/client/model/UpdateOptions;
3: aload 0
getfield com.mongodb.client.model.ReplaceOneModel.options:Lcom/mongodb/client/model/ReplaceOptions;
invokevirtual com.mongodb.client.model.ReplaceOptions.isUpsert:()Z
invokevirtual com.mongodb.client.model.UpdateOptions.upsert:(Z)Lcom/mongodb/client/model/UpdateOptions;
4: areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lcom/mongodb/client/model/ReplaceOneModel<TT;>;
RuntimeVisibleAnnotations:
java.lang.Deprecated()
public com.mongodb.client.model.ReplaceOptions getReplaceOptions();
descriptor: ()Lcom/mongodb/client/model/ReplaceOptions;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.mongodb.client.model.ReplaceOneModel.options:Lcom/mongodb/client/model/ReplaceOptions;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/mongodb/client/model/ReplaceOneModel<TT;>;
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 "ReplaceOneModel{filter="
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
1: aload 0
getfield com.mongodb.client.model.ReplaceOneModel.filter:Lorg/bson/conversions/Bson;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
2: ldc ", replacement="
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
getfield com.mongodb.client.model.ReplaceOneModel.replacement:Ljava/lang/Object;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
3: ldc ", options="
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
getfield com.mongodb.client.model.ReplaceOneModel.options:Lcom/mongodb/client/model/ReplaceOptions;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
4: bipush 125
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
5: invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lcom/mongodb/client/model/ReplaceOneModel<TT;>;
}
Signature: <T:Ljava/lang/Object;>Lcom/mongodb/client/model/WriteModel<TT;>;
SourceFile: "ReplaceOneModel.java"