All Classes Interface Summary Class Summary Enum Summary Exception Summary Error Summary
| Class |
Description |
| AutoOneOf_JavaInputAstVisitor_AnnotationOrModifier |
|
| AutoOneOf_JavaInputAstVisitor_AnnotationOrModifier.Impl_annotation |
|
| AutoOneOf_JavaInputAstVisitor_AnnotationOrModifier.Impl_modifier |
|
| AutoOneOf_JavaInputAstVisitor_AnnotationOrModifier.Parent_ |
|
| AutoValue_FormatFileCallable_Result |
|
| AutoValue_JavaFormatterOptions |
|
| AutoValue_JavaFormatterOptions.Builder |
|
| AutoValue_JavaInputAstVisitor_DeclarationModifiersAndTypeAnnotations |
|
| CharStream |
String reader designed for use from the lexer.
|
| CloseOp |
A CloseOp closes a level.
|
| CommandLineOptions |
Command line options for google-java-format.
|
| CommandLineOptions.Builder |
|
| CommandLineOptionsParser |
|
| CommentsHelper |
Rewrite comments.
|
| DimensionHelpers |
Utilities for working with array dimensions.
|
| DimensionHelpers.SortedDims |
|
| DimensionHelpers.TypeWithDims |
The array dimension specifiers (including any type annotations) associated with a type.
|
| Doc |
|
| Doc.Break |
A leaf node in a Doc for an optional break.
|
| Doc.FillMode |
|
| Doc.Level |
|
| Doc.Space |
A Leaf node in a Doc for a non-breaking space.
|
| Doc.State |
State for writing.
|
| Doc.Tok |
A leaf node in a Doc for a non-token.
|
| Doc.Token |
|
| Doc.Token.RealOrImaginary |
Is a Token a real token, or imaginary (e.g., a token generated incorrectly, or an EOF)?
|
| DocBuilder |
A DocBuilder converts a sequence of Ops into a Doc.
|
| FormatFileCallable |
Encapsulates information about a file to be formatted, including which parts of the file to
format.
|
| FormatFileCallable.Result |
|
| 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.
|
| FormatterDiagnostic |
An error that prevented formatting from succeeding.
|
| FormatterException |
Checked exception class for formatter errors.
|
| FormattingError |
An unchecked formatting error.
|
| FormattingFiler |
A decorating Filer implementation which formats Java source files with a Formatter.
|
| FormattingJavaFileObject |
A JavaFileObject decorator which formats source code.
|
| GoogleJavaFormatTool |
Provide a way to be invoked without necessarily starting a new VM.
|
| GoogleJavaFormatToolProvider |
Provide a way to be invoked without necessarily starting a new VM.
|
| GoogleJavaFormatVersion |
|
| ImportOrderer |
Orders imports in Java source code.
|
| ImportOrderer.ImportsAndIndex |
|
| ImportOrderer.StringAndIndex |
|
| Indent |
|
| Indent.Const |
A constant function, returning a constant indent.
|
| Indent.If |
A conditional function, whose value depends on whether a break was taken.
|
| Input |
An input to the formatter.
|
| Input.Tok |
A Tok ("tock") is a token, or a comment, or a newline, or a maximal string of blanks.
|
| Input.Token |
A Token is a language-level token.
|
| InputOutput |
This interface defines methods common to an Input or an Output.
|
| JavaCommentsHelper |
|
| JavacTokens |
A wrapper around javac's lexer.
|
| JavacTokens.AccessibleScanner |
|
| JavacTokens.CommentSavingTokenizer |
A JavaTokenizer that saves comments.
|
| JavacTokens.CommentWithTextAndPosition |
A Tokens.Comment that saves its text and start position.
|
| JavacTokens.RawTok |
An unprocessed input token, including whitespace and comments.
|
| JavadocFormatter |
Entry point for formatting Javadoc.
|
| JavadocLexer |
Lexer for the Javadoc formatter.
|
| JavadocLexer.LexException |
|
| JavadocWriter |
Stateful object that accepts "requests" and "writes," producing formatted Javadoc.
|
| JavadocWriter.AutoIndent |
|
| JavadocWriter.RequestedWhitespace |
The kind of whitespace that has been requested between the previous and next tokens.
|
| JavaFormatterOptions |
Options for a google-java-format invocation.
|
| JavaFormatterOptions.Builder |
|
| JavaFormatterOptions.Style |
|
| JavaInput |
JavaInput extends Input to represent a Java input document.
|
| JavaInput.Tok |
A JavaInput is a sequence of JavaInput.Toks that cover the Java input.
|
| JavaInput.Token |
|
| JavaInputAstVisitor |
An AST visitor that builds a stream of Ops to format from the given CompilationUnitTree.
|
| JavaInputAstVisitor.AllowLeadingBlankLine |
Whether to allow leading blank lines in blocks.
|
| JavaInputAstVisitor.AllowTrailingBlankLine |
Whether to allow trailing blank lines in blocks.
|
| JavaInputAstVisitor.AnnotationOrModifier |
Represents an annotation or a modifier in a ModifiersTree.
|
| JavaInputAstVisitor.AnnotationOrModifier.Kind |
|
| JavaInputAstVisitor.BracesOrNot |
Whether to include braces.
|
| JavaInputAstVisitor.BreakOrNot |
Whether to break or not.
|
| JavaInputAstVisitor.CollapseEmptyOrNot |
Whether to collapse empty blocks.
|
| JavaInputAstVisitor.DeclarationKind |
Kind of declaration.
|
| JavaInputAstVisitor.DeclarationModifiersAndTypeAnnotations |
The modifiers annotations for a declaration, grouped in to a prefix that contains all of the
declaration annotations and modifiers, and a suffix of type annotations.
|
| JavaInputAstVisitor.DimensionsOrNot |
Whether or not to include dimensions.
|
| JavaInputAstVisitor.Direction |
Direction for Annotations (usually VERTICAL).
|
| JavaInputAstVisitor.FirstDeclarationsOrNot |
Whether these declarations are the first in the block.
|
| JavaInputAstVisitor.ReceiverParameter |
Whether the formal parameter declaration is a receiver.
|
| JavaInputAstVisitor.VarArgsOrNot |
Whether or not the declaration is Varargs.
|
| JavaOutput |
JavaOutput extends Output to represent a Java output document.
|
| Main |
The main class for the Java formatter CLI.
|
| ModifierOrderer |
Fixes sequences of modifiers to be in JLS order.
|
| ModifierOrderer.ModifierTokens |
A class that contains the tokens corresponding to a modifier.
|
| NestingCounter |
Mutable integer for tracking the level of nesting.
|
| Newlines |
Platform-independent newline handling.
|
| Newlines.LineIterator |
|
| Newlines.LineOffsetIterator |
|
| Op |
An Op is a member of the sequence of formatting operations emitted by OpsBuilder
and transformed by DocBuilder into a Doc.
|
| OpenOp |
An OpenOp opens a level.
|
| OpsBuilder |
An OpsBuilder creates a list of Ops, which is turned into a Doc by DocBuilder.
|
| OpsBuilder.BlankLineWanted |
A request to add or remove a blank line in the output.
|
| OpsBuilder.BlankLineWanted.ConditionalBlankLine |
|
| OpsBuilder.BlankLineWanted.SimpleBlankLine |
|
| Output |
An output from the formatter.
|
| Output.BreakTag |
Unique identifier for a break.
|
| RemoveUnusedImports |
Removes unused imports from a source file.
|
| RemoveUnusedImports.UnusedImportScanner |
|
| Replacement |
Represents a range in the original source and replacement text for that range.
|
| SnippetFormatter |
Formats a subset of a compilation unit.
|
| SnippetFormatter.SnippetKind |
The kind of snippet to format.
|
| StringWrapper |
Wraps string literals that exceed the column limit.
|
| StringWrapper.Reflower |
|
| Token |
Javadoc token.
|
| Token.Type |
Javadoc token type.
|
| Trees |
Utilities for working with Trees.
|
| TypeNameClassifier |
Heuristics for classifying qualified names as types.
|
| TypeNameClassifier.JavaCaseFormat |
Case formats used in Java identifiers.
|
| TypeNameClassifier.TyParseState |
A state machine for classifying qualified names.
|
| UsageException |
Checked exception class for formatter command-line usage errors.
|