Formatting { public static String tab() { return indent; } private  Formatting(); static String separate(String separator, String... blocks); static String lcfirst(String input); static String ucfirst(String input); static String withFirst(String input, Function<Character, String> callback); static String repeat(String str, int count); static String block(String text); static String block(String row, String... rows); static String block(Stream<String> rows); static String indent(String text); static String indent(String... text); static String indent(Stream<String> text); static String indent(String text, int steps); static R ifelse(Optional<E> condition, Function<E, R> trueMap, R falseValue); static String nl(); static void nl(String nl); static String dnl(); static String tab(); static void tab(String tab); static String shortName(String longName); static Optional<String> packageName(String longName); static Optional<String> fileToClassName(String fileName); static String classToJavaFileName(String longName); static String stripGenerics(String className); static String alignTabs(String rows); static void alignTabs(List<String> rows); static String unQuote(final String s); static String staticField(final String externalName); static String toUnderscoreSeparated(final String javaName); static String javaNameFromExternal(final String externalName); static String nameFromExternal(final String externalName); static String replaceIfJavaUsedWord(final String word); static String replaceIfIllegalJavaIdentifierCharacter(final String word);  }
@Test void tab() { assertEquals(INDENT, Formatting.tab()); }
@Test void testTab() { final String tab = Formatting.tab(); try { Formatting.tab(A); assertEquals(A, Formatting.tab()); } finally { Formatting.tab(tab); } }