@Test void testResourceName() { assertThat(ResourceName.fromClass("SomeEntityResource")).isEqualTo("some-entity"); }
public static String fromClass(String resourceClassName) { return String.join("-", toList(withoutSuffix(lowerCase(camelHumpsIterator(toSimpleName(resourceClassName))), SUFFIXES))); }
ResourceName { public static String fromClass(String resourceClassName) { return String.join("-", toList(withoutSuffix(lowerCase(camelHumpsIterator(toSimpleName(resourceClassName))), SUFFIXES))); } }
ResourceName { public static String fromClass(String resourceClassName) { return String.join("-", toList(withoutSuffix(lowerCase(camelHumpsIterator(toSimpleName(resourceClassName))), SUFFIXES))); }  }
ResourceName { public static String fromClass(String resourceClassName) { return String.join("-", toList(withoutSuffix(lowerCase(camelHumpsIterator(toSimpleName(resourceClassName))), SUFFIXES))); }  static String fromClass(String resourceClassName); }
ResourceName { public static String fromClass(String resourceClassName) { return String.join("-", toList(withoutSuffix(lowerCase(camelHumpsIterator(toSimpleName(resourceClassName))), SUFFIXES))); }  static String fromClass(String resourceClassName);  }