}
utfWriter = unsafeBasedWriter;
break;
case REFLECTION:
ReflectionBasedCharArrayUtfWriter reflectionBasedWriter = new ReflectionBasedCharArrayUtfWriter();
if (!reflectionBasedWriter.isAvailable()) {
return null;
}
utfWriter = reflectionBasedWriter;
break;