MCPcopy Create free account
hub / github.com/apache/groovy / getSetterName

Method getSetterName

src/main/java/groovy/lang/MetaProperty.java:112–114  ·  view source on GitHub ↗

Gets the setter for the getter for this property. @return The name of the property. The name is "set"+ the capitalized propertyName.

(final String propertyName)

Source from the content-addressed store, hash-verified

110 * @return The name of the property. The name is "set"+ the capitalized propertyName.
111 */
112 public static String getSetterName(final String propertyName) {
113 return PROPERTY_SET_PREFIX + capitalize(propertyName);
114 }
115}

Callers 8

getSetterNameMethod · 0.95
setViaSetterSMethod · 0.45
buildMethod · 0.45

Calls 1

capitalizeMethod · 0.45

Tested by

no test coverage detected