Take a look at inflector, a java project which lets you do Noun.pluralOf("user")
, or Noun.pluralOf("user", userList.size())
, and which handles a bunch of variations and unusual cases (person->people, loaf->loaves, etc.), as well as letting you define custom mapping rules when necessary.