code: protected static String turnNullClass2EmptyString(Class<?> cls, String NullDefaultStr)
      {
          return (cls == null) ? NullDefaultStr : cls.toString();
      }
docs: Helper method to convert a Class object to its textual representation.
  If class is null, the <i>NullDefaultStr</i> is returned.