Uses of Class
com.google.googlejavaformat.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.Methods in com.google.googlejavaformat with parameters of type Indent Modifier and Type Method Description voidOpsBuilder. breakOp(Doc.FillMode fillMode, String flat, Indent plusIndent)Emit a genericDoc.Break.voidOpsBuilder. breakOp(Doc.FillMode fillMode, String flat, Indent plusIndent, 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, String flat, Indent plusIndent)Make aBreak.static Doc.BreakDoc.Break. make(Doc.FillMode fillMode, String flat, Indent plusIndent, Optional<Output.BreakTag> optTag)Make aBreak.static Indent.IfIndent.If. make(Output.BreakTag condition, Indent thenIndent, Indent elseIndent)static OpOpenOp. make(Indent plusIndent)Make an ordinaryOpenOp.voidOpsBuilder. open(Indent plusIndent)Open a new level by emitting anOpenOp.voidOpsBuilder. token(String token, Doc.Token.RealOrImaginary realOrImaginary, Indent plusIndentCommentsBefore, Optional<Indent> breakAndIndentTrailingComment)Method parameters in com.google.googlejavaformat with type arguments of type Indent Modifier and Type Method Description voidOpsBuilder. token(String 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 Indent Modifier and Type Method Description protected voidJavaInputAstVisitor. token(String token, Indent plusIndentCommentsBefore)Emit aDoc.Token.protected voidJavaInputAstVisitor. typeParametersRest(List<? extends TypeParameterTree> typeParameters, Indent plusIndent)Does not omit the leading"<", which should be associated with the type name.