code: private Class<?> convertType(Class<?> old)
     {
        if (Boolean.class.equals(old))
        {
           return boolean.class;
        }
        else if (boolean.class.equals(old))
        {
           return Boolean.class;
        }
        else if (Byte.class.equals(old))
        {
           return byte.class;
        }
        else if (byte.class.equals(old))
        {
           return Byte.class;
        }
        else if (Short.class.equals(old))
        {
           return short.class;
        }
        else if (short.class.equals(old))
        {
           return Short.class;
        }
        else if (Integer.class.equals(old))
        {
           return int.class;
        }
        else if (int.class.equals(old))
        {
           return Integer.class;
        }
        else if (Long.class.equals(old))
        {
           return long.class;
        }
        else if (long.class.equals(old))
        {
           return Long.class;
        }
        else if (Float.class.equals(old))
        {
           return float.class;
        }
        else if (float.class.equals(old))
        {
           return Float.class;
        }
        else if (Double.class.equals(old))
        {
           return double.class;
        }
        else if (double.class.equals(old))
        {
           return Double.class;
        }
        else if (Character.class.equals(old))
        {
           return char.class;
        }
        else if (char.class.equals(old))
        {
           return Character.class;
        }
  
        return null;
     }
docs: Convert type if possible
  @param old The old type
  @return The new type; otherwise <code>null</code>