org.eclipse.jdt.internal.formatter
Class DefaultCodeFormatterOptions

java.lang.Object
  extended by org.eclipse.jdt.internal.formatter.DefaultCodeFormatterOptions

public class DefaultCodeFormatterOptions
extends java.lang.Object

This is still subject to changes before 3.0.

Since:
3.0

Field Summary
 boolean align_type_members_on_columns
           
 int alignment_for_arguments_in_allocation_expression
           
 int alignment_for_arguments_in_enum_constant
           
 int alignment_for_arguments_in_explicit_constructor_call
           
 int alignment_for_arguments_in_method_invocation
           
 int alignment_for_arguments_in_qualified_allocation_expression
           
 int alignment_for_assignment
           
 int alignment_for_binary_expression
           
 int alignment_for_compact_if
           
 int alignment_for_conditional_expression
           
 int alignment_for_enum_constants
           
 int alignment_for_expressions_in_array_initializer
           
 int alignment_for_multiple_fields
           
 int alignment_for_parameters_in_constructor_declaration
           
 int alignment_for_parameters_in_method_declaration
           
 int alignment_for_selector_in_method_invocation
           
 int alignment_for_superclass_in_type_declaration
           
 int alignment_for_superinterfaces_in_enum_declaration
           
 int alignment_for_superinterfaces_in_type_declaration
           
 int alignment_for_throws_clause_in_constructor_declaration
           
 int alignment_for_throws_clause_in_method_declaration
           
 int blank_lines_after_imports
           
 int blank_lines_after_package
           
 int blank_lines_at_beginning_of_method_body
           
 int blank_lines_before_field
           
 int blank_lines_before_first_class_body_declaration
           
 int blank_lines_before_imports
           
 int blank_lines_before_member_type
           
 int blank_lines_before_method
           
 int blank_lines_before_new_chunk
           
 int blank_lines_before_package
           
 int blank_lines_between_import_groups
           
 int blank_lines_between_type_declarations
           
 java.lang.String brace_position_for_annotation_type_declaration
           
 java.lang.String brace_position_for_anonymous_type_declaration
           
 java.lang.String brace_position_for_array_initializer
           
 java.lang.String brace_position_for_block
           
 java.lang.String brace_position_for_block_in_case
           
 java.lang.String brace_position_for_constructor_declaration
           
 java.lang.String brace_position_for_enum_constant
           
 java.lang.String brace_position_for_enum_declaration
           
 java.lang.String brace_position_for_method_declaration
           
 java.lang.String brace_position_for_switch
           
 java.lang.String brace_position_for_type_declaration
           
 boolean comment_clear_blank_lines_in_block_comment
           
 boolean comment_clear_blank_lines_in_javadoc_comment
           
 boolean comment_format_block_comment
           
 boolean comment_format_header
           
 boolean comment_format_html
           
 boolean comment_format_javadoc_comment
           
 boolean comment_format_line_comment
           
 boolean comment_format_source
           
 boolean comment_indent_parameter_description
           
 boolean comment_indent_root_tags
           
 boolean comment_insert_empty_line_before_root_tags
           
 boolean comment_insert_new_line_for_parameter
           
 int comment_line_length
           
 boolean compact_else_if
           
 int continuation_indentation
           
 int continuation_indentation_for_array_initializer
           
 char filling_space
           
 boolean indent_body_declarations_compare_to_annotation_declaration_header
           
 boolean indent_body_declarations_compare_to_enum_constant_header
           
 boolean indent_body_declarations_compare_to_enum_declaration_header
           
 boolean indent_body_declarations_compare_to_type_header
           
 boolean indent_breaks_compare_to_cases
           
 boolean indent_empty_lines
           
 boolean indent_statements_compare_to_block
           
 boolean indent_statements_compare_to_body
           
 boolean indent_switchstatements_compare_to_cases
           
 boolean indent_switchstatements_compare_to_switch
           
 int indentation_size
           
 int initial_indentation_level
           
 boolean insert_new_line_after_annotation_on_local_variable
           
 boolean insert_new_line_after_annotation_on_member
           
 boolean insert_new_line_after_annotation_on_parameter
           
 boolean insert_new_line_after_opening_brace_in_array_initializer
           
 boolean insert_new_line_at_end_of_file_if_missing
           
 boolean insert_new_line_before_catch_in_try_statement
           
 boolean insert_new_line_before_closing_brace_in_array_initializer
           
 boolean insert_new_line_before_else_in_if_statement
           
 boolean insert_new_line_before_finally_in_try_statement
           
 boolean insert_new_line_before_while_in_do_statement
           
 boolean insert_new_line_in_empty_annotation_declaration
           
 boolean insert_new_line_in_empty_anonymous_type_declaration
           
 boolean insert_new_line_in_empty_block
           
 boolean insert_new_line_in_empty_enum_constant
           
 boolean insert_new_line_in_empty_enum_declaration
           
 boolean insert_new_line_in_empty_method_body
           
 boolean insert_new_line_in_empty_type_declaration
           
 boolean insert_space_after_and_in_type_parameter
           
 boolean insert_space_after_assignment_operator
           
 boolean insert_space_after_at_in_annotation
           
 boolean insert_space_after_at_in_annotation_type_declaration
           
 boolean insert_space_after_binary_operator
           
 boolean insert_space_after_closing_angle_bracket_in_type_arguments
           
 boolean insert_space_after_closing_angle_bracket_in_type_parameters
           
 boolean insert_space_after_closing_brace_in_block
           
 boolean insert_space_after_closing_paren_in_cast
           
 boolean insert_space_after_colon_in_assert
           
 boolean insert_space_after_colon_in_case
           
 boolean insert_space_after_colon_in_conditional
           
 boolean insert_space_after_colon_in_for
           
 boolean insert_space_after_colon_in_labeled_statement
           
 boolean insert_space_after_comma_in_allocation_expression
           
 boolean insert_space_after_comma_in_annotation
           
 boolean insert_space_after_comma_in_array_initializer
           
 boolean insert_space_after_comma_in_constructor_declaration_parameters
           
 boolean insert_space_after_comma_in_constructor_declaration_throws
           
 boolean insert_space_after_comma_in_enum_constant_arguments
           
 boolean insert_space_after_comma_in_enum_declarations
           
 boolean insert_space_after_comma_in_explicit_constructor_call_arguments
           
 boolean insert_space_after_comma_in_for_increments
           
 boolean insert_space_after_comma_in_for_inits
           
 boolean insert_space_after_comma_in_method_declaration_parameters
           
 boolean insert_space_after_comma_in_method_declaration_throws
           
 boolean insert_space_after_comma_in_method_invocation_arguments
           
 boolean insert_space_after_comma_in_multiple_field_declarations
           
 boolean insert_space_after_comma_in_multiple_local_declarations
           
 boolean insert_space_after_comma_in_parameterized_type_reference
           
 boolean insert_space_after_comma_in_superinterfaces
           
 boolean insert_space_after_comma_in_type_arguments
           
 boolean insert_space_after_comma_in_type_parameters
           
 boolean insert_space_after_ellipsis
           
 boolean insert_space_after_opening_angle_bracket_in_parameterized_type_reference
           
 boolean insert_space_after_opening_angle_bracket_in_type_arguments
           
 boolean insert_space_after_opening_angle_bracket_in_type_parameters
           
 boolean insert_space_after_opening_brace_in_array_initializer
           
 boolean insert_space_after_opening_bracket_in_array_allocation_expression
           
 boolean insert_space_after_opening_bracket_in_array_reference
           
 boolean insert_space_after_opening_paren_in_annotation
           
 boolean insert_space_after_opening_paren_in_cast
           
 boolean insert_space_after_opening_paren_in_catch
           
 boolean insert_space_after_opening_paren_in_constructor_declaration
           
 boolean insert_space_after_opening_paren_in_enum_constant
           
 boolean insert_space_after_opening_paren_in_for
           
 boolean insert_space_after_opening_paren_in_if
           
 boolean insert_space_after_opening_paren_in_method_declaration
           
 boolean insert_space_after_opening_paren_in_method_invocation
           
 boolean insert_space_after_opening_paren_in_parenthesized_expression
           
 boolean insert_space_after_opening_paren_in_switch
           
 boolean insert_space_after_opening_paren_in_synchronized
           
 boolean insert_space_after_opening_paren_in_while
           
 boolean insert_space_after_postfix_operator
           
 boolean insert_space_after_prefix_operator
           
 boolean insert_space_after_question_in_conditional
           
 boolean insert_space_after_question_in_wilcard
           
 boolean insert_space_after_semicolon_in_for
           
 boolean insert_space_after_unary_operator
           
 boolean insert_space_before_and_in_type_parameter
           
 boolean insert_space_before_assignment_operator
           
 boolean insert_space_before_at_in_annotation_type_declaration
           
 boolean insert_space_before_binary_operator
           
 boolean insert_space_before_closing_angle_bracket_in_parameterized_type_reference
           
 boolean insert_space_before_closing_angle_bracket_in_type_arguments
           
 boolean insert_space_before_closing_angle_bracket_in_type_parameters
           
 boolean insert_space_before_closing_brace_in_array_initializer
           
 boolean insert_space_before_closing_bracket_in_array_allocation_expression
           
 boolean insert_space_before_closing_bracket_in_array_reference
           
 boolean insert_space_before_closing_paren_in_annotation
           
 boolean insert_space_before_closing_paren_in_cast
           
 boolean insert_space_before_closing_paren_in_catch
           
 boolean insert_space_before_closing_paren_in_constructor_declaration
           
 boolean insert_space_before_closing_paren_in_enum_constant
           
 boolean insert_space_before_closing_paren_in_for
           
 boolean insert_space_before_closing_paren_in_if
           
 boolean insert_space_before_closing_paren_in_method_declaration
           
 boolean insert_space_before_closing_paren_in_method_invocation
           
 boolean insert_space_before_closing_paren_in_parenthesized_expression
           
 boolean insert_space_before_closing_paren_in_switch
           
 boolean insert_space_before_closing_paren_in_synchronized
           
 boolean insert_space_before_closing_paren_in_while
           
 boolean insert_space_before_colon_in_assert
           
 boolean insert_space_before_colon_in_case
           
 boolean insert_space_before_colon_in_conditional
           
 boolean insert_space_before_colon_in_default
           
 boolean insert_space_before_colon_in_for
           
 boolean insert_space_before_colon_in_labeled_statement
           
 boolean insert_space_before_comma_in_allocation_expression
           
 boolean insert_space_before_comma_in_annotation
           
 boolean insert_space_before_comma_in_array_initializer
           
 boolean insert_space_before_comma_in_constructor_declaration_parameters
           
 boolean insert_space_before_comma_in_constructor_declaration_throws
           
 boolean insert_space_before_comma_in_enum_constant_arguments
           
 boolean insert_space_before_comma_in_enum_declarations
           
 boolean insert_space_before_comma_in_explicit_constructor_call_arguments
           
 boolean insert_space_before_comma_in_for_increments
           
 boolean insert_space_before_comma_in_for_inits
           
 boolean insert_space_before_comma_in_method_declaration_parameters
           
 boolean insert_space_before_comma_in_method_declaration_throws
           
 boolean insert_space_before_comma_in_method_invocation_arguments
           
 boolean insert_space_before_comma_in_multiple_field_declarations
           
 boolean insert_space_before_comma_in_multiple_local_declarations
           
 boolean insert_space_before_comma_in_parameterized_type_reference
           
 boolean insert_space_before_comma_in_superinterfaces
           
 boolean insert_space_before_comma_in_type_arguments
           
 boolean insert_space_before_comma_in_type_parameters
           
 boolean insert_space_before_ellipsis
           
 boolean insert_space_before_opening_angle_bracket_in_parameterized_type_reference
           
 boolean insert_space_before_opening_angle_bracket_in_type_arguments
           
 boolean insert_space_before_opening_angle_bracket_in_type_parameters
           
 boolean insert_space_before_opening_brace_in_annotation_type_declaration
           
 boolean insert_space_before_opening_brace_in_anonymous_type_declaration
           
 boolean insert_space_before_opening_brace_in_array_initializer
           
 boolean insert_space_before_opening_brace_in_block
           
 boolean insert_space_before_opening_brace_in_constructor_declaration
           
 boolean insert_space_before_opening_brace_in_enum_constant
           
 boolean insert_space_before_opening_brace_in_enum_declaration
           
 boolean insert_space_before_opening_brace_in_method_declaration
           
 boolean insert_space_before_opening_brace_in_switch
           
 boolean insert_space_before_opening_brace_in_type_declaration
           
 boolean insert_space_before_opening_bracket_in_array_allocation_expression
           
 boolean insert_space_before_opening_bracket_in_array_reference
           
 boolean insert_space_before_opening_bracket_in_array_type_reference
           
 boolean insert_space_before_opening_paren_in_annotation
           
 boolean insert_space_before_opening_paren_in_annotation_type_member_declaration
           
 boolean insert_space_before_opening_paren_in_catch
           
 boolean insert_space_before_opening_paren_in_constructor_declaration
           
 boolean insert_space_before_opening_paren_in_enum_constant
           
 boolean insert_space_before_opening_paren_in_for
           
 boolean insert_space_before_opening_paren_in_if
           
 boolean insert_space_before_opening_paren_in_method_declaration
           
 boolean insert_space_before_opening_paren_in_method_invocation
           
 boolean insert_space_before_opening_paren_in_parenthesized_expression
           
 boolean insert_space_before_opening_paren_in_switch
           
 boolean insert_space_before_opening_paren_in_synchronized
           
 boolean insert_space_before_opening_paren_in_while
           
 boolean insert_space_before_parenthesized_expression_in_return
           
 boolean insert_space_before_parenthesized_expression_in_throw
           
 boolean insert_space_before_postfix_operator
           
 boolean insert_space_before_prefix_operator
           
 boolean insert_space_before_question_in_conditional
           
 boolean insert_space_before_question_in_wilcard
           
 boolean insert_space_before_semicolon
           
 boolean insert_space_before_semicolon_in_for
           
 boolean insert_space_before_unary_operator
           
 boolean insert_space_between_brackets_in_array_type_reference
           
 boolean insert_space_between_empty_braces_in_array_initializer
           
 boolean insert_space_between_empty_brackets_in_array_allocation_expression
           
 boolean insert_space_between_empty_parens_in_annotation_type_member_declaration
           
 boolean insert_space_between_empty_parens_in_constructor_declaration
           
 boolean insert_space_between_empty_parens_in_enum_constant
           
 boolean insert_space_between_empty_parens_in_method_declaration
           
 boolean insert_space_between_empty_parens_in_method_invocation
           
 boolean keep_else_statement_on_same_line
           
 boolean keep_empty_array_initializer_on_one_line
           
 boolean keep_guardian_clause_on_one_line
           
 boolean keep_simple_if_on_one_line
           
 boolean keep_then_statement_on_same_line
           
 java.lang.String line_separator
           
static int MIXED
           
 boolean never_indent_block_comments_on_first_column
           
 boolean never_indent_line_comments_on_first_column
           
 int number_of_empty_lines_to_preserve
           
 int page_width
           
 boolean put_empty_statement_on_new_line
           
static int SPACE
           
static int TAB
           
 int tab_char
           
 int tab_size
           
 boolean use_tabs_only_for_leading_indentations
           
 boolean wrap_before_binary_operator
           
 
Constructor Summary
DefaultCodeFormatterOptions(java.util.Map settings)
           
 
Method Summary
static DefaultCodeFormatterOptions getDefaultSettings()
           
static DefaultCodeFormatterOptions getEclipseDefaultSettings()
           
static DefaultCodeFormatterOptions getJavaConventionsSettings()
           
 java.util.Map getMap()
           
 void set(java.util.Map settings)
           
 void setDefaultSettings()
           
 void setEclipseDefaultSettings()
           
 void setJavaConventionsSettings()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

TAB

public static final int TAB
See Also:
Constant Field Values

SPACE

public static final int SPACE
See Also:
Constant Field Values

MIXED

public static final int MIXED
See Also:
Constant Field Values

alignment_for_arguments_in_allocation_expression

public int alignment_for_arguments_in_allocation_expression

alignment_for_arguments_in_enum_constant

public int alignment_for_arguments_in_enum_constant

alignment_for_arguments_in_explicit_constructor_call

public int alignment_for_arguments_in_explicit_constructor_call

alignment_for_arguments_in_method_invocation

public int alignment_for_arguments_in_method_invocation

alignment_for_arguments_in_qualified_allocation_expression

public int alignment_for_arguments_in_qualified_allocation_expression

alignment_for_assignment

public int alignment_for_assignment

alignment_for_binary_expression

public int alignment_for_binary_expression

alignment_for_compact_if

public int alignment_for_compact_if

alignment_for_conditional_expression

public int alignment_for_conditional_expression

alignment_for_enum_constants

public int alignment_for_enum_constants

alignment_for_expressions_in_array_initializer

public int alignment_for_expressions_in_array_initializer

alignment_for_multiple_fields

public int alignment_for_multiple_fields

alignment_for_parameters_in_constructor_declaration

public int alignment_for_parameters_in_constructor_declaration

alignment_for_parameters_in_method_declaration

public int alignment_for_parameters_in_method_declaration

alignment_for_selector_in_method_invocation

public int alignment_for_selector_in_method_invocation

alignment_for_superclass_in_type_declaration

public int alignment_for_superclass_in_type_declaration

alignment_for_superinterfaces_in_enum_declaration

public int alignment_for_superinterfaces_in_enum_declaration

alignment_for_superinterfaces_in_type_declaration

public int alignment_for_superinterfaces_in_type_declaration

alignment_for_throws_clause_in_constructor_declaration

public int alignment_for_throws_clause_in_constructor_declaration

alignment_for_throws_clause_in_method_declaration

public int alignment_for_throws_clause_in_method_declaration

align_type_members_on_columns

public boolean align_type_members_on_columns

brace_position_for_annotation_type_declaration

public java.lang.String brace_position_for_annotation_type_declaration

brace_position_for_anonymous_type_declaration

public java.lang.String brace_position_for_anonymous_type_declaration

brace_position_for_array_initializer

public java.lang.String brace_position_for_array_initializer

brace_position_for_block

public java.lang.String brace_position_for_block

brace_position_for_block_in_case

public java.lang.String brace_position_for_block_in_case

brace_position_for_constructor_declaration

public java.lang.String brace_position_for_constructor_declaration

brace_position_for_enum_constant

public java.lang.String brace_position_for_enum_constant

brace_position_for_enum_declaration

public java.lang.String brace_position_for_enum_declaration

brace_position_for_method_declaration

public java.lang.String brace_position_for_method_declaration

brace_position_for_type_declaration

public java.lang.String brace_position_for_type_declaration

brace_position_for_switch

public java.lang.String brace_position_for_switch

continuation_indentation

public int continuation_indentation

continuation_indentation_for_array_initializer

public int continuation_indentation_for_array_initializer

blank_lines_after_imports

public int blank_lines_after_imports

blank_lines_after_package

public int blank_lines_after_package

blank_lines_before_field

public int blank_lines_before_field

blank_lines_before_first_class_body_declaration

public int blank_lines_before_first_class_body_declaration

blank_lines_before_imports

public int blank_lines_before_imports

blank_lines_before_member_type

public int blank_lines_before_member_type

blank_lines_before_method

public int blank_lines_before_method

blank_lines_before_new_chunk

public int blank_lines_before_new_chunk

blank_lines_before_package

public int blank_lines_before_package

blank_lines_between_import_groups

public int blank_lines_between_import_groups

blank_lines_between_type_declarations

public int blank_lines_between_type_declarations

blank_lines_at_beginning_of_method_body

public int blank_lines_at_beginning_of_method_body

comment_clear_blank_lines_in_javadoc_comment

public boolean comment_clear_blank_lines_in_javadoc_comment

comment_clear_blank_lines_in_block_comment

public boolean comment_clear_blank_lines_in_block_comment

comment_format_javadoc_comment

public boolean comment_format_javadoc_comment

comment_format_line_comment

public boolean comment_format_line_comment

comment_format_block_comment

public boolean comment_format_block_comment

comment_format_header

public boolean comment_format_header

comment_format_html

public boolean comment_format_html

comment_format_source

public boolean comment_format_source

comment_indent_parameter_description

public boolean comment_indent_parameter_description

comment_indent_root_tags

public boolean comment_indent_root_tags

comment_insert_empty_line_before_root_tags

public boolean comment_insert_empty_line_before_root_tags

comment_insert_new_line_for_parameter

public boolean comment_insert_new_line_for_parameter

comment_line_length

public int comment_line_length

indent_statements_compare_to_block

public boolean indent_statements_compare_to_block

indent_statements_compare_to_body

public boolean indent_statements_compare_to_body

indent_body_declarations_compare_to_annotation_declaration_header

public boolean indent_body_declarations_compare_to_annotation_declaration_header

indent_body_declarations_compare_to_enum_constant_header

public boolean indent_body_declarations_compare_to_enum_constant_header

indent_body_declarations_compare_to_enum_declaration_header

public boolean indent_body_declarations_compare_to_enum_declaration_header

indent_body_declarations_compare_to_type_header

public boolean indent_body_declarations_compare_to_type_header

indent_breaks_compare_to_cases

public boolean indent_breaks_compare_to_cases

indent_empty_lines

public boolean indent_empty_lines

indent_switchstatements_compare_to_cases

public boolean indent_switchstatements_compare_to_cases

indent_switchstatements_compare_to_switch

public boolean indent_switchstatements_compare_to_switch

indentation_size

public int indentation_size

insert_new_line_after_annotation_on_member

public boolean insert_new_line_after_annotation_on_member

insert_new_line_after_annotation_on_parameter

public boolean insert_new_line_after_annotation_on_parameter

insert_new_line_after_annotation_on_local_variable

public boolean insert_new_line_after_annotation_on_local_variable

insert_new_line_after_opening_brace_in_array_initializer

public boolean insert_new_line_after_opening_brace_in_array_initializer

insert_new_line_at_end_of_file_if_missing

public boolean insert_new_line_at_end_of_file_if_missing

insert_new_line_before_catch_in_try_statement

public boolean insert_new_line_before_catch_in_try_statement

insert_new_line_before_closing_brace_in_array_initializer

public boolean insert_new_line_before_closing_brace_in_array_initializer

insert_new_line_before_else_in_if_statement

public boolean insert_new_line_before_else_in_if_statement

insert_new_line_before_finally_in_try_statement

public boolean insert_new_line_before_finally_in_try_statement

insert_new_line_before_while_in_do_statement

public boolean insert_new_line_before_while_in_do_statement

insert_new_line_in_empty_anonymous_type_declaration

public boolean insert_new_line_in_empty_anonymous_type_declaration

insert_new_line_in_empty_block

public boolean insert_new_line_in_empty_block

insert_new_line_in_empty_annotation_declaration

public boolean insert_new_line_in_empty_annotation_declaration

insert_new_line_in_empty_enum_constant

public boolean insert_new_line_in_empty_enum_constant

insert_new_line_in_empty_enum_declaration

public boolean insert_new_line_in_empty_enum_declaration

insert_new_line_in_empty_method_body

public boolean insert_new_line_in_empty_method_body

insert_new_line_in_empty_type_declaration

public boolean insert_new_line_in_empty_type_declaration

insert_space_after_and_in_type_parameter

public boolean insert_space_after_and_in_type_parameter

insert_space_after_assignment_operator

public boolean insert_space_after_assignment_operator

insert_space_after_at_in_annotation

public boolean insert_space_after_at_in_annotation

insert_space_after_at_in_annotation_type_declaration

public boolean insert_space_after_at_in_annotation_type_declaration

insert_space_after_binary_operator

public boolean insert_space_after_binary_operator

insert_space_after_closing_angle_bracket_in_type_arguments

public boolean insert_space_after_closing_angle_bracket_in_type_arguments

insert_space_after_closing_angle_bracket_in_type_parameters

public boolean insert_space_after_closing_angle_bracket_in_type_parameters

insert_space_after_closing_paren_in_cast

public boolean insert_space_after_closing_paren_in_cast

insert_space_after_closing_brace_in_block

public boolean insert_space_after_closing_brace_in_block

insert_space_after_colon_in_assert

public boolean insert_space_after_colon_in_assert

insert_space_after_colon_in_case

public boolean insert_space_after_colon_in_case

insert_space_after_colon_in_conditional

public boolean insert_space_after_colon_in_conditional

insert_space_after_colon_in_for

public boolean insert_space_after_colon_in_for

insert_space_after_colon_in_labeled_statement

public boolean insert_space_after_colon_in_labeled_statement

insert_space_after_comma_in_allocation_expression

public boolean insert_space_after_comma_in_allocation_expression

insert_space_after_comma_in_annotation

public boolean insert_space_after_comma_in_annotation

insert_space_after_comma_in_array_initializer

public boolean insert_space_after_comma_in_array_initializer

insert_space_after_comma_in_constructor_declaration_parameters

public boolean insert_space_after_comma_in_constructor_declaration_parameters

insert_space_after_comma_in_constructor_declaration_throws

public boolean insert_space_after_comma_in_constructor_declaration_throws

insert_space_after_comma_in_enum_constant_arguments

public boolean insert_space_after_comma_in_enum_constant_arguments

insert_space_after_comma_in_enum_declarations

public boolean insert_space_after_comma_in_enum_declarations

insert_space_after_comma_in_explicit_constructor_call_arguments

public boolean insert_space_after_comma_in_explicit_constructor_call_arguments

insert_space_after_comma_in_for_increments

public boolean insert_space_after_comma_in_for_increments

insert_space_after_comma_in_for_inits

public boolean insert_space_after_comma_in_for_inits

insert_space_after_comma_in_method_invocation_arguments

public boolean insert_space_after_comma_in_method_invocation_arguments

insert_space_after_comma_in_method_declaration_parameters

public boolean insert_space_after_comma_in_method_declaration_parameters

insert_space_after_comma_in_method_declaration_throws

public boolean insert_space_after_comma_in_method_declaration_throws

insert_space_after_comma_in_multiple_field_declarations

public boolean insert_space_after_comma_in_multiple_field_declarations

insert_space_after_comma_in_multiple_local_declarations

public boolean insert_space_after_comma_in_multiple_local_declarations

insert_space_after_comma_in_parameterized_type_reference

public boolean insert_space_after_comma_in_parameterized_type_reference

insert_space_after_comma_in_superinterfaces

public boolean insert_space_after_comma_in_superinterfaces

insert_space_after_comma_in_type_arguments

public boolean insert_space_after_comma_in_type_arguments

insert_space_after_comma_in_type_parameters

public boolean insert_space_after_comma_in_type_parameters

insert_space_after_ellipsis

public boolean insert_space_after_ellipsis

insert_space_after_opening_angle_bracket_in_parameterized_type_reference

public boolean insert_space_after_opening_angle_bracket_in_parameterized_type_reference

insert_space_after_opening_angle_bracket_in_type_arguments

public boolean insert_space_after_opening_angle_bracket_in_type_arguments

insert_space_after_opening_angle_bracket_in_type_parameters

public boolean insert_space_after_opening_angle_bracket_in_type_parameters

insert_space_after_opening_bracket_in_array_allocation_expression

public boolean insert_space_after_opening_bracket_in_array_allocation_expression

insert_space_after_opening_bracket_in_array_reference

public boolean insert_space_after_opening_bracket_in_array_reference

insert_space_after_opening_brace_in_array_initializer

public boolean insert_space_after_opening_brace_in_array_initializer

insert_space_after_opening_paren_in_annotation

public boolean insert_space_after_opening_paren_in_annotation

insert_space_after_opening_paren_in_cast

public boolean insert_space_after_opening_paren_in_cast

insert_space_after_opening_paren_in_catch

public boolean insert_space_after_opening_paren_in_catch

insert_space_after_opening_paren_in_constructor_declaration

public boolean insert_space_after_opening_paren_in_constructor_declaration

insert_space_after_opening_paren_in_enum_constant

public boolean insert_space_after_opening_paren_in_enum_constant

insert_space_after_opening_paren_in_for

public boolean insert_space_after_opening_paren_in_for

insert_space_after_opening_paren_in_if

public boolean insert_space_after_opening_paren_in_if

insert_space_after_opening_paren_in_method_declaration

public boolean insert_space_after_opening_paren_in_method_declaration

insert_space_after_opening_paren_in_method_invocation

public boolean insert_space_after_opening_paren_in_method_invocation

insert_space_after_opening_paren_in_parenthesized_expression

public boolean insert_space_after_opening_paren_in_parenthesized_expression

insert_space_after_opening_paren_in_switch

public boolean insert_space_after_opening_paren_in_switch

insert_space_after_opening_paren_in_synchronized

public boolean insert_space_after_opening_paren_in_synchronized

insert_space_after_opening_paren_in_while

public boolean insert_space_after_opening_paren_in_while

insert_space_after_postfix_operator

public boolean insert_space_after_postfix_operator

insert_space_after_prefix_operator

public boolean insert_space_after_prefix_operator

insert_space_after_question_in_conditional

public boolean insert_space_after_question_in_conditional

insert_space_after_question_in_wilcard

public boolean insert_space_after_question_in_wilcard

insert_space_after_semicolon_in_for

public boolean insert_space_after_semicolon_in_for

insert_space_after_unary_operator

public boolean insert_space_after_unary_operator

insert_space_before_and_in_type_parameter

public boolean insert_space_before_and_in_type_parameter

insert_space_before_at_in_annotation_type_declaration

public boolean insert_space_before_at_in_annotation_type_declaration

insert_space_before_assignment_operator

public boolean insert_space_before_assignment_operator

insert_space_before_binary_operator

public boolean insert_space_before_binary_operator

insert_space_before_closing_angle_bracket_in_parameterized_type_reference

public boolean insert_space_before_closing_angle_bracket_in_parameterized_type_reference

insert_space_before_closing_angle_bracket_in_type_arguments

public boolean insert_space_before_closing_angle_bracket_in_type_arguments

insert_space_before_closing_angle_bracket_in_type_parameters

public boolean insert_space_before_closing_angle_bracket_in_type_parameters

insert_space_before_closing_brace_in_array_initializer

public boolean insert_space_before_closing_brace_in_array_initializer

insert_space_before_closing_bracket_in_array_allocation_expression

public boolean insert_space_before_closing_bracket_in_array_allocation_expression

insert_space_before_closing_bracket_in_array_reference

public boolean insert_space_before_closing_bracket_in_array_reference

insert_space_before_closing_paren_in_annotation

public boolean insert_space_before_closing_paren_in_annotation

insert_space_before_closing_paren_in_cast

public boolean insert_space_before_closing_paren_in_cast

insert_space_before_closing_paren_in_catch

public boolean insert_space_before_closing_paren_in_catch

insert_space_before_closing_paren_in_constructor_declaration

public boolean insert_space_before_closing_paren_in_constructor_declaration

insert_space_before_closing_paren_in_enum_constant

public boolean insert_space_before_closing_paren_in_enum_constant

insert_space_before_closing_paren_in_for

public boolean insert_space_before_closing_paren_in_for

insert_space_before_closing_paren_in_if

public boolean insert_space_before_closing_paren_in_if

insert_space_before_closing_paren_in_method_declaration

public boolean insert_space_before_closing_paren_in_method_declaration

insert_space_before_closing_paren_in_method_invocation

public boolean insert_space_before_closing_paren_in_method_invocation

insert_space_before_closing_paren_in_parenthesized_expression

public boolean insert_space_before_closing_paren_in_parenthesized_expression

insert_space_before_closing_paren_in_switch

public boolean insert_space_before_closing_paren_in_switch

insert_space_before_closing_paren_in_synchronized

public boolean insert_space_before_closing_paren_in_synchronized

insert_space_before_closing_paren_in_while

public boolean insert_space_before_closing_paren_in_while

insert_space_before_colon_in_assert

public boolean insert_space_before_colon_in_assert

insert_space_before_colon_in_case

public boolean insert_space_before_colon_in_case

insert_space_before_colon_in_conditional

public boolean insert_space_before_colon_in_conditional

insert_space_before_colon_in_default

public boolean insert_space_before_colon_in_default

insert_space_before_colon_in_for

public boolean insert_space_before_colon_in_for

insert_space_before_colon_in_labeled_statement

public boolean insert_space_before_colon_in_labeled_statement

insert_space_before_comma_in_allocation_expression

public boolean insert_space_before_comma_in_allocation_expression

insert_space_before_comma_in_annotation

public boolean insert_space_before_comma_in_annotation

insert_space_before_comma_in_array_initializer

public boolean insert_space_before_comma_in_array_initializer

insert_space_before_comma_in_constructor_declaration_parameters

public boolean insert_space_before_comma_in_constructor_declaration_parameters

insert_space_before_comma_in_constructor_declaration_throws

public boolean insert_space_before_comma_in_constructor_declaration_throws

insert_space_before_comma_in_enum_constant_arguments

public boolean insert_space_before_comma_in_enum_constant_arguments

insert_space_before_comma_in_enum_declarations

public boolean insert_space_before_comma_in_enum_declarations

insert_space_before_comma_in_explicit_constructor_call_arguments

public boolean insert_space_before_comma_in_explicit_constructor_call_arguments

insert_space_before_comma_in_for_increments

public boolean insert_space_before_comma_in_for_increments

insert_space_before_comma_in_for_inits

public boolean insert_space_before_comma_in_for_inits

insert_space_before_comma_in_method_invocation_arguments

public boolean insert_space_before_comma_in_method_invocation_arguments

insert_space_before_comma_in_method_declaration_parameters

public boolean insert_space_before_comma_in_method_declaration_parameters

insert_space_before_comma_in_method_declaration_throws

public boolean insert_space_before_comma_in_method_declaration_throws

insert_space_before_comma_in_multiple_field_declarations

public boolean insert_space_before_comma_in_multiple_field_declarations

insert_space_before_comma_in_multiple_local_declarations

public boolean insert_space_before_comma_in_multiple_local_declarations

insert_space_before_comma_in_parameterized_type_reference

public boolean insert_space_before_comma_in_parameterized_type_reference

insert_space_before_comma_in_superinterfaces

public boolean insert_space_before_comma_in_superinterfaces

insert_space_before_comma_in_type_arguments

public boolean insert_space_before_comma_in_type_arguments

insert_space_before_comma_in_type_parameters

public boolean insert_space_before_comma_in_type_parameters

insert_space_before_ellipsis

public boolean insert_space_before_ellipsis

insert_space_before_parenthesized_expression_in_return

public boolean insert_space_before_parenthesized_expression_in_return

insert_space_before_parenthesized_expression_in_throw

public boolean insert_space_before_parenthesized_expression_in_throw

insert_space_before_question_in_wilcard

public boolean insert_space_before_question_in_wilcard

insert_space_before_opening_angle_bracket_in_parameterized_type_reference

public boolean insert_space_before_opening_angle_bracket_in_parameterized_type_reference

insert_space_before_opening_angle_bracket_in_type_arguments

public boolean insert_space_before_opening_angle_bracket_in_type_arguments

insert_space_before_opening_angle_bracket_in_type_parameters

public boolean insert_space_before_opening_angle_bracket_in_type_parameters

insert_space_before_opening_brace_in_annotation_type_declaration

public boolean insert_space_before_opening_brace_in_annotation_type_declaration

insert_space_before_opening_brace_in_anonymous_type_declaration

public boolean insert_space_before_opening_brace_in_anonymous_type_declaration

insert_space_before_opening_brace_in_array_initializer

public boolean insert_space_before_opening_brace_in_array_initializer

insert_space_before_opening_brace_in_block

public boolean insert_space_before_opening_brace_in_block

insert_space_before_opening_brace_in_constructor_declaration

public boolean insert_space_before_opening_brace_in_constructor_declaration

insert_space_before_opening_brace_in_enum_constant

public boolean insert_space_before_opening_brace_in_enum_constant

insert_space_before_opening_brace_in_enum_declaration

public boolean insert_space_before_opening_brace_in_enum_declaration

insert_space_before_opening_brace_in_method_declaration

public boolean insert_space_before_opening_brace_in_method_declaration

insert_space_before_opening_brace_in_type_declaration

public boolean insert_space_before_opening_brace_in_type_declaration

insert_space_before_opening_bracket_in_array_allocation_expression

public boolean insert_space_before_opening_bracket_in_array_allocation_expression

insert_space_before_opening_bracket_in_array_reference

public boolean insert_space_before_opening_bracket_in_array_reference

insert_space_before_opening_bracket_in_array_type_reference

public boolean insert_space_before_opening_bracket_in_array_type_reference

insert_space_before_opening_paren_in_annotation

public boolean insert_space_before_opening_paren_in_annotation

insert_space_before_opening_paren_in_annotation_type_member_declaration

public boolean insert_space_before_opening_paren_in_annotation_type_member_declaration

insert_space_before_opening_paren_in_catch

public boolean insert_space_before_opening_paren_in_catch

insert_space_before_opening_paren_in_constructor_declaration

public boolean insert_space_before_opening_paren_in_constructor_declaration

insert_space_before_opening_paren_in_enum_constant

public boolean insert_space_before_opening_paren_in_enum_constant

insert_space_before_opening_paren_in_for

public boolean insert_space_before_opening_paren_in_for

insert_space_before_opening_paren_in_if

public boolean insert_space_before_opening_paren_in_if

insert_space_before_opening_paren_in_method_invocation

public boolean insert_space_before_opening_paren_in_method_invocation

insert_space_before_opening_paren_in_method_declaration

public boolean insert_space_before_opening_paren_in_method_declaration

insert_space_before_opening_paren_in_switch

public boolean insert_space_before_opening_paren_in_switch

insert_space_before_opening_brace_in_switch

public boolean insert_space_before_opening_brace_in_switch

insert_space_before_opening_paren_in_synchronized

public boolean insert_space_before_opening_paren_in_synchronized

insert_space_before_opening_paren_in_parenthesized_expression

public boolean insert_space_before_opening_paren_in_parenthesized_expression

insert_space_before_opening_paren_in_while

public boolean insert_space_before_opening_paren_in_while

insert_space_before_postfix_operator

public boolean insert_space_before_postfix_operator

insert_space_before_prefix_operator

public boolean insert_space_before_prefix_operator

insert_space_before_question_in_conditional

public boolean insert_space_before_question_in_conditional

insert_space_before_semicolon

public boolean insert_space_before_semicolon

insert_space_before_semicolon_in_for

public boolean insert_space_before_semicolon_in_for

insert_space_before_unary_operator

public boolean insert_space_before_unary_operator

insert_space_between_brackets_in_array_type_reference

public boolean insert_space_between_brackets_in_array_type_reference

insert_space_between_empty_braces_in_array_initializer

public boolean insert_space_between_empty_braces_in_array_initializer

insert_space_between_empty_brackets_in_array_allocation_expression

public boolean insert_space_between_empty_brackets_in_array_allocation_expression

insert_space_between_empty_parens_in_annotation_type_member_declaration

public boolean insert_space_between_empty_parens_in_annotation_type_member_declaration

insert_space_between_empty_parens_in_constructor_declaration

public boolean insert_space_between_empty_parens_in_constructor_declaration

insert_space_between_empty_parens_in_enum_constant

public boolean insert_space_between_empty_parens_in_enum_constant

insert_space_between_empty_parens_in_method_declaration

public boolean insert_space_between_empty_parens_in_method_declaration

insert_space_between_empty_parens_in_method_invocation

public boolean insert_space_between_empty_parens_in_method_invocation

compact_else_if

public boolean compact_else_if

keep_guardian_clause_on_one_line

public boolean keep_guardian_clause_on_one_line

keep_else_statement_on_same_line

public boolean keep_else_statement_on_same_line

keep_empty_array_initializer_on_one_line

public boolean keep_empty_array_initializer_on_one_line

keep_simple_if_on_one_line

public boolean keep_simple_if_on_one_line

keep_then_statement_on_same_line

public boolean keep_then_statement_on_same_line

never_indent_block_comments_on_first_column

public boolean never_indent_block_comments_on_first_column

never_indent_line_comments_on_first_column

public boolean never_indent_line_comments_on_first_column

number_of_empty_lines_to_preserve

public int number_of_empty_lines_to_preserve

put_empty_statement_on_new_line

public boolean put_empty_statement_on_new_line

tab_size

public int tab_size

filling_space

public final char filling_space
See Also:
Constant Field Values

page_width

public int page_width

tab_char

public int tab_char

use_tabs_only_for_leading_indentations

public boolean use_tabs_only_for_leading_indentations

wrap_before_binary_operator

public boolean wrap_before_binary_operator

initial_indentation_level

public int initial_indentation_level

line_separator

public java.lang.String line_separator
Constructor Detail

DefaultCodeFormatterOptions

public DefaultCodeFormatterOptions(java.util.Map settings)
Method Detail

getDefaultSettings

public static DefaultCodeFormatterOptions getDefaultSettings()

getEclipseDefaultSettings

public static DefaultCodeFormatterOptions getEclipseDefaultSettings()

getJavaConventionsSettings

public static DefaultCodeFormatterOptions getJavaConventionsSettings()

getMap

public java.util.Map getMap()

set

public void set(java.util.Map settings)

setDefaultSettings

public void setDefaultSettings()

setEclipseDefaultSettings

public void setEclipseDefaultSettings()

setJavaConventionsSettings

public void setJavaConventionsSettings()