Package com.google.googlejavaformat.java
package com.google.googlejavaformat.java
-
ClassDescriptionCommand line options for google-java-format.A parser for
CommandLineOptions.Utilities for working with array dimensions.The array dimension specifiers (including any type annotations) associated with a type.Encapsulates information about a file to be formatted, including which parts of the file to format.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.Checked exception class for formatter errors.Provide a way to be invoked without necessarily starting a new VM.Provide a way to be invoked without necessarily starting a new VM.Orders imports in Java source code.JavaCommentsHelperextendsCommentsHelperto rewrite Java comments.A wrapper around javac's lexer.AJavaTokenizerthat saves comments.ATokens.Commentthat saves its text and start position.An unprocessed input token, including whitespace and comments.Options for a google-java-format invocation.A builder forJavaFormatterOptions.JavaInputextendsInputto represent a Java input document.AJavaInputis a sequence ofJavaInput.Toks that cover the Java input.AJavaInput.Tokencontains a tokenJavaInput.Tokand its associated non-tokens; each non-tokenJavaInput.Tokbelongs to oneJavaInput.Token.An AST visitor that builds a stream ofOps to format from the givenCompilationUnitTree.Whether to allow leading blank lines in blocks.Whether to allow trailing blank lines in blocks.Represents an annotation or a modifier in aModifiersTree.Whether to include braces.Whether to break or not.Whether to collapse empty blocks.Kind of declaration.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.Whether or not to include dimensions.Direction for Annotations (usually VERTICAL).Whether these declarations are the first in the block.Whether the formal parameter declaration is a receiver.Whether or not the declaration is Varargs.JavaOutputextendsOutputto represent a Java output document.The main class for the Java formatter CLI.Fixes sequences of modifiers to be in JLS order.A class that contains the tokens corresponding to a modifier.Removes unused imports from a source file.Represents a range in the original source and replacement text for that range.Formats a subset of a compilation unit.The kind of snippet to format.Wraps string literals that exceed the column limit.Utilities for working withTrees.Heuristics for classifying qualified names as types.Case formats used in Java identifiers.A state machine for classifying qualified names.Checked exception class for formatter command-line usage errors.