}
private Codec createSimpleCodec(PropertyParsingContext context, Class type, Optional<Encoding> maybeEncoding) {
log.debug("Create simple codec for java type {}", type);
Codec codec;
if (Byte.class.isAssignableFrom(type) || byte.class.isAssignableFrom(type)) {
codec = new ByteCodec();
} else if (byte[].class.isAssignableFrom(type)) {
codec = new ByteArrayPrimitiveCodec();
} else if (Byte[].class.isAssignableFrom(type)) {
codec = new ByteArrayCodec();
} else if (PropertyParser.isAssignableFromNativeType(type)) {