The white space settings page lets you configure how white space characters are used to separate individual syntax elements of source files. Making good use of spacing is considered good programming style and greatly enhances developer comprehension, therefore Jalopy provides a vast amount of flexibility to control white space behavior. Because of the sheer amount of elements, you can choose between two views that group the available options in different ways to provide a somewhat greater flexibility when adjusting the more than 150 individual options.
Choose view
Lets you choose between different views in which the white space options are presented to the user. The available choices are:
Group by Java Token
The token view groups the white space options by the Java separator and operator tokens like commas, parentheses or assignments. This is the default and preferred view, because ideally it takes little more than twenty adjustments to configure behavior for all available options.
Groupy by Java Element
The element view groups the white space options logically by the different available elements like declarations, control statements or expressions. This way it is easier to adjust options for just one element as all related options are presented together.
Since 1.6
Lets you specify what operators should have a blank space printed before.
Assignment operator
Controls whether a blank space will be printed before assignment operators. The
assignment operators are: = += -= *= \= %= &= |= ^= <<=
>>= >>>=
Assignment operator in annotations
Controls whether a blank space will be printed before assignment operators in annotations.
Since 1.9
Bitwise operator
Controls whether a blank space will be printed before bitwise operators. The bitwise operators are: & | ^
Logical operator
Controls whether a blank space will be printed before logical operators. The
logical operators are: && ||
Example 2.349. Logical operator with spaces around
if((LA(1)=='/') &&(LA(2)!='*' ||(LA(2)=='*' &&LA(3)!='*'))) ...
Math operator
Controls whether a blank space will be printed before mathematical operators.
The mathematical operators are: + - / * %
Relational operator
Controls whether a blank space will be printed before relational operators. The
relational operators are: == != < > <= >=
Shift operator
Controls whether a blank space will be printed before shift operators. The shift operators are: << >> >>>
Postfix operator
Controls whether a blank space will be printed before postfix operators. The postfix operators are: ++ --
Since 1.6
String concat operator
Controls whether a blank space will be printed before the string concat operator.
Since 1.0.3
Example 2.359. String concat operator with space before
a="a" +1; b=1 +"b"; c=1+2+3 +"c"; d="d" +1 +2 +3; e="e" +(1+2) +"e";
Lets you specify what operators should have a blank space printed after.
Assignment operator
Controls whether a blank space will be printed after assignment operators. The
assignment operators are: = += -= *= \= %= &= |= ^= <<=
>>= >>>=
Assignment operator in annotations
Controls whether a blank space will be printed after assignment operators in annotations.
Since 1.9
Bitwise operator
Controls whether a blank space will be printed after bitwise operators. The bitwise operators are: & | ^
Logical operator
Controls whether a blank space will be printed after logical operators. The
logical operators are: && ||
Example 2.367. Logical operator with spaces around
if((LA(1)=='/')&& (LA(2)!='*'|| (LA(2)=='*'&& LA(3)!='*'))) ...
Complement operator
Controls whether a blank space will be printed after complement operators. The
logical operators are: ~ !
Mathematical operator
Controls whether a blank space will be printed after mathematical operators.
The mathematical operators are: + - / * %
Relational operator
Controls whether a blank space will be printed after relational operators. The
relational operators are: == != < > <= >=
Shift operators
Controls whether a blank space will be printed after shift operators. The shift operators are: << >> >>>
Prefix operator
Controls whether a blank space will be printed after prefix operators. The
prefix operators are: ++ --
Unary operator
Controls whether a blank space will be printed after unary operators. The
unary operators are: - +
Since 1.6
String concat operator
Controls whether a blank space will be printed after the string concat operator.
Since 1.0.3
Example 2.381. String concat operator with space after
a="a"+ 1; b=1+ "b"; c=1+2+3+ "c"; d="d"+ 1+ 2+ 3; e="e"+ (1+2)+ "e";
Lets you specify what commas should have a blank space printed before.
Annotation array
Controls whether a blank space will be printed before commas of annotation arrays.
Example 2.383. Annotation array with space before comma
@Target({FIELD ,METHOD ,CONSTRUCTOR}) public class Foo { }
Annotation type member argument
Controls whether a blank space will be printed before commas of annotation member arguments.
Enum constant
Controls whether a blank space will be printed before commas of enum constants.
Enum constant argument
Controls whether a blank space will be printed before commas of enum constants.
Example 2.389. Enum constant arguments with space before comma
enum Color{GREEN(0 ,255 .0),BLUE(0 ,0 ,255)}
extends/implements
Controls whether a blank space will be printed before the commas of extends and/or implements types.
Extends type
Controls whether a blank space will be printed before the commas of extends types.
Extends type
Controls whether a blank space will be printed before the commas of implements types.
Multiple declarations
Controls whether a blank space will be printed before the commas of multi-field and/or multi-variable declarations.
Field
Controls whether a blank space will be printed before the commas of multi-field declarations.
Example 2.395. Multi-field declaration with space before commas
class Foo { int a=0 ,b=1 ,c=2 ,d=3; }
Variable
Controls whether a blank space will be printed before the commas of multi-variable declarations.
Example 2.397. Multi-variable declaration with space before commas
void foo() { int a=0 ,b=1 ,c=2 ,d=3; }
Declaration parameter
Controls whether a blank space will be printed before the commas of method and/or constructor declarations parameters.
Constructor
Method
Throws clauses
Controls whether a blank space will be printed before the commas of throws clauses of method and/or constructor declarations.
Constructor
Controls whether a blank space will be printed before the commas of throws clauses of constructor declarations.
Example 2.403. Constructor declaration throws clause with space before commas
Foo() throws IOException ,FooException {
}
Method
Controls whether a blank space will be printed before the commas of throws clauses of method declarations.
Example 2.405. Method declaration throws clause with space before commas
void foo() throws IOException ,FooException { }
Call arguments
Controls whether a blank space will be printed before the commas of call arguments.
Constructor
Controls whether a blank space will be printed before the commas of constructor call arguments.
Method
Controls whether a blank space will be printed before the commas of method call arguments.
Creator
Controls whether a blank space will be printed before the commas of creator call arguments.
Array initializer
Controls whether a blank space will be printed before the commas of array initializers.
for
Controls whether a blank space will be printed before the commas of for initializer and/or incrementor parts.
Initializer
Controls whether a blank space will be printed before the commas of for initializer parts.
Example 2.415. for initializer with space before commas
for(int i=0 ,j=array.length;i<array.length;i++) {}
Incrementor
Controls whether a blank space will be printed before the commas of for incrementor parts.
Example 2.417. for incrementor with space before commas
for(int i=0,j=array.length;i<array.length;i++ ,j--) {}
Parameterized types
Controls whether a blank space will be printed before the commas of parameterized types.
Type parameter
Controls whether a blank space will be printed before the commas of type parameters.
Type argument
Controls whether a blank space will be printed before the commas of type arguments.
Lets you specify what commas should have a blank space printed after.
Annotation array
Controls whether a blank space will be printed after commas of annotation arrays.
Example 2.423. Annotation array with space after comma
@Target({FIELD, METHOD, CONSTRUCTOR}) public class Foo { }
Annotation type member argument
Controls whether a blank space will be printed after commas of annotation member arguments.
Enum constant
Controls whether a blank space will be printed after commas of enum constants.
Enum constant argument
Controls whether a blank space will be printed after commas of enum constants.
Example 2.429. Enum constant arguments with space after comma
enum Color{GREEN(0, 255, 0),BLUE(0, 0, 255)}
extends/implements
Controls whether a blank space will be printed after the commas of extends and/or implements types.
Extends type
Controls whether a blank space will be printed after the commas of extends types.
Implements type
Controls whether a blank space will be printed after the commas of implements types.
IMultiple declarations
Controls whether a blank space will be printed after the commas of multi-field and/or multi-variable declarations.
Field
Controls whether a blank space will be printed after the commas of multi-field declarations.
Variable
Controls whether a blank space will be printed after the commas of multi-variable declarations.
Example 2.437. Multi-variable declaration with space after commas
void foo() { int a=0, b=1, c=2, d=3; }
Declaration parameter
Controls whether a blank space will be printed after the commas of method and/or constructor declarations parameters.
Constructor
Controls whether a blank space will be printed after the commas of constructor declarations parameters.
Method
Throws clauses
Controls whether a blank space will be printed after the commas of throws clauses of method and/or constructor declarations.
Constructor
Controls whether a blank space will be printed after the commas of throws clauses of constructor declarations.
Example 2.443. Constructor declaration throws clause with space after commas
Foo() throws IOException, FooException {
}
Method
Controls whether a blank space will be printed after the commas of throws clauses of method declarations.
Example 2.445. Method declaration throws clause with space after commas
void foo() throws IOException, FooException { }
Call arguments
Controls whether a blank space will be printed after the commas of call arguments.
Constructor
Controls whether a blank space will be printed after the commas of constructor call arguments.
Method
Controls whether a blank space will be printed after the commas of method call arguments.
Creator
Controls whether a blank space will be printed after the commas of creator call arguments.
Array initializer
Controls whether a blank space will be printed after the commas of array initializers.
for
Controls whether a blank space will be printed after the commas of for initializer and/or incrementor parts.
Initializer
Controls whether a blank space will be printed after the commas of for initializer parts.
Example 2.455. for initializer with space after commas
for(int i=0, j=array.length;i<array.length;i++) {}
Incrementor
Controls whether a blank space will be printed after the commas of for incrementor parts.
Example 2.457. for incrementor with space after commas
for(int i=0,j=array.length;i<array.length;i++, j--) {}
Parameterized types
Controls whether a blank space will be printed after the commas of parameterized types.
Type parameter
Controls whether a blank space will be printed after the commas of type parameters.
Type argument
Controls whether a blank space will be printed after the commas of type arguments.
Lets you specify what colons should have a blank space printed before.
assert
Controls whether colons of assert statements should have a blank space printed before.
case
Controls whether colons of case statements should have a blank space printed before.
Conditional
Controls whether colons of the conditional operator should have a blank space printed before.
for
Controls whether colons of enhanced for statements should have a blank space printed before.
Label
Controls whether colons of labeled statements should have a blank space printed before.
Lets you specify what colons should have a blank space printed after.
assert
Controls whether colons of assert statements should have a blank space printed after.
Conditional
Controls whether colons of the conditional operator should have a blank space printed after.
for
Controls whether colons of enhanced for statements should have a blank space printed after.
Label
Controls whether colons of labeled statements should have a blank space printed after.
Please note that this option only applies when no line break is printed after the colon.
Lets you specify what semicolons should have a blank space printed before.
for
Controls whether semicolons of for statements should have a blank space printed before.
Lets you specify what semicolons should have a blank space printed after.
for
Controls whether semicolons of for statements should have a blank space printed after.
Lets you specify what question marks should have a blank space printed before.
Conditional operator
Controls whether question marks of the conditional operator should have a blank space printed before.
Example 2.485. Conditional operator with space before question mark
String value=condition ?TRUE:FALSE;
Type parameter
Controls whether question marks of type parameters should have a blank space printed before. Please note that this option only applies if no white space after the left angle bracket is forced (See “Space after left bracket type parameter”).
Example 2.487. Type parameter with space before question mark
class QuestionMark<T extends Comparable< ? super Number>> {}
Type argument
Controls whether question marks of type arguments should have a blank space printed before. Please note that this option only applies if no white space after the left angle bracket and/or commas is forced (See “Space after left bracket type argument”).
Lets you specify what question marks should have a blank space printed after.
Conditional operator
Controls whether question marks of the conditional operator should have a blank space printed after.
Example 2.491. Conditional operator with space after question mark
String value=condition? TRUE:FALSE;
Type parameter
Controls whether question marks of type parameters should have a blank space printed after. Please note that this option only applies if no white space before the right angle bracket is forced (See “Space before right angle bracket type parameter”).
Example 2.493. Type parameter with space after question mark
class X10<T extends Map.Entry<? ,? >> {}
Type argument
Controls whether question marks of type arguments should have a blank space printed after. Please note that this option only applies if no white space before the right angle bracket and/or commas is forced (See “Space before right angle bracket type argument”).
Lets you specify whether a blank space should be printed before the ellipsis.
Vararg
Controls whether a blank space will be printed before the ellipsis of a variable arity parameter (varag).
Since 1.2
Lets you specify whether a blank space should be printed after the ellipsis.
Vararg
Controls whether a blank space will be printed after the ellipsis of a variable arity parameter (varag).
Since 1.6
Lets you specify whether a blank space should be printed before the ampersand.
Type parameter
Controls whether a blank space will be printed before the ampersand of type parameters.
Since 1.6
Lets you specify whether a blank space should be printed after the ampersand.
Type parameter
Controls whether a blank space will be printed after the ampersand of type parameters.
Since 1.6
Lets you specify what left parentheses should have a blank space printed before.
Annotation argument list
Controls whether a blank space should be printed before the left parenthesis of annotation argument lists.
Annotation type member
Controls whether a blank space should be printed before the left parenthesis annotation type members.
Example 2.507. Annotation type member with space left paren
@interface MyAnnotation {
String value ();
}
Enum constant argument
Controls whether a blank space should be printed before the left parenthesis of enum constant argument lists.
Declaration parameter
Controls whether a blank space will be printed before the left parenthesis of method and/or constructor parameter lists.
Constructor
Control whether a blank space will be printed before the left parenthesis of constructor parameter lists.
Example 2.511. Constructor declaration with space before left parenthesis
Foo (int p1,int p2,int p3) { }
Method
Control whether a blank space will be printed before the left parenthesis of method parameter lists.
Example 2.513. Method declaration with space before left parenthesis
public void foo (int p1,int p2,int p3) { }
Statement expressions
Lets you control whether a blank space will be printed before the left parenthesis of statement expressions.
if
Lets you control whether a blank space will be printed before the left parenthesis of if expressions.
for
Lets you control whether a blank space will be printed before the left parenthesis of for expressions.
while
Lets you control whether a blank space will be printed before the left parenthesis of while expressions.
switch
Lets you control whether a blank space will be printed before the left parenthesis of switch expressions.
throw
Lets you control whether a blank space will be printed before the left parenthesis of throw expressions.
Example 2.523. throw statement with space before left parenthesis
throw (new UnsupportOperationException());
synchronized
Lets you control whether a blank space will be printed before the left parenthesis of synchronized expressions.
Example 2.525. synchronized statement with space before left parenthesis
synchronized (this) { performOperation(); }
catch
Lets you control whether a blank space will be printed before the left parenthesis of catch expressions.
Example 2.527. catch statement with space before left parenthesis
try { Integer.parseInt(value); } catch (NumberFormatException ex) { }
return
Lets you control whether a blank space will be printed before the left parenthesis of return expressions.
Call arguments
Controls whether a blank space will be printed before the left parenthesis of call arguments.
Constructor
Controls whether a blank space will be printed before the left parenthesis of constructor call arguments.
Example 2.531. Constructor call with space before left parenthesis
Foo(int p1,int p2,int p3){ super (p1,true); }
Method
Controls whether a blank space will be printed before the left parenthesis of method call arguments.
Creator
Controls whether a blank space will be printed before the left parenthesis of creator call arguments.
Lets you specify what left parentheses should have a blank space printed after.
Annotation argument list
Controls whether a blank space should be printed after the left parenthesis of annotation argument lists.
Enum constant argument
Controls whether a blank space should be printed after the left parenthesis of enum constant argument lists.
Declaration parameter
Controls whether a blank space will be printed after the left parenthesis of method and/or constructor parameter lists.
Constructor
Control whether a blank space will be printed after the left parenthesis of constructor parameter lists.
Example 2.541. Constructor declaration with space after left parenthesis
Foo( int p1,int p2,int p3) { }
Method
Control whether a blank space will be printed after the left parenthesis of method parameter lists.
Example 2.543. Method declaration with space after left parenthesis
public void foo( int p1,int p2,int p3) { }
Statement expressions
Lets you control whether a blank space will be printed before the left parenthesis of statement expressions.
if
Lets you control whether a blank space will be printed after the left parenthesis of if expressions.
for
Lets you control whether a blank space will be printed after the left parenthesis of for expressions.
while
Lets you control whether a blank space will be printed after the left parenthesis of while expressions.
switch
Lets you control whether a blank space will be printed after the left parenthesis of switch expressions.
throw
Lets you control whether a blank space will be printed after the left parenthesis of throw expressions.
Example 2.553. throw statement with space after left parenthesis
throw( new UnsupportOperationException());
synchronized
Lets you control whether a blank space will be printed after the left parenthesis of synchronized expressions.
Example 2.555. synchronized statement with space after left parenthesis
synchronized( this) { performOperation(); }
catch
Lets you control whether a blank space will be printed after the left parenthesis of catch expressions.
Example 2.557. catch statement with space after left parenthesis
try { Integer.parseInt(value); } catch( NumberFormatException ex) { }
return
Lets you control whether a blank space will be printed after the left parenthesis of return expressions.
Call arguments
Controls whether a blank space will be printed after the left parenthesis of call arguments.
Constructor
Controls whether a blank space will be printed after the left parenthesis of constructor call arguments.
Example 2.561. Constructor call with space after left parenthesis
Foo(int p1,int p2,int p3){ super( p1,true); }
Method
Controls whether a blank space will be printed after the left parenthesis of method call arguments.
Creator
Controls whether a blank space will be printed after the left parenthesis of creator call arguments.
Parenthesized expression
Controls whether a blank space will be printed after the left parenthesis of parenthesized expressions..
Type cast
Controls whether a blank space will be printed after the left parenthesis of type casts.
Example 2.569. Type cast with space after left parenthesis
LineManager m = ( LineManager)a.getParent();
Lets you specify what right parentheses should have a blank space printed before.
Annotation argument list
Controls whether a blank space should be printed before the right parenthesis of annotation argument lists.
Enum constant argument
Controls whether a blank space should be printed before the right parenthesis of enum constant argument lists.
Declaration parameter
Controls whether a blank space will be printed after the left parenthesis of method and/or constructor parameter lists.
Constructor
Control whether a blank space will be printed before the right parenthesis of constructor parameter lists.
Example 2.575. Constructor declaration with space before right parenthesis
Foo(int p1,int p2,int p3 ) { }
Method
Control whether a blank space will be printed before the right parenthesis of method parameter lists.
Example 2.577. Method declaration with space before right parenthesis
public void foo(int p1,int p2,int p3 ) { }
Statement expressions
Lets you control whether a blank space will be printed before the left parenthesis of statement expressions.
if
Lets you control whether a blank space will be printed before the right parenthesis of if expressions.
for
Lets you control whether a blank space will be printed before the right parenthesis of for expressions.
while
Lets you control whether a blank space will be printed before the right parenthesis of while expressions.
switch
Lets you control whether a blank space will be printed before the right parenthesis of switch expressions.
throw
Lets you control whether a blank space will be printed before the right parenthesis of throw expressions.
Example 2.587. throw statement with space before right parenthesis
throw(new UnsupportOperationException() );
synchronized
Lets you control whether a blank space will be printed before the right parenthesis of synchronized expressions.
Example 2.589. synchronized statement with space before right parenthesis
synchronized(this ) { performOperation(); }
catch
Lets you control whether a blank space will be printed before the right parenthesis of catch expressions.
Example 2.591. catch statement with space before right parenthesis
try { Integer.parseInt(value); } catch(NumberFormatException ex ) { }
return
Lets you control whether a blank space will be printed before the right parenthesis of return expressions.
Call arguments
Controls whether a blank space will be printed before the right parenthesis of call arguments.
Constructor
Controls whether a blank space will be printed before the right parenthesis of constructor call arguments.
Example 2.595. Constructor call with space before right parenthesis
Foo(int p1,int p2,int p3){ super(p1,true ); }
Method
Controls whether a blank space will be printed before the right parenthesis of method call arguments.
Creator
Controls whether a blank space will be printed before the right parenthesis of creator call arguments.
Parenthesized expression
Controls whether a blank space will be printed before the right parenthesis of parenthesized expressions..
Example 2.601. Expression with space before right parenthesis
int r = (a * (b + c + d ) * (e + f ) );
Type cast
Controls whether a blank space will be printed before the right parenthesis of type casts.
Example 2.603. Type cast with space before right parenthesis
LineManager m = (LineManager )a.getParent();
Lets you specify what right parentheses should have a blank space printed after.
Type cast
Controls whether a blank space will be printed after the right parenthesis of type casts.
Example 2.605. Type cast with space after right parenthesis
LineManager m = (LineManager) a.getParent();
Lets you specify what empty parentheses should have a blank space printed between.
Annotation type member
Controls whether a blank space should be printed between the empty parentheses of annotation type members.
Example 2.607. Annotation type member with space between empty parentheses
@interface MyAnnotation {
String value( );
}
Enum constant argument
Controls whether a blank space should be printed between the empty parentheses of enum constant argument lists.
Declaration parameter
Controls whether a blank space will be printed between the empty parentheses of method and/or constructor parameter lists.
Constructor
Control whether a blank space will be printed between the empty parentheses of constructor parameter lists.
Method
Control whether a blank space will be printed before the empty parentheses of method parameter lists.
Call arguments
Controls whether a blank space will be printed between the empty parentheses of call arguments.
Constructor
Controls whether a blank space will be printed between the empty parentheses of constructor call arguments.
Example 2.615. Constructor call with space between empty parentheses
Foo(int p1,int p2,int p3){ super( ); }
Method
Controls whether a blank space will be printed between the empty parentheses of method call arguments.
Creator
Controls whether a blank space will be printed between the empty parentheses of creator call arguments.
Lets you control some general parentheses behavior.
Same direction parentheses
When enabled, no white space will be printed before or after parentheses with the same direction.
Naturally, this option is only meaningful if any of the space after left parenthesis/space before right parenthesis options have been enabled.
Since 1.0.1
Example 2.621. Parentheses with same direction (compacted)
if (( LA ( 1 ) == '/' ) && ( LA( 2 ) != '*' )) ...
Controls whether a blank space should be printed before the left curly brace.
Compact declaration
Controls whether a blank space should be printed before the left curly brace of compacted declaration blocks.
Array initializer
Controls whether a blank space should be printed before the left curly brace of array initializers that fit into one line.
Example 2.625. Array initializer with space before left curly brace
String[] first=new String[] {"1", "2"};
Controls whether a blank space should be printed after left curly braces.
Annotation array
Controls whether a blank space should be printed after the left curly brace of annotation arrays.
Example 2.627. Annotation array with space after left curly brace
@Target({ FIELD, METHOD, CONSTRUCTOR}) class FOO { }
Compact declaration
Controls whether a blank space should be printed after the left curly brace of compacted declaration blocks.
Array initializer
Controls whether a blank space should be printed after the left curly brace of array initializers.
Example 2.631. Array initializer with space after left curly brace
String[] first=new String[]{ "1", "2"};
Controls whether a blank space should be printed after left curly braces.
Annotation array
Controls whether a blank space should be printed before the right curly brace of annotation arrays.
Example 2.633. Annotation array with space before right curly brace
@Target({FIELD, METHOD, CONSTRUCTOR }) class FOO { }
Compact declaration
Controls whether a blank space should be printed before the right curly brace of compacted declaration blocks.
Example 2.635. Compact method declaration with space before right curly brace
void foo(){int i = 1; }
Array initializer
Controls whether a blank space should be printed before the right curly brace of array initializers.
Example 2.637. Array initializer with space before right curly brace
String[] first=new String[]{"1", "2" };
Controls whether a blank space should be printed between empty braces.
Compact declaration
Controls whether a blank space should be printed between empty curly braces of compacted declaration blocks.
Array initializer
Controls whether a blank space should be printed between empty curly braces of array initializers.
Controls whether a blank space should be printed before left brackets.
Array declaration
Controls whether a blank space should be printed before the left bracket of array declaration statements.
Array creator
Controls whether a blank space should be printed before the left bracket of array creation statements.
Array accessor
Controls whether a blank space should be printed before the left bracket of array access statements.
Controls whether a blank space should be printed after left brackets.
Array creator
Controls whether a blank space should be printed after the left bracket of array creation statements.
Array accessor
Controls whether a blank space should be printed after the left bracket of array access statements.
Controls whether a blank space should be printed before right brackets.
Array creator
Controls whether a blank space should be printed before the right bracket of array creation statements.
Array accessor
Controls whether a blank space should be printed before the right bracket of array access statements.
Controls whether a blank space should be printed between empty brackets.
Array declaration
Controls whether a blank space should be printed between empty brackets of array declaration statements.
Array creator
Controls whether a blank space should be printed between empty brackets of array creator statements.
Example 2.659. Array creator statement with space between empty bracket
String[] first=new String[ ]{};
Controls whether a blank space should be printed before left angle brackets of parameterized types.
Type parameter
Controls whether a blank space should be printed before left angle brackets of type parameters.
Example 2.661. Type parameter with space before left angle bracket
class AngleBracket <S,T extends Element> {}
Type argument
Controls whether a blank space should be printed before left angle brackets of type arguments.
Controls whether a blank space should be printed after left angle brackets of parameterized types.
Type parameter
Controls whether a blank space should be printed after left angle brackets of type parameters.
Example 2.665. Type parameter with space after left angle bracket
class AngleBracket< S,T extends Element> {}
Type argument
Controls whether a blank space should be printed after left angle brackets of type arguments.
Controls whether a blank space should be printed before right angle brackets of parameterized types.
Type parameter
Controls whether a blank space should be printed before right angle brackets of type parameters.
Example 2.669. Type parameter with space before right angle bracket
class AngleBracket<S,T extends Element > {}
Type argument
Controls whether a blank space should be printed before right angle brackets of type arguments.
Lets you configure the white space behavior for declarations.
Lets you configure the white space behavior for class declarations.
Please refer to the explanation for “Space before comma implements type”.
Please refer to the explanation for “Space after comma implements type”.
Lets you configure the white space behavior for interface declarations.
Please refer to the explanation for “Space before comma extends type”.
Please refer to the explanation for “Space after comma extends type”.
Lets you configure the white space behavior for enum declarations.
Please refer to the explanation for “Space before comma enum constant”.
Please refer to the explanation for Section 2.8.9.1.4, “Enum constant”.
Please refer to the explanation for “Space before left parenthesis enum constant argument”.
Please refer to the explanation for “Space after left parenthesis enum constant argument”.
Please refer to the explanation for “Space before comma enum constant argument”.
Please refer to the explanation for Section 2.8.9.1.4, “Enum constant argument”.
Please refer to the explanation for “Space before right parenthesis enum constant argument”.
Please refer to the explanation for “Space between empty parentheses enum constant argument”.
Lets you configure the white space behavior for annotation type declarations.
Please refer to the explanation for “Space before left parenthesis annotation type member”.
Please refer to the explanation for “Space between empty parentheses annotation type member”.
Please refer to the explanation for “Space before left parenthesis annotation argument list”.
Please refer to the explanation for “Space after left parenthesis annotation argument list”.
Please refer to the explanation for “Space before assignment operator in annotations”.
Please refer to the explanation for “Space after assignment operator in annotations”.
Please refer to the explanation for “Space before comma annotation type member argument”.
Please refer to the explanation for “Space after comma annotation type member argument”.
Please refer to the explanation for “Space before right parenthesis annotation argument list”.
Please refer to the explanation for “Space after left curly brace annnotation array”.
Please refer to the explanation for “Space before comma annotation array”.
Please refer to the explanation for “Space after comma annotation array”.
Please refer to the explanation for “Space before right curly brace annotation array”.
Lets you configure the white space behavior for field declarations.
Please refer to the explanation for Section 2.8.9.1.3, “Field”.
Please refer to the explanation for Space after comma multi-field.
Lets you configure the white space behavior for constructor declarations.
Please refer to the explanation for Section 2.8.9.1.15, “Constructor”.
Please refer to the explanation for “Space after left parenthesis constructor declaration”.
Please refer to the explanation for “Space before comma constructor declaration parameter”.
Please refer to the explanation for Section 2.8.9.1.4, “Constructor”.
Please refer to the explanation for “Space before right parenthesis constructor declaration parameter”.
Please refer to the explanation for “Space between empty parentheses constructor declaration”.
Please refer to the explanation for “Space before comma constructor throws type”.
Please refer to the explanation for “Space after comma constructor declaration throws type”.
Lets you configure the white space behavior for method declarations.
Please refer to the explanation for “Space before left parenthesis method declaration”.
Please refer to the explanation for “Space after left parenthesis method declaration”.
Please refer to the explanation for “Space before comma method declaration parameter”.
Please refer to the explanation for “Space after comma method declaration parameter”.
Please refer to the explanation for Section 2.8.9.1.11, “Vararg”.
Please refer to the explanation for Section 2.8.9.1.12, “Vararg”.
Please refer to the explanation for “Space before right parenthesis method declaration parameter”.
Please refer to the explanation for “Space between empty parentheses enum constant argument”.
Please refer to the explanation for “Space before comma method throws type”.
Please refer to the explanation for “Space after comma method declaration throws type”.
Lets you configure the white space behavior for local variable declarations.
Please refer to the explanation for Space before comma multi-var.
Please refer to the explanation for Space after comma multi-variable.
Please refer to the explanation for Section 2.8.9.1.5, “Label”.
Please refer to the explanation for “Space after label colon”.
Lets you configure the white space behavior for control statements.
Lets you configure the white space behavior for if
statements.
Please refer to the explanation for “Space before left parenthesis if”.
Please refer to the explanation for Section 2.8.9.1.16, “if”.
Please refer to the explanation for “Space before right parenthesis if”.
Lets you configure the white space behavior for for
statements.
Please refer to the explanation for “Space before left parenthesis for”.
Please refer to the explanation for “Space after left parenthesis for”.
Please refer to the explanation for “Space before comma for initializer”.
Please refer to the explanation for “Space after comma for initializer”.
Please refer to the explanation for “Space before comma for incrementor”.
Please refer to the explanation for “Space after comma for incrementor”.
Please refer to the explanation for “Space before semi colon for”.
Please refer to the explanation for “Space after semi colon for”.
Please refer to the explanation for “Space before enhanced for colon”.
Please refer to the explanation for “Space after enhanced for colon”.
Please refer to the explanation for “Space before right parenthesis for”.
Lets you configure the white space behavior for while
and do/while
statements.
Please refer to the explanation for “Space before left parenthesis while”.
Please refer to the explanation for “Space after left parenthesis while”.
Please refer to the explanation for “Space before right parenthesis while”.
Lets you configure the white space behavior for switch
statements.
Please refer to the explanation for Section 2.8.9.1.15, “switch”.
Please refer to the explanation for “Space after left parenthesis switch”.
Please refer to the explanation for “Space before right parenthesis switch”.
Please refer to the explanation for “Space before case colon”.
Lets you configure the white space behavior for synchronized
statements.
Please refer to the explanation for “Space before left parenthesis synchronized”.
Please refer to the explanation for “Space after left parenthesis synchronized”.
Please refer to the explanation for “Space before right parenthesis synchronized”.
Lets you configure the white space behavior for catch
statements.
Please refer to the explanation for Section 2.8.9.1.15, “catch”.
Please refer to the explanation for Section 2.8.9.1.16, “catch”.
Please refer to the explanation for Section 2.8.9.1.17, “catch”.
Lets you configure the white space behavior for assert
statements.
Please refer to the explanation for “Space before assertion colon”.
Please refer to the explanation for “Space after assertion colon”.
Lets you configure the white space behavior for throw
statements.
Please refer to the explanation for “Space before left parenthesis throw”.
Please refer to the explanation for “Space after left parenthesis throw”.
Please refer to the explanation for “Space before right parenthesis throw”.
Lets you configure the white space behavior for return
statements.
Please refer to the explanation for “Space before left parenthesis return”.
Please refer to the explanation for “Space after left parenthesis return”.
Please refer to the explanation for Section 2.8.9.1.17, “return”.
Lets you configure the white space behavior for expressions.
Lets you configure the white space behavior for constructor calls.
Please refer to the explanation for “Space before left parenthesis constructor call”.
Please refer to the explanation for “Space after left parenthesis constructor call”.
Please refer to the explanation for “Space before comma constructor call argument”.
Please refer to the explanation for “Space after comma constructor call argument”.
Please refer to the explanation for “Space before right parenthesis constructor call”.
Please refer to the explanation for “Space between empty parentheses constructor call”.
Please refer to the explanation for “Space before left parenthesis creator call”.
Please refer to the explanation for “Space after left parenthesis creator call”.
Please refer to the explanation for “Space before comma creator call argument”.
Please refer to the explanation for “Space after comma creator call argument”.
Please refer to the explanation for Section 2.8.9.1.17, “Creator”.
Please refer to the explanation for “Space between empty parentheses creator call”.
Please refer to the explanation for “Space before left parenthesis method call”.
Please refer to the explanation for “Space after left parenthesis method call”.
Please refer to the explanation for “Space before comma method call argument”.
Please refer to the explanation for “Space after comma method call argument”.
Please refer to the explanation for “Space before right parenthesis method call”.
Please refer to the explanation for “Space between empty parentheses method call”.
Please refer to the explanation for “Space before assignment operator”.
Please refer to the explanation for Section 2.8.9.1.2, “Assignment operator”.
Please refer to the explanation for “Space before assignment operator in annotations”.
Please refer to the explanation for “Space after assignment operator in annotations”.
Please refer to the explanation for “Space before bitwise operator”.
Please refer to the explanation for “Space after bitwise operator”.
Please refer to the explanation for “Space before logical operator”.
Please refer to the explanation for “Space after logical operator”.
Please refer to the explanation for “Space before mathematical operator”.
Please refer to the explanation for “Space after mathematical operator”.
Please refer to the explanation for “Space before concat operator”.
Please refer to the explanation for “Space after concat operator”.
Please refer to the explanation for Section 2.8.9.1.1, “Relational operator”.
Please refer to the explanation for “Space after relational operator”.
Please refer to the explanation for “Space before shift operator”.
Please refer to the explanation for “Space after shift operator”.
Please refer to the explanation for “Space before question mark conditional operator”.
Please refer to the explanation for “Space after question mark conditional operator”.
Please refer to the explanation for Section 2.8.9.1.5, “Conditional”.
Please refer to the explanation for “Space after conditional operator colon”.
Lets you control the white space behavior for parenthesized expressions.
Please refer to the explanation for Section 2.8.9.1.16, “Parenthesized expression”.
Please refer to the explanation for Section 2.8.9.1.17, “Parenthesized expression”.
Lets you control the white space behavior for type casts.
Please refer to the explanation for “Space after left parenthesis type cast”.
Please refer to the explanation for “Space before right parenthesis type cast”.
Please refer to the explanation for “Space after right parenthesis type cast”.
Lets you control the white space behavior for arrays.
Lets you control the white space behavior for array declarations.
Please refer to the explanation for “Space before left bracket array declaration”.
Please refer to the explanation for “Space between empty brackets array declaration”.
Lets you control the white space behavior for array allocations.
Please refer to the explanation for “Space before left bracket creator”.
Please refer to the explanation for Section 2.8.9.1.26, “Array creator”.
Please refer to the explanation for “Space before right bracket array creator”.
Please refer to the explanation for “Space between empty brackets array creator”.
Lets you control the white space behavior for array initializers.
Please refer to the explanation for “Space before left curly brace array initializer”.
Please refer to the explanation for “Space after left curly brace array initializer”.
Please refer to the explanation for “Space before comma array initializer”.
Please refer to the explanation for “Space after comma array initializer”.
Please refer to the explanation for “Space before right curly brace array initializer”.
Please refer to the explanation for “Space between empty curly braces array initializer”.
Lets you control the white space behavior for array accesssors.
Please refer to the explanation for Section 2.8.9.1.25, “Array accessor”.
Please refer to the explanation for Section 2.8.9.1.26, “Array accessor”.
Please refer to the explanation for “Space before right bracket array accessor”.
Lets you control the white space behavior for parameterized (generic) types.
Lets you configure the white space behavior for type parameters.
Please refer to the explanation for “Space before left angle bracket type parameter”.
Please refer to the explanation for “Space after left bracket type parameter”.
Please refer to the explanation for “Space before comma type parameter”.
Please refer to the explanation for “Space after comma type parameter”.
Please refer to the explanation for “Space before ampersand type parameter”.
Please refer to the explanation for “Space after ampersand type parameter”.
Please refer to the explanation for “Space before question mark type parameter”.
Please refer to the explanation for “Space after question mark type parameter”.
Please refer to the explanation for “Space before right angle bracket type parameter”.
Lets you configure the white space behavior for type arguments.
Please refer to the explanation for “Space before left angle bracket type argument”.
Please refer to the explanation for “Space before left angle bracket type argument”.
Please refer to the explanation for “Space before comma type argument”.
Please refer to the explanation for “Space after comma type argument”.
Please refer to the explanation for “Space before question mark type argument”.
Please refer to the explanation for “Space after question mark type argument”.
Please refer to the explanation for “Space before right angle bracket type argument”.