@Test void getMethodName() { String name = ServiceUtil.getMethodName(serviceMethod); assertEquals("serviceMethod", name); }
public static String getMethodName(ServiceMethod serviceMethod) { String name = serviceMethod.getName(); String formattedName = Formatter.toCamelCase(name); if (isReservedKeyword(formattedName)) { return formattedName + '_'; } return formattedName; }
ServiceUtil { public static String getMethodName(ServiceMethod serviceMethod) { String name = serviceMethod.getName(); String formattedName = Formatter.toCamelCase(name); if (isReservedKeyword(formattedName)) { return formattedName + '_'; } return formattedName; } }
ServiceUtil { public static String getMethodName(ServiceMethod serviceMethod) { String name = serviceMethod.getName(); String formattedName = Formatter.toCamelCase(name); if (isReservedKeyword(formattedName)) { return formattedName + '_'; } return formattedName; } private  ServiceUtil(); }
ServiceUtil { public static String getMethodName(ServiceMethod serviceMethod) { String name = serviceMethod.getName(); String formattedName = Formatter.toCamelCase(name); if (isReservedKeyword(formattedName)) { return formattedName + '_'; } return formattedName; } private  ServiceUtil(); static String getClassName(Service service); static String getMethodName(ServiceMethod serviceMethod); }
ServiceUtil { public static String getMethodName(ServiceMethod serviceMethod) { String name = serviceMethod.getName(); String formattedName = Formatter.toCamelCase(name); if (isReservedKeyword(formattedName)) { return formattedName + '_'; } return formattedName; } private  ServiceUtil(); static String getClassName(Service service); static String getMethodName(ServiceMethod serviceMethod);  }