Class | Description |
---|---|
Formatter |
This is google-java-format, a new Java formatter that follows the Google Java Style Guide quite
precisely---to the letter and to the spirit.
|
ImportOrderer |
Orders imports in Java source code.
|
JavaCommentsHelper |
JavaCommentsHelper extends CommentsHelper to rewrite Java comments. |
JavaFormatterOptions |
Options for a google-java-format invocation.
|
JavaFormatterOptions.Builder |
A builder for
JavaFormatterOptions . |
JavaInput |
JavaInput extends Input to represent a Java input document. |
JavaInputAstVisitor |
An AST visitor that builds a stream of
Op s to format from the given CompilationUnitTree . |
JavaOutput |
JavaOutput extends Output to represent a Java output document. |
Main |
The main class for the Java formatter CLI.
|
RemoveUnusedImports |
Removes unused imports from a source file.
|
Replacement |
Represents a range in the original source and replacement text for that range.
|
SnippetFormatter |
Formats a subset of a compilation unit.
|
TypeNameClassifier |
Heuristics for classifying qualified names as types.
|
Enum | Description |
---|---|
JavaFormatterOptions.Style | |
RemoveUnusedImports.JavadocOnlyImports | Deprecated
This configuration is no longer supported and will be removed in the future.
|
SnippetFormatter.SnippetKind |
The kind of snippet to format.
|
TypeNameClassifier.JavaCaseFormat |
Case formats used in Java identifiers.
|
Exception | Description |
---|---|
FormatterException |
Checked exception class for formatter errors.
|
Copyright © 2015–2017 Google Inc.. All rights reserved.