@AutoService(value=com.palantir.javaformat.java.FormatterService.class)
public final class FormatterServiceImpl
extends java.lang.Object
implements com.palantir.javaformat.java.FormatterService
| Constructor and Description |
|---|
FormatterServiceImpl() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
formatSourceReflowStringsAndFixImports(java.lang.String input) |
com.google.common.collect.ImmutableList<com.palantir.javaformat.java.Replacement> |
getFormatReplacements(java.lang.String text,
java.util.Collection<com.google.common.collect.Range<java.lang.Integer>> toRanges) |
public com.google.common.collect.ImmutableList<com.palantir.javaformat.java.Replacement> getFormatReplacements(java.lang.String text,
java.util.Collection<com.google.common.collect.Range<java.lang.Integer>> toRanges)
throws com.palantir.javaformat.java.FormatterException
getFormatReplacements in interface com.palantir.javaformat.java.FormatterServicecom.palantir.javaformat.java.FormatterExceptionpublic java.lang.String formatSourceReflowStringsAndFixImports(java.lang.String input)
throws com.palantir.javaformat.java.FormatterException
formatSourceReflowStringsAndFixImports in interface com.palantir.javaformat.java.FormatterServicecom.palantir.javaformat.java.FormatterException