class com.mongodb.util.JSONSerializers$IterableSerializer extends com.mongodb.util.JSONSerializers$CompoundObjectSerializer
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: com.mongodb.util.JSONSerializers$IterableSerializer
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$IterableSerializer this
start local 1 // com.mongodb.util.ObjectSerializer serializer
0: .line 292
aload 0 /* this */
aload 1 /* serializer */
invokespecial com.mongodb.util.JSONSerializers$CompoundObjectSerializer.<init>:(Lcom/mongodb/util/ObjectSerializer;)V
1: .line 293
return
end local 1 // com.mongodb.util.ObjectSerializer serializer
end local 0 // com.mongodb.util.JSONSerializers$IterableSerializer this
LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/mongodb/util/JSONSerializers$IterableSerializer;
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$IterableSerializer this
start local 1 // java.lang.Object obj
start local 2 // java.lang.StringBuilder buf
0: .line 297
iconst_1
istore 3 /* first */
start local 3 // boolean first
1: .line 298
aload 2 /* buf */
ldc "[ "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
2: .line 300
aload 1 /* obj */
checkcast java.lang.Iterable
invokeinterface java.lang.Iterable.iterator:()Ljava/util/Iterator;
astore 5
goto 9
StackMap locals: com.mongodb.util.JSONSerializers$IterableSerializer java.lang.Object java.lang.StringBuilder int top java.util.Iterator
StackMap stack:
3: aload 5
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
astore 4 /* o */
start local 4 // java.lang.Object o
4: .line 301
iload 3 /* first */
ifeq 7
5: .line 302
iconst_0
istore 3 /* first */
6: .line 303
goto 8
7: .line 304
StackMap locals: com.mongodb.util.JSONSerializers$IterableSerializer java.lang.Object java.lang.StringBuilder int java.lang.Object java.util.Iterator
StackMap stack:
aload 2 /* buf */
ldc " , "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
8: .line 307
StackMap locals:
StackMap stack:
aload 0 /* this */
getfield com.mongodb.util.JSONSerializers$IterableSerializer.serializer:Lcom/mongodb/util/ObjectSerializer;
aload 4 /* o */
aload 2 /* buf */
invokeinterface com.mongodb.util.ObjectSerializer.serialize:(Ljava/lang/Object;Ljava/lang/StringBuilder;)V
end local 4 // java.lang.Object o
9: .line 300
StackMap locals: com.mongodb.util.JSONSerializers$IterableSerializer java.lang.Object java.lang.StringBuilder int top java.util.Iterator
StackMap stack:
aload 5
invokeinterface java.util.Iterator.hasNext:()Z
ifne 3
10: .line 309
aload 2 /* buf */
ldc "]"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
11: .line 310
return
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$IterableSerializer this
LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Lcom/mongodb/util/JSONSerializers$IterableSerializer;
0 12 1 obj Ljava/lang/Object;
0 12 2 buf Ljava/lang/StringBuilder;
1 12 3 first Z
4 9 4 o Ljava/lang/Object;
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 IterableSerializer = com.mongodb.util.JSONSerializers$IterableSerializer of com.mongodb.util.JSONSerializers