Skip navigation links
A B C D E F G H I J L M N O P R S T U V W Y Z 

A

actualSize(int, int) - Method in class com.google.googlejavaformat.OpsBuilder
 
actualStartColumn(int) - Method in class com.google.googlejavaformat.OpsBuilder
 
add(DocBuilder) - Method in enum com.google.googlejavaformat.CloseOp
 
add(DocBuilder) - Method in class com.google.googlejavaformat.Doc.Break
 
add(DocBuilder) - Method in class com.google.googlejavaformat.Doc.Token
 
add(DocBuilder) - Method in interface com.google.googlejavaformat.Op
Add an Op to a DocBuilder.
add(DocBuilder) - Method in class com.google.googlejavaformat.OpenOp
 
addAll(List<Op>) - Method in class com.google.googlejavaformat.OpsBuilder
Add a list of Ops.
append(String, Range<Integer>) - Method in class com.google.googlejavaformat.java.JavaOutput
 
append(String, Range<Integer>) - Method in class com.google.googlejavaformat.Output
Output a string.

B

blankLine(int, OpsBuilder.BlankLineWanted) - Method in class com.google.googlejavaformat.java.JavaOutput
 
blankLine(int, OpsBuilder.BlankLineWanted) - Method in class com.google.googlejavaformat.Output
A blank line is or is not wanted here.
blankLineWanted(OpsBuilder.BlankLineWanted) - Method in class com.google.googlejavaformat.OpsBuilder
Force or suppress a blank line here in the output.
BlankLineWanted() - Constructor for class com.google.googlejavaformat.OpsBuilder.BlankLineWanted
 
breakOp() - Method in class com.google.googlejavaformat.OpsBuilder
Emit a Doc.Break.
breakOp(Indent) - Method in class com.google.googlejavaformat.OpsBuilder
Emit a Doc.Break.
breakOp(String) - Method in class com.google.googlejavaformat.OpsBuilder
Emit a Doc.Break, with a specified flat value (e.g., " ").
breakOp(Doc.FillMode, String, Indent) - Method in class com.google.googlejavaformat.OpsBuilder
Emit a generic Doc.Break.
breakOp(Doc.FillMode, String, Indent, Optional<Output.BreakTag>) - Method in class com.google.googlejavaformat.OpsBuilder
Emit a generic Doc.Break.
BreakTag() - Constructor for class com.google.googlejavaformat.Output.BreakTag
 
breakToFill() - Method in class com.google.googlejavaformat.OpsBuilder
Emit a filled Doc.Break.
breakToFill(String) - Method in class com.google.googlejavaformat.OpsBuilder
Emit a Doc.Break, with a specified flat value (e.g., " ").
build() - Method in class com.google.googlejavaformat.DocBuilder
Return the Doc.
build() - Method in class com.google.googlejavaformat.OpsBuilder
Build a list of Ops from the OpsBuilder.

C

close() - Method in class com.google.googlejavaformat.OpsBuilder
Close the current level, by emitting a CloseOp.
CloseOp - Enum in com.google.googlejavaformat
A CloseOp closes a level.
column() - Method in class com.google.googlejavaformat.FormatterDiagnostic
Returns the 0-indexed column number on which the error occurred.
com.google.googlejavaformat - package com.google.googlejavaformat
 
com.google.googlejavaformat.java - package com.google.googlejavaformat.java
 
CommentsHelper - Interface in com.google.googlejavaformat
Rewrite comments.
computeBreaks(Doc.State, int, boolean) - Method in class com.google.googlejavaformat.Doc.Break
 
computeBreaks(CommentsHelper, int, Doc.State) - Method in class com.google.googlejavaformat.Doc.Break
 
computeBreaks(CommentsHelper, int, Doc.State) - Method in class com.google.googlejavaformat.Doc
Make breaking decisions for a Doc.
computeBreaks(CommentsHelper, int, Doc.State) - Method in class com.google.googlejavaformat.Doc.Token
 
computeRanges(List<? extends Input.Tok>) - Method in class com.google.googlejavaformat.InputOutput
 
conditional(Output.BreakTag) - Static method in class com.google.googlejavaformat.OpsBuilder.BlankLineWanted
Emit a blank line if the given break is taken.
create(Range<Integer>, String) - Static method in class com.google.googlejavaformat.java.Replacement
 
createDiagnostic(int, String) - Method in class com.google.googlejavaformat.Input
Construct a diagnostic.

D

diagnostics() - Method in exception com.google.googlejavaformat.java.FormatterException
 
Doc - Class in com.google.googlejavaformat
JavaInputAstVisitor outputs a sequence of Ops using OpsBuilder.
Doc() - Constructor for class com.google.googlejavaformat.Doc
 
Doc.Break - Class in com.google.googlejavaformat
A leaf node in a Doc for an optional break.
Doc.FillMode - Enum in com.google.googlejavaformat
Doc.State - Class in com.google.googlejavaformat
State for writing.
Doc.Token - Class in com.google.googlejavaformat
A leaf Doc for a token.
Doc.Token.RealOrImaginary - Enum in com.google.googlejavaformat
Is a Token a real token, or imaginary (e.g., a token generated incorrectly, or an EOF)?
DocBuilder - Class in com.google.googlejavaformat
A DocBuilder converts a sequence of Ops into a Doc.
DocBuilder() - Constructor for class com.google.googlejavaformat.DocBuilder
Start to build a DocBuilder.
drain() - Method in class com.google.googlejavaformat.OpsBuilder
Output any remaining tokens from the input stream (e.g.

E

EclipseJavadocFormatter - Class in com.google.googlejavaformat.java
Format javadoc comments using eclipse's formatter, for now.
EclipseJavadocFormatter() - Constructor for class com.google.googlejavaformat.java.EclipseJavadocFormatter
 
EMPTY_RANGE - Static variable in class com.google.googlejavaformat.InputOutput
 
endTok(Input.Token) - Static method in class com.google.googlejavaformat.java.JavaOutput
The last non-whitespace Tok in the Token.
equals(Object) - Method in class com.google.googlejavaformat.java.Replacement
 

F

filename() - Method in class com.google.googlejavaformat.FormatterDiagnostic
Returns the name of the file that was processed.
filename() - Method in class com.google.googlejavaformat.Input
The input filename.
filename() - Method in class com.google.googlejavaformat.java.JavaInput
 
forcedBreak() - Method in class com.google.googlejavaformat.OpsBuilder
Emit a forced Doc.Break.
forcedBreak(Indent) - Method in class com.google.googlejavaformat.OpsBuilder
Emit a forced Doc.Break.
format(JavaFormatterOptions, String, int) - Method in enum com.google.googlejavaformat.java.JavaFormatterOptions.JavadocFormatter
 
format(String...) - Method in class com.google.googlejavaformat.java.Main
The main entry point for the formatter, with some number of file names to format.
formatSource(CharSource, CharSink) - Method in class com.google.googlejavaformat.java.Formatter
Format the given input (a Java compilation unit) into the output stream.
formatSource(String) - Method in class com.google.googlejavaformat.java.Formatter
Format an input string (a Java compilation unit) into an output string.
formatSource(String, List<Range<Integer>>) - Method in class com.google.googlejavaformat.java.Formatter
Format an input string (a Java compilation unit), for only the specified character ranges.
Formatter - Class in com.google.googlejavaformat.java
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.
Formatter() - Constructor for class com.google.googlejavaformat.java.Formatter
A new Formatter instance with default options.
Formatter(JavaFormatterOptions) - Constructor for class com.google.googlejavaformat.java.Formatter
 
FormatterDiagnostic - Class in com.google.googlejavaformat
An error that prevented formatting from succeeding.
FormatterDiagnostic(String, int, int, String) - Constructor for class com.google.googlejavaformat.FormatterDiagnostic
 
FormatterException - Exception in com.google.googlejavaformat.java
Checked exception class for formatter errors.
FormatterException(List<FormatterDiagnostic>) - Constructor for exception com.google.googlejavaformat.java.FormatterException
 

G

getColumn() - Method in interface com.google.googlejavaformat.Input.Tok
Return the Tok's 0-based column number.
getColumnNumber(int) - Method in class com.google.googlejavaformat.Input
Converts a character offset in the input to a 0-based column number.
getColumnNumber(int) - Method in class com.google.googlejavaformat.java.JavaInput
 
getCommentsHelper() - Method in class com.google.googlejavaformat.java.JavaOutput
 
getCommentsHelper() - Method in class com.google.googlejavaformat.Output
getFormatReplacements(String, List<Range<Integer>>) - Method in class com.google.googlejavaformat.java.Formatter
Emit a list of Replacements to convert from input to output.
getFormatReplacements(RangeSet<Integer>) - Method in class com.google.googlejavaformat.java.JavaOutput
Emit a list of Replacements to convert from input to output.
getIndex() - Method in interface com.google.googlejavaformat.Input.Tok
Return the Tok's index.
getInput() - Method in class com.google.googlejavaformat.OpsBuilder
Get the OpsBuilder's Input.
getLine(int) - Method in class com.google.googlejavaformat.InputOutput
Get a line.
getLineCount() - Method in class com.google.googlejavaformat.InputOutput
Get the line count.
getLineNumber(int) - Method in class com.google.googlejavaformat.Input
Converts a character offset in the input to a line number.
getLineNumber(int) - Method in class com.google.googlejavaformat.java.JavaInput
 
getOriginalText() - Method in interface com.google.googlejavaformat.Input.Tok
Return the Tok's original text (before processing Unicode escapes).
getPosition() - Method in interface com.google.googlejavaformat.Input.Tok
Return the Tok's 0-based position.
getPositionToColumnMap() - Method in class com.google.googlejavaformat.Input
 
getPositionToColumnMap() - Method in class com.google.googlejavaformat.java.JavaInput
 
getPositionTokenMap() - Method in class com.google.googlejavaformat.Input
Get the navigable map from position to Input.Token.
getPositionTokenMap() - Method in class com.google.googlejavaformat.java.JavaInput
Get the navigable map from position to Token.
getRange0s(int) - Method in class com.google.googlejavaformat.InputOutput
Get the Range of Input.Toks beginning on a line.
getRange1s(int) - Method in class com.google.googlejavaformat.InputOutput
Get the Range of Input.Toks ending on a line.
getRanges(int) - Method in class com.google.googlejavaformat.InputOutput
Get the Range of Input.Toks lying in any part on a line.
getReplacementString() - Method in class com.google.googlejavaformat.java.Replacement
Returns the string to replace the range of characters with.
getReplaceRange() - Method in class com.google.googlejavaformat.java.Replacement
Returns the range of characters in the original source to replace.
getText() - Method in class com.google.googlejavaformat.Input
 
getText() - Method in interface com.google.googlejavaformat.Input.Tok
Return the Tok's text.
getText() - Method in class com.google.googlejavaformat.java.JavaInput
Get the input text.
getTok() - Method in interface com.google.googlejavaformat.Input.Token
Get the token's Input.Tok.
getTokens() - Method in class com.google.googlejavaformat.Input
Get the input tokens.
getTokens() - Method in class com.google.googlejavaformat.java.JavaInput
Get the input tokens.
getToksAfter() - Method in interface com.google.googlejavaformat.Input.Token
Get the later Input.Toks assigned to this Token.
getToksBefore() - Method in interface com.google.googlejavaformat.Input.Token
Get the earlier Input.Toks assigned to this Token.
GoogleJavaFormatVersion - Class in com.google.googlejavaformat.java
 
GoogleJavaFormatVersion() - Constructor for class com.google.googlejavaformat.java.GoogleJavaFormatVersion
 
guessToken(String) - Method in class com.google.googlejavaformat.OpsBuilder
Emit an optional token iff it exists on the input.

H

hashCode() - Method in class com.google.googlejavaformat.java.Replacement
 

I

Indent - Class in com.google.googlejavaformat
An indent for a Doc.Level or Doc.Break.
Indent() - Constructor for class com.google.googlejavaformat.Indent
 
indent(int) - Method in class com.google.googlejavaformat.java.JavaOutput
 
indent(int) - Method in class com.google.googlejavaformat.Output
Indent by outputting indent spaces.
Indent.Const - Class in com.google.googlejavaformat
A constant function, returning a constant indent.
Indent.If - Class in com.google.googlejavaformat
A conditional function, whose value depends on whether a break was taken.
indentationMultiplier() - Method in class com.google.googlejavaformat.java.JavaFormatterOptions
Returns the multiplier for the unit of indent
Input - Class in com.google.googlejavaformat
An input to the formatter.
Input() - Constructor for class com.google.googlejavaformat.Input
 
Input.Tok - Interface in com.google.googlejavaformat
A Tok ("tock") is a token, or a comment, or a newline, or a maximal string of blanks.
Input.Token - Interface in com.google.googlejavaformat
A Token is a language-level token.
InputOutput - Class in com.google.googlejavaformat
This interface defines methods common to an Input or an Output.
InputOutput() - Constructor for class com.google.googlejavaformat.InputOutput
 
isComment() - Method in interface com.google.googlejavaformat.Input.Tok
Is the Tok a comment?
isJavadocComment() - Method in interface com.google.googlejavaformat.Input.Tok
Is the Tok a javadoc comment?
isNewline() - Method in interface com.google.googlejavaformat.Input.Tok
Is the Tok a newline?
isSlashSlashComment() - Method in interface com.google.googlejavaformat.Input.Tok
Is the Tok a "//" comment?
isSlashStarComment() - Method in interface com.google.googlejavaformat.Input.Tok
Is the Tok a "//" comment?

J

JavaCommentsHelper - Class in com.google.googlejavaformat.java
JavaCommentsHelper extends CommentsHelper to rewrite Java comments.
JavaCommentsHelper(JavaFormatterOptions) - Constructor for class com.google.googlejavaformat.java.JavaCommentsHelper
 
javadocFormatter() - Method in class com.google.googlejavaformat.java.JavaFormatterOptions
Returns the Javadoc formatter.
JavaFormatterOptions - Class in com.google.googlejavaformat.java
Options for a google-java-format invocation.
JavaFormatterOptions(JavaFormatterOptions.JavadocFormatter, JavaFormatterOptions.Style, JavaFormatterOptions.SortImports) - Constructor for class com.google.googlejavaformat.java.JavaFormatterOptions
 
JavaFormatterOptions.JavadocFormatter - Enum in com.google.googlejavaformat.java
 
JavaFormatterOptions.SortImports - Enum in com.google.googlejavaformat.java
 
JavaFormatterOptions.Style - Enum in com.google.googlejavaformat.java
 
JavaInput - Class in com.google.googlejavaformat.java
JavaInput extends Input to represent a Java input document.
JavaInput(String, String) - Constructor for class com.google.googlejavaformat.java.JavaInput
Input constructor.
JavaInputAstVisitor - Class in com.google.googlejavaformat.java
An extension of OpsBuilder, implementing a visit pattern for Eclipse AST nodes to build a sequence of Ops.
JavaInputAstVisitor(OpsBuilder, int) - Constructor for class com.google.googlejavaformat.java.JavaInputAstVisitor
The Visitor constructor.
JavaOutput - Class in com.google.googlejavaformat.java
JavaOutput extends Output to represent a Java output document.
JavaOutput(JavaInput, CommentsHelper) - Constructor for class com.google.googlejavaformat.java.JavaOutput
JavaOutput constructor.

L

line() - Method in class com.google.googlejavaformat.FormatterDiagnostic
Returns the line number on which the error occurred.

M

Main - Class in com.google.googlejavaformat.java
The main class for the Java formatter CLI.
Main(PrintWriter, PrintWriter, InputStream) - Constructor for class com.google.googlejavaformat.java.Main
 
main(String...) - Static method in class com.google.googlejavaformat.java.Main
The main method for the formatter, with some number of file names to format.
make() - Static method in enum com.google.googlejavaformat.CloseOp
Make a CloseOp, returning a singleton since they are all the same.
make(Doc.FillMode, String, Indent) - Static method in class com.google.googlejavaformat.Doc.Break
Make a Break.
make(Doc.FillMode, String, Indent, Optional<Output.BreakTag>) - Static method in class com.google.googlejavaformat.Doc.Break
Make a Break.
make(int, int) - Static method in class com.google.googlejavaformat.Indent.Const
 
make(Output.BreakTag, Indent, Indent) - Static method in class com.google.googlejavaformat.Indent.If
 
make(Indent) - Static method in class com.google.googlejavaformat.OpenOp
Make an ordinary OpenOp.
makeForced() - Static method in class com.google.googlejavaformat.Doc.Break
Make a forced Break.
makeKToIJ(InputOutput, int) - Static method in class com.google.googlejavaformat.InputOutput
Given an InputOutput, compute the map from tok indices to line ranges.
markForPartialFormat(int) - Method in class com.google.googlejavaformat.java.JavaOutput
 
markForPartialFormat() - Method in class com.google.googlejavaformat.OpsBuilder
Make the boundary of a region that can be partially formatted.
markForPartialFormat(int) - Method in class com.google.googlejavaformat.Output
Marks the boundary of a region that can be partially formatted.
maxLineLength() - Method in class com.google.googlejavaformat.java.JavaFormatterOptions
Returns the maximum formatted width
merge(OpsBuilder.BlankLineWanted) - Method in class com.google.googlejavaformat.OpsBuilder.BlankLineWanted
Merge this blank line request with another.
message() - Method in class com.google.googlejavaformat.FormatterDiagnostic
Returns a description of the problem that prevented formatting from succeeding.

N

NO - Static variable in class com.google.googlejavaformat.OpsBuilder.BlankLineWanted
Never emit a blank line.

O

Op - Interface in com.google.googlejavaformat
An Op is a member of the sequence of formatting operations emitted by OpsBuilder and transformed by DocBuilder into a Doc.
op(String) - Method in class com.google.googlejavaformat.OpsBuilder
Emit a single- or multi-character op by breaking it into single-character Doc.Tokens.
open(Indent) - Method in class com.google.googlejavaformat.OpsBuilder
Open a new level by emitting an OpenOp.
OpenOp - Class in com.google.googlejavaformat
An OpenOp opens a level.
OpsBuilder - Class in com.google.googlejavaformat
An OpsBuilder creates a list of Ops, which is turned into a Doc by DocBuilder.
OpsBuilder(Input, Output, List<FormatterDiagnostic>) - Constructor for class com.google.googlejavaformat.OpsBuilder
The OpsBuilder constructor.
OpsBuilder.BlankLineWanted - Class in com.google.googlejavaformat
A request to add or remove a blank line in the output.
Output - Class in com.google.googlejavaformat
An output from the formatter.
Output() - Constructor for class com.google.googlejavaformat.Output
 
Output.BreakTag - Class in com.google.googlejavaformat
Unique identifier for a break.

P

peekToken() - Method in class com.google.googlejavaformat.OpsBuilder
Return the text of the next Input.Token, or absent if there is none.
postVisit(ASTNode) - Method in class com.google.googlejavaformat.java.JavaInputAstVisitor
Post-visits ASTNodes.
PRESERVE - Static variable in class com.google.googlejavaformat.OpsBuilder.BlankLineWanted
Explicitly preserve blank lines from the input (e.g.
preVisit(ASTNode) - Method in class com.google.googlejavaformat.java.JavaInputAstVisitor
Pre-visits ASTNodes.

R

range0s - Variable in class com.google.googlejavaformat.InputOutput
The Ranges of the tokens or comments beginning on each line.
range1s - Variable in class com.google.googlejavaformat.InputOutput
The Ranges of the tokens or comments ending on each line.
ranges - Variable in class com.google.googlejavaformat.InputOutput
The Ranges of the tokens or comments lying on each line, in any part.
recordBroken(boolean) - Method in class com.google.googlejavaformat.Output.BreakTag
 
Replacement - Class in com.google.googlejavaformat.java
Represents a range in the original source and replacement text for that range.
rewrite(Input.Tok, int, int) - Method in interface com.google.googlejavaformat.CommentsHelper
Try to rewrite comments, returning rewritten text.
rewrite(Input.Tok, int, int) - Method in class com.google.googlejavaformat.java.JavaCommentsHelper
 

S

setCompilationUnit(CompilationUnit) - Method in class com.google.googlejavaformat.java.JavaInput
 
setLines(ImmutableList<String>) - Method in class com.google.googlejavaformat.InputOutput
Set the lines.
sortImports() - Method in class com.google.googlejavaformat.java.JavaFormatterOptions
 
space() - Method in class com.google.googlejavaformat.OpsBuilder
Emit a Doc.Space.
startPosition(Input.Token) - Static method in class com.google.googlejavaformat.java.JavaOutput
The earliest position of any Tok in the Token, including leading whitespace.
startTok(Input.Token) - Static method in class com.google.googlejavaformat.java.JavaOutput
The earliest non-whitespace Tok in the Token.
State(int, int) - Constructor for class com.google.googlejavaformat.Doc.State
 
sync(int) - Method in class com.google.googlejavaformat.OpsBuilder
Sync to position in the input.

T

token(String, Doc.Token.RealOrImaginary, Indent, Optional<Indent>) - Method in class com.google.googlejavaformat.OpsBuilder
 
toString() - Method in enum com.google.googlejavaformat.CloseOp
 
toString() - Method in class com.google.googlejavaformat.Doc.Break
 
toString() - Method in class com.google.googlejavaformat.Doc.State
 
toString() - Method in class com.google.googlejavaformat.Doc.Token
 
toString() - Method in class com.google.googlejavaformat.DocBuilder
 
toString() - Method in class com.google.googlejavaformat.FormatterDiagnostic
 
toString() - Method in class com.google.googlejavaformat.Indent.Const
 
toString() - Method in class com.google.googlejavaformat.Indent.If
 
toString() - Method in class com.google.googlejavaformat.Input
 
toString() - Method in class com.google.googlejavaformat.InputOutput
 
toString() - Method in class com.google.googlejavaformat.java.JavaInput
 
toString() - Method in class com.google.googlejavaformat.java.JavaInputAstVisitor
 
toString() - Method in class com.google.googlejavaformat.java.JavaOutput
 
toString() - Method in class com.google.googlejavaformat.java.Replacement
 
toString() - Method in class com.google.googlejavaformat.OpenOp
 
toString() - Method in class com.google.googlejavaformat.OpsBuilder
 
toString() - Method in class com.google.googlejavaformat.Output
 
TypeNameClassifier - Class in com.google.googlejavaformat.java
Heuristics for classifying qualified names as types.
TypeNameClassifier.JavaCaseFormat - Enum in com.google.googlejavaformat.java
Case formats used in Java identifiers.

U

usage() - Method in exception com.google.googlejavaformat.java.UsageException
Returns the usage message, including trailing newlines
UsageException - Exception in com.google.googlejavaformat.java
Checked exception class for formatter command-line usage errors.

V

valueOf(String) - Static method in enum com.google.googlejavaformat.CloseOp
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.google.googlejavaformat.Doc.FillMode
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.google.googlejavaformat.Doc.Token.RealOrImaginary
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.google.googlejavaformat.java.JavaFormatterOptions.JavadocFormatter
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.google.googlejavaformat.java.JavaFormatterOptions.SortImports
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.google.googlejavaformat.java.JavaFormatterOptions.Style
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.google.googlejavaformat.java.TypeNameClassifier.JavaCaseFormat
Returns the enum constant of this type with the specified name.
values() - Static method in enum com.google.googlejavaformat.CloseOp
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.google.googlejavaformat.Doc.FillMode
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.google.googlejavaformat.Doc.Token.RealOrImaginary
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.google.googlejavaformat.java.JavaFormatterOptions.JavadocFormatter
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.google.googlejavaformat.java.JavaFormatterOptions.SortImports
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.google.googlejavaformat.java.JavaFormatterOptions.Style
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.google.googlejavaformat.java.TypeNameClassifier.JavaCaseFormat
Returns an array containing the constants of this enum type, in the order they are declared.
VERSION - Static variable in class com.google.googlejavaformat.java.GoogleJavaFormatVersion
 
visit(CompilationUnit) - Method in class com.google.googlejavaformat.java.JavaInputAstVisitor
Visitor method for a CompilationUnit.
visit(AnnotationTypeDeclaration) - Method in class com.google.googlejavaformat.java.JavaInputAstVisitor
Visitor method for AnnotationTypeDeclarations.
visit(AnnotationTypeMemberDeclaration) - Method in class com.google.googlejavaformat.java.JavaInputAstVisitor
Visitor method for AnnotationTypeMemberDeclarations.
visit(AnonymousClassDeclaration) - Method in class com.google.googlejavaformat.java.JavaInputAstVisitor
Visitor method for AnonymousClassDeclarations.
visit(ArrayAccess) - Method in class com.google.googlejavaformat.java.JavaInputAstVisitor
Visitor method for ArrayAccesses.
visit(ArrayCreation) - Method in class com.google.googlejavaformat.java.JavaInputAstVisitor
Visitor method for ArrayCreations.
visit(ArrayInitializer) - Method in class com.google.googlejavaformat.java.JavaInputAstVisitor
Visitor method for ArrayInitializers.
visit(ArrayType) - Method in class com.google.googlejavaformat.java.JavaInputAstVisitor
Visitor method for ArrayTypes.
visit(AssertStatement) - Method in class com.google.googlejavaformat.java.JavaInputAstVisitor
Visitor method for AssertStatements.
visit(Assignment) - Method in class com.google.googlejavaformat.java.JavaInputAstVisitor
Visitor method for Assignments.
visit(Block) - Method in class com.google.googlejavaformat.java.JavaInputAstVisitor
Visitor method for Blocks.
visit(BooleanLiteral) - Method in class com.google.googlejavaformat.java.JavaInputAstVisitor
Visitor method for BooleanLiterals.
visit(BreakStatement) - Method in class com.google.googlejavaformat.java.JavaInputAstVisitor
Visitor method for BreakStatements.
visit(CastExpression) - Method in class com.google.googlejavaformat.java.JavaInputAstVisitor
Visitor method for CastExpressions.
visit(CharacterLiteral) - Method in class com.google.googlejavaformat.java.JavaInputAstVisitor
Visitor method for CharacterLiterals.
visit(ClassInstanceCreation) - Method in class com.google.googlejavaformat.java.JavaInputAstVisitor
Visitor method for ClassInstanceCreations.
visit(ConditionalExpression) - Method in class com.google.googlejavaformat.java.JavaInputAstVisitor
Visitor method for ConditionalExpressions.
visit(ConstructorInvocation) - Method in class com.google.googlejavaformat.java.JavaInputAstVisitor
Visitor method for ConstructorInvocations.
visit(ContinueStatement) - Method in class com.google.googlejavaformat.java.JavaInputAstVisitor
Visitor method for ContinueStatements.
visit(CreationReference) - Method in class com.google.googlejavaformat.java.JavaInputAstVisitor
Visitor method for CreationReferences.
visit(Dimension) - Method in class com.google.googlejavaformat.java.JavaInputAstVisitor
Visitor method for Dimensions.
visit(DoStatement) - Method in class com.google.googlejavaformat.java.JavaInputAstVisitor
Visitor method for DoStatements.
visit(EmptyStatement) - Method in class com.google.googlejavaformat.java.JavaInputAstVisitor
Visitor method for EmptyStatements.
visit(EnhancedForStatement) - Method in class com.google.googlejavaformat.java.JavaInputAstVisitor
Visitor method for EnhancedForStatements.
visit(EnumConstantDeclaration) - Method in class com.google.googlejavaformat.java.JavaInputAstVisitor
Visitor method for EnumConstantDeclarations.
visit(EnumDeclaration) - Method in class com.google.googlejavaformat.java.JavaInputAstVisitor
Visitor method for EnumDeclarations.
visit(ExpressionMethodReference) - Method in class com.google.googlejavaformat.java.JavaInputAstVisitor
Visitor method for ExpressionMethodReferences.
visit(ExpressionStatement) - Method in class com.google.googlejavaformat.java.JavaInputAstVisitor
Visitor method for ExpressionStatements.
visit(FieldAccess) - Method in class com.google.googlejavaformat.java.JavaInputAstVisitor
Visitor method for FieldAccesses.
visit(FieldDeclaration) - Method in class com.google.googlejavaformat.java.JavaInputAstVisitor
Visitor method for FieldDeclarations.
visit(ForStatement) - Method in class com.google.googlejavaformat.java.JavaInputAstVisitor
Visitor method for ForStatements.
visit(IfStatement) - Method in class com.google.googlejavaformat.java.JavaInputAstVisitor
Visitor method for IfStatements.
visit(ImportDeclaration) - Method in class com.google.googlejavaformat.java.JavaInputAstVisitor
Visitor method for ImportDeclarations.
visit(InfixExpression) - Method in class com.google.googlejavaformat.java.JavaInputAstVisitor
Visitor method for InfixExpressions.
visit(Initializer) - Method in class com.google.googlejavaformat.java.JavaInputAstVisitor
Visitor method for Initializers.
visit(InstanceofExpression) - Method in class com.google.googlejavaformat.java.JavaInputAstVisitor
Visitor method for InstanceofExpressions.
visit(IntersectionType) - Method in class com.google.googlejavaformat.java.JavaInputAstVisitor
Visitor method for IntersectionTypes.
visit(LabeledStatement) - Method in class com.google.googlejavaformat.java.JavaInputAstVisitor
Visitor method for LabeledStatements.
visit(LambdaExpression) - Method in class com.google.googlejavaformat.java.JavaInputAstVisitor
Visitor method for LambdaExpressions.
visit(MarkerAnnotation) - Method in class com.google.googlejavaformat.java.JavaInputAstVisitor
Visitor method for MarkerAnnotations.
visit(MemberValuePair) - Method in class com.google.googlejavaformat.java.JavaInputAstVisitor
Visitor method for MemberValuePairs.
visit(MethodDeclaration) - Method in class com.google.googlejavaformat.java.JavaInputAstVisitor
Visitor method for MethodDeclarations.
visit(MethodInvocation) - Method in class com.google.googlejavaformat.java.JavaInputAstVisitor
Visitor method for MethodInvocations.
visit(Modifier) - Method in class com.google.googlejavaformat.java.JavaInputAstVisitor
Visitor method for Modifiers.
visit(NameQualifiedType) - Method in class com.google.googlejavaformat.java.JavaInputAstVisitor
Visitor method for NameQualifiedTypes.
visit(NormalAnnotation) - Method in class com.google.googlejavaformat.java.JavaInputAstVisitor
Visitor method for NormalAnnotations.
visit(NullLiteral) - Method in class com.google.googlejavaformat.java.JavaInputAstVisitor
Visitor method for NullLiterals.
visit(NumberLiteral) - Method in class com.google.googlejavaformat.java.JavaInputAstVisitor
Visitor method for NumberLiterals.
visit(PackageDeclaration) - Method in class com.google.googlejavaformat.java.JavaInputAstVisitor
Visitor method for PackageDeclarations.
visit(ParameterizedType) - Method in class com.google.googlejavaformat.java.JavaInputAstVisitor
Visitor method for ParameterizedTypes.
visit(ParenthesizedExpression) - Method in class com.google.googlejavaformat.java.JavaInputAstVisitor
Visitor method for ParenthesizedExpressions.
visit(PostfixExpression) - Method in class com.google.googlejavaformat.java.JavaInputAstVisitor
Visitor method for PostfixExpressions.
visit(PrefixExpression) - Method in class com.google.googlejavaformat.java.JavaInputAstVisitor
Visitor method for PrefixExpressions.
visit(PrimitiveType) - Method in class com.google.googlejavaformat.java.JavaInputAstVisitor
Visitor method for PrimitiveTypes.
visit(QualifiedName) - Method in class com.google.googlejavaformat.java.JavaInputAstVisitor
Visitor method for QualifiedNames.
visit(QualifiedType) - Method in class com.google.googlejavaformat.java.JavaInputAstVisitor
Visitor method for QualifiedTypes.
visit(ReturnStatement) - Method in class com.google.googlejavaformat.java.JavaInputAstVisitor
Visitor method for ReturnStatements.
visit(SimpleName) - Method in class com.google.googlejavaformat.java.JavaInputAstVisitor
Visitor method for SimpleNames.
visit(SimpleType) - Method in class com.google.googlejavaformat.java.JavaInputAstVisitor
Visitor method for SimpleTypes.
visit(SingleMemberAnnotation) - Method in class com.google.googlejavaformat.java.JavaInputAstVisitor
Visitor method for SingleMemberAnnotations.
visit(SingleVariableDeclaration) - Method in class com.google.googlejavaformat.java.JavaInputAstVisitor
Visitor method for SingleVariableDeclarations.
visit(StringLiteral) - Method in class com.google.googlejavaformat.java.JavaInputAstVisitor
Visitor method for StringLiterals.
visit(SuperConstructorInvocation) - Method in class com.google.googlejavaformat.java.JavaInputAstVisitor
Visitor method for SuperConstructorInvocations.
visit(SuperFieldAccess) - Method in class com.google.googlejavaformat.java.JavaInputAstVisitor
Visitor method for SuperFieldAccesses.
visit(SuperMethodInvocation) - Method in class com.google.googlejavaformat.java.JavaInputAstVisitor
Visitor method for SuperMethodInvocations.
visit(SuperMethodReference) - Method in class com.google.googlejavaformat.java.JavaInputAstVisitor
Visitor method for SuperMethodReferences.
visit(SwitchCase) - Method in class com.google.googlejavaformat.java.JavaInputAstVisitor
Visitor method for SwitchCases.
visit(SwitchStatement) - Method in class com.google.googlejavaformat.java.JavaInputAstVisitor
Visitor method for SwitchStatements.
visit(SynchronizedStatement) - Method in class com.google.googlejavaformat.java.JavaInputAstVisitor
Visitor method for SynchronizedStatements.
visit(ThisExpression) - Method in class com.google.googlejavaformat.java.JavaInputAstVisitor
Visitor method for ThisExpressions.
visit(ThrowStatement) - Method in class com.google.googlejavaformat.java.JavaInputAstVisitor
Visitor method for ThrowStatements.
visit(TryStatement) - Method in class com.google.googlejavaformat.java.JavaInputAstVisitor
Visitor method for TryStatements.
visit(TypeDeclaration) - Method in class com.google.googlejavaformat.java.JavaInputAstVisitor
Visitor method for TypeDeclarations.
visit(TypeDeclarationStatement) - Method in class com.google.googlejavaformat.java.JavaInputAstVisitor
Visitor method for TypeDeclarationStatements.
visit(TypeLiteral) - Method in class com.google.googlejavaformat.java.JavaInputAstVisitor
Visitor method for TypeLiterals.
visit(TypeMethodReference) - Method in class com.google.googlejavaformat.java.JavaInputAstVisitor
Visitor method for TypeMethodReferences.
visit(TypeParameter) - Method in class com.google.googlejavaformat.java.JavaInputAstVisitor
Visitor method for TypeParameters.
visit(UnionType) - Method in class com.google.googlejavaformat.java.JavaInputAstVisitor
Visitor method for UnionTypes.
visit(VariableDeclarationExpression) - Method in class com.google.googlejavaformat.java.JavaInputAstVisitor
Visitor method for VariableDeclarationExpressions.
visit(VariableDeclarationFragment) - Method in class com.google.googlejavaformat.java.JavaInputAstVisitor
Visitor method for VariableDeclarationFragments.
visit(VariableDeclarationStatement) - Method in class com.google.googlejavaformat.java.JavaInputAstVisitor
Visitor method for VariableDeclarationStatements.
visit(WhileStatement) - Method in class com.google.googlejavaformat.java.JavaInputAstVisitor
Visitor method for WhileStatements.
visit(WildcardType) - Method in class com.google.googlejavaformat.java.JavaInputAstVisitor
Visitor method for WildcardTypes.

W

wanted() - Method in class com.google.googlejavaformat.OpsBuilder.BlankLineWanted
Is the blank line wanted?
wasBreakTaken() - Method in class com.google.googlejavaformat.Output.BreakTag
 
withOps(List<Op>) - Method in class com.google.googlejavaformat.DocBuilder
Add a list of Ops to the OpsBuilder.
write(Output) - Method in class com.google.googlejavaformat.Doc.Break
 
write(Output) - Method in class com.google.googlejavaformat.Doc.Token
 
write(Output) - Method in class com.google.googlejavaformat.Doc
Write a Doc to an Output, after breaking decisions have been made.
writeMerged(Appendable, RangeSet<Integer>) - Method in class com.google.googlejavaformat.java.JavaOutput
Merge the (un-reformatted) input lines and the (reformatted) output lines.

Y

YES - Static variable in class com.google.googlejavaformat.OpsBuilder.BlankLineWanted
Always emit a blank line.

Z

ZERO - Static variable in class com.google.googlejavaformat.Indent.Const
 
A B C D E F G H I J L M N O P R S T U V W Y Z 
Skip navigation links

Copyright © 2015–2016 Google Inc.. All rights reserved.