Uses of Class
com.google.googlejavaformat.Indent
Packages that use Indent
-
Uses of Indent in com.google.googlejavaformat
Subclasses of Indent in com.google.googlejavaformatModifier and TypeClassDescriptionstatic final classA constant function, returning a constant indent.static final classA conditional function, whose value depends on whether a break was taken.Fields in com.google.googlejavaformat declared as IndentModifier and TypeFieldDescriptionprivate final IndentIndent.If.elseIndentprivate final IndentDoc.Break.plusIndentprivate final IndentDoc.Level.plusIndentprivate final IndentOpenOp.plusIndentprivate final IndentDoc.Token.plusIndentCommentsBeforeprivate final IndentIndent.If.thenIndentFields in com.google.googlejavaformat with type parameters of type IndentMethods in com.google.googlejavaformat that return IndentModifier and TypeMethodDescription(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 IndentModifier and TypeMethodDescriptionDoc.Token.breakAndIndentTrailingComment()Force a line break and indent trailing javadoc or block comments.Methods in com.google.googlejavaformat with parameters of type IndentModifier and TypeMethodDescriptionfinal voidOpsBuilder.breakOp(Doc.FillMode fillMode, String flat, Indent plusIndent) Emit a genericDoc.Break.final voidOpsBuilder.breakOp(Doc.FillMode fillMode, String flat, Indent plusIndent, Optional<Output.BreakTag> optionalTag) Emit a genericDoc.Break.final voidEmit aDoc.Break.final voidOpsBuilder.forcedBreak(Indent plusIndent) Emit a forcedDoc.Break.static Doc.BreakDoc.Break.make(Doc.FillMode fillMode, String flat, Indent plusIndent) Make aBreak.static Doc.BreakDoc.Break.make(Doc.FillMode fillMode, String flat, Indent plusIndent, Optional<Output.BreakTag> optTag) Make aBreak.(package private) static Doc.LevelFactory method forLevels.(package private) static OpDoc.Token.make(Input.Token token, Doc.Token.RealOrImaginary realOrImaginary, Indent plusIndentCommentsBefore, Optional<Indent> breakAndIndentTrailingComment) Make aToken.static Indent.IfIndent.If.make(Output.BreakTag condition, Indent thenIndent, Indent elseIndent) static OpMake an ordinaryOpenOp.(package private) voidOpen a newDoc.Level.final voidOpen a new level by emitting anOpenOp.final voidOpsBuilder.token(String token, Doc.Token.RealOrImaginary realOrImaginary, Indent plusIndentCommentsBefore, Optional<Indent> breakAndIndentTrailingComment) Method parameters in com.google.googlejavaformat with type arguments of type IndentModifier and TypeMethodDescription(package private) static OpDoc.Token.make(Input.Token token, Doc.Token.RealOrImaginary realOrImaginary, Indent plusIndentCommentsBefore, Optional<Indent> breakAndIndentTrailingComment) Make aToken.final voidOpsBuilder.token(String token, Doc.Token.RealOrImaginary realOrImaginary, Indent plusIndentCommentsBefore, Optional<Indent> breakAndIndentTrailingComment) Constructors in com.google.googlejavaformat with parameters of type IndentModifierConstructorDescriptionprivateBreak(Doc.FillMode fillMode, String flat, Indent plusIndent, Optional<Output.BreakTag> optTag) privateIf(Output.BreakTag condition, Indent thenIndent, Indent elseIndent) privateprivateprivateToken(Input.Token token, Doc.Token.RealOrImaginary realOrImaginary, Indent plusIndentCommentsBefore, Optional<Indent> breakAndIndentTrailingComment) Constructor parameters in com.google.googlejavaformat with type arguments of type IndentModifierConstructorDescriptionprivateToken(Input.Token token, Doc.Token.RealOrImaginary realOrImaginary, Indent plusIndentCommentsBefore, Optional<Indent> breakAndIndentTrailingComment) -
Uses of Indent in com.google.googlejavaformat.java
Methods in com.google.googlejavaformat.java with parameters of type IndentModifier and TypeMethodDescription(package private) voidJavaInputAstVisitor.addArguments(List<? extends com.sun.source.tree.ExpressionTree> arguments, Indent plusIndent) Add arguments to a method invocation, etc.(package private) voidJavaInputAstVisitor.addTypeArguments(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, List<com.sun.source.tree.ExpressionTree> items, Indent indent) protected final voidEmit aDoc.Token.(package private) final voidJavaInputAstVisitor.tokenBreakTrailingComment(String token, Indent breakAndIndentTrailingComment) Emit aDoc.Token, and breaks and indents trailing javadoc or block comments.protected voidJavaInputAstVisitor.typeParametersRest(List<? extends com.sun.source.tree.TypeParameterTree> typeParameters, Indent plusIndent) Does not omit the leading"<", which should be associated with the type name.