class com.mongodb.util.JSONSerializers$DBObjectSerializer extends com.mongodb.util.JSONSerializers$CompoundObjectSerializer
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: com.mongodb.util.JSONSerializers$DBObjectSerializer
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$DBObjectSerializer this
start local 1 // com.mongodb.util.ObjectSerializer serializer
0: .line 240
aload 0 /* this */
aload 1 /* serializer */
invokespecial com.mongodb.util.JSONSerializers$CompoundObjectSerializer.<init>:(Lcom/mongodb/util/ObjectSerializer;)V
1: .line 241
return
end local 1 // com.mongodb.util.ObjectSerializer serializer
end local 0 // com.mongodb.util.JSONSerializers$DBObjectSerializer this
LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/mongodb/util/JSONSerializers$DBObjectSerializer;
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=8, args_size=3
start local 0 // com.mongodb.util.JSONSerializers$DBObjectSerializer this
start local 1 // java.lang.Object obj
start local 2 // java.lang.StringBuilder buf
0: .line 245
iconst_1
istore 3 /* first */
start local 3 // boolean first
1: .line 246
aload 2 /* buf */
ldc "{ "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
2: .line 247
aload 1 /* obj */
checkcast com.mongodb.DBObject
astore 4 /* dbo */
start local 4 // com.mongodb.DBObject dbo
3: .line 250
aload 4 /* dbo */
invokeinterface com.mongodb.DBObject.keySet:()Ljava/util/Set;
invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
astore 7
goto 13
StackMap locals: com.mongodb.util.JSONSerializers$DBObjectSerializer java.lang.Object java.lang.StringBuilder int com.mongodb.DBObject top top java.util.Iterator
StackMap stack:
4: aload 7
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.lang.String
astore 6 /* s */
start local 6 // java.lang.String s
5: .line 251
aload 6 /* s */
astore 5 /* name */
start local 5 // java.lang.String name
6: .line 253
iload 3 /* first */
ifeq 9
7: .line 254
iconst_0
istore 3 /* first */
8: .line 255
goto 10
9: .line 256
StackMap locals: com.mongodb.util.JSONSerializers$DBObjectSerializer java.lang.Object java.lang.StringBuilder int com.mongodb.DBObject java.lang.String java.lang.String java.util.Iterator
StackMap stack:
aload 2 /* buf */
ldc " , "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
10: .line 259
StackMap locals:
StackMap stack:
aload 2 /* buf */
aload 5 /* name */
invokestatic com.mongodb.util.JSON.string:(Ljava/lang/StringBuilder;Ljava/lang/String;)V
11: .line 260
aload 2 /* buf */
ldc " : "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
12: .line 261
aload 0 /* this */
getfield com.mongodb.util.JSONSerializers$DBObjectSerializer.serializer:Lcom/mongodb/util/ObjectSerializer;
aload 4 /* dbo */
aload 5 /* name */
invokeinterface com.mongodb.DBObject.get:(Ljava/lang/String;)Ljava/lang/Object;
aload 2 /* buf */
invokeinterface com.mongodb.util.ObjectSerializer.serialize:(Ljava/lang/Object;Ljava/lang/StringBuilder;)V
end local 6 // java.lang.String s
end local 5 // java.lang.String name
13: .line 250
StackMap locals: com.mongodb.util.JSONSerializers$DBObjectSerializer java.lang.Object java.lang.StringBuilder int com.mongodb.DBObject top top java.util.Iterator
StackMap stack:
aload 7
invokeinterface java.util.Iterator.hasNext:()Z
ifne 4
14: .line 264
aload 2 /* buf */
ldc "}"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
15: .line 265
return
end local 4 // com.mongodb.DBObject dbo
end local 3 // boolean first
end local 2 // java.lang.StringBuilder buf
end local 1 // java.lang.Object obj
end local 0 // com.mongodb.util.JSONSerializers$DBObjectSerializer this
LocalVariableTable:
Start End Slot Name Signature
0 16 0 this Lcom/mongodb/util/JSONSerializers$DBObjectSerializer;
0 16 1 obj Ljava/lang/Object;
0 16 2 buf Ljava/lang/StringBuilder;
1 16 3 first Z
3 16 4 dbo Lcom/mongodb/DBObject;
6 13 5 name Ljava/lang/String;
5 13 6 s Ljava/lang/String;
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 DBObjectSerializer = com.mongodb.util.JSONSerializers$DBObjectSerializer of com.mongodb.util.JSONSerializers