code: public static <T> boolean isLong(Class<T> field) {
          //to compatibility to scala
          return Long.class.getSimpleName().equalsIgnoreCase(field.getSimpleName());
      }
docs: Test if a field is Long.
  
  @param field the field.
  @return true  if field is Long. False in other case.