if (Byte.class == aClass || byte.class == aClass) {
return new ByteTransferValue(jftf, box, writeMethod);
} else if (Double.class == aClass || double.class == aClass) {
return new DoubleTransferValue(jftf, box, writeMethod);
} else if (Float.class == aClass || float.class == aClass) {
return new FloatTransferValue(jftf, box, writeMethod);
} else if (Integer.class == aClass || int.class == aClass) {
return new IntegerTransferValue(jftf, box, writeMethod);
} else if (Short.class == aClass || short.class == aClass) {
return new ShortTransferValue(jftf, box, writeMethod);
} else if (Long.class == aClass || long.class == aClass) {
return new LongTransferValue(jftf, box, writeMethod);
} else {
throw new RuntimeException("unknown number class " + aClass);
}