class com.mongodb.util.JSONSerializers$DBRefBaseSerializer extends com.mongodb.util.JSONSerializers$CompoundObjectSerializer
  minor version: 0
  major version: 59
  flags: flags: (0x0020) ACC_SUPER
  this_class: com.mongodb.util.JSONSerializers$DBRefBaseSerializer
  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$DBRefBaseSerializer this
        start local 1 // com.mongodb.util.ObjectSerializer serializer
         0: .line 272
            aload 0 /* this */
            aload 1 /* serializer */
            invokespecial com.mongodb.util.JSONSerializers$CompoundObjectSerializer.<init>:(Lcom/mongodb/util/ObjectSerializer;)V
         1: .line 273
            return
        end local 1 // com.mongodb.util.ObjectSerializer serializer
        end local 0 // com.mongodb.util.JSONSerializers$DBRefBaseSerializer this
      LocalVariableTable:
        Start  End  Slot        Name  Signature
            0    2     0        this  Lcom/mongodb/util/JSONSerializers$DBRefBaseSerializer;
            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=5, args_size=3
        start local 0 // com.mongodb.util.JSONSerializers$DBRefBaseSerializer this
        start local 1 // java.lang.Object obj
        start local 2 // java.lang.StringBuilder buf
         0: .line 277
            aload 1 /* obj */
            checkcast com.mongodb.DBRef
            astore 3 /* ref */
        start local 3 // com.mongodb.DBRef ref
         1: .line 278
            new com.mongodb.BasicDBObject
            dup
            invokespecial com.mongodb.BasicDBObject.<init>:()V
            astore 4 /* temp */
        start local 4 // com.mongodb.BasicDBObject temp
         2: .line 279
            aload 4 /* temp */
            ldc "$ref"
            aload 3 /* ref */
            invokevirtual com.mongodb.DBRef.getCollectionName:()Ljava/lang/String;
            invokevirtual com.mongodb.BasicDBObject.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
            pop
         3: .line 280
            aload 4 /* temp */
            ldc "$id"
            aload 3 /* ref */
            invokevirtual com.mongodb.DBRef.getId:()Ljava/lang/Object;
            invokevirtual com.mongodb.BasicDBObject.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
            pop
         4: .line 281
            aload 3 /* ref */
            invokevirtual com.mongodb.DBRef.getDatabaseName:()Ljava/lang/String;
            ifnull 6
         5: .line 282
            aload 4 /* temp */
            ldc "$db"
            aload 3 /* ref */
            invokevirtual com.mongodb.DBRef.getDatabaseName:()Ljava/lang/String;
            invokevirtual com.mongodb.BasicDBObject.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
            pop
         6: .line 284
      StackMap locals: com.mongodb.DBRef com.mongodb.BasicDBObject
      StackMap stack:
            aload 0 /* this */
            getfield com.mongodb.util.JSONSerializers$DBRefBaseSerializer.serializer:Lcom/mongodb/util/ObjectSerializer;
            aload 4 /* temp */
            aload 2 /* buf */
            invokeinterface com.mongodb.util.ObjectSerializer.serialize:(Ljava/lang/Object;Ljava/lang/StringBuilder;)V
         7: .line 285
            return
        end local 4 // com.mongodb.BasicDBObject temp
        end local 3 // com.mongodb.DBRef ref
        end local 2 // java.lang.StringBuilder buf
        end local 1 // java.lang.Object obj
        end local 0 // com.mongodb.util.JSONSerializers$DBRefBaseSerializer this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    8     0  this  Lcom/mongodb/util/JSONSerializers$DBRefBaseSerializer;
            0    8     1   obj  Ljava/lang/Object;
            0    8     2   buf  Ljava/lang/StringBuilder;
            1    8     3   ref  Lcom/mongodb/DBRef;
            2    8     4  temp  Lcom/mongodb/BasicDBObject;
    MethodParameters:
      Name  Flags
      obj   final
      buf   final
}
SourceFile: "JSONSerializers.java"
NestHost: com.mongodb.util.JSONSerializers
InnerClasses:
  private abstract CompoundObjectSerializer = com.mongodb.util.JSONSerializers$CompoundObjectSerializer of com.mongodb.util.JSONSerializers
  private DBRefBaseSerializer = com.mongodb.util.JSONSerializers$DBRefBaseSerializer of com.mongodb.util.JSONSerializers