Modifier and Type | Method and Description |
---|---|
static String |
decapitalize(String methodName,
String prefix) |
static boolean |
isConstantName(Class<?> enumClazz,
String name) |
static boolean |
matchesPrefix(String name,
String methodName,
String prefix) |
public static String decapitalize(String methodName, String prefix)
methodName
- prefix
- public static boolean matchesPrefix(String name, String methodName, String prefix)
name
- methodName
- prefix
- true
if the method name starts with the prefix and
the decapitalized part without the prefix equals to the given
nameCopyright © 2017. All rights reserved.