| Interface | Description |
|---|---|
| InputMetadata |
Records metadata about the input, namely existing blank lines that we might want to preserve, as well as what ranges
can be partially formatted.
|
| Class | Description |
|---|---|
| DebugRenderer | |
| 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.
|
| FormatterServiceImpl | |
| ImportOrderer |
Orders imports in Java source code.
|
| InputMetadataBuilder | |
| JavaCommentsHelper |
JavaCommentsHelper extends CommentsHelper to rewrite Java comments. |
| JavaInput |
JavaInput extends Input to represent a Java input document. |
| JavaInputAstVisitor |
An AST visitor that builds a stream of
Ops to format from the given CompilationUnitTree. |
| JavaOutput |
JavaOutput extends Output to represent a Java output document. |
| JsonSink | |
| Main |
The main class for the Java formatter CLI.
|
| RemoveUnusedImports |
Removes unused imports from a source file.
|
| StringWrapper |
Wraps string literals that exceed the column limit.
|
| TypeNameClassifier |
Heuristics for classifying qualified names as types.
|
| Enum | Description |
|---|---|
| TypeNameClassifier.JavaCaseFormat |
Case formats used in Java identifiers.
|