Uses of Class
com.google.googlejavaformat.Indent
-
Packages that use Indent Package Description com.google.googlejavaformat com.google.googlejavaformat.java -
-
Uses of Indent in com.google.googlejavaformat
Subclasses of Indent in com.google.googlejavaformat Modifier and Type Class Description static classIndent.ConstA constant function, returning a constant indent.static classIndent.IfA conditional function, whose value depends on whether a break was taken.Fields in com.google.googlejavaformat declared as Indent Modifier and Type Field Description private IndentIndent.If. elseIndentprivate IndentDoc.Break. plusIndentprivate IndentDoc.Level. plusIndentprivate IndentOpenOp. plusIndentprivate IndentDoc.Token. plusIndentCommentsBeforeprivate IndentIndent.If. thenIndentFields in com.google.googlejavaformat with type parameters of type Indent Modifier and Type Field Description private java.util.Optional<Indent>Doc.Token. breakAndIndentTrailingCommentMethods in com.google.googlejavaformat that return Indent Modifier and Type Method Description (package private) IndentDoc.Token. getPlusIndentCommentsBefore()How much extra to indent comments before theToken.Methods in com.google.googlejavaformat that return types with arguments of type Indent Modifier and Type Method Description (package private) java.util.Optional<Indent>Doc.Token. breakAndIndentTrailingComment()Force a line break and indent trailing javadoc or block comments.Methods in com.google.googlejavaformat with parameters of type Indent Modifier and Type Method Description voidOpsBuilder. breakOp(Doc.FillMode fillMode, java.lang.String flat, Indent plusIndent)Emit a genericDoc.Break.voidOpsBuilder. breakOp(Doc.FillMode fillMode, java.lang.String flat, Indent plusIndent, java.util.Optional<Output.BreakTag> optionalTag)Emit a genericDoc.Break.voidOpsBuilder. breakOp(Indent plusIndent)Emit aDoc.Break.voidOpsBuilder. forcedBreak(Indent plusIndent)Emit a forcedDoc.Break.static Doc.BreakDoc.Break. make(Doc.FillMode fillMode, java.lang.String flat, Indent plusIndent)Make aBreak.static Doc.BreakDoc.Break. make(Doc.FillMode fillMode, java.lang.String flat, Indent plusIndent, java.util.Optional<Output.BreakTag> optTag)Make aBreak.(package private) static Doc.LevelDoc.Level. make(Indent plusIndent)Factory method forLevels.(package private) static OpDoc.Token. make(Input.Token token, Doc.Token.RealOrImaginary realOrImaginary, Indent plusIndentCommentsBefore, java.util.Optional<Indent> breakAndIndentTrailingComment)Make aToken.static Indent.IfIndent.If. make(Output.BreakTag condition, Indent thenIndent, Indent elseIndent)static OpOpenOp. make(Indent plusIndent)Make an ordinaryOpenOp.(package private) voidDocBuilder. open(Indent plusIndent)Open a newDoc.Level.voidOpsBuilder. open(Indent plusIndent)Open a new level by emitting anOpenOp.voidOpsBuilder. token(java.lang.String token, Doc.Token.RealOrImaginary realOrImaginary, Indent plusIndentCommentsBefore, java.util.Optional<Indent> breakAndIndentTrailingComment)Method parameters in com.google.googlejavaformat with type arguments of type Indent Modifier and Type Method Description (package private) static OpDoc.Token. make(Input.Token token, Doc.Token.RealOrImaginary realOrImaginary, Indent plusIndentCommentsBefore, java.util.Optional<Indent> breakAndIndentTrailingComment)Make aToken.voidOpsBuilder. token(java.lang.String token, Doc.Token.RealOrImaginary realOrImaginary, Indent plusIndentCommentsBefore, java.util.Optional<Indent> breakAndIndentTrailingComment)Constructors in com.google.googlejavaformat with parameters of type Indent Constructor Description Break(Doc.FillMode fillMode, java.lang.String flat, Indent plusIndent, java.util.Optional<Output.BreakTag> optTag)If(Output.BreakTag condition, Indent thenIndent, Indent elseIndent)Level(Indent plusIndent)OpenOp(Indent plusIndent)Token(Input.Token token, Doc.Token.RealOrImaginary realOrImaginary, Indent plusIndentCommentsBefore, java.util.Optional<Indent> breakAndIndentTrailingComment)Constructor parameters in com.google.googlejavaformat with type arguments of type Indent Constructor Description Token(Input.Token token, Doc.Token.RealOrImaginary realOrImaginary, Indent plusIndentCommentsBefore, java.util.Optional<Indent> breakAndIndentTrailingComment) -
Uses of Indent in com.google.googlejavaformat.java
Methods in com.google.googlejavaformat.java with parameters of type Indent Modifier and Type Method Description (package private) voidJavaInputAstVisitor. addArguments(java.util.List<? extends com.sun.source.tree.ExpressionTree> arguments, Indent plusIndent)Add arguments to a method invocation, etc.(package private) voidJavaInputAstVisitor. addTypeArguments(java.util.List<? extends com.sun.source.tree.Tree> typeArguments, Indent plusIndent)Helper methods for method invocations.private voidJavaInputAstVisitor. dotExpressionArgsAndParen(com.sun.source.tree.ExpressionTree expression, Indent tyargIndent, Indent indent)private booleanJavaInputAstVisitor. fillFirstArgument(com.sun.source.tree.ExpressionTree e, java.util.List<com.sun.source.tree.ExpressionTree> items, Indent indent)protected voidJavaInputAstVisitor. token(java.lang.String token, Indent plusIndentCommentsBefore)Emit aDoc.Token.(package private) voidJavaInputAstVisitor. tokenBreakTrailingComment(java.lang.String token, Indent breakAndIndentTrailingComment)Emit aDoc.Token, and breaks and indents trailing javadoc or block comments.protected voidJavaInputAstVisitor. typeParametersRest(java.util.List<? extends com.sun.source.tree.TypeParameterTree> typeParameters, Indent plusIndent)Does not omit the leading"<", which should be associated with the type name.
-