类 OpsBuilder.BlankLineWanted
java.lang.Object
com.palantir.javaformat.OpsBuilder.BlankLineWanted
- 封闭类:
OpsBuilder
A request to add or remove a blank line in the output.
-
字段概要
字段修饰符和类型字段说明static final OpsBuilder.BlankLineWantedNever emit a blank line.static final OpsBuilder.BlankLineWantedExplicitly preserve blank lines from the input (e.g. before the first member in a class declaration).static final OpsBuilder.BlankLineWantedAlways emit a blank line. -
构造器概要
构造器 -
方法概要
修饰符和类型方法说明static OpsBuilder.BlankLineWantedconditional(BreakTag breakTag) Emit a blank line if the given break is taken.abstract OpsBuilder.BlankLineWantedmerge(OpsBuilder.BlankLineWanted wanted) Merge this blank line request with another.Is the blank line wanted?
-
字段详细资料
-
YES
Always emit a blank line. -
NO
Never emit a blank line. -
PRESERVE
Explicitly preserve blank lines from the input (e.g. before the first member in a class declaration). Overrides conditional blank lines.
-
-
构造器详细资料
-
BlankLineWanted
public BlankLineWanted()
-
-
方法详细资料
-
wanted
Is the blank line wanted? -
merge
Merge this blank line request with another. -
conditional
Emit a blank line if the given break is taken.
-