class com.mongodb.client.model.SimpleExpression<TExpression> implements org.bson.conversions.Bson
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: com.mongodb.client.model.SimpleExpression
super_class: java.lang.Object
{
private final java.lang.String name;
descriptor: Ljava/lang/String;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final TExpression expression;
descriptor: Ljava/lang/Object;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: TTExpression;
void <init>(java.lang.String, );
descriptor: (Ljava/lang/String;Ljava/lang/Object;)V
flags: (0x0000)
Code:
stack=2, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aload 1
putfield com.mongodb.client.model.SimpleExpression.name:Ljava/lang/String;
2: aload 0
aload 2
putfield com.mongodb.client.model.SimpleExpression.expression:Ljava/lang/Object;
3: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/mongodb/client/model/SimpleExpression<TTExpression;>;
0 4 1 name Ljava/lang/String;
0 4 2 expression TTExpression;
Signature: (Ljava/lang/String;TTExpression;)V
MethodParameters:
Name Flags
name final
expression final
public <TDocument> org.bson.BsonDocument toBsonDocument(java.lang.Class<TDocument>, org.bson.codecs.configuration.CodecRegistry);
descriptor: (Ljava/lang/Class;Lorg/bson/codecs/configuration/CodecRegistry;)Lorg/bson/BsonDocument;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=4, args_size=3
start local 0 start local 1 start local 2 0: new org.bson.BsonDocumentWriter
dup
new org.bson.BsonDocument
dup
invokespecial org.bson.BsonDocument.<init>:()V
invokespecial org.bson.BsonDocumentWriter.<init>:(Lorg/bson/BsonDocument;)V
astore 3
start local 3 1: aload 3
invokevirtual org.bson.BsonDocumentWriter.writeStartDocument:()V
2: aload 3
aload 0
getfield com.mongodb.client.model.SimpleExpression.name:Ljava/lang/String;
invokevirtual org.bson.BsonDocumentWriter.writeName:(Ljava/lang/String;)V
3: aload 3
aload 0
getfield com.mongodb.client.model.SimpleExpression.expression:Ljava/lang/Object;
aload 2
invokestatic com.mongodb.client.model.BuildersHelper.encodeValue:(Lorg/bson/BsonDocumentWriter;Ljava/lang/Object;Lorg/bson/codecs/configuration/CodecRegistry;)V
4: aload 3
invokevirtual org.bson.BsonDocumentWriter.writeEndDocument:()V
5: aload 3
invokevirtual org.bson.BsonDocumentWriter.getDocument:()Lorg/bson/BsonDocument;
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lcom/mongodb/client/model/SimpleExpression<TTExpression;>;
0 6 1 documentClass Ljava/lang/Class<TTDocument;>;
0 6 2 codecRegistry Lorg/bson/codecs/configuration/CodecRegistry;
1 6 3 writer Lorg/bson/BsonDocumentWriter;
Signature: <TDocument:Ljava/lang/Object;>(Ljava/lang/Class<TTDocument;>;Lorg/bson/codecs/configuration/CodecRegistry;)Lorg/bson/BsonDocument;
MethodParameters:
Name Flags
documentClass final
codecRegistry final
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.client.model.SimpleExpression
astore 2
start local 2 5: aload 0
getfield com.mongodb.client.model.SimpleExpression.name:Ljava/lang/String;
ifnull 6
aload 0
getfield com.mongodb.client.model.SimpleExpression.name:Ljava/lang/String;
aload 2
getfield com.mongodb.client.model.SimpleExpression.name:Ljava/lang/String;
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 8
goto 7
StackMap locals: com.mongodb.client.model.SimpleExpression
StackMap stack:
6: aload 2
getfield com.mongodb.client.model.SimpleExpression.name:Ljava/lang/String;
ifnull 8
7: StackMap locals:
StackMap stack:
iconst_0
ireturn
8: StackMap locals:
StackMap stack:
aload 0
getfield com.mongodb.client.model.SimpleExpression.expression:Ljava/lang/Object;
ifnull 9
aload 0
getfield com.mongodb.client.model.SimpleExpression.expression:Ljava/lang/Object;
aload 2
getfield com.mongodb.client.model.SimpleExpression.expression:Ljava/lang/Object;
invokevirtual java.lang.Object.equals:(Ljava/lang/Object;)Z
goto 11
StackMap locals:
StackMap stack:
9: aload 2
getfield com.mongodb.client.model.SimpleExpression.expression:Ljava/lang/Object;
ifnonnull 10
iconst_1
goto 11
StackMap locals:
StackMap stack:
10: iconst_0
StackMap locals:
StackMap stack: int
11: ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Lcom/mongodb/client/model/SimpleExpression<TTExpression;>;
0 12 1 o Ljava/lang/Object;
5 12 2 that Lcom/mongodb/client/model/SimpleExpression<*>;
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.client.model.SimpleExpression.name:Ljava/lang/String;
ifnull 1
aload 0
getfield com.mongodb.client.model.SimpleExpression.name:Ljava/lang/String;
invokevirtual java.lang.String.hashCode:()I
goto 2
StackMap locals:
StackMap stack:
1: iconst_0
StackMap locals:
StackMap stack: int
2: istore 1
start local 1 3: bipush 31
iload 1
imul
aload 0
getfield com.mongodb.client.model.SimpleExpression.expression:Ljava/lang/Object;
ifnull 4
aload 0
getfield com.mongodb.client.model.SimpleExpression.expression:Ljava/lang/Object;
invokevirtual java.lang.Object.hashCode:()I
goto 5
StackMap locals: com.mongodb.client.model.SimpleExpression int
StackMap stack: int
4: iconst_0
StackMap locals: com.mongodb.client.model.SimpleExpression int
StackMap stack: int int
5: iadd
istore 1
6: iload 1
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lcom/mongodb/client/model/SimpleExpression<TTExpression;>;
3 7 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 "Expression{name='"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
1: aload 0
getfield com.mongodb.client.model.SimpleExpression.name:Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
bipush 39
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
2: ldc ", expression="
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
getfield com.mongodb.client.model.SimpleExpression.expression:Ljava/lang/Object;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
3: bipush 125
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
4: invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lcom/mongodb/client/model/SimpleExpression<TTExpression;>;
}
Signature: <TExpression:Ljava/lang/Object;>Ljava/lang/Object;Lorg/bson/conversions/Bson;
SourceFile: "SimpleExpression.java"