code: protected static String shortenClassname(String nam, char c) {
      final int lastdot = nam.lastIndexOf(c);
      if(lastdot >= 0) {
        nam = nam.substring(lastdot + 1);
      }
      return nam;
    }
docs: Shorten the class name.
  
  @param nam Class name
  @param c Splitting character
  @return Shortened name