return marshallerDelegate.unmarshall(null, null, this, in);
}
private Object readPrimitive(String fieldName, JavaType javaType) throws IOException {
FieldDescriptor fd = messageContext.marshallerDelegate.getFieldsByName().get(fieldName);
Type type = fd.getType();
if (type == Type.ENUM
|| type == Type.GROUP
|| type == Type.MESSAGE) {
throw new IllegalArgumentException("Declared field type is not a primitive : " + fd.getFullName());
}