final class com.mongodb.client.model.BuildersHelper
minor version: 0
major version: 59
flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
this_class: com.mongodb.client.model.BuildersHelper
super_class: java.lang.Object
{
static <TItem> void encodeValue(org.bson.BsonDocumentWriter, TItem, org.bson.codecs.configuration.CodecRegistry);
descriptor: (Lorg/bson/BsonDocumentWriter;Ljava/lang/Object;Lorg/bson/codecs/configuration/CodecRegistry;)V
flags: (0x0008) ACC_STATIC
Code:
stack=5, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 1
ifnonnull 3
1: aload 0
invokevirtual org.bson.BsonDocumentWriter.writeNull:()V
2: goto 10
StackMap locals:
StackMap stack:
3: aload 1
instanceof org.bson.conversions.Bson
ifeq 9
4: aload 2
ldc Lorg/bson/BsonDocument;
invokeinterface org.bson.codecs.configuration.CodecRegistry.get:(Ljava/lang/Class;)Lorg/bson/codecs/Codec;
aload 0
5: aload 1
checkcast org.bson.conversions.Bson
ldc Lorg/bson/BsonDocument;
aload 2
invokeinterface org.bson.conversions.Bson.toBsonDocument:(Ljava/lang/Class;Lorg/bson/codecs/configuration/CodecRegistry;)Lorg/bson/BsonDocument;
6: invokestatic org.bson.codecs.EncoderContext.builder:()Lorg/bson/codecs/EncoderContext$Builder;
invokevirtual org.bson.codecs.EncoderContext$Builder.build:()Lorg/bson/codecs/EncoderContext;
7: invokeinterface org.bson.codecs.Encoder.encode:(Lorg/bson/BsonWriter;Ljava/lang/Object;Lorg/bson/codecs/EncoderContext;)V
8: goto 10
9: StackMap locals:
StackMap stack:
aload 2
aload 1
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
invokeinterface org.bson.codecs.configuration.CodecRegistry.get:(Ljava/lang/Class;)Lorg/bson/codecs/Codec;
aload 0
aload 1
invokestatic org.bson.codecs.EncoderContext.builder:()Lorg/bson/codecs/EncoderContext$Builder;
invokevirtual org.bson.codecs.EncoderContext$Builder.build:()Lorg/bson/codecs/EncoderContext;
invokeinterface org.bson.codecs.Encoder.encode:(Lorg/bson/BsonWriter;Ljava/lang/Object;Lorg/bson/codecs/EncoderContext;)V
10: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 writer Lorg/bson/BsonDocumentWriter;
0 11 1 value TTItem;
0 11 2 codecRegistry Lorg/bson/codecs/configuration/CodecRegistry;
Signature: <TItem:Ljava/lang/Object;>(Lorg/bson/BsonDocumentWriter;TTItem;Lorg/bson/codecs/configuration/CodecRegistry;)V
MethodParameters:
Name Flags
writer final
value final
codecRegistry final
private void <init>();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/mongodb/client/model/BuildersHelper;
}
SourceFile: "BuildersHelper.java"
InnerClasses:
public final Builder = org.bson.codecs.EncoderContext$Builder of org.bson.codecs.EncoderContext