class ResourceName {

    public static String fromClass(String resourceClassName) {
        return String.join("-",
                toList(withoutSuffix(lowerCase(camelHumpsIterator(toSimpleName(resourceClassName))), SUFFIXES)));
    }

}