/** * <p>Returns the property name equivalent for this convention for the given class. Eg. BookController -> book</p> * * @param type The type * @return The property name equivalent */ public String asPropertyName(Class type) { return NameUtils.decapitalizeWithoutSuffix(type.getSimpleName(), suffix); }