@Test public void capitalize_should_turn_camel_case_into_sensible_class_name() throws Exception { assertThat(FieldNameValidator.capitalize(FieldName.of("myVariant"))).isEqualTo("MyVariant"); }
public static String capitalize(FieldName fieldName) { return StringUtils.capitalize(fieldName.get()); }
FieldNameValidator { public static String capitalize(FieldName fieldName) { return StringUtils.capitalize(fieldName.get()); } }
FieldNameValidator { public static String capitalize(FieldName fieldName) { return StringUtils.capitalize(fieldName.get()); } private  FieldNameValidator(); }
FieldNameValidator { public static String capitalize(FieldName fieldName) { return StringUtils.capitalize(fieldName.get()); } private  FieldNameValidator(); static String capitalize(FieldName fieldName); static FieldName toCase(FieldName fieldName, CaseConverter.Case targetCase); @SuppressWarnings("Slf4jLogsafeArgs") static void validate(FieldName fieldName); }
FieldNameValidator { public static String capitalize(FieldName fieldName) { return StringUtils.capitalize(fieldName.get()); } private  FieldNameValidator(); static String capitalize(FieldName fieldName); static FieldName toCase(FieldName fieldName, CaseConverter.Case targetCase); @SuppressWarnings("Slf4jLogsafeArgs") static void validate(FieldName fieldName);  }