code: public static String getReverseRouteFast(Class<? extends Controller> clazz) {
      	String simpleName = clazz.getSimpleName();
          if (! simpleName.endsWith("Controller")) {
              throw new ControllerException("controller name must end with 'Controller' suffix");
          }
  
          String className = clazz.getName();
          if (!className.startsWith(PropertiesConstants.CONTROLLER_PACKAGE)) {
              throw new ControllerException("controller must be in the '"+PropertiesConstants.CONTROLLER_PACKAGE+"' package");
          }
          
          
      	int lastDot = className.lastIndexOf('.');
      	if (lastDot == CONTROLLER_PACKAGE_LENGTH) {
      	    return "/" + StringUtil.underscore(simpleName.substring(0, simpleName.length()-CONTROLLER_LENGTH));
      	} else {
      	    // we know that CONTROLLER_PACKAGE_LENGTH < lastDot
      	    String packageSuffix = className.substring(CONTROLLER_PACKAGE_LENGTH, lastDot);
      	    packageSuffix = packageSuffix.replace('.', '/');
      	    
      	    return new StringBuilder(packageSuffix.length() + simpleName.length())
      	        .append(packageSuffix)
      	        .append('/')
      	        .append(StringUtil.underscore(simpleName.substring(0, simpleName.length()-CONTROLLER_LENGTH)))
      	        .toString();
      	}
      }
docs: Generates a path to a controller based on its package and class name. The path always starts with a slash: "/".
  Examples:
  <p></p>
  <ul>
  <li>For class: <code>app.controllers.Simple</code> the path will be: <code>/simple</code>.</li>
  <li>For class: <code>app.controllers.admin.PeopleAdmin</code> the path will be: <code>/admin/people_admin</code>.</li>
  <li>For class: <code>app.controllers.admin.simple.PeopleAdmin</code> the path will be: <code>/admin/simple/people_admin</code>.</li>
  </ul>
  <p></p>
  Class name looses the "Controller" suffix and gets converted to underscore format, while packages stay unchanged.
  
  @param controllerClass class of a controller.
  @param <T> class extending {@link Controller}
  @return standard path for a controller.