Fields
Modifier and Type |
Field and Description |
boolean |
ALIGN_CONSECUTIVE_ASSIGNMENTS |
boolean |
ALIGN_CONSECUTIVE_VARIABLE_DECLARATIONS |
boolean |
ALIGN_GROUP_FIELD_DECLARATIONS
Specifies if subsequent fields/variables declarations and initialisations should be aligned in columns like below:
int start = 1;
int end = 10;
|
boolean |
ALIGN_MULTILINE_ARRAY_INITIALIZER_EXPRESSION |
boolean |
ALIGN_MULTILINE_ASSIGNMENT |
boolean |
ALIGN_MULTILINE_BINARY_OPERATION |
boolean |
ALIGN_MULTILINE_CHAINED_METHODS
Indicates if long sequence of chained method calls should be aligned.
|
boolean |
ALIGN_MULTILINE_EXTENDS_LIST |
boolean |
ALIGN_MULTILINE_FOR |
boolean |
ALIGN_MULTILINE_METHOD_BRACKETS |
boolean |
ALIGN_MULTILINE_PARAMETERS |
boolean |
ALIGN_MULTILINE_PARAMETERS_IN_CALLS |
boolean |
ALIGN_MULTILINE_PARENTHESIZED_EXPRESSION |
boolean |
ALIGN_MULTILINE_RESOURCES |
boolean |
ALIGN_MULTILINE_TERNARY_OPERATION |
boolean |
ALIGN_MULTILINE_THROWS_LIST |
boolean |
ALIGN_SUBSEQUENT_SIMPLE_METHODS |
boolean |
ALIGN_THROWS_KEYWORD |
boolean |
ARRAY_INITIALIZER_LBRACE_ON_NEXT_LINE |
boolean |
ARRAY_INITIALIZER_RBRACE_ON_NEXT_LINE |
int |
ARRAY_INITIALIZER_WRAP |
boolean |
ASSERT_STATEMENT_COLON_ON_NEXT_LINE |
int |
ASSERT_STATEMENT_WRAP |
int |
ASSIGNMENT_WRAP |
boolean |
BINARY_OPERATION_SIGN_ON_NEXT_LINE |
int |
BINARY_OPERATION_WRAP |
int |
BLANK_LINES_AFTER_ANONYMOUS_CLASS_HEADER |
int |
BLANK_LINES_AFTER_CLASS_HEADER |
int |
BLANK_LINES_AFTER_IMPORTS |
int |
BLANK_LINES_AFTER_PACKAGE |
int |
BLANK_LINES_AROUND_CLASS |
int |
BLANK_LINES_AROUND_FIELD |
int |
BLANK_LINES_AROUND_FIELD_IN_INTERFACE |
int |
BLANK_LINES_AROUND_METHOD |
int |
BLANK_LINES_AROUND_METHOD_IN_INTERFACE |
int |
BLANK_LINES_BEFORE_CLASS_END
In Java-like languages specifies a number of blank lines before class closing brace '}'.
|
int |
BLANK_LINES_BEFORE_IMPORTS |
int |
BLANK_LINES_BEFORE_METHOD_BODY |
int |
BLANK_LINES_BEFORE_PACKAGE |
boolean |
BLOCK_COMMENT_AT_FIRST_COLUMN |
int |
BRACE_STYLE |
boolean |
CALL_PARAMETERS_LPAREN_ON_NEXT_LINE |
boolean |
CALL_PARAMETERS_RPAREN_ON_NEXT_LINE |
int |
CALL_PARAMETERS_WRAP |
boolean |
CASE_STATEMENT_ON_NEW_LINE |
boolean |
CATCH_ON_NEW_LINE
"}
catch"
or
"} catch"
|
int |
CLASS_ANNOTATION_WRAP |
int |
CLASS_BRACE_STYLE |
static int |
DO_NOT_FORCE |
boolean |
DO_NOT_INDENT_TOP_LEVEL_CLASS_MEMBERS |
static int |
DO_NOT_WRAP |
int |
DOWHILE_BRACE_FORCE |
boolean |
ELSE_ON_NEW_LINE
"}
else"
or
"} else"
|
static int |
END_OF_LINE
1.
|
int |
ENUM_CONSTANTS_WRAP |
int |
EXTENDS_KEYWORD_WRAP |
int |
EXTENDS_LIST_WRAP |
int |
FIELD_ANNOTATION_WRAP |
boolean |
FINALLY_ON_NEW_LINE
"}
finally"
or
"} finally"
|
int |
FOR_BRACE_FORCE |
boolean |
FOR_STATEMENT_LPAREN_ON_NEXT_LINE |
boolean |
FOR_STATEMENT_RPAREN_ON_NEXT_LINE |
int |
FOR_STATEMENT_WRAP |
static int |
FORCE_BRACES_ALWAYS |
static int |
FORCE_BRACES_IF_MULTILINE |
int |
FORCE_REARRANGE_MODE |
int |
IF_BRACE_FORCE |
boolean |
INDENT_BREAK_FROM_CASE
Controls "break" position relative to "case".
|
boolean |
INDENT_CASE_FROM_SWITCH |
int |
KEEP_BLANK_LINES_BEFORE_RBRACE |
int |
KEEP_BLANK_LINES_BETWEEN_PACKAGE_DECLARATION_AND_HEADER
Keep up to this amount of blank lines between package declaration and header
|
int |
KEEP_BLANK_LINES_IN_CODE
Keep up to this amount of blank lines in code
|
int |
KEEP_BLANK_LINES_IN_DECLARATIONS
Keep up to this amount of blank lines between declarations
|
boolean |
KEEP_CONTROL_STATEMENT_IN_ONE_LINE
Keep "if (..) ...;" (also while, for)
Does not control "if (..) { ..
|
boolean |
KEEP_FIRST_COLUMN_COMMENT
Controls END_OF_LINE_COMMENT's and C_STYLE_COMMENT's
|
boolean |
KEEP_LINE_BREAKS |
boolean |
KEEP_MULTIPLE_EXPRESSIONS_IN_ONE_LINE |
boolean |
KEEP_SIMPLE_BLOCKS_IN_ONE_LINE |
boolean |
KEEP_SIMPLE_CLASSES_IN_ONE_LINE |
boolean |
KEEP_SIMPLE_LAMBDAS_IN_ONE_LINE |
boolean |
KEEP_SIMPLE_METHODS_IN_ONE_LINE |
int |
LAMBDA_BRACE_STYLE |
boolean |
LINE_COMMENT_ADD_SPACE
Tells if a space is added when commenting/uncommenting lines with a line comment.
|
boolean |
LINE_COMMENT_AT_FIRST_COLUMN |
int |
METHOD_ANNOTATION_WRAP |
int |
METHOD_BRACE_STYLE |
int |
METHOD_CALL_CHAIN_WRAP |
boolean |
METHOD_PARAMETERS_LPAREN_ON_NEXT_LINE |
boolean |
METHOD_PARAMETERS_RPAREN_ON_NEXT_LINE |
int |
METHOD_PARAMETERS_WRAP |
boolean |
MODIFIER_LIST_WRAP |
static int |
NEXT_LINE |
static int |
NEXT_LINE_IF_WRAPPED |
static int |
NEXT_LINE_SHIFTED |
static int |
NEXT_LINE_SHIFTED2 |
int |
PARAMETER_ANNOTATION_WRAP |
boolean |
PARENTHESES_EXPRESSION_LPAREN_WRAP |
boolean |
PARENTHESES_EXPRESSION_RPAREN_WRAP |
boolean |
PLACE_ASSIGNMENT_SIGN_ON_NEXT_LINE |
boolean |
PREFER_PARAMETERS_WRAP |
static int |
REARRANGE_ACCORDIND_TO_DIALOG |
static int |
REARRANGE_ALWAYS |
static int |
REARRANGE_NEVER |
boolean |
RESOURCE_LIST_LPAREN_ON_NEXT_LINE |
boolean |
RESOURCE_LIST_RPAREN_ON_NEXT_LINE |
int |
RESOURCE_LIST_WRAP |
int |
RIGHT_MARGIN |
boolean |
SPACE_AFTER_COLON |
boolean |
SPACE_AFTER_COMMA |
boolean |
SPACE_AFTER_COMMA_IN_TYPE_ARGUMENTS |
boolean |
SPACE_AFTER_QUEST |
boolean |
SPACE_AFTER_SEMICOLON |
boolean |
SPACE_AFTER_TYPE_CAST |
boolean |
SPACE_AROUND_ADDITIVE_OPERATORS
Controls +, -
|
boolean |
SPACE_AROUND_ASSIGNMENT_OPERATORS
Controls =, +=, -=, etc
|
boolean |
SPACE_AROUND_BITWISE_OPERATORS
Controls &, |, ^
|
boolean |
SPACE_AROUND_EQUALITY_OPERATORS
Controls ==, !=
|
boolean |
SPACE_AROUND_LAMBDA_ARROW |
boolean |
SPACE_AROUND_LOGICAL_OPERATORS
Controls &&, ||
|
boolean |
SPACE_AROUND_METHOD_REF_DBL_COLON |
boolean |
SPACE_AROUND_MULTIPLICATIVE_OPERATORS
Controls *, /, %
|
boolean |
SPACE_AROUND_RELATIONAL_OPERATORS
Controls <, >, <=, >=
|
boolean |
SPACE_AROUND_SHIFT_OPERATORS
Controls <<.
|
boolean |
SPACE_AROUND_UNARY_OPERATOR |
boolean |
SPACE_BEFORE_ANNOTATION_ARRAY_INITIALIZER_LBRACE
'@SuppressWarnings({"unchecked"})
or
'@SuppressWarnings( {"unchecked"})
|
boolean |
SPACE_BEFORE_ANOTATION_PARAMETER_LIST |
boolean |
SPACE_BEFORE_ARRAY_INITIALIZER_LBRACE
"new int[] {"
or
"new int[]{"
|
boolean |
SPACE_BEFORE_CATCH_KEYWORD |
boolean |
SPACE_BEFORE_CATCH_LBRACE
"catch (...) {"
or
"catch (...){"
|
boolean |
SPACE_BEFORE_CATCH_PARENTHESES
"catch (...)"
or
"catch(...)"
|
boolean |
SPACE_BEFORE_CLASS_LBRACE
"class A {"
or
"class A{"
|
boolean |
SPACE_BEFORE_COLON |
boolean |
SPACE_BEFORE_COMMA |
boolean |
SPACE_BEFORE_DO_LBRACE
"do {"
or
"do{"
|
boolean |
SPACE_BEFORE_ELSE_KEYWORD |
boolean |
SPACE_BEFORE_ELSE_LBRACE
"else {"
or
"else{"
|
boolean |
SPACE_BEFORE_FINALLY_KEYWORD |
boolean |
SPACE_BEFORE_FINALLY_LBRACE
"finally {"
or
"finally{"
|
boolean |
SPACE_BEFORE_FOR_LBRACE
"for (...) {"
or
"for (...){"
|
boolean |
SPACE_BEFORE_FOR_PARENTHESES
"for (...)"
or
"for(...)"
|
boolean |
SPACE_BEFORE_IF_LBRACE
"if (...) {"
or
"if (...){"
|
boolean |
SPACE_BEFORE_IF_PARENTHESES
"if (...)"
or
"if(...)"
|
boolean |
SPACE_BEFORE_METHOD_CALL_PARENTHESES
"f (x)"
or
"f(x)"
|
boolean |
SPACE_BEFORE_METHOD_LBRACE
"void f() {"
or
"void f(){"
|
boolean |
SPACE_BEFORE_METHOD_PARENTHESES
"void f (int param)"
or
"void f(int param)"
|
boolean |
SPACE_BEFORE_QUEST |
boolean |
SPACE_BEFORE_SEMICOLON |
boolean |
SPACE_BEFORE_SWITCH_LBRACE
"switch (...) {"
or
"switch (...){"
|
boolean |
SPACE_BEFORE_SWITCH_PARENTHESES
"switch (...)"
or
"switch(...)"
|
boolean |
SPACE_BEFORE_SYNCHRONIZED_LBRACE
"synchronized (...) {"
or
"synchronized (...){"
|
boolean |
SPACE_BEFORE_SYNCHRONIZED_PARENTHESES
"synchronized (...)"
or
"synchronized(...)"
|
boolean |
SPACE_BEFORE_TRY_LBRACE
"try {"
or
"try{"
|
boolean |
SPACE_BEFORE_TRY_PARENTHESES
"try (...)"
or
"try(...)"
|
boolean |
SPACE_BEFORE_TYPE_PARAMETER_LIST |
boolean |
SPACE_BEFORE_WHILE_KEYWORD |
boolean |
SPACE_BEFORE_WHILE_LBRACE
"while (...) {"
or
"while (...){"
|
boolean |
SPACE_BEFORE_WHILE_PARENTHESES
"while (...)"
or
"while(...)"
|
boolean |
SPACE_WITHIN_ANNOTATION_PARENTHESES |
boolean |
SPACE_WITHIN_ARRAY_INITIALIZER_BRACES
"int X[] { 1, 3, 5 }"
or
"int X[] {1, 3, 5}"
|
boolean |
SPACE_WITHIN_BRACES
void foo(){ { return; } }
or
void foo(){{return;}}
|
boolean |
SPACE_WITHIN_BRACKETS
"[ expr ]"
or
"[expr]"
|
boolean |
SPACE_WITHIN_CAST_PARENTHESES
"( Type )expr"
or
"(Type)expr"
|
boolean |
SPACE_WITHIN_CATCH_PARENTHESES
"catch( Exception e )"
or
"catch(Exception e)"
|
boolean |
SPACE_WITHIN_EMPTY_ARRAY_INITIALIZER_BRACES
"int X[] { }"
or
"int X[] {}"
|
boolean |
SPACE_WITHIN_EMPTY_METHOD_CALL_PARENTHESES
"f( )"
or
"f()"
|
boolean |
SPACE_WITHIN_EMPTY_METHOD_PARENTHESES
"void f( )"
or
"void f()"
|
boolean |
SPACE_WITHIN_FOR_PARENTHESES
"for( int i = 0; i < 10; i++ )"
or
"for(int i = 0; i < 10; i++)"
|
boolean |
SPACE_WITHIN_IF_PARENTHESES
"if( expr )"
or
"if(expr)"
|
boolean |
SPACE_WITHIN_METHOD_CALL_PARENTHESES
"f( expr )"
or
"f(expr)"
|
boolean |
SPACE_WITHIN_METHOD_PARENTHESES
"void f( int param )"
or
"void f(int param)"
|
boolean |
SPACE_WITHIN_PARENTHESES
"( expr )"
or
"(expr)"
|
boolean |
SPACE_WITHIN_SWITCH_PARENTHESES
"switch( expr )"
or
"switch(expr)"
|
boolean |
SPACE_WITHIN_SYNCHRONIZED_PARENTHESES
"synchronized( expr )"
or
"synchronized(expr)"
|
boolean |
SPACE_WITHIN_TRY_PARENTHESES
"try( Resource r = r() )"
or
"catch(Resource r = r())"
|
boolean |
SPACE_WITHIN_WHILE_PARENTHESES
"while( expr )"
or
"while(expr)"
|
boolean |
SPECIAL_ELSE_IF_TREATMENT |
boolean |
TERNARY_OPERATION_SIGNS_ON_NEXT_LINE |
int |
TERNARY_OPERATION_WRAP |
int |
THROWS_KEYWORD_WRAP |
int |
THROWS_LIST_WRAP |
int |
VARIABLE_ANNOTATION_WRAP |
int |
WHILE_BRACE_FORCE |
boolean |
WHILE_ON_NEW_LINE
"}
while"
or
"} while"
|
static int |
WRAP_ALWAYS |
static int |
WRAP_AS_NEEDED |
boolean |
WRAP_COMMENTS |
boolean |
WRAP_FIRST_METHOD_IN_CALL_CHAIN |
boolean |
WRAP_LONG_LINES |
static int |
WRAP_ON_EVERY_ITEM |
int |
WRAP_ON_TYPING
Defines if wrapping should occur when typing reaches right margin.
|