JavaScript is disabled on your browser.
Skip navigation links
Package
Class
Tree
Deprecated
Index
Help
Prev
Next
Frames
No Frames
All Classes
B
C
D
E
F
G
H
I
J
L
M
R
S
T
V
B
build()
- Method in class com.palantir.javaformat.java.
JavaFormatterOptions.Builder
builder()
- Static method in class com.palantir.javaformat.java.
JavaFormatterOptions
Returns a builder for
JavaFormatterOptions
.
C
column()
- Method in class com.palantir.javaformat.java.
FormatterDiagnostic
Returns the 0-indexed column number on which the error occurred, or
-1
if the error does not have a column.
com.palantir.javaformat.java
- package com.palantir.javaformat.java
create(String)
- Static method in class com.palantir.javaformat.java.
FormatterDiagnostic
create(int, int, String)
- Static method in class com.palantir.javaformat.java.
FormatterDiagnostic
create(int, int, String)
- Static method in class com.palantir.javaformat.java.
Replacement
D
defaultOptions()
- Static method in class com.palantir.javaformat.java.
JavaFormatterOptions
Returns the default formatting options.
diagnostics()
- Method in exception com.palantir.javaformat.java.
FormatterException
E
equals(Object)
- Method in class com.palantir.javaformat.java.
Replacement
F
formatSourceReflowStringsAndFixImports(String)
- Method in interface com.palantir.javaformat.java.
FormatterService
Formats an input string (a Java compilation unit), reflows strings and fixes imports.
FormatterDiagnostic
- Class in
com.palantir.javaformat.java
An error that prevented formatting from succeeding.
FormatterException
- Exception in
com.palantir.javaformat.java
Checked exception class for formatter errors.
FormatterException(String)
- Constructor for exception com.palantir.javaformat.java.
FormatterException
FormatterException(FormatterDiagnostic)
- Constructor for exception com.palantir.javaformat.java.
FormatterException
FormatterException(Iterable<FormatterDiagnostic>)
- Constructor for exception com.palantir.javaformat.java.
FormatterException
FormatterService
- Interface in
com.palantir.javaformat.java
A stable facade for palantir-java-format.
G
getFormatReplacements(String, Collection<Range<Integer>>)
- Method in interface com.palantir.javaformat.java.
FormatterService
Emit a list of
Replacement
s to convert from input to formatted output.
getReplacementString()
- Method in class com.palantir.javaformat.java.
Replacement
The string to replace the range of characters with.
getReplaceRange()
- Method in class com.palantir.javaformat.java.
Replacement
The range of characters in the original source to replace.
H
hashCode()
- Method in class com.palantir.javaformat.java.
Replacement
I
indentationMultiplier()
- Method in class com.palantir.javaformat.java.
JavaFormatterOptions
Returns the multiplier for the unit of indent.
J
JavaFormatterOptions
- Class in
com.palantir.javaformat.java
Options for a google-java-format invocation.
JavaFormatterOptions.Builder
- Class in
com.palantir.javaformat.java
A builder for
JavaFormatterOptions
.
JavaFormatterOptions.Style
- Enum in
com.palantir.javaformat.java
L
line()
- Method in class com.palantir.javaformat.java.
FormatterDiagnostic
Returns the line number on which the error occurred, or
-1
if the error does not have a line number.
M
maxLineLength()
- Method in class com.palantir.javaformat.java.
JavaFormatterOptions
maxLineLength()
- Method in enum com.palantir.javaformat.java.
JavaFormatterOptions.Style
message()
- Method in class com.palantir.javaformat.java.
FormatterDiagnostic
Returns a description of the problem that prevented formatting from succeeding.
R
Replacement
- Class in
com.palantir.javaformat.java
Data class representing a range in the original source and replacement text for that range.
S
style(JavaFormatterOptions.Style)
- Method in class com.palantir.javaformat.java.
JavaFormatterOptions.Builder
style()
- Method in class com.palantir.javaformat.java.
JavaFormatterOptions
Returns the code style.
T
toString()
- Method in class com.palantir.javaformat.java.
FormatterDiagnostic
V
valueOf(String)
- Static method in enum com.palantir.javaformat.java.
JavaFormatterOptions.Style
Returns the enum constant of this type with the specified name.
values()
- Static method in enum com.palantir.javaformat.java.
JavaFormatterOptions.Style
Returns an array containing the constants of this enum type, in the order they are declared.
B
C
D
E
F
G
H
I
J
L
M
R
S
T
V
Skip navigation links
Package
Class
Tree
Deprecated
Index
Help
Prev
Next
Frames
No Frames
All Classes