code: public static String getJustClassName(String classname)
     {
        int index = classname.lastIndexOf('.');
        if (index < 0)
           index = 0;
        else index = index + 1;
        return classname.substring(index);
     }
docs: Given a FQN of a class, strip out the package name
  
  @param classname
  @return just the classname