class com.mongodb.util.JSONSerializers$BSONTimestampSerializer extends com.mongodb.util.JSONSerializers$CompoundObjectSerializer
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: com.mongodb.util.JSONSerializers$BSONTimestampSerializer
super_class: com.mongodb.util.JSONSerializers$CompoundObjectSerializer
{
void <init>(com.mongodb.util.ObjectSerializer);
descriptor: (Lcom/mongodb/util/ObjectSerializer;)V
flags: (0x0000)
Code:
stack=2, locals=2, args_size=2
start local 0 // com.mongodb.util.JSONSerializers$BSONTimestampSerializer this
start local 1 // com.mongodb.util.ObjectSerializer serializer
0: .line 440
aload 0 /* this */
aload 1 /* serializer */
invokespecial com.mongodb.util.JSONSerializers$CompoundObjectSerializer.<init>:(Lcom/mongodb/util/ObjectSerializer;)V
1: .line 441
return
end local 1 // com.mongodb.util.ObjectSerializer serializer
end local 0 // com.mongodb.util.JSONSerializers$BSONTimestampSerializer this
LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/mongodb/util/JSONSerializers$BSONTimestampSerializer;
0 2 1 serializer Lcom/mongodb/util/ObjectSerializer;
MethodParameters:
Name Flags
serializer final
public void serialize(java.lang.Object, java.lang.StringBuilder);
descriptor: (Ljava/lang/Object;Ljava/lang/StringBuilder;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=6, args_size=3
start local 0 // com.mongodb.util.JSONSerializers$BSONTimestampSerializer this
start local 1 // java.lang.Object obj
start local 2 // java.lang.StringBuilder buf
0: .line 445
aload 1 /* obj */
checkcast org.bson.types.BSONTimestamp
astore 3 /* t */
start local 3 // org.bson.types.BSONTimestamp t
1: .line 446
new com.mongodb.BasicDBObject
dup
invokespecial com.mongodb.BasicDBObject.<init>:()V
astore 4 /* temp */
start local 4 // com.mongodb.BasicDBObject temp
2: .line 447
aload 4 /* temp */
ldc "t"
aload 3 /* t */
invokevirtual org.bson.types.BSONTimestamp.getTime:()I
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
invokevirtual com.mongodb.BasicDBObject.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
3: .line 448
aload 4 /* temp */
ldc "i"
aload 3 /* t */
invokevirtual org.bson.types.BSONTimestamp.getInc:()I
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
invokevirtual com.mongodb.BasicDBObject.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
4: .line 449
new com.mongodb.BasicDBObject
dup
invokespecial com.mongodb.BasicDBObject.<init>:()V
astore 5 /* timestampObj */
start local 5 // com.mongodb.BasicDBObject timestampObj
5: .line 450
aload 5 /* timestampObj */
ldc "$timestamp"
aload 4 /* temp */
invokevirtual com.mongodb.BasicDBObject.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
6: .line 451
aload 0 /* this */
getfield com.mongodb.util.JSONSerializers$BSONTimestampSerializer.serializer:Lcom/mongodb/util/ObjectSerializer;
aload 5 /* timestampObj */
aload 2 /* buf */
invokeinterface com.mongodb.util.ObjectSerializer.serialize:(Ljava/lang/Object;Ljava/lang/StringBuilder;)V
7: .line 452
return
end local 5 // com.mongodb.BasicDBObject timestampObj
end local 4 // com.mongodb.BasicDBObject temp
end local 3 // org.bson.types.BSONTimestamp t
end local 2 // java.lang.StringBuilder buf
end local 1 // java.lang.Object obj
end local 0 // com.mongodb.util.JSONSerializers$BSONTimestampSerializer this
LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lcom/mongodb/util/JSONSerializers$BSONTimestampSerializer;
0 8 1 obj Ljava/lang/Object;
0 8 2 buf Ljava/lang/StringBuilder;
1 8 3 t Lorg/bson/types/BSONTimestamp;
2 8 4 temp Lcom/mongodb/BasicDBObject;
5 8 5 timestampObj Lcom/mongodb/BasicDBObject;
MethodParameters:
Name Flags
obj final
buf final
}
SourceFile: "JSONSerializers.java"
NestHost: com.mongodb.util.JSONSerializers
InnerClasses:
private BSONTimestampSerializer = com.mongodb.util.JSONSerializers$BSONTimestampSerializer of com.mongodb.util.JSONSerializers
private abstract CompoundObjectSerializer = com.mongodb.util.JSONSerializers$CompoundObjectSerializer of com.mongodb.util.JSONSerializers