class com.mongodb.WriteConcernResult$1 extends com.mongodb.WriteConcernResult
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: com.mongodb.WriteConcernResult$1
super_class: com.mongodb.WriteConcernResult
{
private final int val$count;
descriptor: I
flags: (0x1012) ACC_PRIVATE, ACC_FINAL, ACC_SYNTHETIC
private final boolean val$isUpdateOfExisting;
descriptor: Z
flags: (0x1012) ACC_PRIVATE, ACC_FINAL, ACC_SYNTHETIC
private final org.bson.BsonValue val$upsertedId;
descriptor: Lorg/bson/BsonValue;
flags: (0x1012) ACC_PRIVATE, ACC_FINAL, ACC_SYNTHETIC
void <init>(int, boolean, org.bson.BsonValue);
descriptor: (IZLorg/bson/BsonValue;)V
flags: (0x0000)
Code:
stack=2, locals=4, args_size=4
start local 0 0: aload 0
iload 1
putfield com.mongodb.WriteConcernResult$1.val$count:I
aload 0
iload 2
putfield com.mongodb.WriteConcernResult$1.val$isUpdateOfExisting:Z
aload 0
aload 3
putfield com.mongodb.WriteConcernResult$1.val$upsertedId:Lorg/bson/BsonValue;
aload 0
invokespecial com.mongodb.WriteConcernResult.<init>:()V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/mongodb/WriteConcernResult$1;
MethodParameters:
Name Flags
val$count final
val$isUpdateOfExisting final
val$upsertedId final
public boolean wasAcknowledged();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: iconst_1
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/mongodb/WriteConcernResult$1;
public int getCount();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.mongodb.WriteConcernResult$1.val$count:I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/mongodb/WriteConcernResult$1;
public boolean isUpdateOfExisting();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.mongodb.WriteConcernResult$1.val$isUpdateOfExisting:Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/mongodb/WriteConcernResult$1;
public org.bson.BsonValue getUpsertedId();
descriptor: ()Lorg/bson/BsonValue;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.mongodb.WriteConcernResult$1.val$upsertedId:Lorg/bson/BsonValue;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/mongodb/WriteConcernResult$1;
RuntimeVisibleAnnotations:
com.mongodb.lang.Nullable()
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.WriteConcernResult
astore 2
start local 2 5: aload 2
invokevirtual com.mongodb.WriteConcernResult.wasAcknowledged:()Z
ifne 7
6: iconst_0
ireturn
7: StackMap locals: com.mongodb.WriteConcernResult
StackMap stack:
aload 0
getfield com.mongodb.WriteConcernResult$1.val$count:I
aload 2
invokevirtual com.mongodb.WriteConcernResult.getCount:()I
if_icmpeq 9
8: iconst_0
ireturn
9: StackMap locals:
StackMap stack:
aload 0
getfield com.mongodb.WriteConcernResult$1.val$isUpdateOfExisting:Z
aload 2
invokevirtual com.mongodb.WriteConcernResult.isUpdateOfExisting:()Z
if_icmpeq 11
10: iconst_0
ireturn
11: StackMap locals:
StackMap stack:
aload 0
getfield com.mongodb.WriteConcernResult$1.val$upsertedId:Lorg/bson/BsonValue;
ifnull 12
aload 0
getfield com.mongodb.WriteConcernResult$1.val$upsertedId:Lorg/bson/BsonValue;
aload 2
invokevirtual com.mongodb.WriteConcernResult.getUpsertedId:()Lorg/bson/BsonValue;
invokevirtual java.lang.Object.equals:(Ljava/lang/Object;)Z
ifne 14
goto 13
StackMap locals:
StackMap stack:
12: aload 2
invokevirtual com.mongodb.WriteConcernResult.getUpsertedId:()Lorg/bson/BsonValue;
ifnull 14
13: StackMap locals:
StackMap stack:
iconst_0
ireturn
14: StackMap locals:
StackMap stack:
iconst_1
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 15 0 this Lcom/mongodb/WriteConcernResult$1;
0 15 1 o Ljava/lang/Object;
5 15 2 that Lcom/mongodb/WriteConcernResult;
MethodParameters:
Name Flags
o final
public int hashCode();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: aload 0
getfield com.mongodb.WriteConcernResult$1.val$count:I
istore 1
start local 1 1: bipush 31
iload 1
imul
aload 0
getfield com.mongodb.WriteConcernResult$1.val$isUpdateOfExisting:Z
ifeq 2
iconst_1
goto 3
StackMap locals: com.mongodb.WriteConcernResult$1 int
StackMap stack: int
2: iconst_0
StackMap locals: com.mongodb.WriteConcernResult$1 int
StackMap stack: int int
3: iadd
istore 1
4: bipush 31
iload 1
imul
aload 0
getfield com.mongodb.WriteConcernResult$1.val$upsertedId:Lorg/bson/BsonValue;
ifnull 5
aload 0
getfield com.mongodb.WriteConcernResult$1.val$upsertedId:Lorg/bson/BsonValue;
invokevirtual java.lang.Object.hashCode:()I
goto 6
StackMap locals:
StackMap stack: int
5: iconst_0
StackMap locals: com.mongodb.WriteConcernResult$1 int
StackMap stack: int int
6: iadd
istore 1
7: iload 1
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lcom/mongodb/WriteConcernResult$1;
1 8 1 result I
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 "AcknowledgedWriteResult{count="
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
1: aload 0
getfield com.mongodb.WriteConcernResult$1.val$count:I
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
2: ldc ", isUpdateOfExisting="
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
getfield com.mongodb.WriteConcernResult$1.val$isUpdateOfExisting:Z
invokevirtual java.lang.StringBuilder.append:(Z)Ljava/lang/StringBuilder;
3: ldc ", upsertedId="
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
getfield com.mongodb.WriteConcernResult$1.val$upsertedId:Lorg/bson/BsonValue;
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/WriteConcernResult$1;
}
SourceFile: "WriteConcernResult.java"
EnclosingMethod: com.mongodb.WriteConcernResult.acknowledged:(IZLorg/bson/BsonValue;)Lcom/mongodb/WriteConcernResult;
NestHost: com.mongodb.WriteConcernResult
InnerClasses:
com.mongodb.WriteConcernResult$1