test_class.declarator: charset = Charset.forName("UTF-8")
test_class.modifier: private final
test_class.original_string: private final Charset charset = Charset.forName("UTF-8");
test_class.type: Charset
test_class.var_name: charset
test_class.file: ndbc-postgres/src/test/java/io/trane/ndbc/postgres/encoding/EncodingRegistryTest.java
test_class.identifier: EncodingRegistryTest
test_case.body: @Test(expected = NdbcException.class)
    public void decodeUnsupported() {
      final EncodingRegistry reg = new EncodingRegistry(Optional.empty(), charset);
      reg.decode(99999, Format.BINARY, new MockBufferReader(ByteBuffer.allocate(100)));
    }
test_case.class_method_signature: EncodingRegistryTest.decodeUnsupported()
test_case.full_signature: @Test(expected = NdbcException.class) public void decodeUnsupported()
test_case.identifier: decodeUnsupported
test_case.invocations: empty decode allocate
test_case.modifiers: @Test(expected = NdbcException.class) public
test_case.parameters: ()
test_case.return: void
test_case.signature: void decodeUnsupported()
focal_class.declarator: byValueClass
focal_class.modifier: private final
focal_class.original_string: private final Map<Class<?>, Encoding<?, ?>> byValueClass;
focal_class.type: Map<Class<?>, Encoding<?, ?>>
focal_class.var_name: byValueClass
focal_class.declarator: byOid
focal_class.modifier: private final
focal_class.original_string: private final Map<Integer, Encoding<?, ?>>  byOid;
focal_class.type: Map<Integer, Encoding<?, ?>>
focal_class.var_name: byOid
focal_class.file: ndbc-postgres/src/main/java/io/trane/ndbc/postgres/encoding/EncodingRegistry.java
focal_class.identifier: EncodingRegistry
focal_class.class_method_signature: EncodingRegistry.EncodingRegistry(final Optional<List<Encoding<?, ?>>> customEncodings, final Charset charset)
focal_class.full_signature: public  EncodingRegistry(final Optional<List<Encoding<?, ?>>> customEncodings, final Charset charset)
focal_class.identifier: EncodingRegistry
focal_class.modifiers: public
focal_class.parameters: (final Optional<List<Encoding<?, ?>>> customEncodings, final Charset charset)
focal_class.signature:  EncodingRegistry(final Optional<List<Encoding<?, ?>>> customEncodings, final Charset charset)
focal_class.class_method_signature: EncodingRegistry.encodeBinary(final Value<T> value, final BufferWriter writer)
focal_class.full_signature: @SuppressWarnings("unchecked") public final void encodeBinary(final Value<T> value, final BufferWriter writer)
focal_class.identifier: encodeBinary
focal_class.modifiers: @SuppressWarnings("unchecked") public final
focal_class.parameters: (final Value<T> value, final BufferWriter writer)
focal_class.return: void
focal_class.signature: void encodeBinary(final Value<T> value, final BufferWriter writer)
focal_class.class_method_signature: EncodingRegistry.decode(final int oid, final Format format, final BufferReader reader)
focal_class.full_signature: public final Value<?> decode(final int oid, final Format format, final BufferReader reader)
focal_class.identifier: decode
focal_class.modifiers: public final
focal_class.parameters: (final int oid, final Format format, final BufferReader reader)
focal_class.return: Value<?>
focal_class.signature: Value<?> decode(final int oid, final Format format, final BufferReader reader)
focal_class.class_method_signature: EncodingRegistry.oid(final Value<?> value)
focal_class.full_signature: public final Integer oid(final Value<?> value)
focal_class.identifier: oid
focal_class.modifiers: public final
focal_class.parameters: (final Value<?> value)
focal_class.return: Integer
focal_class.signature: Integer oid(final Value<?> value)
focal_class.class_method_signature: EncodingRegistry.registerEncodings(final List<Encoding<?, ?>> encodings)
focal_class.full_signature: private void registerEncodings(final List<Encoding<?, ?>> encodings)
focal_class.identifier: registerEncodings
focal_class.modifiers: private
focal_class.parameters: (final List<Encoding<?, ?>> encodings)
focal_class.return: void
focal_class.signature: void registerEncodings(final List<Encoding<?, ?>> encodings)
focal_method.body: public final Value<?> decode(final int oid, final Format format, final BufferReader reader) {
      Encoding<?, ?> enc;
      if ((enc = byOid.get(oid)) != null)
        return enc.decode(format, reader);
      else
        throw new NdbcException("Can't decode value of type " + oid);
    }
focal_method.class_method_signature: EncodingRegistry.decode(final int oid, final Format format, final BufferReader reader)
focal_method.full_signature: public final Value<?> decode(final int oid, final Format format, final BufferReader reader)
focal_method.identifier: decode
focal_method.invocations: get decode
focal_method.modifiers: public final
focal_method.parameters: (final int oid, final Format format, final BufferReader reader)
focal_method.return: Value<?>
focal_method.signature: Value<?> decode(final int oid, final Format format, final BufferReader reader)