索引
所有程序包|所有类和接口|序列化表格
A
- AOSP - 枚举类 中的枚举常量 com.palantir.javaformat.java.JavaFormatterOptions.Style
-
The AOSP-compliant configuration.
B
- build() - 类中的方法 com.palantir.javaformat.java.JavaFormatterOptions.Builder
- builder() - 类中的静态方法 com.palantir.javaformat.java.JavaFormatterOptions
-
Returns a builder for
JavaFormatterOptions.
C
- column() - 类中的方法 com.palantir.javaformat.java.FormatterDiagnostic
-
Returns the 0-indexed column number on which the error occurred, or
-1if the error does not have a column. - com.palantir.javaformat.java - 程序包 com.palantir.javaformat.java
- create(int, int, String) - 类中的静态方法 com.palantir.javaformat.java.FormatterDiagnostic
- create(int, int, String) - 类中的静态方法 com.palantir.javaformat.java.Replacement
- create(String) - 类中的静态方法 com.palantir.javaformat.java.FormatterDiagnostic
- create(String, String, List<SourceSetFormatContext>, List<FluentGroupConfig>) - 类中的静态方法 com.palantir.javaformat.java.FormatContext
- create(String, List<SourceSetFormatContext>, List<FluentGroupConfig>) - 类中的静态方法 com.palantir.javaformat.java.FormatContext
- create(String, List<String>, List<String>, String) - 类中的静态方法 com.palantir.javaformat.java.SourceSetFormatContext
- create(String, List<String>, List<String>, List<String>, List<String>, List<String>) - 类中的静态方法 com.palantir.javaformat.java.FluentGroupConfig
D
- defaultOptions() - 类中的静态方法 com.palantir.javaformat.java.JavaFormatterOptions
-
Returns the default formatting options.
- diagnostics() - 异常错误类中的方法 com.palantir.javaformat.java.FormatterException
E
- equals(Object) - 类中的方法 com.palantir.javaformat.java.FluentGroupConfig
- equals(Object) - 类中的方法 com.palantir.javaformat.java.FormatContext
- equals(Object) - 类中的方法 com.palantir.javaformat.java.Replacement
- equals(Object) - 类中的方法 com.palantir.javaformat.java.SourceSetFormatContext
F
- fixImports(String) - 接口中的方法 com.palantir.javaformat.java.FormatterService
-
Fixes imports (eg. ordering, spacing, and removal of unused import statements).
- FluentGroupConfig - com.palantir.javaformat.java中的类
-
Type-based configuration for one fluent group formatting profile.
- FluentGroupConfig.DetectionMode - com.palantir.javaformat.java中的枚举类
- FormatContext - com.palantir.javaformat.java中的类
-
Per-file formatting context used by context-aware formatter integrations.
- formatJavadoc() - 类中的方法 com.palantir.javaformat.java.JavaFormatterOptions
- formatJavadoc(boolean) - 类中的方法 com.palantir.javaformat.java.JavaFormatterOptions.Builder
- formatSourceReflowStringsAndFixImports(String) - 接口中的方法 com.palantir.javaformat.java.FormatterService
-
Formats an input string (a Java compilation unit), reflows strings and fixes imports.
- formatSourceReflowStringsAndFixImports(String, FormatContext) - 接口中的方法 com.palantir.javaformat.java.FormatterService
-
Formats an input string using additional per-file context when available.
- FormatterDiagnostic - com.palantir.javaformat.java中的类
-
An error that prevented formatting from succeeding.
- FormatterException - com.palantir.javaformat.java中的异常错误类
-
Checked exception class for formatter errors.
- FormatterException(FormatterDiagnostic) - 异常错误类的构造器 com.palantir.javaformat.java.FormatterException
- FormatterException(Iterable<FormatterDiagnostic>) - 异常错误类的构造器 com.palantir.javaformat.java.FormatterException
- FormatterException(String) - 异常错误类的构造器 com.palantir.javaformat.java.FormatterException
- FormatterService - com.palantir.javaformat.java中的接口
-
A stable facade for palantir-java-format.
G
- getClasspathEntries() - 类中的方法 com.palantir.javaformat.java.SourceSetFormatContext
- getClasspathManifest() - 类中的方法 com.palantir.javaformat.java.SourceSetFormatContext
- getContextRoot() - 类中的方法 com.palantir.javaformat.java.FormatContext
- getDetectionMode() - 类中的方法 com.palantir.javaformat.java.FluentGroupConfig
- getFluentGroups() - 类中的方法 com.palantir.javaformat.java.FormatContext
- getFormatReplacements(String, Collection<Range<Integer>>) - 接口中的方法 com.palantir.javaformat.java.FormatterService
-
Emit a list of
Replacements to convert from input to formatted output. - getGroupSelectors() - 类中的方法 com.palantir.javaformat.java.FluentGroupConfig
- getGroupTypes() - 类中的方法 com.palantir.javaformat.java.FluentGroupConfig
- getName() - 类中的方法 com.palantir.javaformat.java.FluentGroupConfig
- getName() - 类中的方法 com.palantir.javaformat.java.SourceSetFormatContext
- getOwnerTypes() - 类中的方法 com.palantir.javaformat.java.FluentGroupConfig
- getPathGlobs() - 类中的方法 com.palantir.javaformat.java.SourceSetFormatContext
- getReceiverTypes() - 类中的方法 com.palantir.javaformat.java.FluentGroupConfig
- getRelease() - 类中的方法 com.palantir.javaformat.java.SourceSetFormatContext
- getReplacementString() - 类中的方法 com.palantir.javaformat.java.Replacement
-
The string to replace the range of characters with.
- getReplaceRange() - 类中的方法 com.palantir.javaformat.java.Replacement
-
The range of characters in the original source to replace.
- getRootTypes() - 类中的方法 com.palantir.javaformat.java.FluentGroupConfig
- getSourcePath() - 类中的方法 com.palantir.javaformat.java.FormatContext
- getSourceRoots() - 类中的方法 com.palantir.javaformat.java.SourceSetFormatContext
- getSourceSets() - 类中的方法 com.palantir.javaformat.java.FormatContext
- GOOGLE - 枚举类 中的枚举常量 com.palantir.javaformat.java.JavaFormatterOptions.Style
-
The default Google Java Style configuration.
H
- hashCode() - 类中的方法 com.palantir.javaformat.java.FluentGroupConfig
- hashCode() - 类中的方法 com.palantir.javaformat.java.FormatContext
- hashCode() - 类中的方法 com.palantir.javaformat.java.Replacement
- hashCode() - 类中的方法 com.palantir.javaformat.java.SourceSetFormatContext
I
- indentationMultiplier() - 类中的方法 com.palantir.javaformat.java.JavaFormatterOptions
-
Returns the multiplier for the unit of indent.
- isBreakBeforeSelector() - 类中的方法 com.palantir.javaformat.java.FluentGroupConfig
- isKeepAfterSelector() - 类中的方法 com.palantir.javaformat.java.FluentGroupConfig
J
- JavaFormatterOptions - com.palantir.javaformat.java中的类
-
Options for a google-java-format invocation.
- JavaFormatterOptions.Builder - com.palantir.javaformat.java中的类
-
A builder for
JavaFormatterOptions. - JavaFormatterOptions.Style - com.palantir.javaformat.java中的枚举类
L
- line() - 类中的方法 com.palantir.javaformat.java.FormatterDiagnostic
-
Returns the line number on which the error occurred, or
-1if the error does not have a line number.
M
- matchesPath(String) - 类中的方法 com.palantir.javaformat.java.SourceSetFormatContext
- matchingSourceSet() - 类中的方法 com.palantir.javaformat.java.FormatContext
- maxLineLength() - 类中的方法 com.palantir.javaformat.java.JavaFormatterOptions
- maxLineLength() - 枚举类中的方法 com.palantir.javaformat.java.JavaFormatterOptions.Style
- message() - 类中的方法 com.palantir.javaformat.java.FormatterDiagnostic
-
Returns a description of the problem that prevented formatting from succeeding.
P
- PALANTIR - 枚举类 中的枚举常量 com.palantir.javaformat.java.JavaFormatterOptions.Style
-
The default Palantir Java Style configuration.
R
- Replacement - com.palantir.javaformat.java中的类
-
Data class representing a range in the original source and replacement text for that range.
S
- SourceSetFormatContext - com.palantir.javaformat.java中的类
-
Compile context for a source set that can be used by type-aware formatting.
- style() - 类中的方法 com.palantir.javaformat.java.JavaFormatterOptions
-
Returns the code style.
- style(JavaFormatterOptions.Style) - 类中的方法 com.palantir.javaformat.java.JavaFormatterOptions.Builder
T
- toString() - 类中的方法 com.palantir.javaformat.java.FormatterDiagnostic
- toString() - 类中的方法 com.palantir.javaformat.java.Replacement
- TYPE - 枚举类 中的枚举常量 com.palantir.javaformat.java.FluentGroupConfig.DetectionMode
V
- valueOf(String) - 枚举类中的静态方法 com.palantir.javaformat.java.FluentGroupConfig.DetectionMode
-
返回带有指定名称的该类的枚举常量。
- valueOf(String) - 枚举类中的静态方法 com.palantir.javaformat.java.JavaFormatterOptions.Style
-
返回带有指定名称的该类的枚举常量。
- values() - 枚举类中的静态方法 com.palantir.javaformat.java.FluentGroupConfig.DetectionMode
-
返回包含该枚举类的常量的数组, 顺序与声明这些常量的顺序相同
- values() - 枚举类中的静态方法 com.palantir.javaformat.java.JavaFormatterOptions.Style
-
返回包含该枚举类的常量的数组, 顺序与声明这些常量的顺序相同
W
- withClasspathEntries(List<String>) - 类中的方法 com.palantir.javaformat.java.SourceSetFormatContext
所有程序包|所有类和接口|序列化表格