Package org.jboss.jdeparser
Enum FormatPreferences.Space
- java.lang.Object
-
- java.lang.Enum<FormatPreferences.Space>
-
- org.jboss.jdeparser.FormatPreferences.Space
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<FormatPreferences.Space>
- Enclosing class:
- FormatPreferences
public static enum FormatPreferences.Space extends java.lang.Enum<FormatPreferences.Space>
The location or position of a space.
-
-
Enum Constant Summary
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static FormatPreferences.Space
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static FormatPreferences.Space[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
BEFORE_PAREN
@Deprecated public static final FormatPreferences.Space BEFORE_PAREN
Deprecated.
-
BEFORE_STATEMENT
public static final FormatPreferences.Space BEFORE_STATEMENT
-
BEFORE_PAREN_METHOD_CALL
public static final FormatPreferences.Space BEFORE_PAREN_METHOD_CALL
-
BEFORE_PAREN_METHOD_DECLARATION
public static final FormatPreferences.Space BEFORE_PAREN_METHOD_DECLARATION
-
BEFORE_PAREN_IF
public static final FormatPreferences.Space BEFORE_PAREN_IF
-
BEFORE_PAREN_FOR
public static final FormatPreferences.Space BEFORE_PAREN_FOR
-
BEFORE_PAREN_WHILE
public static final FormatPreferences.Space BEFORE_PAREN_WHILE
-
BEFORE_PAREN_SWITCH
public static final FormatPreferences.Space BEFORE_PAREN_SWITCH
-
BEFORE_PAREN_TRY
public static final FormatPreferences.Space BEFORE_PAREN_TRY
-
BEFORE_PAREN_CATCH
public static final FormatPreferences.Space BEFORE_PAREN_CATCH
-
BEFORE_PAREN_SYNCHRONIZED
public static final FormatPreferences.Space BEFORE_PAREN_SYNCHRONIZED
-
BEFORE_PAREN_ANNOTATION_PARAM
public static final FormatPreferences.Space BEFORE_PAREN_ANNOTATION_PARAM
-
BEFORE_PAREN_CAST
public static final FormatPreferences.Space BEFORE_PAREN_CAST
-
AROUND_OPERATORS
@Deprecated public static final FormatPreferences.Space AROUND_OPERATORS
Deprecated.
-
AROUND_ASSIGN
public static final FormatPreferences.Space AROUND_ASSIGN
-
AROUND_LOGICAL
public static final FormatPreferences.Space AROUND_LOGICAL
-
AROUND_EQUALITY
public static final FormatPreferences.Space AROUND_EQUALITY
-
AROUND_RANGE
public static final FormatPreferences.Space AROUND_RANGE
-
AROUND_BITWISE
public static final FormatPreferences.Space AROUND_BITWISE
-
AROUND_ADDITIVE
public static final FormatPreferences.Space AROUND_ADDITIVE
-
AROUND_MULTIPLICATIVE
public static final FormatPreferences.Space AROUND_MULTIPLICATIVE
-
AROUND_SHIFT
public static final FormatPreferences.Space AROUND_SHIFT
-
AROUND_ARROW
public static final FormatPreferences.Space AROUND_ARROW
-
AROUND_METHOD_REF
public static final FormatPreferences.Space AROUND_METHOD_REF
-
AT_UNARY
public static final FormatPreferences.Space AT_UNARY
-
BEFORE_BRACE
public static final FormatPreferences.Space BEFORE_BRACE
-
BEFORE_BRACE_CLASS
public static final FormatPreferences.Space BEFORE_BRACE_CLASS
-
BEFORE_BRACE_METHOD
public static final FormatPreferences.Space BEFORE_BRACE_METHOD
-
BEFORE_BRACE_IF
public static final FormatPreferences.Space BEFORE_BRACE_IF
-
BEFORE_BRACE_ELSE
public static final FormatPreferences.Space BEFORE_BRACE_ELSE
-
BEFORE_BRACE_FOR
public static final FormatPreferences.Space BEFORE_BRACE_FOR
-
BEFORE_BRACE_WHILE
public static final FormatPreferences.Space BEFORE_BRACE_WHILE
-
BEFORE_BRACE_DO
public static final FormatPreferences.Space BEFORE_BRACE_DO
-
BEFORE_BRACE_SWITCH
public static final FormatPreferences.Space BEFORE_BRACE_SWITCH
-
BEFORE_BRACE_TRY
public static final FormatPreferences.Space BEFORE_BRACE_TRY
-
BEFORE_BRACE_CATCH
public static final FormatPreferences.Space BEFORE_BRACE_CATCH
-
BEFORE_BRACE_FINALLY
public static final FormatPreferences.Space BEFORE_BRACE_FINALLY
-
BEFORE_BRACE_SYNCHRONIZE
public static final FormatPreferences.Space BEFORE_BRACE_SYNCHRONIZE
-
BEFORE_BRACE_ARRAY_INIT
public static final FormatPreferences.Space BEFORE_BRACE_ARRAY_INIT
-
BEFORE_BRACE_ANNOTATION_ARRAY_INIT
public static final FormatPreferences.Space BEFORE_BRACE_ANNOTATION_ARRAY_INIT
-
BEFORE_KEYWORD_ELSE
public static final FormatPreferences.Space BEFORE_KEYWORD_ELSE
-
BEFORE_KEYWORD_WHILE
public static final FormatPreferences.Space BEFORE_KEYWORD_WHILE
-
BEFORE_KEYWORD_CATCH
public static final FormatPreferences.Space BEFORE_KEYWORD_CATCH
-
BEFORE_KEYWORD_FINALLY
public static final FormatPreferences.Space BEFORE_KEYWORD_FINALLY
-
WITHIN_BRACES_CODE
public static final FormatPreferences.Space WITHIN_BRACES_CODE
-
WITHIN_BRACES_EMPTY
public static final FormatPreferences.Space WITHIN_BRACES_EMPTY
-
WITHIN_BRACES_ARRAY_INIT
public static final FormatPreferences.Space WITHIN_BRACES_ARRAY_INIT
-
WITHIN_BRACKETS
public static final FormatPreferences.Space WITHIN_BRACKETS
-
WITHIN_PAREN_EXPR
public static final FormatPreferences.Space WITHIN_PAREN_EXPR
-
WITHIN_PAREN_METHOD_CALL
public static final FormatPreferences.Space WITHIN_PAREN_METHOD_CALL
-
WITHIN_PAREN_METHOD_CALL_EMPTY
public static final FormatPreferences.Space WITHIN_PAREN_METHOD_CALL_EMPTY
-
WITHIN_PAREN_METHOD_DECLARATION
public static final FormatPreferences.Space WITHIN_PAREN_METHOD_DECLARATION
-
WITHIN_PAREN_METHOD_DECLARATION_EMPTY
public static final FormatPreferences.Space WITHIN_PAREN_METHOD_DECLARATION_EMPTY
-
WITHIN_PAREN_IF
public static final FormatPreferences.Space WITHIN_PAREN_IF
-
WITHIN_PAREN_FOR
public static final FormatPreferences.Space WITHIN_PAREN_FOR
-
WITHIN_PAREN_WHILE
public static final FormatPreferences.Space WITHIN_PAREN_WHILE
-
WITHIN_PAREN_SWITCH
public static final FormatPreferences.Space WITHIN_PAREN_SWITCH
-
WITHIN_PAREN_TRY
public static final FormatPreferences.Space WITHIN_PAREN_TRY
-
WITHIN_PAREN_CATCH
public static final FormatPreferences.Space WITHIN_PAREN_CATCH
-
WITHIN_PAREN_SYNCHRONIZED
public static final FormatPreferences.Space WITHIN_PAREN_SYNCHRONIZED
-
WITHIN_PAREN_CAST
public static final FormatPreferences.Space WITHIN_PAREN_CAST
-
WITHIN_PAREN_ANNOTATION
public static final FormatPreferences.Space WITHIN_PAREN_ANNOTATION
-
BEFORE_TERNARY_Q
public static final FormatPreferences.Space BEFORE_TERNARY_Q
-
AFTER_TERNARY_Q
public static final FormatPreferences.Space AFTER_TERNARY_Q
-
BEFORE_TERNARY_COLON
public static final FormatPreferences.Space BEFORE_TERNARY_COLON
-
AFTER_TERNARY_COLON
public static final FormatPreferences.Space AFTER_TERNARY_COLON
-
AFTER_COMMA_TYPE_ARGUMENT
public static final FormatPreferences.Space AFTER_COMMA_TYPE_ARGUMENT
-
BEFORE_COMMA
public static final FormatPreferences.Space BEFORE_COMMA
-
AFTER_COMMA
public static final FormatPreferences.Space AFTER_COMMA
-
BEFORE_COLON
public static final FormatPreferences.Space BEFORE_COLON
-
AFTER_COLON
public static final FormatPreferences.Space AFTER_COLON
-
AFTER_COMMA_ENUM_CONSTANT
public static final FormatPreferences.Space AFTER_COMMA_ENUM_CONSTANT
-
BEFORE_SEMICOLON
public static final FormatPreferences.Space BEFORE_SEMICOLON
-
AFTER_SEMICOLON
public static final FormatPreferences.Space AFTER_SEMICOLON
-
AFTER_CAST
public static final FormatPreferences.Space AFTER_CAST
-
AFTER_LABEL
public static final FormatPreferences.Space AFTER_LABEL
-
AFTER_ANNOTATION
public static final FormatPreferences.Space AFTER_ANNOTATION
-
AFTER_PARAM_ANNOTATION
public static final FormatPreferences.Space AFTER_PARAM_ANNOTATION
-
-
Method Detail
-
values
public static FormatPreferences.Space[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (FormatPreferences.Space c : FormatPreferences.Space.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static FormatPreferences.Space valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
-