class ReflectionExt {

    public static boolean isNumeric(Class<?> type) {
        if (Number.class.isAssignableFrom(type)) {
            return true;
        }
        if (Integer.TYPE == type || Long.TYPE == type || Float.TYPE == type || Double.TYPE == type) {
            return true;
        }
        return false;
    }

    private  ReflectionExt();

}