class GoogleJavaFormatter implements JavaFormatter {

    @Override
    public String formatSource(String code) {
        try {
            return FORMATTER.formatSource(code);
        } catch (FormatterException e) {
            throw new DMNRuntimeException("Failed to format java", e);
        }
    }

}