Gets the name for the getter for this property @return The name of the property. The name is "get" + the capitalized propertyName or, in the case of boolean values, "is" + the capitalized propertyName
(final String propertyName, final Class type)
| 100 | * or, in the case of boolean values, "is" + the capitalized propertyName |
| 101 | */ |
| 102 | public static String getGetterName(final String propertyName, final Class type) { |
| 103 | String prefix = type == Boolean.TYPE ? "is" : "get"; |
| 104 | return prefix + capitalize(propertyName); |
| 105 | } |
| 106 | |
| 107 | /** |
| 108 | * Gets the setter for the getter for this property. |
no test coverage detected