code: public String getShortName()
    {
      if (isArray())
        return getComponentType().getShortName() + "[]";
      else {
        String name = getName().replace('$', '.');
        
        int p = name.lastIndexOf('.');
  
        if (p >= 0)
          return name.substring(p + 1);
        else
          return name;
      }
    }
docs: Returns a printable version of a class.