Modifier and Type | Field and Description |
---|---|
private FormatPreferences.Space |
Tokens.$KW.after |
private FormatPreferences.Space |
Tokens.$KW.before |
private FormatPreferences.Space |
Tokens.$PUNCT.BINOP.spacingRule |
Modifier and Type | Field and Description |
---|---|
private static java.util.EnumMap<FormatPreferences.Space,FormatPreferences.SpaceType> |
FormatPreferences.DEFAULT_SPACE_TYPES |
private java.util.EnumMap<FormatPreferences.Space,FormatPreferences.SpaceType> |
FormatPreferences.spaceTypes |
Modifier and Type | Method and Description |
---|---|
FormatPreferences.Space |
Tokens.$PUNCT.BINOP.getSpacingRule() |
static FormatPreferences.Space |
FormatPreferences.Space.valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static FormatPreferences.Space[] |
FormatPreferences.Space.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
FormatPreferences.SpaceType |
FormatPreferences.getSpaceType(FormatPreferences.Space space)
Get the spacing type for a given space context.
|
void |
FormatPreferences.setAllSpaceTypes(FormatPreferences.SpaceType toType,
FormatPreferences.Space... spaces)
Set several space contexts to the same spacing type.
|
FormatPreferences.SpaceType |
FormatPreferences.setSpaceType(FormatPreferences.Space space,
FormatPreferences.SpaceType spaceType)
Set the spacing type for the given space context.
|
(package private) void |
SourceFileWriter.write(FormatPreferences.Space rule) |
(package private) void |
BasicJBlock.write(SourceFileWriter writer,
FormatPreferences.Space beforeBrace) |
(package private) void |
FirstJVarDeclaration.write(SourceFileWriter writer,
FormatPreferences.Space beforeSemicolon) |
(package private) void |
BasicJBlock.write(SourceFileWriter writer,
FormatPreferences.Space beforeBrace,
JBlock.Braces braces) |
(package private) void |
ElseJBlock.write(SourceFileWriter writer,
FormatPreferences.Space beforeBrace,
JBlock.Braces braces) |
(package private) void |
BasicJAnnotatable.writeAnnotations(SourceFileWriter writer,
FormatPreferences.Space space) |
Constructor and Description |
---|
$KW(FormatPreferences.Space before,
FormatPreferences.Space after) |
$KW(java.lang.String name,
FormatPreferences.Space before,
FormatPreferences.Space after) |
BINOP(java.lang.String str,
FormatPreferences.Space spacingRule) |