code: private String printControls(SearchControls controls) {
          StringBuffer result = new StringBuffer();
          result.append("[searchScope: ").append(controls.getSearchScope());
          result.append(", timeLimit: ").append(controls.getTimeLimit());
          result.append(", countLimit: ").append(controls.getCountLimit());
          result.append(", returningObjFlag: ").append(controls.getReturningObjFlag());
          result.append(", returningAttributes: ").append(controls.getReturningAttributes()[0]).append("]");
          return result.toString();
      }
docs: Get a user-readable string representing the {@link SearchControls} object.
  
  @param controls The controls to get the string for.
  @return The string representation for the SearchControls object.