compiler/src/main/java/io/sweers/barber/Barbershop.java
private static String chompLastParam(String input) {
        int lastCommaIndex = input.lastIndexOf(',');
        if (lastCommaIndex == -1) {
            return input;
        } else {
            return input.substring(0, lastCommaIndex) + ")";
        }
    }
private static String chompLastParam(String input) {
        int lastCommaIndex = input.lastIndexOf(',');
        if (lastCommaIndex == -1) {
            return input;
        } else {
            return input.substring(0, lastCommaIndex) + ")";
        }
    }
Remove the last param if there are multiple, used for when we want to adapt a resource getter
to one used with {@link Resources}