public class SourceBuilders extends Object
SourceBuilder.| Modifier and Type | Method and Description |
|---|---|
static SourceBuilder |
withIndent(SourceBuilder delegate,
int indent)
|
public static SourceBuilder withIndent(SourceBuilder delegate, int indent)
SourceBuilder that indents all input by indent characters before
calling delegate.
This method assumes it is called immediately after a newline is written, and always prepends the indent characters to the first text written out.
Copyright © 2015 Google, Inc.. All rights reserved.