public class org.bson.codecs.CharacterCodec implements org.bson.codecs.Codec<java.lang.Character>
  minor version: 0
  major version: 59
  flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
  this_class: org.bson.codecs.CharacterCodec
  super_class: java.lang.Object
{
  public void <init>();
    descriptor: ()V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // org.bson.codecs.CharacterCodec this
         0: .line 31
            aload 0 /* this */
            invokespecial java.lang.Object.<init>:()V
            return
        end local 0 // org.bson.codecs.CharacterCodec this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Lorg/bson/codecs/CharacterCodec;

  public void encode(org.bson.BsonWriter, java.lang.Character, org.bson.codecs.EncoderContext);
    descriptor: (Lorg/bson/BsonWriter;Ljava/lang/Character;Lorg/bson/codecs/EncoderContext;)V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=2, locals=4, args_size=4
        start local 0 // org.bson.codecs.CharacterCodec this
        start local 1 // org.bson.BsonWriter writer
        start local 2 // java.lang.Character value
        start local 3 // org.bson.codecs.EncoderContext encoderContext
         0: .line 34
            ldc "value"
            aload 2 /* value */
            invokestatic org.bson.assertions.Assertions.notNull:(Ljava/lang/String;Ljava/lang/Object;)Ljava/lang/Object;
            pop
         1: .line 36
            aload 1 /* writer */
            aload 2 /* value */
            invokevirtual java.lang.Character.toString:()Ljava/lang/String;
            invokeinterface org.bson.BsonWriter.writeString:(Ljava/lang/String;)V
         2: .line 37
            return
        end local 3 // org.bson.codecs.EncoderContext encoderContext
        end local 2 // java.lang.Character value
        end local 1 // org.bson.BsonWriter writer
        end local 0 // org.bson.codecs.CharacterCodec this
      LocalVariableTable:
        Start  End  Slot            Name  Signature
            0    3     0            this  Lorg/bson/codecs/CharacterCodec;
            0    3     1          writer  Lorg/bson/BsonWriter;
            0    3     2           value  Ljava/lang/Character;
            0    3     3  encoderContext  Lorg/bson/codecs/EncoderContext;
    MethodParameters:
                Name  Flags
      writer          final
      value           final
      encoderContext  final

  public java.lang.Character decode(org.bson.BsonReader, org.bson.codecs.DecoderContext);
    descriptor: (Lorg/bson/BsonReader;Lorg/bson/codecs/DecoderContext;)Ljava/lang/Character;
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=7, locals=4, args_size=3
        start local 0 // org.bson.codecs.CharacterCodec this
        start local 1 // org.bson.BsonReader reader
        start local 2 // org.bson.codecs.DecoderContext decoderContext
         0: .line 41
            aload 1 /* reader */
            invokeinterface org.bson.BsonReader.readString:()Ljava/lang/String;
            astore 3 /* string */
        start local 3 // java.lang.String string
         1: .line 42
            aload 3 /* string */
            invokevirtual java.lang.String.length:()I
            iconst_1
            if_icmpeq 5
         2: .line 43
            new org.bson.BsonInvalidOperationException
            dup
            ldc "Attempting to decode the string '%s' to a character, but its length is not equal to one"
            iconst_1
            anewarray java.lang.Object
            dup
            iconst_0
         3: .line 44
            aload 3 /* string */
            aastore
         4: .line 43
            invokestatic java.lang.String.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
            invokespecial org.bson.BsonInvalidOperationException.<init>:(Ljava/lang/String;)V
            athrow
         5: .line 47
      StackMap locals: java.lang.String
      StackMap stack:
            aload 3 /* string */
            iconst_0
            invokevirtual java.lang.String.charAt:(I)C
            invokestatic java.lang.Character.valueOf:(C)Ljava/lang/Character;
            areturn
        end local 3 // java.lang.String string
        end local 2 // org.bson.codecs.DecoderContext decoderContext
        end local 1 // org.bson.BsonReader reader
        end local 0 // org.bson.codecs.CharacterCodec this
      LocalVariableTable:
        Start  End  Slot            Name  Signature
            0    6     0            this  Lorg/bson/codecs/CharacterCodec;
            0    6     1          reader  Lorg/bson/BsonReader;
            0    6     2  decoderContext  Lorg/bson/codecs/DecoderContext;
            1    6     3          string  Ljava/lang/String;
    MethodParameters:
                Name  Flags
      reader          final
      decoderContext  final

  public java.lang.Class<java.lang.Character> getEncoderClass();
    descriptor: ()Ljava/lang/Class;
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // org.bson.codecs.CharacterCodec this
         0: .line 52
            ldc Ljava/lang/Character;
            areturn
        end local 0 // org.bson.codecs.CharacterCodec this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Lorg/bson/codecs/CharacterCodec;
    Signature: ()Ljava/lang/Class<Ljava/lang/Character;>;

  public java.lang.Object decode(org.bson.BsonReader, org.bson.codecs.DecoderContext);
    descriptor: (Lorg/bson/BsonReader;Lorg/bson/codecs/DecoderContext;)Ljava/lang/Object;
    flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
    Code:
      stack=3, locals=3, args_size=3
         0: .line 1
            aload 0
            aload 1
            aload 2
            invokevirtual org.bson.codecs.CharacterCodec.decode:(Lorg/bson/BsonReader;Lorg/bson/codecs/DecoderContext;)Ljava/lang/Character;
            areturn
      LocalVariableTable:
        Start  End  Slot  Name  Signature

  public void encode(org.bson.BsonWriter, java.lang.Object, org.bson.codecs.EncoderContext);
    descriptor: (Lorg/bson/BsonWriter;Ljava/lang/Object;Lorg/bson/codecs/EncoderContext;)V
    flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
    Code:
      stack=4, locals=4, args_size=4
         0: .line 1
            aload 0
            aload 1
            aload 2
            checkcast java.lang.Character
            aload 3
            invokevirtual org.bson.codecs.CharacterCodec.encode:(Lorg/bson/BsonWriter;Ljava/lang/Character;Lorg/bson/codecs/EncoderContext;)V
            return
      LocalVariableTable:
        Start  End  Slot  Name  Signature
}
Signature: Ljava/lang/Object;Lorg/bson/codecs/Codec<Ljava/lang/Character;>;
SourceFile: "CharacterCodec.java"