The phrase "wrap before X" means that a line break and spaces appear right before "X", such that "X" is vertically aligned with the first token in the immediately preceding line.
| Name | Description |
|---|---|
| allowMultipleConstantsPerLine | Whether multiple enum constant declarations in one line are allowed. |
| allowOneLineDecl | Whether to allow a complete enum declaration in one single line. |
| wrapDeclBeforeEnum |
Whether to wrap enum declarations before the ENUM keyword.
|
| wrapDeclBeforeLCurly | Whether to wrap enum declarations before the opening curly brace. |
private enum Color { BLACK, WHITE }
ENUM keyword. Example:
protected
enum MyEnum {
Default values are underlined.
For a description of the individual values, click them.
public enum MyEnum
{
Default values are underlined.
For a description of the individual values, click them.