1 11 package org.eclipse.jdt.internal.formatter; 12 13 import java.util.HashMap ; 14 import java.util.Map ; 15 16 import org.eclipse.jdt.core.formatter.DefaultCodeFormatterConstants; 17 import org.eclipse.jdt.core.JavaCore; 18 import org.eclipse.jdt.internal.formatter.align.Alignment; 19 20 24 25 public class DefaultCodeFormatterOptions { 26 public static final int TAB = 1; 27 public static final int SPACE = 2; 28 public static final int MIXED = 4; 29 30 public static DefaultCodeFormatterOptions getDefaultSettings() { 31 DefaultCodeFormatterOptions options = new DefaultCodeFormatterOptions(); 32 options.setDefaultSettings(); 33 return options; 34 } 35 36 public static DefaultCodeFormatterOptions getEclipseDefaultSettings() { 37 DefaultCodeFormatterOptions options = new DefaultCodeFormatterOptions(); 38 options.setEclipseDefaultSettings(); 39 return options; 40 } 41 42 public static DefaultCodeFormatterOptions getJavaConventionsSettings() { 43 DefaultCodeFormatterOptions options = new DefaultCodeFormatterOptions(); 44 options.setJavaConventionsSettings(); 45 return options; 46 } 47 48 public int alignment_for_arguments_in_allocation_expression; 49 public int alignment_for_arguments_in_enum_constant; 50 public int alignment_for_arguments_in_explicit_constructor_call; 51 public int alignment_for_arguments_in_method_invocation; 52 public int alignment_for_arguments_in_qualified_allocation_expression; 53 public int alignment_for_assignment; 54 public int alignment_for_binary_expression; 55 public int alignment_for_compact_if; 56 public int alignment_for_conditional_expression; 57 public int alignment_for_enum_constants; 58 public int alignment_for_expressions_in_array_initializer; 59 public int alignment_for_multiple_fields; 60 public int alignment_for_parameters_in_constructor_declaration; 61 public int alignment_for_parameters_in_method_declaration; 62 public int alignment_for_selector_in_method_invocation; 63 public int alignment_for_superclass_in_type_declaration; 64 public int alignment_for_superinterfaces_in_enum_declaration; 65 public int alignment_for_superinterfaces_in_type_declaration; 66 public int alignment_for_throws_clause_in_constructor_declaration; 67 public int alignment_for_throws_clause_in_method_declaration; 68 69 public boolean align_type_members_on_columns; 70 71 public String brace_position_for_annotation_type_declaration; 72 public String brace_position_for_anonymous_type_declaration; 73 public String brace_position_for_array_initializer; 74 public String brace_position_for_block; 75 public String brace_position_for_block_in_case; 76 public String brace_position_for_constructor_declaration; 77 public String brace_position_for_enum_constant; 78 public String brace_position_for_enum_declaration; 79 public String brace_position_for_method_declaration; 80 public String brace_position_for_type_declaration; 81 public String brace_position_for_switch; 82 83 public int continuation_indentation; 84 public int continuation_indentation_for_array_initializer; 85 86 public int blank_lines_after_imports; 87 public int blank_lines_after_package; 88 public int blank_lines_before_field; 89 public int blank_lines_before_first_class_body_declaration; 90 public int blank_lines_before_imports; 91 public int blank_lines_before_member_type; 92 public int blank_lines_before_method; 93 public int blank_lines_before_new_chunk; 94 public int blank_lines_before_package; 95 public int blank_lines_between_import_groups; 96 public int blank_lines_between_type_declarations; 97 public int blank_lines_at_beginning_of_method_body; 98 99 public boolean comment_clear_blank_lines_in_javadoc_comment; 100 public boolean comment_clear_blank_lines_in_block_comment; 101 public boolean comment_format_javadoc_comment; 102 public boolean comment_format_line_comment; 103 public boolean comment_format_block_comment; 104 public boolean comment_format_header; 105 public boolean comment_format_html; 106 public boolean comment_format_source; 107 public boolean comment_indent_parameter_description; 108 public boolean comment_indent_root_tags; 109 public boolean comment_insert_empty_line_before_root_tags; 110 public boolean comment_insert_new_line_for_parameter; 111 public int comment_line_length; 112 113 public boolean indent_statements_compare_to_block; 114 public boolean indent_statements_compare_to_body; 115 public boolean indent_body_declarations_compare_to_annotation_declaration_header; 116 public boolean indent_body_declarations_compare_to_enum_constant_header; 117 public boolean indent_body_declarations_compare_to_enum_declaration_header; 118 public boolean indent_body_declarations_compare_to_type_header; 119 public boolean indent_breaks_compare_to_cases; 120 public boolean indent_empty_lines; 121 public boolean indent_switchstatements_compare_to_cases; 122 public boolean indent_switchstatements_compare_to_switch; 123 public int indentation_size; 124 125 public boolean insert_new_line_after_annotation; 126 public boolean insert_new_line_after_opening_brace_in_array_initializer; 127 public boolean insert_new_line_at_end_of_file_if_missing; 128 public boolean insert_new_line_before_catch_in_try_statement; 129 public boolean insert_new_line_before_closing_brace_in_array_initializer; 130 public boolean insert_new_line_before_else_in_if_statement; 131 public boolean insert_new_line_before_finally_in_try_statement; 132 public boolean insert_new_line_before_while_in_do_statement; 133 public boolean insert_new_line_in_empty_anonymous_type_declaration; 134 public boolean insert_new_line_in_empty_block; 135 public boolean insert_new_line_in_empty_annotation_declaration; 136 public boolean insert_new_line_in_empty_enum_constant; 137 public boolean insert_new_line_in_empty_enum_declaration; 138 public boolean insert_new_line_in_empty_method_body; 139 public boolean insert_new_line_in_empty_type_declaration; 140 public boolean insert_space_after_and_in_type_parameter; 141 public boolean insert_space_after_assignment_operator; 142 public boolean insert_space_after_at_in_annotation; 143 public boolean insert_space_after_at_in_annotation_type_declaration; 144 public boolean insert_space_after_binary_operator; 145 public boolean insert_space_after_closing_angle_bracket_in_type_arguments; 146 public boolean insert_space_after_closing_angle_bracket_in_type_parameters; 147 public boolean insert_space_after_closing_paren_in_cast; 148 public boolean insert_space_after_closing_brace_in_block; 149 public boolean insert_space_after_colon_in_assert; 150 public boolean insert_space_after_colon_in_case; 151 public boolean insert_space_after_colon_in_conditional; 152 public boolean insert_space_after_colon_in_for; 153 public boolean insert_space_after_colon_in_labeled_statement; 154 public boolean insert_space_after_comma_in_allocation_expression; 155 public boolean insert_space_after_comma_in_annotation; 156 public boolean insert_space_after_comma_in_array_initializer; 157 public boolean insert_space_after_comma_in_constructor_declaration_parameters; 158 public boolean insert_space_after_comma_in_constructor_declaration_throws; 159 public boolean insert_space_after_comma_in_enum_constant_arguments; 160 public boolean insert_space_after_comma_in_enum_declarations; 161 public boolean insert_space_after_comma_in_explicit_constructor_call_arguments; 162 public boolean insert_space_after_comma_in_for_increments; 163 public boolean insert_space_after_comma_in_for_inits; 164 public boolean insert_space_after_comma_in_method_invocation_arguments; 165 public boolean insert_space_after_comma_in_method_declaration_parameters; 166 public boolean insert_space_after_comma_in_method_declaration_throws; 167 public boolean insert_space_after_comma_in_multiple_field_declarations; 168 public boolean insert_space_after_comma_in_multiple_local_declarations; 169 public boolean insert_space_after_comma_in_parameterized_type_reference; 170 public boolean insert_space_after_comma_in_superinterfaces; 171 public boolean insert_space_after_comma_in_type_arguments; 172 public boolean insert_space_after_comma_in_type_parameters; 173 public boolean insert_space_after_ellipsis; 174 public boolean insert_space_after_opening_angle_bracket_in_parameterized_type_reference; 175 public boolean insert_space_after_opening_angle_bracket_in_type_arguments; 176 public boolean insert_space_after_opening_angle_bracket_in_type_parameters; 177 public boolean insert_space_after_opening_bracket_in_array_allocation_expression; 178 public boolean insert_space_after_opening_bracket_in_array_reference; 179 public boolean insert_space_after_opening_brace_in_array_initializer; 180 public boolean insert_space_after_opening_paren_in_annotation; 181 public boolean insert_space_after_opening_paren_in_cast; 182 public boolean insert_space_after_opening_paren_in_catch; 183 public boolean insert_space_after_opening_paren_in_constructor_declaration; 184 public boolean insert_space_after_opening_paren_in_enum_constant; 185 public boolean insert_space_after_opening_paren_in_for; 186 public boolean insert_space_after_opening_paren_in_if; 187 public boolean insert_space_after_opening_paren_in_method_declaration; 188 public boolean insert_space_after_opening_paren_in_method_invocation; 189 public boolean insert_space_after_opening_paren_in_parenthesized_expression; 190 public boolean insert_space_after_opening_paren_in_switch; 191 public boolean insert_space_after_opening_paren_in_synchronized; 192 public boolean insert_space_after_opening_paren_in_while; 193 public boolean insert_space_after_postfix_operator; 194 public boolean insert_space_after_prefix_operator; 195 public boolean insert_space_after_question_in_conditional; 196 public boolean insert_space_after_question_in_wilcard; 197 public boolean insert_space_after_semicolon_in_for; 198 public boolean insert_space_after_unary_operator; 199 public boolean insert_space_before_and_in_type_parameter; 200 public boolean insert_space_before_at_in_annotation_type_declaration; 201 public boolean insert_space_before_assignment_operator; 202 public boolean insert_space_before_binary_operator; 203 public boolean insert_space_before_closing_angle_bracket_in_parameterized_type_reference; 204 public boolean insert_space_before_closing_angle_bracket_in_type_arguments; 205 public boolean insert_space_before_closing_angle_bracket_in_type_parameters; 206 public boolean insert_space_before_closing_brace_in_array_initializer; 207 public boolean insert_space_before_closing_bracket_in_array_allocation_expression; 208 public boolean insert_space_before_closing_bracket_in_array_reference; 209 public boolean insert_space_before_closing_paren_in_annotation; 210 public boolean insert_space_before_closing_paren_in_cast; 211 public boolean insert_space_before_closing_paren_in_catch; 212 public boolean insert_space_before_closing_paren_in_constructor_declaration; 213 public boolean insert_space_before_closing_paren_in_enum_constant; 214 public boolean insert_space_before_closing_paren_in_for; 215 public boolean insert_space_before_closing_paren_in_if; 216 public boolean insert_space_before_closing_paren_in_method_declaration; 217 public boolean insert_space_before_closing_paren_in_method_invocation; 218 public boolean insert_space_before_closing_paren_in_parenthesized_expression; 219 public boolean insert_space_before_closing_paren_in_switch; 220 public boolean insert_space_before_closing_paren_in_synchronized; 221 public boolean insert_space_before_closing_paren_in_while; 222 public boolean insert_space_before_colon_in_assert; 223 public boolean insert_space_before_colon_in_case; 224 public boolean insert_space_before_colon_in_conditional; 225 public boolean insert_space_before_colon_in_default; 226 public boolean insert_space_before_colon_in_for; 227 public boolean insert_space_before_colon_in_labeled_statement; 228 public boolean insert_space_before_comma_in_allocation_expression; 229 public boolean insert_space_before_comma_in_annotation; 230 public boolean insert_space_before_comma_in_array_initializer; 231 public boolean insert_space_before_comma_in_constructor_declaration_parameters; 232 public boolean insert_space_before_comma_in_constructor_declaration_throws; 233 public boolean insert_space_before_comma_in_enum_constant_arguments; 234 public boolean insert_space_before_comma_in_enum_declarations; 235 public boolean insert_space_before_comma_in_explicit_constructor_call_arguments; 236 public boolean insert_space_before_comma_in_for_increments; 237 public boolean insert_space_before_comma_in_for_inits; 238 public boolean insert_space_before_comma_in_method_invocation_arguments; 239 public boolean insert_space_before_comma_in_method_declaration_parameters; 240 public boolean insert_space_before_comma_in_method_declaration_throws; 241 public boolean insert_space_before_comma_in_multiple_field_declarations; 242 public boolean insert_space_before_comma_in_multiple_local_declarations; 243 public boolean insert_space_before_comma_in_parameterized_type_reference; 244 public boolean insert_space_before_comma_in_superinterfaces; 245 public boolean insert_space_before_comma_in_type_arguments; 246 public boolean insert_space_before_comma_in_type_parameters; 247 public boolean insert_space_before_ellipsis; 248 public boolean insert_space_before_parenthesized_expression_in_return; 249 public boolean insert_space_before_parenthesized_expression_in_throw; 250 public boolean insert_space_before_question_in_wilcard; 251 public boolean insert_space_before_opening_angle_bracket_in_parameterized_type_reference; 252 public boolean insert_space_before_opening_angle_bracket_in_type_arguments; 253 public boolean insert_space_before_opening_angle_bracket_in_type_parameters; 254 public boolean insert_space_before_opening_brace_in_annotation_type_declaration; 255 public boolean insert_space_before_opening_brace_in_anonymous_type_declaration; 256 public boolean insert_space_before_opening_brace_in_array_initializer; 257 public boolean insert_space_before_opening_brace_in_block; 258 public boolean insert_space_before_opening_brace_in_constructor_declaration; 259 public boolean insert_space_before_opening_brace_in_enum_constant; 260 public boolean insert_space_before_opening_brace_in_enum_declaration; 261 public boolean insert_space_before_opening_brace_in_method_declaration; 262 public boolean insert_space_before_opening_brace_in_type_declaration; 263 public boolean insert_space_before_opening_bracket_in_array_allocation_expression; 264 public boolean insert_space_before_opening_bracket_in_array_reference; 265 public boolean insert_space_before_opening_bracket_in_array_type_reference; 266 public boolean insert_space_before_opening_paren_in_annotation; 267 public boolean insert_space_before_opening_paren_in_annotation_type_member_declaration; 268 public boolean insert_space_before_opening_paren_in_catch; 269 public boolean insert_space_before_opening_paren_in_constructor_declaration; 270 public boolean insert_space_before_opening_paren_in_enum_constant; 271 public boolean insert_space_before_opening_paren_in_for; 272 public boolean insert_space_before_opening_paren_in_if; 273 public boolean insert_space_before_opening_paren_in_method_invocation; 274 public boolean insert_space_before_opening_paren_in_method_declaration; 275 public boolean insert_space_before_opening_paren_in_switch; 276 public boolean insert_space_before_opening_brace_in_switch; 277 public boolean insert_space_before_opening_paren_in_synchronized; 278 public boolean insert_space_before_opening_paren_in_parenthesized_expression; 279 public boolean insert_space_before_opening_paren_in_while; 280 public boolean insert_space_before_postfix_operator; 281 public boolean insert_space_before_prefix_operator; 282 public boolean insert_space_before_question_in_conditional; 283 public boolean insert_space_before_semicolon; 284 public boolean insert_space_before_semicolon_in_for; 285 public boolean insert_space_before_unary_operator; 286 public boolean insert_space_between_brackets_in_array_type_reference; 287 public boolean insert_space_between_empty_braces_in_array_initializer; 288 public boolean insert_space_between_empty_brackets_in_array_allocation_expression; 289 public boolean insert_space_between_empty_parens_in_annotation_type_member_declaration; 290 public boolean insert_space_between_empty_parens_in_constructor_declaration; 291 public boolean insert_space_between_empty_parens_in_enum_constant; 292 public boolean insert_space_between_empty_parens_in_method_declaration; 293 public boolean insert_space_between_empty_parens_in_method_invocation; 294 public boolean compact_else_if; 295 public boolean keep_guardian_clause_on_one_line; 296 public boolean keep_else_statement_on_same_line; 297 public boolean keep_empty_array_initializer_on_one_line; 298 public boolean keep_simple_if_on_one_line; 299 public boolean keep_then_statement_on_same_line; 300 public boolean never_indent_block_comments_on_first_column; 301 public boolean never_indent_line_comments_on_first_column; 302 public int number_of_empty_lines_to_preserve; 303 public boolean put_empty_statement_on_new_line; 304 public int tab_size; 305 public final char filling_space = ' '; 306 public int page_width; 307 public int tab_char; 308 public boolean use_tabs_only_for_leading_indentations; 309 public boolean wrap_before_binary_operator; 310 311 public int initial_indentation_level; 312 public String line_separator; 313 314 private DefaultCodeFormatterOptions() { 315 } 317 318 public DefaultCodeFormatterOptions(Map settings) { 319 setDefaultSettings(); 320 if (settings == null) return; 321 set(settings); 322 } 323 324 private String getAlignment(int alignment) { 325 return Integer.toString(alignment); 326 } 327 328 public Map getMap() { 329 Map options = new HashMap (); 330 options.put(DefaultCodeFormatterConstants.FORMATTER_ALIGNMENT_FOR_ARGUMENTS_IN_ALLOCATION_EXPRESSION, getAlignment(this.alignment_for_arguments_in_allocation_expression)); 331 options.put(DefaultCodeFormatterConstants.FORMATTER_ALIGNMENT_FOR_ARGUMENTS_IN_ENUM_CONSTANT, getAlignment(this.alignment_for_arguments_in_enum_constant)); 332 options.put(DefaultCodeFormatterConstants.FORMATTER_ALIGNMENT_FOR_ARGUMENTS_IN_EXPLICIT_CONSTRUCTOR_CALL, getAlignment(this.alignment_for_arguments_in_explicit_constructor_call)); 333 options.put(DefaultCodeFormatterConstants.FORMATTER_ALIGNMENT_FOR_ARGUMENTS_IN_METHOD_INVOCATION, getAlignment(this.alignment_for_arguments_in_method_invocation)); 334 options.put(DefaultCodeFormatterConstants.FORMATTER_ALIGNMENT_FOR_ARGUMENTS_IN_QUALIFIED_ALLOCATION_EXPRESSION, getAlignment(this.alignment_for_arguments_in_qualified_allocation_expression)); 335 options.put(DefaultCodeFormatterConstants.FORMATTER_ALIGNMENT_FOR_ASSIGNMENT, getAlignment(this.alignment_for_assignment)); 336 options.put(DefaultCodeFormatterConstants.FORMATTER_ALIGNMENT_FOR_BINARY_EXPRESSION, getAlignment(this.alignment_for_binary_expression)); 337 options.put(DefaultCodeFormatterConstants.FORMATTER_ALIGNMENT_FOR_COMPACT_IF, getAlignment(this.alignment_for_compact_if)); 338 options.put(DefaultCodeFormatterConstants.FORMATTER_ALIGNMENT_FOR_CONDITIONAL_EXPRESSION, getAlignment(this.alignment_for_conditional_expression)); 339 options.put(DefaultCodeFormatterConstants.FORMATTER_ALIGNMENT_FOR_ENUM_CONSTANTS, getAlignment(this.alignment_for_enum_constants)); 340 options.put(DefaultCodeFormatterConstants.FORMATTER_ALIGNMENT_FOR_EXPRESSIONS_IN_ARRAY_INITIALIZER, getAlignment(this.alignment_for_expressions_in_array_initializer)); 341 options.put(DefaultCodeFormatterConstants.FORMATTER_ALIGNMENT_FOR_MULTIPLE_FIELDS, getAlignment(this.alignment_for_multiple_fields)); 342 options.put(DefaultCodeFormatterConstants.FORMATTER_ALIGNMENT_FOR_PARAMETERS_IN_CONSTRUCTOR_DECLARATION, getAlignment(this.alignment_for_parameters_in_constructor_declaration)); 343 options.put(DefaultCodeFormatterConstants.FORMATTER_ALIGNMENT_FOR_PARAMETERS_IN_METHOD_DECLARATION, getAlignment(this.alignment_for_parameters_in_method_declaration)); 344 options.put(DefaultCodeFormatterConstants.FORMATTER_ALIGNMENT_FOR_SELECTOR_IN_METHOD_INVOCATION, getAlignment(this.alignment_for_selector_in_method_invocation)); 345 options.put(DefaultCodeFormatterConstants.FORMATTER_ALIGNMENT_FOR_SUPERCLASS_IN_TYPE_DECLARATION, getAlignment(this.alignment_for_superclass_in_type_declaration)); 346 options.put(DefaultCodeFormatterConstants.FORMATTER_ALIGNMENT_FOR_SUPERINTERFACES_IN_ENUM_DECLARATION, getAlignment(this.alignment_for_superinterfaces_in_enum_declaration)); 347 options.put(DefaultCodeFormatterConstants.FORMATTER_ALIGNMENT_FOR_SUPERINTERFACES_IN_TYPE_DECLARATION, getAlignment(this.alignment_for_superinterfaces_in_type_declaration)); 348 options.put(DefaultCodeFormatterConstants.FORMATTER_ALIGNMENT_FOR_THROWS_CLAUSE_IN_CONSTRUCTOR_DECLARATION, getAlignment(this.alignment_for_throws_clause_in_constructor_declaration)); 349 options.put(DefaultCodeFormatterConstants.FORMATTER_ALIGNMENT_FOR_THROWS_CLAUSE_IN_METHOD_DECLARATION, getAlignment(this.alignment_for_throws_clause_in_method_declaration)); 350 options.put(DefaultCodeFormatterConstants.FORMATTER_ALIGN_TYPE_MEMBERS_ON_COLUMNS, this.align_type_members_on_columns ? DefaultCodeFormatterConstants.TRUE : DefaultCodeFormatterConstants.FALSE); 351 options.put(DefaultCodeFormatterConstants.FORMATTER_BRACE_POSITION_FOR_ANNOTATION_TYPE_DECLARATION, this.brace_position_for_annotation_type_declaration); 352 options.put(DefaultCodeFormatterConstants.FORMATTER_BRACE_POSITION_FOR_ANONYMOUS_TYPE_DECLARATION, this.brace_position_for_anonymous_type_declaration); 353 options.put(DefaultCodeFormatterConstants.FORMATTER_BRACE_POSITION_FOR_ARRAY_INITIALIZER, this.brace_position_for_array_initializer); 354 options.put(DefaultCodeFormatterConstants.FORMATTER_BRACE_POSITION_FOR_BLOCK, this.brace_position_for_block); 355 options.put(DefaultCodeFormatterConstants.FORMATTER_BRACE_POSITION_FOR_BLOCK_IN_CASE, this.brace_position_for_block_in_case); 356 options.put(DefaultCodeFormatterConstants.FORMATTER_BRACE_POSITION_FOR_CONSTRUCTOR_DECLARATION, this.brace_position_for_constructor_declaration); 357 options.put(DefaultCodeFormatterConstants.FORMATTER_BRACE_POSITION_FOR_ENUM_CONSTANT, this.brace_position_for_enum_constant); 358 options.put(DefaultCodeFormatterConstants.FORMATTER_BRACE_POSITION_FOR_ENUM_DECLARATION, this.brace_position_for_enum_declaration); 359 options.put(DefaultCodeFormatterConstants.FORMATTER_BRACE_POSITION_FOR_METHOD_DECLARATION, this.brace_position_for_method_declaration); 360 options.put(DefaultCodeFormatterConstants.FORMATTER_BRACE_POSITION_FOR_TYPE_DECLARATION, this.brace_position_for_type_declaration); 361 options.put(DefaultCodeFormatterConstants.FORMATTER_BRACE_POSITION_FOR_SWITCH, this.brace_position_for_switch); 362 options.put(DefaultCodeFormatterConstants.FORMATTER_COMMENT_CLEAR_BLANK_LINES_IN_BLOCK_COMMENT, this.comment_clear_blank_lines_in_javadoc_comment ? DefaultCodeFormatterConstants.TRUE : DefaultCodeFormatterConstants.FALSE); 363 options.put(DefaultCodeFormatterConstants.FORMATTER_COMMENT_CLEAR_BLANK_LINES_IN_JAVADOC_COMMENT, this.comment_clear_blank_lines_in_block_comment ? DefaultCodeFormatterConstants.TRUE : DefaultCodeFormatterConstants.FALSE); 364 options.put(DefaultCodeFormatterConstants.FORMATTER_COMMENT_FORMAT_JAVADOC_COMMENT, this.comment_format_javadoc_comment ? DefaultCodeFormatterConstants.TRUE : DefaultCodeFormatterConstants.FALSE); 365 options.put(DefaultCodeFormatterConstants.FORMATTER_COMMENT_FORMAT_LINE_COMMENT, this.comment_format_line_comment ? DefaultCodeFormatterConstants.TRUE : DefaultCodeFormatterConstants.FALSE); 366 options.put(DefaultCodeFormatterConstants.FORMATTER_COMMENT_FORMAT_BLOCK_COMMENT, this.comment_format_block_comment ? DefaultCodeFormatterConstants.TRUE : DefaultCodeFormatterConstants.FALSE); 367 options.put(DefaultCodeFormatterConstants.FORMATTER_COMMENT_FORMAT_HEADER, this.comment_format_header ? DefaultCodeFormatterConstants.TRUE : DefaultCodeFormatterConstants.FALSE); 368 options.put(DefaultCodeFormatterConstants.FORMATTER_COMMENT_FORMAT_HTML, this.comment_format_html ? DefaultCodeFormatterConstants.TRUE : DefaultCodeFormatterConstants.FALSE); 369 options.put(DefaultCodeFormatterConstants.FORMATTER_COMMENT_FORMAT_SOURCE, this.comment_format_source ? DefaultCodeFormatterConstants.TRUE : DefaultCodeFormatterConstants.FALSE); 370 options.put(DefaultCodeFormatterConstants.FORMATTER_COMMENT_INDENT_PARAMETER_DESCRIPTION, this.comment_indent_parameter_description ? DefaultCodeFormatterConstants.TRUE : DefaultCodeFormatterConstants.FALSE); 371 options.put(DefaultCodeFormatterConstants.FORMATTER_COMMENT_INDENT_ROOT_TAGS, this.comment_indent_root_tags ? DefaultCodeFormatterConstants.TRUE : DefaultCodeFormatterConstants.FALSE); 372 options.put(DefaultCodeFormatterConstants.FORMATTER_COMMENT_INSERT_EMPTY_LINE_BEFORE_ROOT_TAGS, this.comment_insert_empty_line_before_root_tags ? JavaCore.INSERT : JavaCore.DO_NOT_INSERT); 373 options.put(DefaultCodeFormatterConstants.FORMATTER_COMMENT_INSERT_NEW_LINE_FOR_PARAMETER, this.comment_insert_new_line_for_parameter ? JavaCore.INSERT : JavaCore.DO_NOT_INSERT); 374 options.put(DefaultCodeFormatterConstants.FORMATTER_COMMENT_LINE_LENGTH, Integer.toString(this.comment_line_length)); 375 options.put(DefaultCodeFormatterConstants.FORMATTER_CONTINUATION_INDENTATION, Integer.toString(this.continuation_indentation)); 376 options.put(DefaultCodeFormatterConstants.FORMATTER_CONTINUATION_INDENTATION_FOR_ARRAY_INITIALIZER, Integer.toString(this.continuation_indentation_for_array_initializer)); 377 options.put(DefaultCodeFormatterConstants.FORMATTER_BLANK_LINES_AFTER_IMPORTS, Integer.toString(this.blank_lines_after_imports)); 378 options.put(DefaultCodeFormatterConstants.FORMATTER_BLANK_LINES_AFTER_PACKAGE, Integer.toString(this.blank_lines_after_package)); 379 options.put(DefaultCodeFormatterConstants.FORMATTER_BLANK_LINES_BEFORE_FIELD, Integer.toString(this.blank_lines_before_field)); 380 options.put(DefaultCodeFormatterConstants.FORMATTER_BLANK_LINES_BEFORE_FIRST_CLASS_BODY_DECLARATION, Integer.toString(this.blank_lines_before_first_class_body_declaration)); 381 options.put(DefaultCodeFormatterConstants.FORMATTER_BLANK_LINES_BEFORE_IMPORTS, Integer.toString(this.blank_lines_before_imports)); 382 options.put(DefaultCodeFormatterConstants.FORMATTER_BLANK_LINES_BEFORE_MEMBER_TYPE, Integer.toString(this.blank_lines_before_member_type)); 383 options.put(DefaultCodeFormatterConstants.FORMATTER_BLANK_LINES_BEFORE_METHOD, Integer.toString(this.blank_lines_before_method)); 384 options.put(DefaultCodeFormatterConstants.FORMATTER_BLANK_LINES_BEFORE_NEW_CHUNK, Integer.toString(this.blank_lines_before_new_chunk)); 385 options.put(DefaultCodeFormatterConstants.FORMATTER_BLANK_LINES_BEFORE_PACKAGE, Integer.toString(this.blank_lines_before_package)); 386 options.put(DefaultCodeFormatterConstants.FORMATTER_BLANK_LINES_BETWEEN_IMPORT_GROUPS, Integer.toString(this.blank_lines_between_import_groups)); 387 options.put(DefaultCodeFormatterConstants.FORMATTER_BLANK_LINES_BETWEEN_TYPE_DECLARATIONS, Integer.toString(this.blank_lines_between_type_declarations)); 388 options.put(DefaultCodeFormatterConstants.FORMATTER_BLANK_LINES_AT_BEGINNING_OF_METHOD_BODY, Integer.toString(this.blank_lines_at_beginning_of_method_body)); 389 options.put(DefaultCodeFormatterConstants.FORMATTER_INDENT_STATEMENTS_COMPARE_TO_BLOCK, this.indent_statements_compare_to_block ? DefaultCodeFormatterConstants.TRUE : DefaultCodeFormatterConstants.FALSE); 390 options.put(DefaultCodeFormatterConstants.FORMATTER_INDENT_STATEMENTS_COMPARE_TO_BODY, this.indent_statements_compare_to_body ? DefaultCodeFormatterConstants.TRUE : DefaultCodeFormatterConstants.FALSE); 391 options.put(DefaultCodeFormatterConstants.FORMATTER_INDENT_BODY_DECLARATIONS_COMPARE_TO_ANNOTATION_DECLARATION_HEADER, this.indent_body_declarations_compare_to_annotation_declaration_header ? DefaultCodeFormatterConstants.TRUE : DefaultCodeFormatterConstants.FALSE); 392 options.put(DefaultCodeFormatterConstants.FORMATTER_INDENT_BODY_DECLARATIONS_COMPARE_TO_ENUM_CONSTANT_HEADER, this.indent_body_declarations_compare_to_enum_constant_header ? DefaultCodeFormatterConstants.TRUE : DefaultCodeFormatterConstants.FALSE); 393 options.put(DefaultCodeFormatterConstants.FORMATTER_INDENT_BODY_DECLARATIONS_COMPARE_TO_ENUM_DECLARATION_HEADER, this.indent_body_declarations_compare_to_enum_declaration_header ? DefaultCodeFormatterConstants.TRUE : DefaultCodeFormatterConstants.FALSE); 394 options.put(DefaultCodeFormatterConstants.FORMATTER_INDENT_BODY_DECLARATIONS_COMPARE_TO_TYPE_HEADER, this.indent_body_declarations_compare_to_type_header ? DefaultCodeFormatterConstants.TRUE : DefaultCodeFormatterConstants.FALSE); 395 options.put(DefaultCodeFormatterConstants.FORMATTER_INDENT_BREAKS_COMPARE_TO_CASES, this.indent_breaks_compare_to_cases ? DefaultCodeFormatterConstants.TRUE : DefaultCodeFormatterConstants.FALSE); 396 options.put(DefaultCodeFormatterConstants.FORMATTER_INDENT_EMPTY_LINES, this.indent_empty_lines ? DefaultCodeFormatterConstants.TRUE : DefaultCodeFormatterConstants.FALSE); 397 options.put(DefaultCodeFormatterConstants.FORMATTER_INDENT_SWITCHSTATEMENTS_COMPARE_TO_CASES, this.indent_switchstatements_compare_to_cases ? DefaultCodeFormatterConstants.TRUE : DefaultCodeFormatterConstants.FALSE); 398 options.put(DefaultCodeFormatterConstants.FORMATTER_INDENT_SWITCHSTATEMENTS_COMPARE_TO_SWITCH, this.indent_switchstatements_compare_to_switch ? DefaultCodeFormatterConstants.TRUE : DefaultCodeFormatterConstants.FALSE); 399 options.put(DefaultCodeFormatterConstants.FORMATTER_INDENTATION_SIZE, Integer.toString(this.indentation_size)); 400 options.put(DefaultCodeFormatterConstants.FORMATTER_INSERT_NEW_LINE_AFTER_ANNOTATION, this.insert_new_line_after_annotation ? JavaCore.INSERT : JavaCore.DO_NOT_INSERT); 401 options.put(DefaultCodeFormatterConstants.FORMATTER_INSERT_NEW_LINE_AFTER_OPENING_BRACE_IN_ARRAY_INITIALIZER, this.insert_new_line_after_opening_brace_in_array_initializer? JavaCore.INSERT : JavaCore.DO_NOT_INSERT); 402 options.put(DefaultCodeFormatterConstants.FORMATTER_INSERT_NEW_LINE_AT_END_OF_FILE_IF_MISSING, this.insert_new_line_at_end_of_file_if_missing ? JavaCore.INSERT : JavaCore.DO_NOT_INSERT); 403 options.put(DefaultCodeFormatterConstants.FORMATTER_INSERT_NEW_LINE_BEFORE_CATCH_IN_TRY_STATEMENT, this.insert_new_line_before_catch_in_try_statement? JavaCore.INSERT : JavaCore.DO_NOT_INSERT); 404 options.put(DefaultCodeFormatterConstants.FORMATTER_INSERT_NEW_LINE_BEFORE_CLOSING_BRACE_IN_ARRAY_INITIALIZER, this.insert_new_line_before_closing_brace_in_array_initializer? JavaCore.INSERT : JavaCore.DO_NOT_INSERT); 405 options.put(DefaultCodeFormatterConstants.FORMATTER_INSERT_NEW_LINE_BEFORE_ELSE_IN_IF_STATEMENT, this.insert_new_line_before_else_in_if_statement? JavaCore.INSERT : JavaCore.DO_NOT_INSERT); 406 options.put(DefaultCodeFormatterConstants.FORMATTER_INSERT_NEW_LINE_BEFORE_FINALLY_IN_TRY_STATEMENT, this.insert_new_line_before_finally_in_try_statement? JavaCore.INSERT : JavaCore.DO_NOT_INSERT); 407 options.put(DefaultCodeFormatterConstants.FORMATTER_INSERT_NEW_LINE_BEFORE_WHILE_IN_DO_STATEMENT, this.insert_new_line_before_while_in_do_statement? JavaCore.INSERT : JavaCore.DO_NOT_INSERT); 408 options.put(DefaultCodeFormatterConstants.FORMATTER_INSERT_NEW_LINE_IN_EMPTY_ANONYMOUS_TYPE_DECLARATION, this.insert_new_line_in_empty_anonymous_type_declaration? JavaCore.INSERT : JavaCore.DO_NOT_INSERT); 409 options.put(DefaultCodeFormatterConstants.FORMATTER_INSERT_NEW_LINE_IN_EMPTY_BLOCK, this.insert_new_line_in_empty_block? JavaCore.INSERT : JavaCore.DO_NOT_INSERT); 410 options.put(DefaultCodeFormatterConstants.FORMATTER_INSERT_NEW_LINE_IN_EMPTY_ANNOTATION_DECLARATION, this.insert_new_line_in_empty_annotation_declaration ? JavaCore.INSERT : JavaCore.DO_NOT_INSERT); 411 options.put(DefaultCodeFormatterConstants.FORMATTER_INSERT_NEW_LINE_IN_EMPTY_ENUM_CONSTANT, this.insert_new_line_in_empty_enum_constant? JavaCore.INSERT : JavaCore.DO_NOT_INSERT); 412 options.put(DefaultCodeFormatterConstants.FORMATTER_INSERT_NEW_LINE_IN_EMPTY_ENUM_DECLARATION, this.insert_new_line_in_empty_enum_declaration? JavaCore.INSERT : JavaCore.DO_NOT_INSERT); 413 options.put(DefaultCodeFormatterConstants.FORMATTER_INSERT_NEW_LINE_IN_EMPTY_METHOD_BODY, this.insert_new_line_in_empty_method_body? JavaCore.INSERT : JavaCore.DO_NOT_INSERT); 414 options.put(DefaultCodeFormatterConstants.FORMATTER_INSERT_NEW_LINE_IN_EMPTY_TYPE_DECLARATION, this.insert_new_line_in_empty_type_declaration? JavaCore.INSERT : JavaCore.DO_NOT_INSERT); 415 options.put(DefaultCodeFormatterConstants.FORMATTER_INSERT_SPACE_AFTER_AND_IN_TYPE_PARAMETER, this.insert_space_after_and_in_type_parameter? JavaCore.INSERT : JavaCore.DO_NOT_INSERT); 416 options.put(DefaultCodeFormatterConstants.FORMATTER_INSERT_SPACE_AFTER_ASSIGNMENT_OPERATOR, this.insert_space_after_assignment_operator? JavaCore.INSERT : JavaCore.DO_NOT_INSERT); 417 options.put(DefaultCodeFormatterConstants.FORMATTER_INSERT_SPACE_AFTER_AT_IN_ANNOTATION, this.insert_space_after_at_in_annotation? JavaCore.INSERT : JavaCore.DO_NOT_INSERT); 418 options.put(DefaultCodeFormatterConstants.FORMATTER_INSERT_SPACE_AFTER_AT_IN_ANNOTATION_TYPE_DECLARATION, this.insert_space_after_at_in_annotation_type_declaration ? JavaCore.INSERT : JavaCore.DO_NOT_INSERT); 419 options.put(DefaultCodeFormatterConstants.FORMATTER_INSERT_SPACE_AFTER_BINARY_OPERATOR, this.insert_space_after_binary_operator? JavaCore.INSERT : JavaCore.DO_NOT_INSERT); 420 options.put(DefaultCodeFormatterConstants.FORMATTER_INSERT_SPACE_AFTER_CLOSING_ANGLE_BRACKET_IN_TYPE_ARGUMENTS, this.insert_space_after_closing_angle_bracket_in_type_arguments ? JavaCore.INSERT : JavaCore.DO_NOT_INSERT); 421 options.put(DefaultCodeFormatterConstants.FORMATTER_INSERT_SPACE_AFTER_CLOSING_ANGLE_BRACKET_IN_TYPE_PARAMETERS, this.insert_space_after_closing_angle_bracket_in_type_parameters ? JavaCore.INSERT : JavaCore.DO_NOT_INSERT); 422 options.put(DefaultCodeFormatterConstants.FORMATTER_INSERT_SPACE_AFTER_CLOSING_PAREN_IN_CAST, this.insert_space_after_closing_paren_in_cast? JavaCore.INSERT : JavaCore.DO_NOT_INSERT); 423 options.put(DefaultCodeFormatterConstants.FORMATTER_INSERT_SPACE_AFTER_CLOSING_BRACE_IN_BLOCK, this.insert_space_after_closing_brace_in_block? JavaCore.INSERT : JavaCore.DO_NOT_INSERT); 424 options.put(DefaultCodeFormatterConstants.FORMATTER_INSERT_SPACE_AFTER_COLON_IN_ASSERT, this.insert_space_after_colon_in_assert ? JavaCore.INSERT : JavaCore.DO_NOT_INSERT); 425 options.put(DefaultCodeFormatterConstants.FORMATTER_INSERT_SPACE_AFTER_COLON_IN_CASE, this.insert_space_after_colon_in_case ? JavaCore.INSERT : JavaCore.DO_NOT_INSERT); 426 options.put(DefaultCodeFormatterConstants.FORMATTER_INSERT_SPACE_AFTER_COLON_IN_CONDITIONAL, this.insert_space_after_colon_in_conditional ? JavaCore.INSERT : JavaCore.DO_NOT_INSERT); 427 options.put(DefaultCodeFormatterConstants.FORMATTER_INSERT_SPACE_AFTER_COLON_IN_FOR, this.insert_space_after_colon_in_for ? JavaCore.INSERT : JavaCore.DO_NOT_INSERT); 428 options.put(DefaultCodeFormatterConstants.FORMATTER_INSERT_SPACE_AFTER_COLON_IN_LABELED_STATEMENT, this.insert_space_after_colon_in_labeled_statement? JavaCore.INSERT : JavaCore.DO_NOT_INSERT); 429 options.put(DefaultCodeFormatterConstants.FORMATTER_INSERT_SPACE_AFTER_COMMA_IN_ALLOCATION_EXPRESSION, this.insert_space_after_comma_in_allocation_expression? JavaCore.INSERT : JavaCore.DO_NOT_INSERT); 430 options.put(DefaultCodeFormatterConstants.FORMATTER_INSERT_SPACE_AFTER_COMMA_IN_ANNOTATION, this.insert_space_after_comma_in_annotation? JavaCore.INSERT : JavaCore.DO_NOT_INSERT); 431 options.put(DefaultCodeFormatterConstants.FORMATTER_INSERT_SPACE_AFTER_COMMA_IN_ARRAY_INITIALIZER, this.insert_space_after_comma_in_array_initializer? JavaCore.INSERT : JavaCore.DO_NOT_INSERT); 432 options.put(DefaultCodeFormatterConstants.FORMATTER_INSERT_SPACE_AFTER_COMMA_IN_CONSTRUCTOR_DECLARATION_PARAMETERS, this.insert_space_after_comma_in_constructor_declaration_parameters? JavaCore.INSERT : JavaCore.DO_NOT_INSERT); 433 options.put(DefaultCodeFormatterConstants.FORMATTER_INSERT_SPACE_AFTER_COMMA_IN_CONSTRUCTOR_DECLARATION_THROWS, this.insert_space_after_comma_in_constructor_declaration_throws? JavaCore.INSERT : JavaCore.DO_NOT_INSERT); 434 options.put(DefaultCodeFormatterConstants.FORMATTER_INSERT_SPACE_AFTER_COMMA_IN_ENUM_CONSTANT_ARGUMENTS, this.insert_space_after_comma_in_enum_constant_arguments ? JavaCore.INSERT : JavaCore.DO_NOT_INSERT); 435 options.put(DefaultCodeFormatterConstants.FORMATTER_INSERT_SPACE_AFTER_COMMA_IN_ENUM_DECLARATIONS, this.insert_space_after_comma_in_enum_declarations ? JavaCore.INSERT : JavaCore.DO_NOT_INSERT); 436 options.put(DefaultCodeFormatterConstants.FORMATTER_INSERT_SPACE_AFTER_COMMA_IN_EXPLICIT_CONSTRUCTOR_CALL_ARGUMENTS, this.insert_space_after_comma_in_explicit_constructor_call_arguments? JavaCore.INSERT : JavaCore.DO_NOT_INSERT); 437 options.put(DefaultCodeFormatterConstants.FORMATTER_INSERT_SPACE_AFTER_COMMA_IN_FOR_INCREMENTS, this.insert_space_after_comma_in_for_increments? JavaCore.INSERT : JavaCore.DO_NOT_INSERT); 438 options.put(DefaultCodeFormatterConstants.FORMATTER_INSERT_SPACE_AFTER_COMMA_IN_FOR_INITS, this.insert_space_after_comma_in_for_inits? JavaCore.INSERT : JavaCore.DO_NOT_INSERT); 439 options.put(DefaultCodeFormatterConstants.FORMATTER_INSERT_SPACE_AFTER_COMMA_IN_METHOD_INVOCATION_ARGUMENTS, this.insert_space_after_comma_in_method_invocation_arguments? JavaCore.INSERT : JavaCore.DO_NOT_INSERT); 440 options.put(DefaultCodeFormatterConstants.FORMATTER_INSERT_SPACE_AFTER_COMMA_IN_METHOD_DECLARATION_PARAMETERS, this.insert_space_after_comma_in_method_declaration_parameters? JavaCore.INSERT : JavaCore.DO_NOT_INSERT); 441 options.put(DefaultCodeFormatterConstants.FORMATTER_INSERT_SPACE_AFTER_COMMA_IN_METHOD_DECLARATION_THROWS, this.insert_space_after_comma_in_method_declaration_throws? JavaCore.INSERT : JavaCore.DO_NOT_INSERT); 442 options.put(DefaultCodeFormatterConstants.FORMATTER_INSERT_SPACE_AFTER_COMMA_IN_MULTIPLE_FIELD_DECLARATIONS, this.insert_space_after_comma_in_multiple_field_declarations? JavaCore.INSERT : JavaCore.DO_NOT_INSERT); 443 options.put(DefaultCodeFormatterConstants.FORMATTER_INSERT_SPACE_AFTER_COMMA_IN_MULTIPLE_LOCAL_DECLARATIONS, this.insert_space_after_comma_in_multiple_local_declarations? JavaCore.INSERT : JavaCore.DO_NOT_INSERT); 444 options.put(DefaultCodeFormatterConstants.FORMATTER_INSERT_SPACE_AFTER_COMMA_IN_PARAMETERIZED_TYPE_REFERENCE, this.insert_space_after_comma_in_parameterized_type_reference? JavaCore.INSERT : JavaCore.DO_NOT_INSERT); 445 options.put(DefaultCodeFormatterConstants.FORMATTER_INSERT_SPACE_AFTER_COMMA_IN_SUPERINTERFACES, this.insert_space_after_comma_in_superinterfaces? JavaCore.INSERT : JavaCore.DO_NOT_INSERT); 446 options.put(DefaultCodeFormatterConstants.FORMATTER_INSERT_SPACE_AFTER_COMMA_IN_TYPE_ARGUMENTS, this.insert_space_after_comma_in_type_arguments ? JavaCore.INSERT : JavaCore.DO_NOT_INSERT); 447 options.put(DefaultCodeFormatterConstants.FORMATTER_INSERT_SPACE_AFTER_COMMA_IN_TYPE_PARAMETERS, this.insert_space_after_comma_in_type_parameters ? JavaCore.INSERT : JavaCore.DO_NOT_INSERT); 448 options.put(DefaultCodeFormatterConstants.FORMATTER_INSERT_SPACE_AFTER_OPENING_BRACKET_IN_ARRAY_ALLOCATION_EXPRESSION, this.insert_space_after_opening_bracket_in_array_allocation_expression? JavaCore.INSERT : JavaCore.DO_NOT_INSERT); 449 options.put(DefaultCodeFormatterConstants.FORMATTER_INSERT_SPACE_AFTER_ELLIPSIS, this.insert_space_after_ellipsis ? JavaCore.INSERT : JavaCore.DO_NOT_INSERT); 450 options.put(DefaultCodeFormatterConstants.FORMATTER_INSERT_SPACE_AFTER_OPENING_ANGLE_BRACKET_IN_PARAMETERIZED_TYPE_REFERENCE, this.insert_space_after_opening_angle_bracket_in_parameterized_type_reference? JavaCore.INSERT : JavaCore.DO_NOT_INSERT); 451 options.put(DefaultCodeFormatterConstants.FORMATTER_INSERT_SPACE_AFTER_OPENING_ANGLE_BRACKET_IN_TYPE_ARGUMENTS, this.insert_space_after_opening_angle_bracket_in_type_arguments? JavaCore.INSERT : JavaCore.DO_NOT_INSERT); 452 options.put(DefaultCodeFormatterConstants.FORMATTER_INSERT_SPACE_AFTER_OPENING_ANGLE_BRACKET_IN_TYPE_PARAMETERS, this.insert_space_after_opening_angle_bracket_in_type_parameters? JavaCore.INSERT : JavaCore.DO_NOT_INSERT); 453 options.put(DefaultCodeFormatterConstants.FORMATTER_INSERT_SPACE_AFTER_OPENING_BRACKET_IN_ARRAY_REFERENCE, this.insert_space_after_opening_bracket_in_array_reference? JavaCore.INSERT : JavaCore.DO_NOT_INSERT); 454 options.put(DefaultCodeFormatterConstants.FORMATTER_INSERT_SPACE_AFTER_OPENING_BRACE_IN_ARRAY_INITIALIZER, this.insert_space_after_opening_brace_in_array_initializer? JavaCore.INSERT : JavaCore.DO_NOT_INSERT); 455 options.put(DefaultCodeFormatterConstants.FORMATTER_INSERT_SPACE_AFTER_OPENING_PAREN_IN_ANNOTATION, this.insert_space_after_opening_paren_in_annotation? JavaCore.INSERT : JavaCore.DO_NOT_INSERT); 456 options.put(DefaultCodeFormatterConstants.FORMATTER_INSERT_SPACE_AFTER_OPENING_PAREN_IN_CAST, this.insert_space_after_opening_paren_in_cast? JavaCore.INSERT : JavaCore.DO_NOT_INSERT); 457 options.put(DefaultCodeFormatterConstants.FORMATTER_INSERT_SPACE_AFTER_OPENING_PAREN_IN_CATCH, this.insert_space_after_opening_paren_in_catch? JavaCore.INSERT : JavaCore.DO_NOT_INSERT); 458 options.put(DefaultCodeFormatterConstants.FORMATTER_INSERT_SPACE_AFTER_OPENING_PAREN_IN_CONSTRUCTOR_DECLARATION, this.insert_space_after_opening_paren_in_constructor_declaration? JavaCore.INSERT : JavaCore.DO_NOT_INSERT); 459 options.put(DefaultCodeFormatterConstants.FORMATTER_INSERT_SPACE_AFTER_OPENING_PAREN_IN_ENUM_CONSTANT, this.insert_space_after_opening_paren_in_enum_constant? JavaCore.INSERT : JavaCore.DO_NOT_INSERT); 460 options.put(DefaultCodeFormatterConstants.FORMATTER_INSERT_SPACE_AFTER_OPENING_PAREN_IN_FOR, this.insert_space_after_opening_paren_in_for? JavaCore.INSERT : JavaCore.DO_NOT_INSERT); 461 options.put(DefaultCodeFormatterConstants.FORMATTER_INSERT_SPACE_AFTER_OPENING_PAREN_IN_IF, this.insert_space_after_opening_paren_in_if? JavaCore.INSERT : JavaCore.DO_NOT_INSERT); 462 options.put(DefaultCodeFormatterConstants.FORMATTER_INSERT_SPACE_AFTER_OPENING_PAREN_IN_METHOD_DECLARATION, this.insert_space_after_opening_paren_in_method_declaration? JavaCore.INSERT : JavaCore.DO_NOT_INSERT); 463 options.put(DefaultCodeFormatterConstants.FORMATTER_INSERT_SPACE_AFTER_OPENING_PAREN_IN_METHOD_INVOCATION, this.insert_space_after_opening_paren_in_method_invocation? JavaCore.INSERT : JavaCore.DO_NOT_INSERT); 464 options.put(DefaultCodeFormatterConstants.FORMATTER_INSERT_SPACE_AFTER_OPENING_PAREN_IN_PARENTHESIZED_EXPRESSION, this.insert_space_after_opening_paren_in_parenthesized_expression? JavaCore.INSERT : JavaCore.DO_NOT_INSERT); 465 options.put(DefaultCodeFormatterConstants.FORMATTER_INSERT_SPACE_AFTER_OPENING_PAREN_IN_SWITCH, this.insert_space_after_opening_paren_in_switch? JavaCore.INSERT : JavaCore.DO_NOT_INSERT); 466 options.put(DefaultCodeFormatterConstants.FORMATTER_INSERT_SPACE_AFTER_OPENING_PAREN_IN_SYNCHRONIZED, this.insert_space_after_opening_paren_in_synchronized? JavaCore.INSERT : JavaCore.DO_NOT_INSERT); 467 options.put(DefaultCodeFormatterConstants.FORMATTER_INSERT_SPACE_AFTER_OPENING_PAREN_IN_WHILE, this.insert_space_after_opening_paren_in_while? JavaCore.INSERT : JavaCore.DO_NOT_INSERT); 468 options.put(DefaultCodeFormatterConstants.FORMATTER_INSERT_SPACE_AFTER_POSTFIX_OPERATOR, this.insert_space_after_postfix_operator? JavaCore.INSERT : JavaCore.DO_NOT_INSERT); 469 options.put(DefaultCodeFormatterConstants.FORMATTER_INSERT_SPACE_AFTER_PREFIX_OPERATOR, this.insert_space_after_prefix_operator? JavaCore.INSERT : JavaCore.DO_NOT_INSERT); 470 options.put(DefaultCodeFormatterConstants.FORMATTER_INSERT_SPACE_AFTER_QUESTION_IN_CONDITIONAL, this.insert_space_after_question_in_conditional? JavaCore.INSERT : JavaCore.DO_NOT_INSERT); 471 options.put(DefaultCodeFormatterConstants.FORMATTER_INSERT_SPACE_AFTER_QUESTION_IN_WILDCARD, this.insert_space_after_question_in_wilcard? JavaCore.INSERT : JavaCore.DO_NOT_INSERT); 472 options.put(DefaultCodeFormatterConstants.FORMATTER_INSERT_SPACE_AFTER_SEMICOLON_IN_FOR, this.insert_space_after_semicolon_in_for? JavaCore.INSERT : JavaCore.DO_NOT_INSERT); 473 options.put(DefaultCodeFormatterConstants.FORMATTER_INSERT_SPACE_AFTER_UNARY_OPERATOR, this.insert_space_after_unary_operator? JavaCore.INSERT : JavaCore.DO_NOT_INSERT); 474 options.put(DefaultCodeFormatterConstants.FORMATTER_INSERT_SPACE_BEFORE_AND_IN_TYPE_PARAMETER, this.insert_space_before_and_in_type_parameter ? JavaCore.INSERT : JavaCore.DO_NOT_INSERT); 475 options.put(DefaultCodeFormatterConstants.FORMATTER_INSERT_SPACE_BEFORE_AT_IN_ANNOTATION_TYPE_DECLARATION, this.insert_space_before_at_in_annotation_type_declaration ? JavaCore.INSERT : JavaCore.DO_NOT_INSERT); 476 options.put(DefaultCodeFormatterConstants.FORMATTER_INSERT_SPACE_BEFORE_ASSIGNMENT_OPERATOR, this.insert_space_before_assignment_operator? JavaCore.INSERT : JavaCore.DO_NOT_INSERT); 477 options.put(DefaultCodeFormatterConstants.FORMATTER_INSERT_SPACE_BEFORE_BINARY_OPERATOR, this.insert_space_before_binary_operator? JavaCore.INSERT : JavaCore.DO_NOT_INSERT); 478 options.put(DefaultCodeFormatterConstants.FORMATTER_INSERT_SPACE_BEFORE_CLOSING_ANGLE_BRACKET_IN_PARAMETERIZED_TYPE_REFERENCE, this.insert_space_before_closing_angle_bracket_in_parameterized_type_reference? JavaCore.INSERT : JavaCore.DO_NOT_INSERT); 479 options.put(DefaultCodeFormatterConstants.FORMATTER_INSERT_SPACE_BEFORE_CLOSING_ANGLE_BRACKET_IN_TYPE_ARGUMENTS, this.insert_space_before_closing_angle_bracket_in_type_arguments? JavaCore.INSERT : JavaCore.DO_NOT_INSERT); 480 options.put(DefaultCodeFormatterConstants.FORMATTER_INSERT_SPACE_BEFORE_CLOSING_ANGLE_BRACKET_IN_TYPE_PARAMETERS, this.insert_space_before_closing_angle_bracket_in_type_parameters? JavaCore.INSERT : JavaCore.DO_NOT_INSERT); 481 options.put(DefaultCodeFormatterConstants.FORMATTER_INSERT_SPACE_BEFORE_CLOSING_BRACE_IN_ARRAY_INITIALIZER, this.insert_space_before_closing_brace_in_array_initializer? JavaCore.INSERT : JavaCore.DO_NOT_INSERT); 482 options.put(DefaultCodeFormatterConstants.FORMATTER_INSERT_SPACE_BEFORE_CLOSING_BRACKET_IN_ARRAY_ALLOCATION_EXPRESSION, this.insert_space_before_closing_bracket_in_array_allocation_expression? JavaCore.INSERT : JavaCore.DO_NOT_INSERT); 483 options.put(DefaultCodeFormatterConstants.FORMATTER_INSERT_SPACE_BEFORE_CLOSING_BRACKET_IN_ARRAY_REFERENCE, this.insert_space_before_closing_bracket_in_array_reference? JavaCore.INSERT : JavaCore.DO_NOT_INSERT); 484 options.put(DefaultCodeFormatterConstants.FORMATTER_INSERT_SPACE_BEFORE_CLOSING_PAREN_IN_ANNOTATION, this.insert_space_before_closing_paren_in_annotation? JavaCore.INSERT : JavaCore.DO_NOT_INSERT); 485 options.put(DefaultCodeFormatterConstants.FORMATTER_INSERT_SPACE_BEFORE_CLOSING_PAREN_IN_CAST, this.insert_space_before_closing_paren_in_cast? JavaCore.INSERT : JavaCore.DO_NOT_INSERT); 486 options.put(DefaultCodeFormatterConstants.FORMATTER_INSERT_SPACE_BEFORE_CLOSING_PAREN_IN_CATCH, this.insert_space_before_closing_paren_in_catch? JavaCore.INSERT : JavaCore.DO_NOT_INSERT); 487 options.put(DefaultCodeFormatterConstants.FORMATTER_INSERT_SPACE_BEFORE_CLOSING_PAREN_IN_CONSTRUCTOR_DECLARATION, this.insert_space_before_closing_paren_in_constructor_declaration? JavaCore.INSERT : JavaCore.DO_NOT_INSERT); 488 options.put(DefaultCodeFormatterConstants.FORMATTER_INSERT_SPACE_BEFORE_CLOSING_PAREN_IN_ENUM_CONSTANT, this.insert_space_before_closing_paren_in_enum_constant? JavaCore.INSERT : JavaCore.DO_NOT_INSERT); 489 options.put(DefaultCodeFormatterConstants.FORMATTER_INSERT_SPACE_BEFORE_CLOSING_PAREN_IN_FOR, this.insert_space_before_closing_paren_in_for? JavaCore.INSERT : JavaCore.DO_NOT_INSERT); 490 options.put(DefaultCodeFormatterConstants.FORMATTER_INSERT_SPACE_BEFORE_CLOSING_PAREN_IN_IF, this.insert_space_before_closing_paren_in_if? JavaCore.INSERT : JavaCore.DO_NOT_INSERT); 491 options.put(DefaultCodeFormatterConstants.FORMATTER_INSERT_SPACE_BEFORE_CLOSING_PAREN_IN_METHOD_DECLARATION, this.insert_space_before_closing_paren_in_method_declaration? JavaCore.INSERT : JavaCore.DO_NOT_INSERT); 492 options.put(DefaultCodeFormatterConstants.FORMATTER_INSERT_SPACE_BEFORE_CLOSING_PAREN_IN_METHOD_INVOCATION, this.insert_space_before_closing_paren_in_method_invocation? JavaCore.INSERT : JavaCore.DO_NOT_INSERT); 493 options.put(DefaultCodeFormatterConstants.FORMATTER_INSERT_SPACE_BEFORE_CLOSING_PAREN_IN_PARENTHESIZED_EXPRESSION, this.insert_space_before_closing_paren_in_parenthesized_expression? JavaCore.INSERT : JavaCore.DO_NOT_INSERT); 494 options.put(DefaultCodeFormatterConstants.FORMATTER_INSERT_SPACE_BEFORE_CLOSING_PAREN_IN_SWITCH, this.insert_space_before_closing_paren_in_switch? JavaCore.INSERT : JavaCore.DO_NOT_INSERT); 495 options.put(DefaultCodeFormatterConstants.FORMATTER_INSERT_SPACE_BEFORE_CLOSING_PAREN_IN_SYNCHRONIZED, this.insert_space_before_closing_paren_in_synchronized? JavaCore.INSERT : JavaCore.DO_NOT_INSERT); 496 options.put(DefaultCodeFormatterConstants.FORMATTER_INSERT_SPACE_BEFORE_CLOSING_PAREN_IN_WHILE, this.insert_space_before_closing_paren_in_while? JavaCore.INSERT : JavaCore.DO_NOT_INSERT); 497 options.put(DefaultCodeFormatterConstants.FORMATTER_INSERT_SPACE_BEFORE_COLON_IN_ASSERT, this.insert_space_before_colon_in_assert? JavaCore.INSERT : JavaCore.DO_NOT_INSERT); 498 options.put(DefaultCodeFormatterConstants.FORMATTER_INSERT_SPACE_BEFORE_COLON_IN_CASE, this.insert_space_before_colon_in_case? JavaCore.INSERT : JavaCore.DO_NOT_INSERT); 499 options.put(DefaultCodeFormatterConstants.FORMATTER_INSERT_SPACE_BEFORE_COLON_IN_CONDITIONAL, this.insert_space_before_colon_in_conditional? JavaCore.INSERT : JavaCore.DO_NOT_INSERT); 500 options.put(DefaultCodeFormatterConstants.FORMATTER_INSERT_SPACE_BEFORE_COLON_IN_DEFAULT, this.insert_space_before_colon_in_default? JavaCore.INSERT : JavaCore.DO_NOT_INSERT); 501 options.put(DefaultCodeFormatterConstants.FORMATTER_INSERT_SPACE_BEFORE_COLON_IN_FOR, this.insert_space_before_colon_in_for ? JavaCore.INSERT : JavaCore.DO_NOT_INSERT); 502 options.put(DefaultCodeFormatterConstants.FORMATTER_INSERT_SPACE_BEFORE_COLON_IN_LABELED_STATEMENT, this.insert_space_before_colon_in_labeled_statement? JavaCore.INSERT : JavaCore.DO_NOT_INSERT); 503 options.put(DefaultCodeFormatterConstants.FORMATTER_INSERT_SPACE_BEFORE_COMMA_IN_ALLOCATION_EXPRESSION, this.insert_space_before_comma_in_allocation_expression? JavaCore.INSERT : JavaCore.DO_NOT_INSERT); 504 options.put(DefaultCodeFormatterConstants.FORMATTER_INSERT_SPACE_BEFORE_COMMA_IN_ANNOTATION, this.insert_space_before_comma_in_annotation? JavaCore.INSERT : JavaCore.DO_NOT_INSERT); 505 options.put(DefaultCodeFormatterConstants.FORMATTER_INSERT_SPACE_BEFORE_COMMA_IN_ARRAY_INITIALIZER, this.insert_space_before_comma_in_array_initializer? JavaCore.INSERT : JavaCore.DO_NOT_INSERT); 506 options.put(DefaultCodeFormatterConstants.FORMATTER_INSERT_SPACE_BEFORE_COMMA_IN_CONSTRUCTOR_DECLARATION_PARAMETERS, this.insert_space_before_comma_in_constructor_declaration_parameters? JavaCore.INSERT : JavaCore.DO_NOT_INSERT); 507 options.put(DefaultCodeFormatterConstants.FORMATTER_INSERT_SPACE_BEFORE_COMMA_IN_CONSTRUCTOR_DECLARATION_THROWS, this.insert_space_before_comma_in_constructor_declaration_throws? JavaCore.INSERT : JavaCore.DO_NOT_INSERT); 508 options.put(DefaultCodeFormatterConstants.FORMATTER_INSERT_SPACE_BEFORE_COMMA_IN_ENUM_CONSTANT_ARGUMENTS, this.insert_space_before_comma_in_enum_constant_arguments? JavaCore.INSERT : JavaCore.DO_NOT_INSERT); 509 options.put(DefaultCodeFormatterConstants.FORMATTER_INSERT_SPACE_BEFORE_COMMA_IN_ENUM_DECLARATIONS, this.insert_space_before_comma_in_enum_declarations? JavaCore.INSERT : JavaCore.DO_NOT_INSERT); 510 options.put(DefaultCodeFormatterConstants.FORMATTER_INSERT_SPACE_BEFORE_COMMA_IN_EXPLICIT_CONSTRUCTOR_CALL_ARGUMENTS, this.insert_space_before_comma_in_explicit_constructor_call_arguments? JavaCore.INSERT : JavaCore.DO_NOT_INSERT); 511 options.put(DefaultCodeFormatterConstants.FORMATTER_INSERT_SPACE_BEFORE_COMMA_IN_FOR_INCREMENTS, this.insert_space_before_comma_in_for_increments? JavaCore.INSERT : JavaCore.DO_NOT_INSERT); 512 options.put(DefaultCodeFormatterConstants.FORMATTER_INSERT_SPACE_BEFORE_COMMA_IN_FOR_INITS, this.insert_space_before_comma_in_for_inits? JavaCore.INSERT : JavaCore.DO_NOT_INSERT); 513 options.put(DefaultCodeFormatterConstants.FORMATTER_INSERT_SPACE_BEFORE_COMMA_IN_METHOD_INVOCATION_ARGUMENTS, this.insert_space_before_comma_in_method_invocation_arguments? JavaCore.INSERT : JavaCore.DO_NOT_INSERT); 514 options.put(DefaultCodeFormatterConstants.FORMATTER_INSERT_SPACE_BEFORE_COMMA_IN_METHOD_DECLARATION_PARAMETERS, this.insert_space_before_comma_in_method_declaration_parameters? JavaCore.INSERT : JavaCore.DO_NOT_INSERT); 515 options.put(DefaultCodeFormatterConstants.FORMATTER_INSERT_SPACE_BEFORE_COMMA_IN_METHOD_DECLARATION_THROWS, this.insert_space_before_comma_in_method_declaration_throws? JavaCore.INSERT : JavaCore.DO_NOT_INSERT); 516 options.put(DefaultCodeFormatterConstants.FORMATTER_INSERT_SPACE_BEFORE_COMMA_IN_MULTIPLE_FIELD_DECLARATIONS, this.insert_space_before_comma_in_multiple_field_declarations? JavaCore.INSERT : JavaCore.DO_NOT_INSERT); 517 options.put(DefaultCodeFormatterConstants.FORMATTER_INSERT_SPACE_BEFORE_COMMA_IN_MULTIPLE_LOCAL_DECLARATIONS, this.insert_space_before_comma_in_multiple_local_declarations? JavaCore.INSERT : JavaCore.DO_NOT_INSERT); 518 options.put(DefaultCodeFormatterConstants.FORMATTER_INSERT_SPACE_BEFORE_COMMA_IN_SUPERINTERFACES, this.insert_space_before_comma_in_superinterfaces? JavaCore.INSERT : JavaCore.DO_NOT_INSERT); 519 options.put(DefaultCodeFormatterConstants.FORMATTER_INSERT_SPACE_BEFORE_COMMA_IN_TYPE_ARGUMENTS, this.insert_space_before_comma_in_type_arguments ? JavaCore.INSERT : JavaCore.DO_NOT_INSERT); 520 options.put(DefaultCodeFormatterConstants.FORMATTER_INSERT_SPACE_BEFORE_COMMA_IN_TYPE_PARAMETERS, this.insert_space_before_comma_in_type_parameters? JavaCore.INSERT : JavaCore.DO_NOT_INSERT); 521 options.put(DefaultCodeFormatterConstants.FORMATTER_INSERT_SPACE_BEFORE_COMMA_IN_PARAMETERIZED_TYPE_REFERENCE, this.insert_space_before_comma_in_parameterized_type_reference? JavaCore.INSERT : JavaCore.DO_NOT_INSERT); 522 options.put(DefaultCodeFormatterConstants.FORMATTER_INSERT_SPACE_BEFORE_ELLIPSIS, this.insert_space_before_ellipsis ? JavaCore.INSERT : JavaCore.DO_NOT_INSERT); 523 options.put(DefaultCodeFormatterConstants.FORMATTER_INSERT_SPACE_BEFORE_OPENING_ANGLE_BRACKET_IN_PARAMETERIZED_TYPE_REFERENCE, this.insert_space_before_opening_angle_bracket_in_parameterized_type_reference? JavaCore.INSERT : JavaCore.DO_NOT_INSERT); 524 options.put(DefaultCodeFormatterConstants.FORMATTER_INSERT_SPACE_BEFORE_OPENING_ANGLE_BRACKET_IN_TYPE_ARGUMENTS, this.insert_space_before_opening_angle_bracket_in_type_arguments? JavaCore.INSERT : JavaCore.DO_NOT_INSERT); 525 options.put(DefaultCodeFormatterConstants.FORMATTER_INSERT_SPACE_BEFORE_OPENING_ANGLE_BRACKET_IN_TYPE_PARAMETERS, this.insert_space_before_opening_angle_bracket_in_type_parameters? JavaCore.INSERT : JavaCore.DO_NOT_INSERT); 526 options.put(DefaultCodeFormatterConstants.FORMATTER_INSERT_SPACE_BEFORE_OPENING_BRACE_IN_ANNOTATION_TYPE_DECLARATION, this.insert_space_before_opening_brace_in_annotation_type_declaration ? JavaCore.INSERT : JavaCore.DO_NOT_INSERT); 527 options.put(DefaultCodeFormatterConstants.FORMATTER_INSERT_SPACE_BEFORE_OPENING_BRACE_IN_ANONYMOUS_TYPE_DECLARATION, this.insert_space_before_opening_brace_in_anonymous_type_declaration? JavaCore.INSERT : JavaCore.DO_NOT_INSERT); 528 options.put(DefaultCodeFormatterConstants.FORMATTER_INSERT_SPACE_BEFORE_OPENING_BRACE_IN_ARRAY_INITIALIZER, this.insert_space_before_opening_brace_in_array_initializer? JavaCore.INSERT : JavaCore.DO_NOT_INSERT); 529 options.put(DefaultCodeFormatterConstants.FORMATTER_INSERT_SPACE_BEFORE_OPENING_BRACE_IN_BLOCK, this.insert_space_before_opening_brace_in_block? JavaCore.INSERT : JavaCore.DO_NOT_INSERT); 530 options.put(DefaultCodeFormatterConstants.FORMATTER_INSERT_SPACE_BEFORE_OPENING_BRACE_IN_CONSTRUCTOR_DECLARATION, this.insert_space_before_opening_brace_in_constructor_declaration? JavaCore.INSERT : JavaCore.DO_NOT_INSERT); 531 options.put(DefaultCodeFormatterConstants.FORMATTER_INSERT_SPACE_BEFORE_OPENING_BRACE_IN_ENUM_CONSTANT, this.insert_space_before_opening_brace_in_enum_constant? JavaCore.INSERT : JavaCore.DO_NOT_INSERT); 532 options.put(DefaultCodeFormatterConstants.FORMATTER_INSERT_SPACE_BEFORE_OPENING_BRACE_IN_ENUM_DECLARATION, this.insert_space_before_opening_brace_in_enum_declaration? JavaCore.INSERT : JavaCore.DO_NOT_INSERT); 533 options.put(DefaultCodeFormatterConstants.FORMATTER_INSERT_SPACE_BEFORE_OPENING_BRACE_IN_METHOD_DECLARATION, this.insert_space_before_opening_brace_in_method_declaration? JavaCore.INSERT : JavaCore.DO_NOT_INSERT); 534 options.put(DefaultCodeFormatterConstants.FORMATTER_INSERT_SPACE_BEFORE_OPENING_BRACE_IN_TYPE_DECLARATION, this.insert_space_before_opening_brace_in_type_declaration? JavaCore.INSERT : JavaCore.DO_NOT_INSERT); 535 options.put(DefaultCodeFormatterConstants.FORMATTER_INSERT_SPACE_BEFORE_OPENING_BRACKET_IN_ARRAY_ALLOCATION_EXPRESSION, this.insert_space_before_opening_bracket_in_array_allocation_expression ? JavaCore.INSERT : JavaCore.DO_NOT_INSERT); 536 options.put(DefaultCodeFormatterConstants.FORMATTER_INSERT_SPACE_BEFORE_OPENING_BRACKET_IN_ARRAY_REFERENCE, this.insert_space_before_opening_bracket_in_array_reference? JavaCore.INSERT : JavaCore.DO_NOT_INSERT); 537 options.put(DefaultCodeFormatterConstants.FORMATTER_INSERT_SPACE_BEFORE_OPENING_BRACKET_IN_ARRAY_TYPE_REFERENCE, this.insert_space_before_opening_bracket_in_array_type_reference? JavaCore.INSERT : JavaCore.DO_NOT_INSERT); 538 options.put(DefaultCodeFormatterConstants.FORMATTER_INSERT_SPACE_BEFORE_OPENING_PAREN_IN_ANNOTATION, this.insert_space_before_opening_paren_in_annotation? JavaCore.INSERT : JavaCore.DO_NOT_INSERT); 539 options.put(DefaultCodeFormatterConstants.FORMATTER_INSERT_SPACE_BEFORE_OPENING_PAREN_IN_ANNOTATION_TYPE_MEMBER_DECLARATION, this.insert_space_before_opening_paren_in_annotation_type_member_declaration ? JavaCore.INSERT : JavaCore.DO_NOT_INSERT); 540 options.put(DefaultCodeFormatterConstants.FORMATTER_INSERT_SPACE_BEFORE_OPENING_PAREN_IN_CATCH, this.insert_space_before_opening_paren_in_catch? JavaCore.INSERT : JavaCore.DO_NOT_INSERT); 541 options.put(DefaultCodeFormatterConstants.FORMATTER_INSERT_SPACE_BEFORE_OPENING_PAREN_IN_CONSTRUCTOR_DECLARATION, this.insert_space_before_opening_paren_in_constructor_declaration? JavaCore.INSERT : JavaCore.DO_NOT_INSERT); 542 options.put(DefaultCodeFormatterConstants.FORMATTER_INSERT_SPACE_BEFORE_OPENING_PAREN_IN_ENUM_CONSTANT, this.insert_space_before_opening_paren_in_enum_constant? JavaCore.INSERT : JavaCore.DO_NOT_INSERT); 543 options.put(DefaultCodeFormatterConstants.FORMATTER_INSERT_SPACE_BEFORE_OPENING_PAREN_IN_FOR, this.insert_space_before_opening_paren_in_for? JavaCore.INSERT : JavaCore.DO_NOT_INSERT); 544 options.put(DefaultCodeFormatterConstants.FORMATTER_INSERT_SPACE_BEFORE_OPENING_PAREN_IN_IF, this.insert_space_before_opening_paren_in_if? JavaCore.INSERT : JavaCore.DO_NOT_INSERT); 545 options.put(DefaultCodeFormatterConstants.FORMATTER_INSERT_SPACE_BEFORE_OPENING_PAREN_IN_METHOD_INVOCATION, this.insert_space_before_opening_paren_in_method_invocation? JavaCore.INSERT : JavaCore.DO_NOT_INSERT); 546 options.put(DefaultCodeFormatterConstants.FORMATTER_INSERT_SPACE_BEFORE_OPENING_PAREN_IN_METHOD_DECLARATION, this.insert_space_before_opening_paren_in_method_declaration? JavaCore.INSERT : JavaCore.DO_NOT_INSERT); 547 options.put(DefaultCodeFormatterConstants.FORMATTER_INSERT_SPACE_BEFORE_OPENING_PAREN_IN_SWITCH, this.insert_space_before_opening_paren_in_switch? JavaCore.INSERT : JavaCore.DO_NOT_INSERT); 548 options.put(DefaultCodeFormatterConstants.FORMATTER_INSERT_SPACE_BEFORE_OPENING_BRACE_IN_SWITCH, this.insert_space_before_opening_brace_in_switch? JavaCore.INSERT : JavaCore.DO_NOT_INSERT); 549 options.put(DefaultCodeFormatterConstants.FORMATTER_INSERT_SPACE_BEFORE_OPENING_PAREN_IN_SYNCHRONIZED, this.insert_space_before_opening_paren_in_synchronized? JavaCore.INSERT : JavaCore.DO_NOT_INSERT); 550 options.put(DefaultCodeFormatterConstants.FORMATTER_INSERT_SPACE_BEFORE_OPENING_PAREN_IN_PARENTHESIZED_EXPRESSION, this.insert_space_before_opening_paren_in_parenthesized_expression? JavaCore.INSERT : JavaCore.DO_NOT_INSERT); 551 options.put(DefaultCodeFormatterConstants.FORMATTER_INSERT_SPACE_BEFORE_OPENING_PAREN_IN_WHILE, this.insert_space_before_opening_paren_in_while? JavaCore.INSERT : JavaCore.DO_NOT_INSERT); 552 options.put(DefaultCodeFormatterConstants.FORMATTER_INSERT_SPACE_BEFORE_PARENTHESIZED_EXPRESSION_IN_RETURN, this.insert_space_before_parenthesized_expression_in_return ? JavaCore.INSERT : JavaCore.DO_NOT_INSERT); 553 options.put(DefaultCodeFormatterConstants.FORMATTER_INSERT_SPACE_BEFORE_PARENTHESIZED_EXPRESSION_IN_THROW, this.insert_space_before_parenthesized_expression_in_throw ? JavaCore.INSERT : JavaCore.DO_NOT_INSERT); 554 options.put(DefaultCodeFormatterConstants.FORMATTER_INSERT_SPACE_BEFORE_POSTFIX_OPERATOR, this.insert_space_before_postfix_operator? JavaCore.INSERT : JavaCore.DO_NOT_INSERT); 555 options.put(DefaultCodeFormatterConstants.FORMATTER_INSERT_SPACE_BEFORE_PREFIX_OPERATOR, this.insert_space_before_prefix_operator? JavaCore.INSERT : JavaCore.DO_NOT_INSERT); 556 options.put(DefaultCodeFormatterConstants.FORMATTER_INSERT_SPACE_BEFORE_QUESTION_IN_CONDITIONAL, this.insert_space_before_question_in_conditional? JavaCore.INSERT : JavaCore.DO_NOT_INSERT); 557 options.put(DefaultCodeFormatterConstants.FORMATTER_INSERT_SPACE_BEFORE_QUESTION_IN_WILDCARD, this.insert_space_before_question_in_wilcard? JavaCore.INSERT : JavaCore.DO_NOT_INSERT); 558 options.put(DefaultCodeFormatterConstants.FORMATTER_INSERT_SPACE_BEFORE_SEMICOLON, this.insert_space_before_semicolon? JavaCore.INSERT : JavaCore.DO_NOT_INSERT); 559 options.put(DefaultCodeFormatterConstants.FORMATTER_INSERT_SPACE_BEFORE_SEMICOLON_IN_FOR, this.insert_space_before_semicolon_in_for? JavaCore.INSERT : JavaCore.DO_NOT_INSERT); 560 options.put(DefaultCodeFormatterConstants.FORMATTER_INSERT_SPACE_BEFORE_UNARY_OPERATOR, this.insert_space_before_unary_operator? JavaCore.INSERT : JavaCore.DO_NOT_INSERT); 561 options.put(DefaultCodeFormatterConstants.FORMATTER_INSERT_SPACE_BETWEEN_BRACKETS_IN_ARRAY_TYPE_REFERENCE, this.insert_space_between_brackets_in_array_type_reference? JavaCore.INSERT : JavaCore.DO_NOT_INSERT); 562 options.put(DefaultCodeFormatterConstants.FORMATTER_INSERT_SPACE_BETWEEN_EMPTY_BRACES_IN_ARRAY_INITIALIZER, this.insert_space_between_empty_braces_in_array_initializer? JavaCore.INSERT : JavaCore.DO_NOT_INSERT); 563 options.put(DefaultCodeFormatterConstants.FORMATTER_INSERT_SPACE_BETWEEN_EMPTY_BRACKETS_IN_ARRAY_ALLOCATION_EXPRESSION, this.insert_space_between_empty_brackets_in_array_allocation_expression? JavaCore.INSERT : JavaCore.DO_NOT_INSERT); 564 options.put(DefaultCodeFormatterConstants.FORMATTER_INSERT_SPACE_BETWEEN_EMPTY_PARENS_IN_ANNOTATION_TYPE_MEMBER_DECLARATION, this.insert_space_between_empty_parens_in_annotation_type_member_declaration? JavaCore.INSERT : JavaCore.DO_NOT_INSERT); 565 options.put(DefaultCodeFormatterConstants.FORMATTER_INSERT_SPACE_BETWEEN_EMPTY_PARENS_IN_CONSTRUCTOR_DECLARATION, this.insert_space_between_empty_parens_in_constructor_declaration? JavaCore.INSERT : JavaCore.DO_NOT_INSERT); 566 options.put(DefaultCodeFormatterConstants.FORMATTER_INSERT_SPACE_BETWEEN_EMPTY_PARENS_IN_ENUM_CONSTANT, this.insert_space_between_empty_parens_in_enum_constant? JavaCore.INSERT : JavaCore.DO_NOT_INSERT); 567 options.put(DefaultCodeFormatterConstants.FORMATTER_INSERT_SPACE_BETWEEN_EMPTY_PARENS_IN_METHOD_DECLARATION, this.insert_space_between_empty_parens_in_method_declaration? JavaCore.INSERT : JavaCore.DO_NOT_INSERT); 568 options.put(DefaultCodeFormatterConstants.FORMATTER_INSERT_SPACE_BETWEEN_EMPTY_PARENS_IN_METHOD_INVOCATION, this.insert_space_between_empty_parens_in_method_invocation? JavaCore.INSERT : JavaCore.DO_NOT_INSERT); 569 options.put(DefaultCodeFormatterConstants.FORMATTER_COMPACT_ELSE_IF, this.compact_else_if ? DefaultCodeFormatterConstants.TRUE : DefaultCodeFormatterConstants.FALSE); 570 options.put(DefaultCodeFormatterConstants.FORMATTER_KEEP_GUARDIAN_CLAUSE_ON_ONE_LINE, this.keep_guardian_clause_on_one_line ? DefaultCodeFormatterConstants.TRUE : DefaultCodeFormatterConstants.FALSE); 571 options.put(DefaultCodeFormatterConstants.FORMATTER_KEEP_ELSE_STATEMENT_ON_SAME_LINE, this.keep_else_statement_on_same_line ? DefaultCodeFormatterConstants.TRUE : DefaultCodeFormatterConstants.FALSE); 572 options.put(DefaultCodeFormatterConstants.FORMATTER_KEEP_EMPTY_ARRAY_INITIALIZER_ON_ONE_LINE, this.keep_empty_array_initializer_on_one_line ? DefaultCodeFormatterConstants.TRUE : DefaultCodeFormatterConstants.FALSE); 573 options.put(DefaultCodeFormatterConstants.FORMATTER_KEEP_SIMPLE_IF_ON_ONE_LINE, this.keep_simple_if_on_one_line ? DefaultCodeFormatterConstants.TRUE : DefaultCodeFormatterConstants.FALSE); 574 options.put(DefaultCodeFormatterConstants.FORMATTER_KEEP_THEN_STATEMENT_ON_SAME_LINE, this.keep_then_statement_on_same_line ? DefaultCodeFormatterConstants.TRUE : DefaultCodeFormatterConstants.FALSE); 575 options.put(DefaultCodeFormatterConstants.FORMATTER_NEVER_INDENT_BLOCK_COMMENTS_ON_FIRST_COLUMN, this.never_indent_block_comments_on_first_column ? DefaultCodeFormatterConstants.TRUE : DefaultCodeFormatterConstants.FALSE); 576 options.put(DefaultCodeFormatterConstants.FORMATTER_NEVER_INDENT_LINE_COMMENTS_ON_FIRST_COLUMN, this.never_indent_line_comments_on_first_column ? DefaultCodeFormatterConstants.TRUE : DefaultCodeFormatterConstants.FALSE); 577 options.put(DefaultCodeFormatterConstants.FORMATTER_NUMBER_OF_EMPTY_LINES_TO_PRESERVE, Integer.toString(this.number_of_empty_lines_to_preserve)); 578 options.put(DefaultCodeFormatterConstants.FORMATTER_PUT_EMPTY_STATEMENT_ON_NEW_LINE, this.put_empty_statement_on_new_line ? DefaultCodeFormatterConstants.TRUE : DefaultCodeFormatterConstants.FALSE); 579 options.put(DefaultCodeFormatterConstants.FORMATTER_LINE_SPLIT, Integer.toString(this.page_width)); 580 switch(this.tab_char) { 581 case SPACE : 582 options.put(DefaultCodeFormatterConstants.FORMATTER_TAB_CHAR, JavaCore.SPACE); 583 break; 584 case TAB : 585 options.put(DefaultCodeFormatterConstants.FORMATTER_TAB_CHAR, JavaCore.TAB); 586 break; 587 case MIXED : 588 options.put(DefaultCodeFormatterConstants.FORMATTER_TAB_CHAR, DefaultCodeFormatterConstants.MIXED); 589 break; 590 } 591 options.put(DefaultCodeFormatterConstants.FORMATTER_TAB_SIZE, Integer.toString(this.tab_size)); 592 options.put(DefaultCodeFormatterConstants.FORMATTER_USE_TABS_ONLY_FOR_LEADING_INDENTATIONS, this.use_tabs_only_for_leading_indentations ? DefaultCodeFormatterConstants.TRUE : DefaultCodeFormatterConstants.FALSE); 593 options.put(DefaultCodeFormatterConstants.FORMATTER_WRAP_BEFORE_BINARY_OPERATOR, this.wrap_before_binary_operator ? DefaultCodeFormatterConstants.TRUE : DefaultCodeFormatterConstants.FALSE); 594 return options; 595 } 596 597 public void set(Map settings) { 598 final Object alignmentForArgumentsInAllocationExpressionOption = settings.get(DefaultCodeFormatterConstants.FORMATTER_ALIGNMENT_FOR_ARGUMENTS_IN_ALLOCATION_EXPRESSION); 599 if (alignmentForArgumentsInAllocationExpressionOption != null) { 600 try { 601 this.alignment_for_arguments_in_allocation_expression = Integer.parseInt((String ) alignmentForArgumentsInAllocationExpressionOption); 602 } catch (NumberFormatException e) { 603 this.alignment_for_arguments_in_allocation_expression = Alignment.M_COMPACT_SPLIT; 604 } catch (ClassCastException e) { 605 this.alignment_for_arguments_in_allocation_expression = Alignment.M_COMPACT_SPLIT; 606 } 607 } 608 final Object alignmentForArgumentsInEnumConstantOption = settings.get(DefaultCodeFormatterConstants.FORMATTER_ALIGNMENT_FOR_ARGUMENTS_IN_ENUM_CONSTANT); 609 if (alignmentForArgumentsInEnumConstantOption != null) { 610 try { 611 this.alignment_for_arguments_in_enum_constant = Integer.parseInt((String ) alignmentForArgumentsInEnumConstantOption); 612 } catch (NumberFormatException e) { 613 this.alignment_for_arguments_in_enum_constant = Alignment.M_COMPACT_SPLIT; 614 } catch (ClassCastException e) { 615 this.alignment_for_arguments_in_enum_constant = Alignment.M_COMPACT_SPLIT; 616 } 617 } 618 final Object alignmentForArgumentsInExplicitConstructorCallOption = settings.get(DefaultCodeFormatterConstants.FORMATTER_ALIGNMENT_FOR_ARGUMENTS_IN_EXPLICIT_CONSTRUCTOR_CALL); 619 if (alignmentForArgumentsInExplicitConstructorCallOption != null) { 620 try { 621 this.alignment_for_arguments_in_explicit_constructor_call = Integer.parseInt((String ) alignmentForArgumentsInExplicitConstructorCallOption); 622 } catch (NumberFormatException e) { 623 this.alignment_for_arguments_in_explicit_constructor_call = Alignment.M_COMPACT_SPLIT; 624 } catch (ClassCastException e) { 625 this.alignment_for_arguments_in_explicit_constructor_call = Alignment.M_COMPACT_SPLIT; 626 } 627 } 628 final Object alignmentForArgumentsInMethodInvocationOption = settings.get(DefaultCodeFormatterConstants.FORMATTER_ALIGNMENT_FOR_ARGUMENTS_IN_METHOD_INVOCATION); 629 if (alignmentForArgumentsInMethodInvocationOption != null) { 630 try { 631 this.alignment_for_arguments_in_method_invocation = Integer.parseInt((String ) alignmentForArgumentsInMethodInvocationOption); 632 } catch (NumberFormatException e) { 633 this.alignment_for_arguments_in_method_invocation = Alignment.M_COMPACT_SPLIT; 634 } catch (ClassCastException e) { 635 this.alignment_for_arguments_in_method_invocation = Alignment.M_COMPACT_SPLIT; 636 } 637 } 638 final Object alignmentForArgumentsInQualifiedAllocationExpressionOption = settings.get(DefaultCodeFormatterConstants.FORMATTER_ALIGNMENT_FOR_ARGUMENTS_IN_QUALIFIED_ALLOCATION_EXPRESSION); 639 if (alignmentForArgumentsInQualifiedAllocationExpressionOption != null) { 640 try { 641 this.alignment_for_arguments_in_qualified_allocation_expression = Integer.parseInt((String ) alignmentForArgumentsInQualifiedAllocationExpressionOption); 642 } catch (NumberFormatException e) { 643 this.alignment_for_arguments_in_qualified_allocation_expression = Alignment.M_COMPACT_SPLIT; 644 } catch (ClassCastException e) { 645 this.alignment_for_arguments_in_qualified_allocation_expression = Alignment.M_COMPACT_SPLIT; 646 } 647 } 648 final Object alignmentForAssignmentOption = settings.get(DefaultCodeFormatterConstants.FORMATTER_ALIGNMENT_FOR_ASSIGNMENT); 649 if (alignmentForAssignmentOption != null) { 650 try { 651 this.alignment_for_assignment = Integer.parseInt((String ) alignmentForAssignmentOption); 652 } catch (NumberFormatException e) { 653 this.alignment_for_assignment = Alignment.M_ONE_PER_LINE_SPLIT; 654 } catch (ClassCastException e) { 655 this.alignment_for_assignment = Alignment.M_ONE_PER_LINE_SPLIT; 656 } 657 } 658 final Object alignmentForBinaryExpressionOption = settings.get(DefaultCodeFormatterConstants.FORMATTER_ALIGNMENT_FOR_BINARY_EXPRESSION); 659 if (alignmentForBinaryExpressionOption != null) { 660 try { 661 this.alignment_for_binary_expression = Integer.parseInt((String ) alignmentForBinaryExpressionOption); 662 } catch (NumberFormatException e) { 663 this.alignment_for_binary_expression = Alignment.M_COMPACT_SPLIT; 664 } catch (ClassCastException e) { 665 this.alignment_for_binary_expression = Alignment.M_COMPACT_SPLIT; 666 } 667 } 668 final Object alignmentForCompactIfOption = settings.get(DefaultCodeFormatterConstants.FORMATTER_ALIGNMENT_FOR_COMPACT_IF); 669 if (alignmentForCompactIfOption != null) { 670 try { 671 this.alignment_for_compact_if = Integer.parseInt((String ) alignmentForCompactIfOption); 672 } catch (NumberFormatException e) { 673 this.alignment_for_compact_if = Alignment.M_ONE_PER_LINE_SPLIT | Alignment.M_INDENT_BY_ONE; 674 } catch (ClassCastException e) { 675 this.alignment_for_compact_if = Alignment.M_ONE_PER_LINE_SPLIT | Alignment.M_INDENT_BY_ONE; 676 } 677 } 678 final Object alignmentForConditionalExpressionOption = settings.get(DefaultCodeFormatterConstants.FORMATTER_ALIGNMENT_FOR_CONDITIONAL_EXPRESSION); 679 if (alignmentForConditionalExpressionOption != null) { 680 try { 681 this.alignment_for_conditional_expression = Integer.parseInt((String ) alignmentForConditionalExpressionOption); 682 } catch (NumberFormatException e) { 683 this.alignment_for_conditional_expression = Alignment.M_ONE_PER_LINE_SPLIT; 684 } catch (ClassCastException e) { 685 this.alignment_for_conditional_expression = Alignment.M_ONE_PER_LINE_SPLIT; 686 } 687 } 688 final Object alignmentForEnumConstantsOption = settings.get(DefaultCodeFormatterConstants.FORMATTER_ALIGNMENT_FOR_ENUM_CONSTANTS); 689 if (alignmentForEnumConstantsOption != null) { 690 try { 691 this.alignment_for_enum_constants = Integer.parseInt((String ) alignmentForEnumConstantsOption); 692 } catch (NumberFormatException e) { 693 this.alignment_for_enum_constants = Alignment.NONE; 694 } catch (ClassCastException e) { 695 this.alignment_for_enum_constants = Alignment.NONE; 696 } 697 } 698 final Object alignmentForExpressionsInArrayInitializerOption = settings.get(DefaultCodeFormatterConstants.FORMATTER_ALIGNMENT_FOR_EXPRESSIONS_IN_ARRAY_INITIALIZER); 699 if (alignmentForExpressionsInArrayInitializerOption != null) { 700 try { 701 this.alignment_for_expressions_in_array_initializer = Integer.parseInt((String ) alignmentForExpressionsInArrayInitializerOption); 702 } catch (NumberFormatException e) { 703 this.alignment_for_expressions_in_array_initializer = Alignment.M_COMPACT_SPLIT; 704 } catch (ClassCastException e) { 705 this.alignment_for_expressions_in_array_initializer = Alignment.M_COMPACT_SPLIT; 706 } 707 } 708 final Object alignmentForMultipleFieldsOption = settings.get(DefaultCodeFormatterConstants.FORMATTER_ALIGNMENT_FOR_MULTIPLE_FIELDS); 709 if (alignmentForMultipleFieldsOption != null) { 710 try { 711 this.alignment_for_multiple_fields = Integer.parseInt((String ) alignmentForMultipleFieldsOption); 712 } catch (NumberFormatException e) { 713 this.alignment_for_multiple_fields = Alignment.M_COMPACT_SPLIT; 714 } catch (ClassCastException e) { 715 this.alignment_for_multiple_fields = Alignment.M_COMPACT_SPLIT; 716 } 717 } 718 final Object alignmentForParametersInConstructorDeclarationOption = settings.get(DefaultCodeFormatterConstants.FORMATTER_ALIGNMENT_FOR_PARAMETERS_IN_CONSTRUCTOR_DECLARATION); 719 if (alignmentForParametersInConstructorDeclarationOption != null) { 720 try { 721 this.alignment_for_parameters_in_constructor_declaration = Integer.parseInt((String ) alignmentForParametersInConstructorDeclarationOption); 722 } catch (NumberFormatException e) { 723 this.alignment_for_parameters_in_constructor_declaration = Alignment.M_COMPACT_SPLIT; 724 } catch (ClassCastException e) { 725 this.alignment_for_parameters_in_constructor_declaration = Alignment.M_COMPACT_SPLIT; 726 } 727 } 728 final Object alignmentForParametersInMethodDeclarationOption = settings.get(DefaultCodeFormatterConstants.FORMATTER_ALIGNMENT_FOR_PARAMETERS_IN_METHOD_DECLARATION); 729 if (alignmentForParametersInMethodDeclarationOption != null) { 730 try { 731 this.alignment_for_parameters_in_method_declaration = Integer.parseInt((String ) alignmentForParametersInMethodDeclarationOption); 732 } catch (NumberFormatException e) { 733 this.alignment_for_parameters_in_method_declaration = Alignment.M_COMPACT_SPLIT; 734 } catch(ClassCastException e) { 735 this.alignment_for_parameters_in_method_declaration = Alignment.M_COMPACT_SPLIT; 736 } 737 } 738 final Object alignmentForSelectorInMethodInvocationOption = settings.get(DefaultCodeFormatterConstants.FORMATTER_ALIGNMENT_FOR_SELECTOR_IN_METHOD_INVOCATION); 739 if (alignmentForSelectorInMethodInvocationOption != null) { 740 try { 741 this.alignment_for_selector_in_method_invocation = Integer.parseInt((String ) alignmentForSelectorInMethodInvocationOption); 742 } catch (NumberFormatException e) { 743 this.alignment_for_selector_in_method_invocation = Alignment.M_COMPACT_SPLIT; 744 } catch(ClassCastException e) { 745 this.alignment_for_selector_in_method_invocation = Alignment.M_COMPACT_SPLIT; 746 } 747 } 748 final Object alignmentForSuperclassInTypeDeclarationOption = settings.get(DefaultCodeFormatterConstants.FORMATTER_ALIGNMENT_FOR_SUPERCLASS_IN_TYPE_DECLARATION); 749 if (alignmentForSuperclassInTypeDeclarationOption != null) { 750 try { 751 this.alignment_for_superclass_in_type_declaration = Integer.parseInt((String ) alignmentForSuperclassInTypeDeclarationOption); 752 } catch (NumberFormatException e) { 753 this.alignment_for_superclass_in_type_declaration = Alignment.M_NEXT_SHIFTED_SPLIT; 754 } catch(ClassCastException e) { 755 this.alignment_for_superclass_in_type_declaration = Alignment.M_NEXT_SHIFTED_SPLIT; 756 } 757 } 758 final Object alignmentForSuperinterfacesInEnumDeclarationOption = settings.get(DefaultCodeFormatterConstants.FORMATTER_ALIGNMENT_FOR_SUPERINTERFACES_IN_ENUM_DECLARATION); 759 if (alignmentForSuperinterfacesInEnumDeclarationOption != null) { 760 try { 761 this.alignment_for_superinterfaces_in_enum_declaration = Integer.parseInt((String ) alignmentForSuperinterfacesInEnumDeclarationOption); 762 } catch (NumberFormatException e) { 763 this.alignment_for_superinterfaces_in_enum_declaration = Alignment.M_NEXT_SHIFTED_SPLIT; 764 } catch(ClassCastException e) { 765 this.alignment_for_superinterfaces_in_enum_declaration = Alignment.M_NEXT_SHIFTED_SPLIT; 766 } 767 } 768 final Object alignmentForSuperinterfacesInTypeDeclarationOption = settings.get(DefaultCodeFormatterConstants.FORMATTER_ALIGNMENT_FOR_SUPERINTERFACES_IN_TYPE_DECLARATION); 769 if (alignmentForSuperinterfacesInTypeDeclarationOption != null) { 770 try { 771 this.alignment_for_superinterfaces_in_type_declaration = Integer.parseInt((String ) alignmentForSuperinterfacesInTypeDeclarationOption); 772 } catch (NumberFormatException e) { 773 this.alignment_for_superinterfaces_in_type_declaration = Alignment.M_NEXT_SHIFTED_SPLIT; 774 } catch(ClassCastException e) { 775 this.alignment_for_superinterfaces_in_type_declaration = Alignment.M_NEXT_SHIFTED_SPLIT; 776 } 777 } 778 final Object alignmentForThrowsClauseInConstructorDeclarationOption = settings.get(DefaultCodeFormatterConstants.FORMATTER_ALIGNMENT_FOR_THROWS_CLAUSE_IN_CONSTRUCTOR_DECLARATION); 779 if (alignmentForThrowsClauseInConstructorDeclarationOption != null) { 780 try { 781 this.alignment_for_throws_clause_in_constructor_declaration = Integer.parseInt((String ) alignmentForThrowsClauseInConstructorDeclarationOption); 782 } catch (NumberFormatException e) { 783 this.alignment_for_throws_clause_in_constructor_declaration = Alignment.M_COMPACT_SPLIT; 784 } catch(ClassCastException e) { 785 this.alignment_for_throws_clause_in_constructor_declaration = Alignment.M_COMPACT_SPLIT; 786 } 787 } 788 final Object alignmentForThrowsClauseInMethodDeclarationOption = settings.get(DefaultCodeFormatterConstants.FORMATTER_ALIGNMENT_FOR_THROWS_CLAUSE_IN_METHOD_DECLARATION); 789 if (alignmentForThrowsClauseInMethodDeclarationOption != null) { 790 try { 791 this.alignment_for_throws_clause_in_method_declaration = Integer.parseInt((String ) alignmentForThrowsClauseInMethodDeclarationOption); 792 } catch (NumberFormatException e) { 793 this.alignment_for_throws_clause_in_method_declaration = Alignment.M_COMPACT_SPLIT; 794 } catch(ClassCastException e) { 795 this.alignment_for_throws_clause_in_method_declaration = Alignment.M_COMPACT_SPLIT; 796 } 797 } 798 final Object alignTypeMembersOnColumnsOption = settings.get(DefaultCodeFormatterConstants.FORMATTER_ALIGN_TYPE_MEMBERS_ON_COLUMNS); 799 if (alignTypeMembersOnColumnsOption != null) { 800 this.align_type_members_on_columns = DefaultCodeFormatterConstants.TRUE.equals(alignTypeMembersOnColumnsOption); 801 } 802 final Object bracePositionForAnnotationTypeDeclarationOption = settings.get(DefaultCodeFormatterConstants.FORMATTER_BRACE_POSITION_FOR_ANNOTATION_TYPE_DECLARATION); 803 if (bracePositionForAnnotationTypeDeclarationOption != null) { 804 try { 805 this.brace_position_for_annotation_type_declaration = (String ) bracePositionForAnnotationTypeDeclarationOption; 806 } catch(ClassCastException e) { 807 this.brace_position_for_annotation_type_declaration = DefaultCodeFormatterConstants.END_OF_LINE; 808 } 809 } 810 final Object bracePositionForAnonymousTypeDeclarationOption = settings.get(DefaultCodeFormatterConstants.FORMATTER_BRACE_POSITION_FOR_ANONYMOUS_TYPE_DECLARATION); 811 if (bracePositionForAnonymousTypeDeclarationOption != null) { 812 try { 813 this.brace_position_for_anonymous_type_declaration = (String ) bracePositionForAnonymousTypeDeclarationOption; 814 } catch(ClassCastException e) { 815 this.brace_position_for_anonymous_type_declaration = DefaultCodeFormatterConstants.END_OF_LINE; 816 } 817 } 818 final Object bracePositionForArrayInitializerOption = settings.get(DefaultCodeFormatterConstants.FORMATTER_BRACE_POSITION_FOR_ARRAY_INITIALIZER); 819 if (bracePositionForArrayInitializerOption != null) { 820 try { 821 this.brace_position_for_array_initializer = (String ) bracePositionForArrayInitializerOption; 822 } catch(ClassCastException e) { 823 this.brace_position_for_array_initializer = DefaultCodeFormatterConstants.END_OF_LINE; 824 } 825 } 826 final Object bracePositionForBlockOption = settings.get(DefaultCodeFormatterConstants.FORMATTER_BRACE_POSITION_FOR_BLOCK); 827 if (bracePositionForBlockOption != null) { 828 try { 829 this.brace_position_for_block = (String ) bracePositionForBlockOption; 830 } catch(ClassCastException e) { 831 this.brace_position_for_block = DefaultCodeFormatterConstants.END_OF_LINE; 832 } 833 } 834 final Object bracePositionForBlockInCaseOption = settings.get(DefaultCodeFormatterConstants.FORMATTER_BRACE_POSITION_FOR_BLOCK_IN_CASE); 835 if (bracePositionForBlockInCaseOption != null) { 836 try { 837 this.brace_position_for_block_in_case = (String ) bracePositionForBlockInCaseOption; 838 } catch(ClassCastException e) { 839 this.brace_position_for_block_in_case = DefaultCodeFormatterConstants.END_OF_LINE; 840 } 841 } 842 final Object bracePositionForConstructorDeclarationOption = settings.get(DefaultCodeFormatterConstants.FORMATTER_BRACE_POSITION_FOR_CONSTRUCTOR_DECLARATION); 843 if (bracePositionForConstructorDeclarationOption != null) { 844 try { 845 this.brace_position_for_constructor_declaration = (String ) bracePositionForConstructorDeclarationOption; 846 } catch(ClassCastException e) { 847 this.brace_position_for_constructor_declaration = DefaultCodeFormatterConstants.END_OF_LINE; 848 } 849 } 850 final Object bracePositionForEnumConstantOption = settings.get(DefaultCodeFormatterConstants.FORMATTER_BRACE_POSITION_FOR_ENUM_CONSTANT); 851 if (bracePositionForEnumConstantOption != null) { 852 try { 853 this.brace_position_for_enum_constant = (String ) bracePositionForEnumConstantOption; 854 } catch(ClassCastException e) { 855 this.brace_position_for_enum_constant = DefaultCodeFormatterConstants.END_OF_LINE; 856 } 857 } 858 final Object bracePositionForEnumDeclarationOption = settings.get(DefaultCodeFormatterConstants.FORMATTER_BRACE_POSITION_FOR_ENUM_DECLARATION); 859 if (bracePositionForEnumDeclarationOption != null) { 860 try { 861 this.brace_position_for_enum_declaration = (String ) bracePositionForEnumDeclarationOption; 862 } catch(ClassCastException e) { 863 this.brace_position_for_enum_declaration = DefaultCodeFormatterConstants.END_OF_LINE; 864 } 865 } 866 final Object bracePositionForMethodDeclarationOption = settings.get(DefaultCodeFormatterConstants.FORMATTER_BRACE_POSITION_FOR_METHOD_DECLARATION); 867 if (bracePositionForMethodDeclarationOption != null) { 868 try { 869 this.brace_position_for_method_declaration = (String ) bracePositionForMethodDeclarationOption; 870 } catch(ClassCastException e) { 871 this.brace_position_for_method_declaration = DefaultCodeFormatterConstants.END_OF_LINE; 872 } 873 } 874 final Object bracePositionForSwitchOption = settings.get(DefaultCodeFormatterConstants.FORMATTER_BRACE_POSITION_FOR_SWITCH); 875 if (bracePositionForSwitchOption != null) { 876 try { 877 this.brace_position_for_switch = (String ) bracePositionForSwitchOption; 878 } catch(ClassCastException e) { 879 this.brace_position_for_switch = DefaultCodeFormatterConstants.END_OF_LINE; 880 } 881 } 882 final Object bracePositionForTypeDeclarationOption = settings.get(DefaultCodeFormatterConstants.FORMATTER_BRACE_POSITION_FOR_TYPE_DECLARATION); 883 if (bracePositionForTypeDeclarationOption != null) { 884 try { 885 this.brace_position_for_type_declaration = (String ) bracePositionForTypeDeclarationOption; 886 } catch(ClassCastException e) { 887 this.brace_position_for_type_declaration = DefaultCodeFormatterConstants.END_OF_LINE; 888 } 889 } 890 final Object continuationIndentationOption = settings.get(DefaultCodeFormatterConstants.FORMATTER_CONTINUATION_INDENTATION); 891 if (continuationIndentationOption != null) { 892 try { 893 this.continuation_indentation = Integer.parseInt((String ) continuationIndentationOption); 894 } catch (NumberFormatException e) { 895 this.continuation_indentation = 2; 896 } catch(ClassCastException e) { 897 this.continuation_indentation = 2; 898 } 899 } 900 final Object continuationIndentationForArrayInitializerOption = settings.get(DefaultCodeFormatterConstants.FORMATTER_CONTINUATION_INDENTATION_FOR_ARRAY_INITIALIZER); 901 if (continuationIndentationForArrayInitializerOption != null) { 902 try { 903 this.continuation_indentation_for_array_initializer = Integer.parseInt((String ) continuationIndentationForArrayInitializerOption); 904 } catch (NumberFormatException e) { 905 this.continuation_indentation_for_array_initializer = 2; 906 } catch(ClassCastException e) { 907 this.continuation_indentation_for_array_initializer = 2; 908 } 909 } 910 final Object blankLinesAfterImportsOption = settings.get(DefaultCodeFormatterConstants.FORMATTER_BLANK_LINES_AFTER_IMPORTS); 911 if (blankLinesAfterImportsOption != null) { 912 try { 913 this.blank_lines_after_imports = Integer.parseInt((String ) blankLinesAfterImportsOption); 914 } catch (NumberFormatException e) { 915 this.blank_lines_after_imports = 0; 916 } catch(ClassCastException e) { 917 this.blank_lines_after_imports = 0; 918 } 919 } 920 final Object blankLinesAfterPackageOption = settings.get(DefaultCodeFormatterConstants.FORMATTER_BLANK_LINES_AFTER_PACKAGE); 921 if (blankLinesAfterPackageOption != null) { 922 try { 923 this.blank_lines_after_package = Integer.parseInt((String ) blankLinesAfterPackageOption); 924 } catch (NumberFormatException e) { 925 this.blank_lines_after_package = 0; 926 } catch(ClassCastException e) { 927 this.blank_lines_after_package = 0; 928 } 929 } 930 final Object blankLinesBeforeFieldOption = settings.get(DefaultCodeFormatterConstants.FORMATTER_BLANK_LINES_BEFORE_FIELD); 931 if (blankLinesBeforeFieldOption != null) { 932 try { 933 this.blank_lines_before_field = Integer.parseInt((String ) blankLinesBeforeFieldOption); 934 } catch (NumberFormatException e) { 935 this.blank_lines_before_field = 0; 936 } catch(ClassCastException e) { 937 this.blank_lines_before_field = 0; 938 } 939 } 940 final Object blankLinesBeforeFirstClassBodyDeclarationOption = settings.get(DefaultCodeFormatterConstants.FORMATTER_BLANK_LINES_BEFORE_FIRST_CLASS_BODY_DECLARATION); 941 if (blankLinesBeforeFirstClassBodyDeclarationOption != null) { 942 try { 943 this.blank_lines_before_first_class_body_declaration = Integer.parseInt((String ) blankLinesBeforeFirstClassBodyDeclarationOption); 944 } catch (NumberFormatException e) { 945 this.blank_lines_before_first_class_body_declaration = 0; 946 } catch(ClassCastException e) { 947 this.blank_lines_before_first_class_body_declaration = 0; 948 } 949 } 950 final Object blankLinesBeforeImportsOption = settings.get(DefaultCodeFormatterConstants.FORMATTER_BLANK_LINES_BEFORE_IMPORTS); 951 if (blankLinesBeforeImportsOption != null) { 952 try { 953 this.blank_lines_before_imports = Integer.parseInt((String ) blankLinesBeforeImportsOption); 954 } catch (NumberFormatException e) { 955 this.blank_lines_before_imports = 0; 956 } catch(ClassCastException e) { 957 this.blank_lines_before_imports = 0; 958 } 959 } 960 final Object blankLinesBeforeMemberTypeOption = settings.get(DefaultCodeFormatterConstants.FORMATTER_BLANK_LINES_BEFORE_MEMBER_TYPE); 961 if (blankLinesBeforeMemberTypeOption != null) { 962 try { 963 this.blank_lines_before_member_type = Integer.parseInt((String ) blankLinesBeforeMemberTypeOption); 964 } catch (NumberFormatException e) { 965 this.blank_lines_before_member_type = 0; 966 } catch(ClassCastException e) { 967 this.blank_lines_before_member_type = 0; 968 } 969 } 970 final Object blankLinesBeforeMethodOption = settings.get(DefaultCodeFormatterConstants.FORMATTER_BLANK_LINES_BEFORE_METHOD); 971 if (blankLinesBeforeMethodOption != null) { 972 try { 973 this.blank_lines_before_method = Integer.parseInt((String ) blankLinesBeforeMethodOption); 974 } catch (NumberFormatException e) { 975 this.blank_lines_before_method = 0; 976 } catch(ClassCastException e) { 977 this.blank_lines_before_method = 0; 978 } 979 } 980 final Object blankLinesBeforeNewChunkOption = settings.get(DefaultCodeFormatterConstants.FORMATTER_BLANK_LINES_BEFORE_NEW_CHUNK); 981 if (blankLinesBeforeNewChunkOption != null) { 982 try { 983 this.blank_lines_before_new_chunk = Integer.parseInt((String ) blankLinesBeforeNewChunkOption); 984 } catch (NumberFormatException e) { 985 this.blank_lines_before_new_chunk = 0; 986 } catch(ClassCastException e) { 987 this.blank_lines_before_new_chunk = 0; 988 } 989 } 990 final Object blankLinesBeforePackageOption = settings.get(DefaultCodeFormatterConstants.FORMATTER_BLANK_LINES_BEFORE_PACKAGE); 991 if (blankLinesBeforePackageOption != null) { 992 try { 993 this.blank_lines_before_package = Integer.parseInt((String ) blankLinesBeforePackageOption); 994 } catch (NumberFormatException e) { 995 this.blank_lines_before_package = 0; 996 } catch(ClassCastException e) { 997 this.blank_lines_before_package = 0; 998 } 999 } 1000 final Object blankLinesBetweenImportGroupsOption = settings.get(DefaultCodeFormatterConstants.FORMATTER_BLANK_LINES_BETWEEN_IMPORT_GROUPS); 1001 if (blankLinesBetweenImportGroupsOption != null) { 1002 try { 1003 this.blank_lines_between_import_groups = Integer.parseInt((String ) blankLinesBetweenImportGroupsOption); 1004 } catch (NumberFormatException e) { 1005 this.blank_lines_between_import_groups = 1; 1006 } catch(ClassCastException e) { 1007 this.blank_lines_between_import_groups = 1; 1008 } 1009 } 1010 final Object blankLinesBetweenTypeDeclarationsOption = settings.get(DefaultCodeFormatterConstants.FORMATTER_BLANK_LINES_BETWEEN_TYPE_DECLARATIONS); 1011 if (blankLinesBetweenTypeDeclarationsOption != null) { 1012 try { 1013 this.blank_lines_between_type_declarations = Integer.parseInt((String ) blankLinesBetweenTypeDeclarationsOption); 1014 } catch (NumberFormatException e) { 1015 this.blank_lines_between_type_declarations = 0; 1016 } catch(ClassCastException e) { 1017 this.blank_lines_between_type_declarations = 0; 1018 } 1019 } 1020 final Object blankLinesAtBeginningOfMethodBodyOption = settings.get(DefaultCodeFormatterConstants.FORMATTER_BLANK_LINES_AT_BEGINNING_OF_METHOD_BODY); 1021 if (blankLinesAtBeginningOfMethodBodyOption != null) { 1022 try { 1023 this.blank_lines_at_beginning_of_method_body = Integer.parseInt((String ) blankLinesAtBeginningOfMethodBodyOption); 1024 } catch (NumberFormatException e) { 1025 this.blank_lines_at_beginning_of_method_body = 0; 1026 } catch(ClassCastException e) { 1027 this.blank_lines_at_beginning_of_method_body = 0; 1028 } 1029 } 1030 setDeprecatedOptions(settings); 1031 final Object commentFormatJavadocCommentOption = settings.get(DefaultCodeFormatterConstants.FORMATTER_COMMENT_FORMAT_JAVADOC_COMMENT); 1032 if (commentFormatJavadocCommentOption != null) { 1033 this.comment_format_javadoc_comment = DefaultCodeFormatterConstants.TRUE.equals(commentFormatJavadocCommentOption); 1034 } 1035 final Object commentFormatBlockCommentOption = settings.get(DefaultCodeFormatterConstants.FORMATTER_COMMENT_FORMAT_BLOCK_COMMENT); 1036 if (commentFormatBlockCommentOption != null) { 1037 this.comment_format_block_comment = DefaultCodeFormatterConstants.TRUE.equals(commentFormatBlockCommentOption); 1038 } 1039 final Object commentFormatLineCommentOption = settings.get(DefaultCodeFormatterConstants.FORMATTER_COMMENT_FORMAT_LINE_COMMENT); 1040 if (commentFormatLineCommentOption != null) { 1041 this.comment_format_line_comment = DefaultCodeFormatterConstants.TRUE.equals(commentFormatLineCommentOption); 1042 } 1043 final Object commentFormatHeaderOption = settings.get(DefaultCodeFormatterConstants.FORMATTER_COMMENT_FORMAT_HEADER); 1044 if (commentFormatHeaderOption != null) { 1045 this.comment_format_header = DefaultCodeFormatterConstants.TRUE.equals(commentFormatHeaderOption); 1046 } 1047 final Object commentFormatHtmlOption = settings.get(DefaultCodeFormatterConstants.FORMATTER_COMMENT_FORMAT_HTML); 1048 if (commentFormatHtmlOption != null) { 1049 this.comment_format_html = DefaultCodeFormatterConstants.TRUE.equals(commentFormatHtmlOption); 1050 } 1051 final Object commentFormatSourceOption = settings.get(DefaultCodeFormatterConstants.FORMATTER_COMMENT_FORMAT_SOURCE); 1052 if (commentFormatSourceOption != null) { 1053 this.comment_format_source = DefaultCodeFormatterConstants.TRUE.equals(commentFormatSourceOption); 1054 } 1055 final Object commentIndentParameterDescriptionOption = settings.get(DefaultCodeFormatterConstants.FORMATTER_COMMENT_INDENT_PARAMETER_DESCRIPTION); 1056 if (commentIndentParameterDescriptionOption != null) { 1057 this.comment_indent_parameter_description = DefaultCodeFormatterConstants.TRUE.equals(commentIndentParameterDescriptionOption); 1058 } 1059 final Object commentIndentRootTagsOption = settings.get(DefaultCodeFormatterConstants.FORMATTER_COMMENT_INDENT_ROOT_TAGS); 1060 if (commentIndentRootTagsOption != null) { 1061 this.comment_indent_root_tags = DefaultCodeFormatterConstants.TRUE.equals(commentIndentRootTagsOption); 1062 } 1063 final Object commentInsertEmptyLineBeforeRootTagsOption = settings.get(DefaultCodeFormatterConstants.FORMATTER_COMMENT_INSERT_EMPTY_LINE_BEFORE_ROOT_TAGS); 1064 if (commentInsertEmptyLineBeforeRootTagsOption != null) { 1065 this.comment_insert_empty_line_before_root_tags = JavaCore.INSERT.equals(commentInsertEmptyLineBeforeRootTagsOption); 1066 } 1067 final Object commentInsertNewLineForParameterOption = settings.get(DefaultCodeFormatterConstants.FORMATTER_COMMENT_INSERT_NEW_LINE_FOR_PARAMETER); 1068 if (commentInsertNewLineForParameterOption != null) { 1069 this.comment_insert_new_line_for_parameter = JavaCore.INSERT.equals(commentInsertNewLineForParameterOption); 1070 } 1071 final Object commentLineLengthOption = settings.get(DefaultCodeFormatterConstants.FORMATTER_COMMENT_LINE_LENGTH); 1072 if (commentLineLengthOption != null) { 1073 try { 1074 this.comment_line_length = Integer.parseInt((String ) commentLineLengthOption); 1075 } catch (NumberFormatException e) { 1076 this.comment_line_length = 80; 1077 } catch(ClassCastException e) { 1078 this.comment_line_length = 80; 1079 } 1080 } 1081 final Object indentStatementsCompareToBlockOption = settings.get(DefaultCodeFormatterConstants.FORMATTER_INDENT_STATEMENTS_COMPARE_TO_BLOCK); 1082 if (indentStatementsCompareToBlockOption != null) { 1083 this.indent_statements_compare_to_block = DefaultCodeFormatterConstants.TRUE.equals(indentStatementsCompareToBlockOption); 1084 } 1085 final Object indentStatementsCompareToBodyOption = settings.get(DefaultCodeFormatterConstants.FORMATTER_INDENT_STATEMENTS_COMPARE_TO_BODY); 1086 if (indentStatementsCompareToBodyOption != null) { 1087 this.indent_statements_compare_to_body = DefaultCodeFormatterConstants.TRUE.equals(indentStatementsCompareToBodyOption); 1088 } 1089 final Object indentBodyDeclarationsCompareToAnnotationDeclarationHeaderOption = settings.get(DefaultCodeFormatterConstants.FORMATTER_INDENT_BODY_DECLARATIONS_COMPARE_TO_ANNOTATION_DECLARATION_HEADER); 1090 if (indentBodyDeclarationsCompareToAnnotationDeclarationHeaderOption != null) { 1091 this.indent_body_declarations_compare_to_annotation_declaration_header = DefaultCodeFormatterConstants.TRUE.equals(indentBodyDeclarationsCompareToAnnotationDeclarationHeaderOption); 1092 } 1093 final Object indentBodyDeclarationsCompareToEnumConstantHeaderOption = settings.get(DefaultCodeFormatterConstants.FORMATTER_INDENT_BODY_DECLARATIONS_COMPARE_TO_ENUM_CONSTANT_HEADER); 1094 if (indentBodyDeclarationsCompareToEnumConstantHeaderOption != null) { 1095 this.indent_body_declarations_compare_to_enum_constant_header = DefaultCodeFormatterConstants.TRUE.equals(indentBodyDeclarationsCompareToEnumConstantHeaderOption); 1096 } 1097 final Object indentBodyDeclarationsCompareToEnumDeclarationHeaderOption = settings.get(DefaultCodeFormatterConstants.FORMATTER_INDENT_BODY_DECLARATIONS_COMPARE_TO_ENUM_DECLARATION_HEADER); 1098 if (indentBodyDeclarationsCompareToEnumDeclarationHeaderOption != null) { 1099 this.indent_body_declarations_compare_to_enum_declaration_header = DefaultCodeFormatterConstants.TRUE.equals(indentBodyDeclarationsCompareToEnumDeclarationHeaderOption); 1100 } 1101 final Object indentBodyDeclarationsCompareToTypeHeaderOption = settings.get(DefaultCodeFormatterConstants.FORMATTER_INDENT_BODY_DECLARATIONS_COMPARE_TO_TYPE_HEADER); 1102 if (indentBodyDeclarationsCompareToTypeHeaderOption != null) { 1103 this.indent_body_declarations_compare_to_type_header = DefaultCodeFormatterConstants.TRUE.equals(indentBodyDeclarationsCompareToTypeHeaderOption); 1104 } 1105 final Object indentBreaksCompareToCasesOption = settings.get(DefaultCodeFormatterConstants.FORMATTER_INDENT_BREAKS_COMPARE_TO_CASES); 1106 if (indentBreaksCompareToCasesOption != null) { 1107 this.indent_breaks_compare_to_cases = DefaultCodeFormatterConstants.TRUE.equals(indentBreaksCompareToCasesOption); 1108 } 1109 final Object indentEmptyLinesOption = settings.get(DefaultCodeFormatterConstants.FORMATTER_INDENT_EMPTY_LINES); 1110 if (indentEmptyLinesOption != null) { 1111 this.indent_empty_lines = DefaultCodeFormatterConstants.TRUE.equals(indentEmptyLinesOption); 1112 } 1113 final Object indentSwitchstatementsCompareToCasesOption = settings.get(DefaultCodeFormatterConstants.FORMATTER_INDENT_SWITCHSTATEMENTS_COMPARE_TO_CASES); 1114 if (indentSwitchstatementsCompareToCasesOption != null) { 1115 this.indent_switchstatements_compare_to_cases = DefaultCodeFormatterConstants.TRUE.equals(indentSwitchstatementsCompareToCasesOption); 1116 } 1117 final Object indentSwitchstatementsCompareToSwitchOption = settings.get(DefaultCodeFormatterConstants.FORMATTER_INDENT_SWITCHSTATEMENTS_COMPARE_TO_SWITCH); 1118 if (indentSwitchstatementsCompareToSwitchOption != null) { 1119 this.indent_switchstatements_compare_to_switch = DefaultCodeFormatterConstants.TRUE.equals(indentSwitchstatementsCompareToSwitchOption); 1120 } 1121 final Object indentationSizeOption = settings.get(DefaultCodeFormatterConstants.FORMATTER_INDENTATION_SIZE); 1122 if (indentationSizeOption != null) { 1123 try { 1124 this.indentation_size = Integer.parseInt((String ) indentationSizeOption); 1125 } catch (NumberFormatException e) { 1126 this.indentation_size = 4; 1127 } catch(ClassCastException e) { 1128 this.indentation_size = 4; 1129 } 1130 } 1131 final Object insertNewLineAfterAnnotationOption = settings.get(DefaultCodeFormatterConstants.FORMATTER_INSERT_NEW_LINE_AFTER_ANNOTATION); 1132 if (insertNewLineAfterAnnotationOption != null) { 1133 this.insert_new_line_after_annotation = JavaCore.INSERT.equals(insertNewLineAfterAnnotationOption); 1134 } 1135 final Object insertNewLineAfterOpeningBraceInArrayInitializerOption = settings.get(DefaultCodeFormatterConstants.FORMATTER_INSERT_NEW_LINE_AFTER_OPENING_BRACE_IN_ARRAY_INITIALIZER); 1136 if (insertNewLineAfterOpeningBraceInArrayInitializerOption != null) { 1137 this.insert_new_line_after_opening_brace_in_array_initializer = JavaCore.INSERT.equals(insertNewLineAfterOpeningBraceInArrayInitializerOption); 1138 } 1139 final Object insertNewLineAtEndOfFileIfMissingOption = settings.get(DefaultCodeFormatterConstants.FORMATTER_INSERT_NEW_LINE_AT_END_OF_FILE_IF_MISSING); 1140 if (insertNewLineAtEndOfFileIfMissingOption != null) { 1141 this.insert_new_line_at_end_of_file_if_missing = JavaCore.INSERT.equals(insertNewLineAtEndOfFileIfMissingOption); 1142 } 1143 final Object insertNewLineBeforeCatchInTryStatementOption = settings.get(DefaultCodeFormatterConstants.FORMATTER_INSERT_NEW_LINE_BEFORE_CATCH_IN_TRY_STATEMENT); 1144 if (insertNewLineBeforeCatchInTryStatementOption != null) { 1145 this.insert_new_line_before_catch_in_try_statement = JavaCore.INSERT.equals(insertNewLineBeforeCatchInTryStatementOption); 1146 } 1147 final Object insertNewLineBeforeClosingBraceInArrayInitializerOption = settings.get(DefaultCodeFormatterConstants.FORMATTER_INSERT_NEW_LINE_BEFORE_CLOSING_BRACE_IN_ARRAY_INITIALIZER); 1148 if (insertNewLineBeforeClosingBraceInArrayInitializerOption != null) { 1149 this.insert_new_line_before_closing_brace_in_array_initializer = JavaCore.INSERT.equals(insertNewLineBeforeClosingBraceInArrayInitializerOption); 1150 } 1151 final Object insertNewLineBeforeElseInIfStatementOption = settings.get(DefaultCodeFormatterConstants.FORMATTER_INSERT_NEW_LINE_BEFORE_ELSE_IN_IF_STATEMENT); 1152 if (insertNewLineBeforeElseInIfStatementOption != null) { 1153 this.insert_new_line_before_else_in_if_statement = JavaCore.INSERT.equals(insertNewLineBeforeElseInIfStatementOption); 1154 } 1155 final Object insertNewLineBeforeFinallyInTryStatementOption = settings.get(DefaultCodeFormatterConstants.FORMATTER_INSERT_NEW_LINE_BEFORE_FINALLY_IN_TRY_STATEMENT); 1156 if (insertNewLineBeforeFinallyInTryStatementOption != null) { 1157 this.insert_new_line_before_finally_in_try_statement = JavaCore.INSERT.equals(insertNewLineBeforeFinallyInTryStatementOption); 1158 } 1159 final Object insertNewLineBeforeWhileInDoStatementOption = settings.get(DefaultCodeFormatterConstants.FORMATTER_INSERT_NEW_LINE_BEFORE_WHILE_IN_DO_STATEMENT); 1160 if (insertNewLineBeforeWhileInDoStatementOption != null) { 1161 this.insert_new_line_before_while_in_do_statement = JavaCore.INSERT.equals(insertNewLineBeforeWhileInDoStatementOption); 1162 } 1163 final Object insertNewLineInEmptyAnonymousTypeDeclarationOption = settings.get(DefaultCodeFormatterConstants.FORMATTER_INSERT_NEW_LINE_IN_EMPTY_ANONYMOUS_TYPE_DECLARATION); 1164 if (insertNewLineInEmptyAnonymousTypeDeclarationOption != null) { 1165 this.insert_new_line_in_empty_anonymous_type_declaration = JavaCore.INSERT.equals(insertNewLineInEmptyAnonymousTypeDeclarationOption); 1166 } 1167 final Object insertNewLineInEmptyBlockOption = settings.get(DefaultCodeFormatterConstants.FORMATTER_INSERT_NEW_LINE_IN_EMPTY_BLOCK); 1168 if (insertNewLineInEmptyBlockOption != null) { 1169 this.insert_new_line_in_empty_block = JavaCore.INSERT.equals(insertNewLineInEmptyBlockOption); 1170 } 1171 final Object insertNewLineInEmptyAnnotationDeclarationOption = settings.get(DefaultCodeFormatterConstants.FORMATTER_INSERT_NEW_LINE_IN_EMPTY_ANNOTATION_DECLARATION); 1172 if (insertNewLineInEmptyAnnotationDeclarationOption != null) { 1173 this.insert_new_line_in_empty_annotation_declaration = JavaCore.INSERT.equals(insertNewLineInEmptyAnnotationDeclarationOption); 1174 } 1175 final Object insertNewLineInEmptyEnumConstantOption = settings.get(DefaultCodeFormatterConstants.FORMATTER_INSERT_NEW_LINE_IN_EMPTY_ENUM_CONSTANT); 1176 if (insertNewLineInEmptyEnumConstantOption != null) { 1177 this.insert_new_line_in_empty_enum_constant = JavaCore.INSERT.equals(insertNewLineInEmptyEnumConstantOption); 1178 } 1179 final Object insertNewLineInEmptyEnumDeclarationOption = settings.get(DefaultCodeFormatterConstants.FORMATTER_INSERT_NEW_LINE_IN_EMPTY_ENUM_DECLARATION); 1180 if (insertNewLineInEmptyEnumDeclarationOption != null) { 1181 this.insert_new_line_in_empty_enum_declaration = JavaCore.INSERT.equals(insertNewLineInEmptyEnumDeclarationOption); 1182 } 1183 final Object insertNewLineInEmptyMethodBodyOption = settings.get(DefaultCodeFormatterConstants.FORMATTER_INSERT_NEW_LINE_IN_EMPTY_METHOD_BODY); 1184 if (insertNewLineInEmptyMethodBodyOption != null) { 1185 this.insert_new_line_in_empty_method_body = JavaCore.INSERT.equals(insertNewLineInEmptyMethodBodyOption); 1186 } 1187 final Object insertNewLineInEmptyTypeDeclarationOption = settings.get(DefaultCodeFormatterConstants.FORMATTER_INSERT_NEW_LINE_IN_EMPTY_TYPE_DECLARATION); 1188 if (insertNewLineInEmptyTypeDeclarationOption != null) { 1189 this.insert_new_line_in_empty_type_declaration = JavaCore.INSERT.equals(insertNewLineInEmptyTypeDeclarationOption); 1190 } 1191 final Object insertSpaceAfterAndInWildcardOption = settings.get(DefaultCodeFormatterConstants.FORMATTER_INSERT_SPACE_AFTER_AND_IN_TYPE_PARAMETER); 1192 if (insertSpaceAfterAndInWildcardOption != null) { 1193 this.insert_space_after_and_in_type_parameter = JavaCore.INSERT.equals(insertSpaceAfterAndInWildcardOption); 1194 } 1195 final Object insertSpaceAfterAssignmentOperatorOption = settings.get(DefaultCodeFormatterConstants.FORMATTER_INSERT_SPACE_AFTER_ASSIGNMENT_OPERATOR); 1196 if (insertSpaceAfterAssignmentOperatorOption != null) { 1197 this.insert_space_after_assignment_operator = JavaCore.INSERT.equals(insertSpaceAfterAssignmentOperatorOption); 1198 } 1199 final Object insertSpaceAfterAtInAnnotationOption = settings.get(DefaultCodeFormatterConstants.FORMATTER_INSERT_SPACE_AFTER_AT_IN_ANNOTATION); 1200 if (insertSpaceAfterAtInAnnotationOption != null) { 1201 this.insert_space_after_at_in_annotation = JavaCore.INSERT.equals(insertSpaceAfterAtInAnnotationOption); 1202 } 1203 final Object insertSpaceAfterAtInAnnotationTypeDeclarationOption = settings.get(DefaultCodeFormatterConstants.FORMATTER_INSERT_SPACE_AFTER_AT_IN_ANNOTATION_TYPE_DECLARATION); 1204 if (insertSpaceAfterAtInAnnotationTypeDeclarationOption != null) { 1205 this.insert_space_after_at_in_annotation_type_declaration = JavaCore.INSERT.equals(insertSpaceAfterAtInAnnotationTypeDeclarationOption); 1206 } 1207 final Object insertSpaceAfterBinaryOperatorOption = settings.get(DefaultCodeFormatterConstants.FORMATTER_INSERT_SPACE_AFTER_BINARY_OPERATOR); 1208 if (insertSpaceAfterBinaryOperatorOption != null) { 1209 this.insert_space_after_binary_operator = JavaCore.INSERT.equals(insertSpaceAfterBinaryOperatorOption); 1210 } 1211 final Object insertSpaceAfterClosingAngleBracketInTypeArgumentsOption = settings.get(DefaultCodeFormatterConstants.FORMATTER_INSERT_SPACE_AFTER_CLOSING_ANGLE_BRACKET_IN_TYPE_ARGUMENTS); 1212 if (insertSpaceAfterClosingAngleBracketInTypeArgumentsOption != null) { 1213 this.insert_space_after_closing_angle_bracket_in_type_arguments = JavaCore.INSERT.equals(insertSpaceAfterClosingAngleBracketInTypeArgumentsOption); 1214 } 1215 final Object insertSpaceAfterClosingAngleBracketInTypeParametersOption = settings.get(DefaultCodeFormatterConstants.FORMATTER_INSERT_SPACE_AFTER_CLOSING_ANGLE_BRACKET_IN_TYPE_PARAMETERS); 1216 if (insertSpaceAfterClosingAngleBracketInTypeParametersOption != null) { 1217 this.insert_space_after_closing_angle_bracket_in_type_parameters = JavaCore.INSERT.equals(insertSpaceAfterClosingAngleBracketInTypeParametersOption); 1218 } 1219 final Object insertSpaceAfterClosingParenInCastOption = settings.get(DefaultCodeFormatterConstants.FORMATTER_INSERT_SPACE_AFTER_CLOSING_PAREN_IN_CAST); 1220 if (insertSpaceAfterClosingParenInCastOption != null) { 1221 this.insert_space_after_closing_paren_in_cast = JavaCore.INSERT.equals(insertSpaceAfterClosingParenInCastOption); 1222 } 1223 final Object insertSpaceAfterClosingBraceInBlockOption = settings.get(DefaultCodeFormatterConstants.FORMATTER_INSERT_SPACE_AFTER_CLOSING_BRACE_IN_BLOCK); 1224 if (insertSpaceAfterClosingBraceInBlockOption != null) { 1225 this.insert_space_after_closing_brace_in_block = JavaCore.INSERT.equals(insertSpaceAfterClosingBraceInBlockOption); 1226 } 1227 final Object insertSpaceAfterColonInAssertOption = settings.get(DefaultCodeFormatterConstants.FORMATTER_INSERT_SPACE_AFTER_COLON_IN_ASSERT); 1228 if (insertSpaceAfterColonInAssertOption != null) { 1229 this.insert_space_after_colon_in_assert = JavaCore.INSERT.equals(insertSpaceAfterColonInAssertOption); 1230 } 1231 final Object insertSpaceAfterColonInCaseOption = settings.get(DefaultCodeFormatterConstants.FORMATTER_INSERT_SPACE_AFTER_COLON_IN_CASE); 1232 if (insertSpaceAfterColonInCaseOption != null) { 1233 this.insert_space_after_colon_in_case = JavaCore.INSERT.equals(insertSpaceAfterColonInCaseOption); 1234 } 1235 final Object insertSpaceAfterColonInConditionalOption = settings.get(DefaultCodeFormatterConstants.FORMATTER_INSERT_SPACE_AFTER_COLON_IN_CONDITIONAL); 1236 if (insertSpaceAfterColonInConditionalOption != null) { 1237 this.insert_space_after_colon_in_conditional = JavaCore.INSERT.equals(insertSpaceAfterColonInConditionalOption); 1238 } 1239 final Object insertSpaceAfterColonInForOption = settings.get(DefaultCodeFormatterConstants.FORMATTER_INSERT_SPACE_AFTER_COLON_IN_FOR); 1240 if (insertSpaceAfterColonInForOption != null) { 1241 this.insert_space_after_colon_in_for = JavaCore.INSERT.equals(insertSpaceAfterColonInForOption); 1242 } 1243 final Object insertSpaceAfterColonInLabeledStatementOption = settings.get(DefaultCodeFormatterConstants.FORMATTER_INSERT_SPACE_AFTER_COLON_IN_LABELED_STATEMENT); 1244 if (insertSpaceAfterColonInLabeledStatementOption != null) { 1245 this.insert_space_after_colon_in_labeled_statement = JavaCore.INSERT.equals(insertSpaceAfterColonInLabeledStatementOption); 1246 } 1247 final Object insertSpaceAfterCommaInAllocationExpressionOption = settings.get(DefaultCodeFormatterConstants.FORMATTER_INSERT_SPACE_AFTER_COMMA_IN_ALLOCATION_EXPRESSION); 1248 if (insertSpaceAfterCommaInAllocationExpressionOption != null) { 1249 this.insert_space_after_comma_in_allocation_expression = JavaCore.INSERT.equals(insertSpaceAfterCommaInAllocationExpressionOption); 1250 } 1251 final Object insertSpaceAfterCommaInAnnotationOption = settings.get(DefaultCodeFormatterConstants.FORMATTER_INSERT_SPACE_AFTER_COMMA_IN_ANNOTATION); 1252 if (insertSpaceAfterCommaInAnnotationOption != null) { 1253 this.insert_space_after_comma_in_annotation = JavaCore.INSERT.equals(insertSpaceAfterCommaInAnnotationOption); 1254 } 1255 final Object insertSpaceAfterCommaInArrayInitializerOption = settings.get(DefaultCodeFormatterConstants.FORMATTER_INSERT_SPACE_AFTER_COMMA_IN_ARRAY_INITIALIZER); 1256 if (insertSpaceAfterCommaInArrayInitializerOption != null) { 1257 this.insert_space_after_comma_in_array_initializer = JavaCore.INSERT.equals(insertSpaceAfterCommaInArrayInitializerOption); 1258 } 1259 final Object insertSpaceAfterCommaInConstructorDeclarationParametersOption = settings.get(DefaultCodeFormatterConstants.FORMATTER_INSERT_SPACE_AFTER_COMMA_IN_CONSTRUCTOR_DECLARATION_PARAMETERS); 1260 if (insertSpaceAfterCommaInConstructorDeclarationParametersOption != null) { 1261 this.insert_space_after_comma_in_constructor_declaration_parameters = JavaCore.INSERT.equals(insertSpaceAfterCommaInConstructorDeclarationParametersOption); 1262 } 1263 final Object insertSpaceAfterCommaInConstructorDeclarationThrowsOption = settings.get(DefaultCodeFormatterConstants.FORMATTER_INSERT_SPACE_AFTER_COMMA_IN_CONSTRUCTOR_DECLARATION_THROWS); 1264 if (insertSpaceAfterCommaInConstructorDeclarationThrowsOption != null) { 1265 this.insert_space_after_comma_in_constructor_declaration_throws = JavaCore.INSERT.equals(insertSpaceAfterCommaInConstructorDeclarationThrowsOption); 1266 } 1267 final Object insertSpaceAfterCommaInEnumConstantArgumentsOption = settings.get(DefaultCodeFormatterConstants.FORMATTER_INSERT_SPACE_AFTER_COMMA_IN_ENUM_CONSTANT_ARGUMENTS); 1268 if (insertSpaceAfterCommaInEnumConstantArgumentsOption != null) { 1269 this.insert_space_after_comma_in_enum_constant_arguments = JavaCore.INSERT.equals(insertSpaceAfterCommaInEnumConstantArgumentsOption); 1270 } 1271 final Object insertSpaceAfterCommaInEnumDeclarationsOption = settings.get(DefaultCodeFormatterConstants.FORMATTER_INSERT_SPACE_AFTER_COMMA_IN_ENUM_DECLARATIONS); 1272 if (insertSpaceAfterCommaInEnumDeclarationsOption != null) { 1273 this.insert_space_after_comma_in_enum_declarations = JavaCore.INSERT.equals(insertSpaceAfterCommaInEnumDeclarationsOption); 1274 } 1275 final Object insertSpaceAfterCommaInExplicitConstructorCallArgumentsOption = settings.get(DefaultCodeFormatterConstants.FORMATTER_INSERT_SPACE_AFTER_COMMA_IN_EXPLICIT_CONSTRUCTOR_CALL_ARGUMENTS); 1276 if (insertSpaceAfterCommaInExplicitConstructorCallArgumentsOption != null) { 1277 this.insert_space_after_comma_in_explicit_constructor_call_arguments = JavaCore.INSERT.equals(insertSpaceAfterCommaInExplicitConstructorCallArgumentsOption); 1278 } 1279 final Object insertSpaceAfterCommaInForIncrementsOption = settings.get(DefaultCodeFormatterConstants.FORMATTER_INSERT_SPACE_AFTER_COMMA_IN_FOR_INCREMENTS); 1280 if (insertSpaceAfterCommaInForIncrementsOption != null) { 1281 this.insert_space_after_comma_in_for_increments = JavaCore.INSERT.equals(insertSpaceAfterCommaInForIncrementsOption); 1282 } 1283 final Object insertSpaceAfterCommaInForInitsOption = settings.get(DefaultCodeFormatterConstants.FORMATTER_INSERT_SPACE_AFTER_COMMA_IN_FOR_INITS); 1284 if (insertSpaceAfterCommaInForInitsOption != null) { 1285 this.insert_space_after_comma_in_for_inits = JavaCore.INSERT.equals(insertSpaceAfterCommaInForInitsOption); 1286 } 1287 final Object insertSpaceAfterCommaInMethodInvocationArgumentsOption = settings.get(DefaultCodeFormatterConstants.FORMATTER_INSERT_SPACE_AFTER_COMMA_IN_METHOD_INVOCATION_ARGUMENTS); 1288 if (insertSpaceAfterCommaInMethodInvocationArgumentsOption != null) { 1289 this.insert_space_after_comma_in_method_invocation_arguments = JavaCore.INSERT.equals(insertSpaceAfterCommaInMethodInvocationArgumentsOption); 1290 } 1291 final Object insertSpaceAfterCommaInMethodDeclarationParametersOption = settings.get(DefaultCodeFormatterConstants.FORMATTER_INSERT_SPACE_AFTER_COMMA_IN_METHOD_DECLARATION_PARAMETERS); 1292 if (insertSpaceAfterCommaInMethodDeclarationParametersOption != null) { 1293 this.insert_space_after_comma_in_method_declaration_parameters = JavaCore.INSERT.equals(insertSpaceAfterCommaInMethodDeclarationParametersOption); 1294 } 1295 final Object insertSpaceAfterCommaInMethodDeclarationThrowsOption = settings.get(DefaultCodeFormatterConstants.FORMATTER_INSERT_SPACE_AFTER_COMMA_IN_METHOD_DECLARATION_THROWS); 1296 if (insertSpaceAfterCommaInMethodDeclarationThrowsOption != null) { 1297 this.insert_space_after_comma_in_method_declaration_throws = JavaCore.INSERT.equals(insertSpaceAfterCommaInMethodDeclarationThrowsOption); 1298 } 1299 final Object insertSpaceAfterCommaInMultipleFieldDeclarationsOption = settings.get(DefaultCodeFormatterConstants.FORMATTER_INSERT_SPACE_AFTER_COMMA_IN_MULTIPLE_FIELD_DECLARATIONS); 1300 if (insertSpaceAfterCommaInMultipleFieldDeclarationsOption != null) { 1301 this.insert_space_after_comma_in_multiple_field_declarations = JavaCore.INSERT.equals(insertSpaceAfterCommaInMultipleFieldDeclarationsOption); 1302 } 1303 final Object insertSpaceAfterCommaInMultipleLocalDeclarationsOption = settings.get(DefaultCodeFormatterConstants.FORMATTER_INSERT_SPACE_AFTER_COMMA_IN_MULTIPLE_LOCAL_DECLARATIONS); 1304 if (insertSpaceAfterCommaInMultipleLocalDeclarationsOption != null) { 1305 this.insert_space_after_comma_in_multiple_local_declarations = JavaCore.INSERT.equals(insertSpaceAfterCommaInMultipleLocalDeclarationsOption); 1306 } 1307 final Object insertSpaceAfterCommaInParameterizedTypeReferenceOption = settings.get(DefaultCodeFormatterConstants.FORMATTER_INSERT_SPACE_AFTER_COMMA_IN_PARAMETERIZED_TYPE_REFERENCE); 1308 if (insertSpaceAfterCommaInParameterizedTypeReferenceOption != null) { 1309 this.insert_space_after_comma_in_parameterized_type_reference = JavaCore.INSERT.equals(insertSpaceAfterCommaInParameterizedTypeReferenceOption); 1310 } 1311 final Object insertSpaceAfterCommaInSuperinterfacesOption = settings.get(DefaultCodeFormatterConstants.FORMATTER_INSERT_SPACE_AFTER_COMMA_IN_SUPERINTERFACES); 1312 if (insertSpaceAfterCommaInSuperinterfacesOption != null) { 1313 this.insert_space_after_comma_in_superinterfaces = JavaCore.INSERT.equals(insertSpaceAfterCommaInSuperinterfacesOption); 1314 } 1315 final Object insertSpaceAfterCommaInTypeArgumentsOption = settings.get(DefaultCodeFormatterConstants.FORMATTER_INSERT_SPACE_AFTER_COMMA_IN_TYPE_ARGUMENTS); 1316 if (insertSpaceAfterCommaInTypeArgumentsOption != null) { 1317 this.insert_space_after_comma_in_type_arguments = JavaCore.INSERT.equals(insertSpaceAfterCommaInTypeArgumentsOption); 1318 } 1319 final Object insertSpaceAfterCommaInTypeParametersOption = settings.get(DefaultCodeFormatterConstants.FORMATTER_INSERT_SPACE_AFTER_COMMA_IN_TYPE_PARAMETERS); 1320 if (insertSpaceAfterCommaInTypeParametersOption != null) { 1321 this.insert_space_after_comma_in_type_parameters = JavaCore.INSERT.equals(insertSpaceAfterCommaInTypeParametersOption); 1322 } 1323 final Object insertSpaceAfterEllipsisOption = settings.get(DefaultCodeFormatterConstants.FORMATTER_INSERT_SPACE_AFTER_ELLIPSIS); 1324 if (insertSpaceAfterEllipsisOption != null) { 1325 this.insert_space_after_ellipsis = JavaCore.INSERT.equals(insertSpaceAfterEllipsisOption); 1326 } 1327 final Object insertSpaceAfterOpeningAngleBracketInParameterizedTypeReferenceOption = settings.get(DefaultCodeFormatterConstants.FORMATTER_INSERT_SPACE_AFTER_OPENING_ANGLE_BRACKET_IN_PARAMETERIZED_TYPE_REFERENCE); 1328 if (insertSpaceAfterOpeningAngleBracketInParameterizedTypeReferenceOption != null) { 1329 this.insert_space_after_opening_angle_bracket_in_parameterized_type_reference = JavaCore.INSERT.equals(insertSpaceAfterOpeningAngleBracketInParameterizedTypeReferenceOption); 1330 } 1331 final Object insertSpaceAfterOpeningAngleBracketInTypeArgumentsOption = settings.get(DefaultCodeFormatterConstants.FORMATTER_INSERT_SPACE_AFTER_OPENING_ANGLE_BRACKET_IN_TYPE_ARGUMENTS); 1332 if (insertSpaceAfterOpeningAngleBracketInTypeArgumentsOption != null) { 1333 this.insert_space_after_opening_angle_bracket_in_type_arguments = JavaCore.INSERT.equals(insertSpaceAfterOpeningAngleBracketInTypeArgumentsOption); 1334 } 1335 final Object insertSpaceAfterOpeningAngleBracketInTypeParametersOption = settings.get(DefaultCodeFormatterConstants.FORMATTER_INSERT_SPACE_AFTER_OPENING_ANGLE_BRACKET_IN_TYPE_PARAMETERS); 1336 if (insertSpaceAfterOpeningAngleBracketInTypeParametersOption != null) { 1337 this.insert_space_after_opening_angle_bracket_in_type_parameters = JavaCore.INSERT.equals(insertSpaceAfterOpeningAngleBracketInTypeParametersOption); 1338 } 1339 final Object insertSpaceAfterOpeningBracketInArrayAllocationExpressionOption = settings.get(DefaultCodeFormatterConstants.FORMATTER_INSERT_SPACE_AFTER_OPENING_BRACKET_IN_ARRAY_ALLOCATION_EXPRESSION); 1340 if (insertSpaceAfterOpeningBracketInArrayAllocationExpressionOption != null) { 1341 this.insert_space_after_opening_bracket_in_array_allocation_expression = JavaCore.INSERT.equals(insertSpaceAfterOpeningBracketInArrayAllocationExpressionOption); 1342 } 1343 final Object insertSpaceAfterOpeningBracketInArrayReferenceOption = settings.get(DefaultCodeFormatterConstants.FORMATTER_INSERT_SPACE_AFTER_OPENING_BRACKET_IN_ARRAY_REFERENCE); 1344 if (insertSpaceAfterOpeningBracketInArrayReferenceOption != null) { 1345 this.insert_space_after_opening_bracket_in_array_reference = JavaCore.INSERT.equals(insertSpaceAfterOpeningBracketInArrayReferenceOption); 1346 } 1347 final Object insertSpaceAfterOpeningBraceInArrayInitializerOption = settings.get(DefaultCodeFormatterConstants.FORMATTER_INSERT_SPACE_AFTER_OPENING_BRACE_IN_ARRAY_INITIALIZER); 1348 if (insertSpaceAfterOpeningBraceInArrayInitializerOption != null) { 1349 this.insert_space_after_opening_brace_in_array_initializer = JavaCore.INSERT.equals(insertSpaceAfterOpeningBraceInArrayInitializerOption); 1350 } 1351 final Object insertSpaceAfterOpeningParenInAnnotationOption = settings.get(DefaultCodeFormatterConstants.FORMATTER_INSERT_SPACE_AFTER_OPENING_PAREN_IN_ANNOTATION); 1352 if (insertSpaceAfterOpeningParenInAnnotationOption != null) { 1353 this.insert_space_after_opening_paren_in_annotation = JavaCore.INSERT.equals(insertSpaceAfterOpeningParenInAnnotationOption); 1354 } 1355 final Object insertSpaceAfterOpeningParenInCastOption = settings.get(DefaultCodeFormatterConstants.FORMATTER_INSERT_SPACE_AFTER_OPENING_PAREN_IN_CAST); 1356 if (insertSpaceAfterOpeningParenInCastOption != null) { 1357 this.insert_space_after_opening_paren_in_cast = JavaCore.INSERT.equals(insertSpaceAfterOpeningParenInCastOption); 1358 } 1359 final Object insertSpaceAfterOpeningParenInCatchOption = settings.get(DefaultCodeFormatterConstants.FORMATTER_INSERT_SPACE_AFTER_OPENING_PAREN_IN_CATCH); 1360 if (insertSpaceAfterOpeningParenInCatchOption != null) { 1361 this.insert_space_after_opening_paren_in_catch = JavaCore.INSERT.equals(insertSpaceAfterOpeningParenInCatchOption); 1362 } 1363 final Object insertSpaceAfterOpeningParenInConstructorDeclarationOption = settings.get(DefaultCodeFormatterConstants.FORMATTER_INSERT_SPACE_AFTER_OPENING_PAREN_IN_CONSTRUCTOR_DECLARATION); 1364 if (insertSpaceAfterOpeningParenInConstructorDeclarationOption != null) { 1365 this.insert_space_after_opening_paren_in_constructor_declaration = JavaCore.INSERT.equals(insertSpaceAfterOpeningParenInConstructorDeclarationOption); 1366 } 1367 final Object insertSpaceAfterOpeningParenInEnumConstantOption = settings.get(DefaultCodeFormatterConstants.FORMATTER_INSERT_SPACE_AFTER_OPENING_PAREN_IN_ENUM_CONSTANT); 1368 if (insertSpaceAfterOpeningParenInEnumConstantOption != null) { 1369 this.insert_space_after_opening_paren_in_enum_constant = JavaCore.INSERT.equals(insertSpaceAfterOpeningParenInEnumConstantOption); 1370 } 1371 final Object insertSpaceAfterOpeningParenInForOption = settings.get(DefaultCodeFormatterConstants.FORMATTER_INSERT_SPACE_AFTER_OPENING_PAREN_IN_FOR); 1372 if (insertSpaceAfterOpeningParenInForOption != null) { 1373 this.insert_space_after_opening_paren_in_for = JavaCore.INSERT.equals(insertSpaceAfterOpeningParenInForOption); 1374 } 1375 final Object insertSpaceAfterOpeningParenInIfOption = settings.get(DefaultCodeFormatterConstants.FORMATTER_INSERT_SPACE_AFTER_OPENING_PAREN_IN_IF); 1376 if (insertSpaceAfterOpeningParenInIfOption != null) { 1377 this.insert_space_after_opening_paren_in_if = JavaCore.INSERT.equals(insertSpaceAfterOpeningParenInIfOption); 1378 } 1379 final Object insertSpaceAfterOpeningParenInMethodDeclarationOption = settings.get(DefaultCodeFormatterConstants.FORMATTER_INSERT_SPACE_AFTER_OPENING_PAREN_IN_METHOD_DECLARATION); 1380 if (insertSpaceAfterOpeningParenInMethodDeclarationOption != null) { 1381 this.insert_space_after_opening_paren_in_method_declaration = JavaCore.INSERT.equals(insertSpaceAfterOpeningParenInMethodDeclarationOption); 1382 } 1383 final Object insertSpaceAfterOpeningParenInMethodInvocationOption = settings.get(DefaultCodeFormatterConstants.FORMATTER_INSERT_SPACE_AFTER_OPENING_PAREN_IN_METHOD_INVOCATION); 1384 if (insertSpaceAfterOpeningParenInMethodInvocationOption != null) { 1385 this.insert_space_after_opening_paren_in_method_invocation = JavaCore.INSERT.equals(insertSpaceAfterOpeningParenInMethodInvocationOption); 1386 } 1387 final Object insertSpaceAfterOpeningParenInParenthesizedExpressionOption = settings.get(DefaultCodeFormatterConstants.FORMATTER_INSERT_SPACE_AFTER_OPENING_PAREN_IN_PARENTHESIZED_EXPRESSION); 1388 if (insertSpaceAfterOpeningParenInParenthesizedExpressionOption != null) { 1389 this.insert_space_after_opening_paren_in_parenthesized_expression = JavaCore.INSERT.equals(insertSpaceAfterOpeningParenInParenthesizedExpressionOption); 1390 } 1391 final Object insertSpaceAfterOpeningParenInSwitchOption = settings.get(DefaultCodeFormatterConstants.FORMATTER_INSERT_SPACE_AFTER_OPENING_PAREN_IN_SWITCH); 1392 if (insertSpaceAfterOpeningParenInSwitchOption != null) { 1393 this.insert_space_after_opening_paren_in_switch = JavaCore.INSERT.equals(insertSpaceAfterOpeningParenInSwitchOption); 1394 } 1395 final Object insertSpaceAfterOpeningParenInSynchronizedOption = settings.get(DefaultCodeFormatterConstants.FORMATTER_INSERT_SPACE_AFTER_OPENING_PAREN_IN_SYNCHRONIZED); 1396 if (insertSpaceAfterOpeningParenInSynchronizedOption != null) { 1397 this.insert_space_after_opening_paren_in_synchronized = JavaCore.INSERT.equals(insertSpaceAfterOpeningParenInSynchronizedOption); 1398 } 1399 final Object insertSpaceAfterOpeningParenInWhileOption = settings.get(DefaultCodeFormatterConstants.FORMATTER_INSERT_SPACE_AFTER_OPENING_PAREN_IN_WHILE); 1400 if (insertSpaceAfterOpeningParenInWhileOption != null) { 1401 this.insert_space_after_opening_paren_in_while = JavaCore.INSERT.equals(insertSpaceAfterOpeningParenInWhileOption); 1402 } 1403 final Object insertSpaceAfterPostfixOperatorOption = settings.get(DefaultCodeFormatterConstants.FORMATTER_INSERT_SPACE_AFTER_POSTFIX_OPERATOR); 1404 if (insertSpaceAfterPostfixOperatorOption != null) { 1405 this.insert_space_after_postfix_operator = JavaCore.INSERT.equals(insertSpaceAfterPostfixOperatorOption); 1406 } 1407 final Object insertSpaceAfterPrefixOperatorOption = settings.get(DefaultCodeFormatterConstants.FORMATTER_INSERT_SPACE_AFTER_PREFIX_OPERATOR); 1408 if (insertSpaceAfterPrefixOperatorOption != null) { 1409 this.insert_space_after_prefix_operator = JavaCore.INSERT.equals(insertSpaceAfterPrefixOperatorOption); 1410 } 1411 final Object insertSpaceAfterQuestionInConditionalOption = settings.get(DefaultCodeFormatterConstants.FORMATTER_INSERT_SPACE_AFTER_QUESTION_IN_CONDITIONAL); 1412 if (insertSpaceAfterQuestionInConditionalOption != null) { 1413 this.insert_space_after_question_in_conditional = JavaCore.INSERT.equals(insertSpaceAfterQuestionInConditionalOption); 1414 } 1415 final Object insertSpaceAfterQuestionInWildcardOption = settings.get(DefaultCodeFormatterConstants.FORMATTER_INSERT_SPACE_AFTER_QUESTION_IN_WILDCARD); 1416 if (insertSpaceAfterQuestionInWildcardOption != null) { 1417 this.insert_space_after_question_in_wilcard = JavaCore.INSERT.equals(insertSpaceAfterQuestionInWildcardOption); 1418 } 1419 final Object insertSpaceAfterSemicolonInForOption = settings.get(DefaultCodeFormatterConstants.FORMATTER_INSERT_SPACE_AFTER_SEMICOLON_IN_FOR); 1420 if (insertSpaceAfterSemicolonInForOption != null) { 1421 this.insert_space_after_semicolon_in_for = JavaCore.INSERT.equals(insertSpaceAfterSemicolonInForOption); 1422 } 1423 final Object insertSpaceAfterUnaryOperatorOption = settings.get(DefaultCodeFormatterConstants.FORMATTER_INSERT_SPACE_AFTER_UNARY_OPERATOR); 1424 if (insertSpaceAfterUnaryOperatorOption != null) { 1425 this.insert_space_after_unary_operator = JavaCore.INSERT.equals(insertSpaceAfterUnaryOperatorOption); 1426 } 1427 final Object insertSpaceBeforeAndInWildcardOption = settings.get(DefaultCodeFormatterConstants.FORMATTER_INSERT_SPACE_BEFORE_AND_IN_TYPE_PARAMETER); 1428 if (insertSpaceBeforeAndInWildcardOption != null) { 1429 this.insert_space_before_and_in_type_parameter = JavaCore.INSERT.equals(insertSpaceBeforeAndInWildcardOption); 1430 } 1431 final Object insertSpaceBeforeAtInAnnotationTypeDeclarationOption = settings.get(DefaultCodeFormatterConstants.FORMATTER_INSERT_SPACE_BEFORE_AT_IN_ANNOTATION_TYPE_DECLARATION); 1432 if (insertSpaceBeforeAtInAnnotationTypeDeclarationOption != null) { 1433 this.insert_space_before_at_in_annotation_type_declaration = JavaCore.INSERT.equals(insertSpaceBeforeAtInAnnotationTypeDeclarationOption); 1434 } 1435 final Object insertSpaceBeforeAssignmentOperatorOption = settings.get(DefaultCodeFormatterConstants.FORMATTER_INSERT_SPACE_BEFORE_ASSIGNMENT_OPERATOR); 1436 if (insertSpaceBeforeAssignmentOperatorOption != null) { 1437 this.insert_space_before_assignment_operator = JavaCore.INSERT.equals(insertSpaceBeforeAssignmentOperatorOption); 1438 } 1439 final Object insertSpaceBeforeBinaryOperatorOption = settings.get(DefaultCodeFormatterConstants.FORMATTER_INSERT_SPACE_BEFORE_BINARY_OPERATOR); 1440 if (insertSpaceBeforeBinaryOperatorOption != null) { 1441 this.insert_space_before_binary_operator = JavaCore.INSERT.equals(insertSpaceBeforeBinaryOperatorOption); 1442 } 1443 final Object insertSpaceBeforeClosingAngleBracketInParameterizedTypeReferenceOption = settings.get(DefaultCodeFormatterConstants.FORMATTER_INSERT_SPACE_BEFORE_CLOSING_ANGLE_BRACKET_IN_PARAMETERIZED_TYPE_REFERENCE); 1444 if (insertSpaceBeforeClosingAngleBracketInParameterizedTypeReferenceOption != null) { 1445 this.insert_space_before_closing_angle_bracket_in_parameterized_type_reference = JavaCore.INSERT.equals(insertSpaceBeforeClosingAngleBracketInParameterizedTypeReferenceOption); 1446 } 1447 final Object insertSpaceBeforeClosingAngleBracketInTypeArgumentsOption = settings.get(DefaultCodeFormatterConstants.FORMATTER_INSERT_SPACE_BEFORE_CLOSING_ANGLE_BRACKET_IN_TYPE_ARGUMENTS); 1448 if (insertSpaceBeforeClosingAngleBracketInTypeArgumentsOption != null) { 1449 this.insert_space_before_closing_angle_bracket_in_type_arguments = JavaCore.INSERT.equals(insertSpaceBeforeClosingAngleBracketInTypeArgumentsOption); 1450 } 1451 final Object insertSpaceBeforeClosingAngleBracketInTypeParametersOption = settings.get(DefaultCodeFormatterConstants.FORMATTER_INSERT_SPACE_BEFORE_CLOSING_ANGLE_BRACKET_IN_TYPE_PARAMETERS); 1452 if (insertSpaceBeforeClosingAngleBracketInTypeParametersOption != null) { 1453 this.insert_space_before_closing_angle_bracket_in_type_parameters = JavaCore.INSERT.equals(insertSpaceBeforeClosingAngleBracketInTypeParametersOption); 1454 } 1455 final Object insertSpaceBeforeClosingBraceInArrayInitializerOption = settings.get(DefaultCodeFormatterConstants.FORMATTER_INSERT_SPACE_BEFORE_CLOSING_BRACE_IN_ARRAY_INITIALIZER); 1456 if (insertSpaceBeforeClosingBraceInArrayInitializerOption != null) { 1457 this.insert_space_before_closing_brace_in_array_initializer = JavaCore.INSERT.equals(insertSpaceBeforeClosingBraceInArrayInitializerOption); 1458 } 1459 final Object insertSpaceBeforeClosingBracketInArrayAllocationExpressionOption = settings.get(DefaultCodeFormatterConstants.FORMATTER_INSERT_SPACE_BEFORE_CLOSING_BRACKET_IN_ARRAY_ALLOCATION_EXPRESSION); 1460 if (insertSpaceBeforeClosingBracketInArrayAllocationExpressionOption != null) { 1461 this.insert_space_before_closing_bracket_in_array_allocation_expression = JavaCore.INSERT.equals(insertSpaceBeforeClosingBracketInArrayAllocationExpressionOption); 1462 } 1463 final Object insertSpaceBeforeClosingBracketInArrayReferenceOption = settings.get(DefaultCodeFormatterConstants.FORMATTER_INSERT_SPACE_BEFORE_CLOSING_BRACKET_IN_ARRAY_REFERENCE); 1464 if (insertSpaceBeforeClosingBracketInArrayReferenceOption != null) { 1465 this.insert_space_before_closing_bracket_in_array_reference = JavaCore.INSERT.equals(insertSpaceBeforeClosingBracketInArrayReferenceOption); 1466 } 1467 final Object insertSpaceBeforeClosingParenInAnnotationOption = settings.get(DefaultCodeFormatterConstants.FORMATTER_INSERT_SPACE_BEFORE_CLOSING_PAREN_IN_ANNOTATION); 1468 if (insertSpaceBeforeClosingParenInAnnotationOption != null) { 1469 this.insert_space_before_closing_paren_in_annotation = JavaCore.INSERT.equals(insertSpaceBeforeClosingParenInAnnotationOption); 1470 } 1471 final Object insertSpaceBeforeClosingParenInCastOption = settings.get(DefaultCodeFormatterConstants.FORMATTER_INSERT_SPACE_BEFORE_CLOSING_PAREN_IN_CAST); 1472 if (insertSpaceBeforeClosingParenInCastOption != null) { 1473 this.insert_space_before_closing_paren_in_cast = JavaCore.INSERT.equals(insertSpaceBeforeClosingParenInCastOption); 1474 } 1475 final Object insertSpaceBeforeClosingParenInCatchOption = settings.get(DefaultCodeFormatterConstants.FORMATTER_INSERT_SPACE_BEFORE_CLOSING_PAREN_IN_CATCH); 1476 if (insertSpaceBeforeClosingParenInCatchOption != null) { 1477 this.insert_space_before_closing_paren_in_catch = JavaCore.INSERT.equals(insertSpaceBeforeClosingParenInCatchOption); 1478 } 1479 final Object insertSpaceBeforeClosingParenInConstructorDeclarationOption = settings.get(DefaultCodeFormatterConstants.FORMATTER_INSERT_SPACE_BEFORE_CLOSING_PAREN_IN_CONSTRUCTOR_DECLARATION); 1480 if (insertSpaceBeforeClosingParenInConstructorDeclarationOption != null) { 1481 this.insert_space_before_closing_paren_in_constructor_declaration = JavaCore.INSERT.equals(insertSpaceBeforeClosingParenInConstructorDeclarationOption); 1482 } 1483 final Object insertSpaceBeforeClosingParenInEnumConstantOption = settings.get(DefaultCodeFormatterConstants.FORMATTER_INSERT_SPACE_BEFORE_CLOSING_PAREN_IN_ENUM_CONSTANT); 1484 if (insertSpaceBeforeClosingParenInEnumConstantOption != null) { 1485 this.insert_space_before_closing_paren_in_enum_constant = JavaCore.INSERT.equals(insertSpaceBeforeClosingParenInEnumConstantOption); 1486 } 1487 final Object insertSpaceBeforeClosingParenInForOption = settings.get(DefaultCodeFormatterConstants.FORMATTER_INSERT_SPACE_BEFORE_CLOSING_PAREN_IN_FOR); 1488 if (insertSpaceBeforeClosingParenInForOption != null) { 1489 this.insert_space_before_closing_paren_in_for = JavaCore.INSERT.equals(insertSpaceBeforeClosingParenInForOption); 1490 } 1491 final Object insertSpaceBeforeClosingParenInIfOption = settings.get(DefaultCodeFormatterConstants.FORMATTER_INSERT_SPACE_BEFORE_CLOSING_PAREN_IN_IF); 1492 if (insertSpaceBeforeClosingParenInIfOption != null) { 1493 this.insert_space_before_closing_paren_in_if = JavaCore.INSERT.equals(insertSpaceBeforeClosingParenInIfOption); 1494 } 1495 final Object insertSpaceBeforeClosingParenInMethodDeclarationOption = settings.get(DefaultCodeFormatterConstants.FORMATTER_INSERT_SPACE_BEFORE_CLOSING_PAREN_IN_METHOD_DECLARATION); 1496 if (insertSpaceBeforeClosingParenInMethodDeclarationOption != null) { 1497 this.insert_space_before_closing_paren_in_method_declaration = JavaCore.INSERT.equals(insertSpaceBeforeClosingParenInMethodDeclarationOption); 1498 } 1499 final Object insertSpaceBeforeClosingParenInMethodInvocationOption = settings.get(DefaultCodeFormatterConstants.FORMATTER_INSERT_SPACE_BEFORE_CLOSING_PAREN_IN_METHOD_INVOCATION); 1500 if (insertSpaceBeforeClosingParenInMethodInvocationOption != null) { 1501 this.insert_space_before_closing_paren_in_method_invocation = JavaCore.INSERT.equals(insertSpaceBeforeClosingParenInMethodInvocationOption); 1502 } 1503 final Object insertSpaceBeforeClosingParenInParenthesizedExpressionOption = settings.get(DefaultCodeFormatterConstants.FORMATTER_INSERT_SPACE_BEFORE_CLOSING_PAREN_IN_PARENTHESIZED_EXPRESSION); 1504 if (insertSpaceBeforeClosingParenInParenthesizedExpressionOption != null) { 1505 this.insert_space_before_closing_paren_in_parenthesized_expression = JavaCore.INSERT.equals(insertSpaceBeforeClosingParenInParenthesizedExpressionOption); 1506 } 1507 final Object insertSpaceBeforeClosingParenInSwitchOption = settings.get(DefaultCodeFormatterConstants.FORMATTER_INSERT_SPACE_BEFORE_CLOSING_PAREN_IN_SWITCH); 1508 if (insertSpaceBeforeClosingParenInSwitchOption != null) { 1509 this.insert_space_before_closing_paren_in_switch = JavaCore.INSERT.equals(insertSpaceBeforeClosingParenInSwitchOption); 1510 } 1511 final Object insertSpaceBeforeClosingParenInSynchronizedOption = settings.get(DefaultCodeFormatterConstants.FORMATTER_INSERT_SPACE_BEFORE_CLOSING_PAREN_IN_SYNCHRONIZED); 1512 if (insertSpaceBeforeClosingParenInSynchronizedOption != null) { 1513 this.insert_space_before_closing_paren_in_synchronized = JavaCore.INSERT.equals(insertSpaceBeforeClosingParenInSynchronizedOption); 1514 } 1515 final Object insertSpaceBeforeClosingParenInWhileOption = settings.get(DefaultCodeFormatterConstants.FORMATTER_INSERT_SPACE_BEFORE_CLOSING_PAREN_IN_WHILE); 1516 if (insertSpaceBeforeClosingParenInWhileOption != null) { 1517 this.insert_space_before_closing_paren_in_while = JavaCore.INSERT.equals(insertSpaceBeforeClosingParenInWhileOption); 1518 } 1519 final Object insertSpaceBeforeColonInAssertOption = settings.get(DefaultCodeFormatterConstants.FORMATTER_INSERT_SPACE_BEFORE_COLON_IN_ASSERT); 1520 if (insertSpaceBeforeColonInAssertOption != null) { 1521 this.insert_space_before_colon_in_assert = JavaCore.INSERT.equals(insertSpaceBeforeColonInAssertOption); 1522 } 1523 final Object insertSpaceBeforeColonInCaseOption = settings.get(DefaultCodeFormatterConstants.FORMATTER_INSERT_SPACE_BEFORE_COLON_IN_CASE); 1524 if (insertSpaceBeforeColonInCaseOption != null) { 1525 this.insert_space_before_colon_in_case = JavaCore.INSERT.equals(insertSpaceBeforeColonInCaseOption); 1526 } 1527 final Object insertSpaceBeforeColonInConditionalOption = settings.get(DefaultCodeFormatterConstants.FORMATTER_INSERT_SPACE_BEFORE_COLON_IN_CONDITIONAL); 1528 if (insertSpaceBeforeColonInConditionalOption != null) { 1529 this.insert_space_before_colon_in_conditional = JavaCore.INSERT.equals(insertSpaceBeforeColonInConditionalOption); 1530 } 1531 final Object insertSpaceBeforeColonInDefaultOption = settings.get(DefaultCodeFormatterConstants.FORMATTER_INSERT_SPACE_BEFORE_COLON_IN_DEFAULT); 1532 if (insertSpaceBeforeColonInDefaultOption != null) { 1533 this.insert_space_before_colon_in_default = JavaCore.INSERT.equals(insertSpaceBeforeColonInDefaultOption); 1534 } 1535 final Object insertSpaceBeforeColonInForOption = settings.get(DefaultCodeFormatterConstants.FORMATTER_INSERT_SPACE_BEFORE_COLON_IN_FOR); 1536 if (insertSpaceBeforeColonInForOption != null) { 1537 this.insert_space_before_colon_in_for = JavaCore.INSERT.equals(insertSpaceBeforeColonInForOption); 1538 } 1539 final Object insertSpaceBeforeColonInLabeledStatementOption = settings.get(DefaultCodeFormatterConstants.FORMATTER_INSERT_SPACE_BEFORE_COLON_IN_LABELED_STATEMENT); 1540 if (insertSpaceBeforeColonInLabeledStatementOption != null) { 1541 this.insert_space_before_colon_in_labeled_statement = JavaCore.INSERT.equals(insertSpaceBeforeColonInLabeledStatementOption); 1542 } 1543 final Object insertSpaceBeforeCommaInAllocationExpressionOption = settings.get(DefaultCodeFormatterConstants.FORMATTER_INSERT_SPACE_BEFORE_COMMA_IN_ALLOCATION_EXPRESSION); 1544 if (insertSpaceBeforeCommaInAllocationExpressionOption != null) { 1545 this.insert_space_before_comma_in_allocation_expression = JavaCore.INSERT.equals(insertSpaceBeforeCommaInAllocationExpressionOption); 1546 } 1547 final Object insertSpaceBeforeCommaInAnnotationOption = settings.get(DefaultCodeFormatterConstants.FORMATTER_INSERT_SPACE_BEFORE_COMMA_IN_ANNOTATION); 1548 if (insertSpaceBeforeCommaInAnnotationOption != null) { 1549 this.insert_space_before_comma_in_annotation = JavaCore.INSERT.equals(insertSpaceBeforeCommaInAnnotationOption); 1550 } 1551 final Object insertSpaceBeforeCommaInArrayInitializerOption = settings.get(DefaultCodeFormatterConstants.FORMATTER_INSERT_SPACE_BEFORE_COMMA_IN_ARRAY_INITIALIZER); 1552 if (insertSpaceBeforeCommaInArrayInitializerOption != null) { 1553 this.insert_space_before_comma_in_array_initializer = JavaCore.INSERT.equals(insertSpaceBeforeCommaInArrayInitializerOption); 1554 } 1555 final Object insertSpaceBeforeCommaInConstructorDeclarationParametersOption = settings.get(DefaultCodeFormatterConstants.FORMATTER_INSERT_SPACE_BEFORE_COMMA_IN_CONSTRUCTOR_DECLARATION_PARAMETERS); 1556 if (insertSpaceBeforeCommaInConstructorDeclarationParametersOption != null) { 1557 this.insert_space_before_comma_in_constructor_declaration_parameters = JavaCore.INSERT.equals(insertSpaceBeforeCommaInConstructorDeclarationParametersOption); 1558 } 1559 final Object insertSpaceBeforeCommaInConstructorDeclarationThrowsOption = settings.get(DefaultCodeFormatterConstants.FORMATTER_INSERT_SPACE_BEFORE_COMMA_IN_CONSTRUCTOR_DECLARATION_THROWS); 1560 if (insertSpaceBeforeCommaInConstructorDeclarationThrowsOption != null) { 1561 this.insert_space_before_comma_in_constructor_declaration_throws = JavaCore.INSERT.equals(insertSpaceBeforeCommaInConstructorDeclarationThrowsOption); 1562 } 1563 final Object insertSpaceBeforeCommaInEnumConstantArgumentsOption = settings.get(DefaultCodeFormatterConstants.FORMATTER_INSERT_SPACE_BEFORE_COMMA_IN_ENUM_CONSTANT_ARGUMENTS); 1564 if (insertSpaceBeforeCommaInEnumConstantArgumentsOption != null) { 1565 this.insert_space_before_comma_in_enum_constant_arguments = JavaCore.INSERT.equals(insertSpaceBeforeCommaInEnumConstantArgumentsOption); 1566 } 1567 final Object insertSpaceBeforeCommaInEnumDeclarationsOption = settings.get(DefaultCodeFormatterConstants.FORMATTER_INSERT_SPACE_BEFORE_COMMA_IN_ENUM_DECLARATIONS); 1568 if (insertSpaceBeforeCommaInEnumDeclarationsOption != null) { 1569 this.insert_space_before_comma_in_enum_declarations = JavaCore.INSERT.equals(insertSpaceBeforeCommaInEnumDeclarationsOption); 1570 } 1571 final Object insertSpaceBeforeCommaInExplicitConstructorCallArgumentsOption = settings.get(DefaultCodeFormatterConstants.FORMATTER_INSERT_SPACE_BEFORE_COMMA_IN_EXPLICIT_CONSTRUCTOR_CALL_ARGUMENTS); 1572 if (insertSpaceBeforeCommaInExplicitConstructorCallArgumentsOption != null) { 1573 this.insert_space_before_comma_in_explicit_constructor_call_arguments = JavaCore.INSERT.equals(insertSpaceBeforeCommaInExplicitConstructorCallArgumentsOption); 1574 } 1575 final Object insertSpaceBeforeCommaInForIncrementsOption = settings.get(DefaultCodeFormatterConstants.FORMATTER_INSERT_SPACE_BEFORE_COMMA_IN_FOR_INCREMENTS); 1576 if (insertSpaceBeforeCommaInForIncrementsOption != null) { 1577 this.insert_space_before_comma_in_for_increments = JavaCore.INSERT.equals(insertSpaceBeforeCommaInForIncrementsOption); 1578 } 1579 final Object insertSpaceBeforeCommaInForInitsOption = settings.get(DefaultCodeFormatterConstants.FORMATTER_INSERT_SPACE_BEFORE_COMMA_IN_FOR_INITS); 1580 if (insertSpaceBeforeCommaInForInitsOption != null) { 1581 this.insert_space_before_comma_in_for_inits = JavaCore.INSERT.equals(insertSpaceBeforeCommaInForInitsOption); 1582 } 1583 final Object insertSpaceBeforeCommaInMethodInvocationArgumentsOption = settings.get(DefaultCodeFormatterConstants.FORMATTER_INSERT_SPACE_BEFORE_COMMA_IN_METHOD_INVOCATION_ARGUMENTS); 1584 if (insertSpaceBeforeCommaInMethodInvocationArgumentsOption != null) { 1585 this.insert_space_before_comma_in_method_invocation_arguments = JavaCore.INSERT.equals(insertSpaceBeforeCommaInMethodInvocationArgumentsOption); 1586 } 1587 final Object insertSpaceBeforeCommaInMethodDeclarationParametersOption = settings.get(DefaultCodeFormatterConstants.FORMATTER_INSERT_SPACE_BEFORE_COMMA_IN_METHOD_DECLARATION_PARAMETERS); 1588 if (insertSpaceBeforeCommaInMethodDeclarationParametersOption != null) { 1589 this.insert_space_before_comma_in_method_declaration_parameters = JavaCore.INSERT.equals(insertSpaceBeforeCommaInMethodDeclarationParametersOption); 1590 } 1591 final Object insertSpaceBeforeCommaInMethodDeclarationThrowsOption = settings.get(DefaultCodeFormatterConstants.FORMATTER_INSERT_SPACE_BEFORE_COMMA_IN_METHOD_DECLARATION_THROWS); 1592 if (insertSpaceBeforeCommaInMethodDeclarationThrowsOption != null) { 1593 this.insert_space_before_comma_in_method_declaration_throws = JavaCore.INSERT.equals(insertSpaceBeforeCommaInMethodDeclarationThrowsOption); 1594 } 1595 final Object insertSpaceBeforeCommaInMultipleFieldDeclarationsOption = settings.get(DefaultCodeFormatterConstants.FORMATTER_INSERT_SPACE_BEFORE_COMMA_IN_MULTIPLE_FIELD_DECLARATIONS); 1596 if (insertSpaceBeforeCommaInMultipleFieldDeclarationsOption != null) { 1597 this.insert_space_before_comma_in_multiple_field_declarations = JavaCore.INSERT.equals(insertSpaceBeforeCommaInMultipleFieldDeclarationsOption); 1598 } 1599 final Object insertSpaceBeforeCommaInMultipleLocalDeclarationsOption = settings.get(DefaultCodeFormatterConstants.FORMATTER_INSERT_SPACE_BEFORE_COMMA_IN_MULTIPLE_LOCAL_DECLARATIONS); 1600 if (insertSpaceBeforeCommaInMultipleLocalDeclarationsOption != null) { 1601 this.insert_space_before_comma_in_multiple_local_declarations = JavaCore.INSERT.equals(insertSpaceBeforeCommaInMultipleLocalDeclarationsOption); 1602 } 1603 final Object insertSpaceBeforeCommaInParameterizedTypeReferenceOption = settings.get(DefaultCodeFormatterConstants.FORMATTER_INSERT_SPACE_BEFORE_COMMA_IN_PARAMETERIZED_TYPE_REFERENCE); 1604 if (insertSpaceBeforeCommaInParameterizedTypeReferenceOption != null) { 1605 this.insert_space_before_comma_in_parameterized_type_reference = JavaCore.INSERT.equals(insertSpaceBeforeCommaInParameterizedTypeReferenceOption); 1606 } 1607 final Object insertSpaceBeforeCommaInSuperinterfacesOption = settings.get(DefaultCodeFormatterConstants.FORMATTER_INSERT_SPACE_BEFORE_COMMA_IN_SUPERINTERFACES); 1608 if (insertSpaceBeforeCommaInSuperinterfacesOption != null) { 1609 this.insert_space_before_comma_in_superinterfaces = JavaCore.INSERT.equals(insertSpaceBeforeCommaInSuperinterfacesOption); 1610 } 1611 final Object insertSpaceBeforeCommaInTypeArgumentsOption = settings.get(DefaultCodeFormatterConstants.FORMATTER_INSERT_SPACE_BEFORE_COMMA_IN_TYPE_ARGUMENTS); 1612 if (insertSpaceBeforeCommaInTypeArgumentsOption != null) { 1613 this.insert_space_before_comma_in_type_arguments = JavaCore.INSERT.equals(insertSpaceBeforeCommaInTypeArgumentsOption); 1614 } 1615 final Object insertSpaceBeforeCommaInTypeParametersOption = settings.get(DefaultCodeFormatterConstants.FORMATTER_INSERT_SPACE_BEFORE_COMMA_IN_TYPE_PARAMETERS); 1616 if (insertSpaceBeforeCommaInTypeParametersOption != null) { 1617 this.insert_space_before_comma_in_type_parameters = JavaCore.INSERT.equals(insertSpaceBeforeCommaInTypeParametersOption); 1618 } 1619 final Object insertSpaceBeforeEllipsisOption = settings.get(DefaultCodeFormatterConstants.FORMATTER_INSERT_SPACE_BEFORE_ELLIPSIS); 1620 if (insertSpaceBeforeEllipsisOption != null) { 1621 this.insert_space_before_ellipsis = JavaCore.INSERT.equals(insertSpaceBeforeEllipsisOption); 1622 } 1623 final Object insertSpaceBeforeOpeningAngleBrackerInParameterizedTypeReferenceOption = settings.get(DefaultCodeFormatterConstants.FORMATTER_INSERT_SPACE_BEFORE_OPENING_ANGLE_BRACKET_IN_PARAMETERIZED_TYPE_REFERENCE); 1624 if (insertSpaceBeforeOpeningAngleBrackerInParameterizedTypeReferenceOption != null) { 1625 this.insert_space_before_opening_angle_bracket_in_parameterized_type_reference = JavaCore.INSERT.equals(insertSpaceBeforeOpeningAngleBrackerInParameterizedTypeReferenceOption); 1626 } 1627 final Object insertSpaceBeforeOpeningAngleBrackerInTypeArgumentsOption = settings.get(DefaultCodeFormatterConstants.FORMATTER_INSERT_SPACE_BEFORE_OPENING_ANGLE_BRACKET_IN_TYPE_ARGUMENTS); 1628 if (insertSpaceBeforeOpeningAngleBrackerInTypeArgumentsOption != null) { 1629 this.insert_space_before_opening_angle_bracket_in_type_arguments = JavaCore.INSERT.equals(insertSpaceBeforeOpeningAngleBrackerInTypeArgumentsOption); 1630 } 1631 final Object insertSpaceBeforeOpeningAngleBrackerInTypeParametersOption = settings.get(DefaultCodeFormatterConstants.FORMATTER_INSERT_SPACE_BEFORE_OPENING_ANGLE_BRACKET_IN_TYPE_PARAMETERS); 1632 if (insertSpaceBeforeOpeningAngleBrackerInTypeParametersOption != null) { 1633 this.insert_space_before_opening_angle_bracket_in_type_parameters = JavaCore.INSERT.equals(insertSpaceBeforeOpeningAngleBrackerInTypeParametersOption); 1634 } 1635 final Object insertSpaceBeforeOpeningBraceInAnnotationTypeDeclarationOption = settings.get(DefaultCodeFormatterConstants.FORMATTER_INSERT_SPACE_BEFORE_OPENING_BRACE_IN_ANNOTATION_TYPE_DECLARATION); 1636 if (insertSpaceBeforeOpeningBraceInAnnotationTypeDeclarationOption != null) { 1637 this.insert_space_before_opening_brace_in_annotation_type_declaration = JavaCore.INSERT.equals(insertSpaceBeforeOpeningBraceInAnnotationTypeDeclarationOption); 1638 } 1639 final Object insertSpaceBeforeOpeningBraceInAnonymousTypeDeclarationOption = settings.get(DefaultCodeFormatterConstants.FORMATTER_INSERT_SPACE_BEFORE_OPENING_BRACE_IN_ANONYMOUS_TYPE_DECLARATION); 1640 if (insertSpaceBeforeOpeningBraceInAnonymousTypeDeclarationOption != null) { 1641 this.insert_space_before_opening_brace_in_anonymous_type_declaration = JavaCore.INSERT.equals(insertSpaceBeforeOpeningBraceInAnonymousTypeDeclarationOption); 1642 } 1643 final Object insertSpaceBeforeOpeningBraceInArrayInitializerOption = settings.get(DefaultCodeFormatterConstants.FORMATTER_INSERT_SPACE_BEFORE_OPENING_BRACE_IN_ARRAY_INITIALIZER); 1644 if (insertSpaceBeforeOpeningBraceInArrayInitializerOption != null) { 1645 this.insert_space_before_opening_brace_in_array_initializer = JavaCore.INSERT.equals(insertSpaceBeforeOpeningBraceInArrayInitializerOption); 1646 } 1647 final Object insertSpaceBeforeOpeningBraceInBlockOption = settings.get(DefaultCodeFormatterConstants.FORMATTER_INSERT_SPACE_BEFORE_OPENING_BRACE_IN_BLOCK); 1648 if (insertSpaceBeforeOpeningBraceInBlockOption != null) { 1649 this.insert_space_before_opening_brace_in_block = JavaCore.INSERT.equals(insertSpaceBeforeOpeningBraceInBlockOption); 1650 } 1651 final Object insertSpaceBeforeOpeningBraceInConstructorDeclarationOption = settings.get(DefaultCodeFormatterConstants.FORMATTER_INSERT_SPACE_BEFORE_OPENING_BRACE_IN_CONSTRUCTOR_DECLARATION); 1652 if (insertSpaceBeforeOpeningBraceInConstructorDeclarationOption != null) { 1653 this.insert_space_before_opening_brace_in_constructor_declaration = JavaCore.INSERT.equals(insertSpaceBeforeOpeningBraceInConstructorDeclarationOption); 1654 } 1655 final Object insertSpaceBeforeOpeningBraceInEnumDeclarationOption = settings.get(DefaultCodeFormatterConstants.FORMATTER_INSERT_SPACE_BEFORE_OPENING_BRACE_IN_ENUM_DECLARATION); 1656 if (insertSpaceBeforeOpeningBraceInEnumDeclarationOption != null) { 1657 this.insert_space_before_opening_brace_in_enum_declaration = JavaCore.INSERT.equals(insertSpaceBeforeOpeningBraceInEnumDeclarationOption); 1658 } 1659 final Object insertSpaceBeforeOpeningBraceInEnumConstantOption = settings.get(DefaultCodeFormatterConstants.FORMATTER_INSERT_SPACE_BEFORE_OPENING_BRACE_IN_ENUM_CONSTANT); 1660 if (insertSpaceBeforeOpeningBraceInEnumConstantOption != null) { 1661 this.insert_space_before_opening_brace_in_enum_constant = JavaCore.INSERT.equals(insertSpaceBeforeOpeningBraceInEnumConstantOption); 1662 } 1663 final Object insertSpaceBeforeOpeningBraceInMethodDeclarationOption = settings.get(DefaultCodeFormatterConstants.FORMATTER_INSERT_SPACE_BEFORE_OPENING_BRACE_IN_METHOD_DECLARATION); 1664 if (insertSpaceBeforeOpeningBraceInMethodDeclarationOption != null) { 1665 this.insert_space_before_opening_brace_in_method_declaration = JavaCore.INSERT.equals(insertSpaceBeforeOpeningBraceInMethodDeclarationOption); 1666 } 1667 final Object insertSpaceBeforeOpeningBraceInTypeDeclarationOption = settings.get(DefaultCodeFormatterConstants.FORMATTER_INSERT_SPACE_BEFORE_OPENING_BRACE_IN_TYPE_DECLARATION); 1668 if (insertSpaceBeforeOpeningBraceInTypeDeclarationOption != null) { 1669 this.insert_space_before_opening_brace_in_type_declaration = JavaCore.INSERT.equals(insertSpaceBeforeOpeningBraceInTypeDeclarationOption); 1670 } 1671 final Object insertSpaceBeforeOpeningBracketInArrayAllocationExpressionOption = settings.get(DefaultCodeFormatterConstants.FORMATTER_INSERT_SPACE_BEFORE_OPENING_BRACKET_IN_ARRAY_ALLOCATION_EXPRESSION); 1672 if (insertSpaceBeforeOpeningBracketInArrayAllocationExpressionOption != null) { 1673 this.insert_space_before_opening_bracket_in_array_allocation_expression = JavaCore.INSERT.equals(insertSpaceBeforeOpeningBracketInArrayAllocationExpressionOption); 1674 } 1675 final Object insertSpaceBeforeOpeningBracketInArrayReferenceOption = settings.get(DefaultCodeFormatterConstants.FORMATTER_INSERT_SPACE_BEFORE_OPENING_BRACKET_IN_ARRAY_REFERENCE); 1676 if (insertSpaceBeforeOpeningBracketInArrayReferenceOption != null) { 1677 this.insert_space_before_opening_bracket_in_array_reference = JavaCore.INSERT.equals(insertSpaceBeforeOpeningBracketInArrayReferenceOption); 1678 } 1679 final Object insertSpaceBeforeOpeningBracketInArrayTypeReferenceOption = settings.get(DefaultCodeFormatterConstants.FORMATTER_INSERT_SPACE_BEFORE_OPENING_BRACKET_IN_ARRAY_TYPE_REFERENCE); 1680 if (insertSpaceBeforeOpeningBracketInArrayTypeReferenceOption != null) { 1681 this.insert_space_before_opening_bracket_in_array_type_reference = JavaCore.INSERT.equals(insertSpaceBeforeOpeningBracketInArrayTypeReferenceOption); 1682 } 1683 final Object insertSpaceBeforeOpeningParenInAnnotationOption = settings.get(DefaultCodeFormatterConstants.FORMATTER_INSERT_SPACE_BEFORE_OPENING_PAREN_IN_ANNOTATION); 1684 if (insertSpaceBeforeOpeningParenInAnnotationOption != null) { 1685 this.insert_space_before_opening_paren_in_annotation = JavaCore.INSERT.equals(insertSpaceBeforeOpeningParenInAnnotationOption); 1686 } 1687 final Object insertSpaceBeforeOpeningParenInAnnotationTypeMemberDeclarationOption = settings.get(DefaultCodeFormatterConstants.FORMATTER_INSERT_SPACE_BEFORE_OPENING_PAREN_IN_ANNOTATION_TYPE_MEMBER_DECLARATION); 1688 if (insertSpaceBeforeOpeningParenInAnnotationTypeMemberDeclarationOption != null) { 1689 this.insert_space_before_opening_paren_in_annotation_type_member_declaration = JavaCore.INSERT.equals(insertSpaceBeforeOpeningParenInAnnotationTypeMemberDeclarationOption); 1690 } 1691 final Object insertSpaceBeforeOpeningParenInCatchOption = settings.get(DefaultCodeFormatterConstants.FORMATTER_INSERT_SPACE_BEFORE_OPENING_PAREN_IN_CATCH); 1692 if (insertSpaceBeforeOpeningParenInCatchOption != null) { 1693 this.insert_space_before_opening_paren_in_catch = JavaCore.INSERT.equals(insertSpaceBeforeOpeningParenInCatchOption); 1694 } 1695 final Object insertSpaceBeforeOpeningParenInConstructorDeclarationOption = settings.get(DefaultCodeFormatterConstants.FORMATTER_INSERT_SPACE_BEFORE_OPENING_PAREN_IN_CONSTRUCTOR_DECLARATION); 1696 if (insertSpaceBeforeOpeningParenInConstructorDeclarationOption != null) { 1697 this.insert_space_before_opening_paren_in_constructor_declaration = JavaCore.INSERT.equals(insertSpaceBeforeOpeningParenInConstructorDeclarationOption); 1698 } 1699 final Object insertSpaceBeforeOpeningParenInEnumConstantOption = settings.get(DefaultCodeFormatterConstants.FORMATTER_INSERT_SPACE_BEFORE_OPENING_PAREN_IN_ENUM_CONSTANT); 1700 if (insertSpaceBeforeOpeningParenInEnumConstantOption != null) { 1701 this.insert_space_before_opening_paren_in_enum_constant = JavaCore.INSERT.equals(insertSpaceBeforeOpeningParenInEnumConstantOption); 1702 } 1703 final Object insertSpaceBeforeOpeningParenInForOption = settings.get(DefaultCodeFormatterConstants.FORMATTER_INSERT_SPACE_BEFORE_OPENING_PAREN_IN_FOR); 1704 if (insertSpaceBeforeOpeningParenInForOption != null) { 1705 this.insert_space_before_opening_paren_in_for = JavaCore.INSERT.equals(insertSpaceBeforeOpeningParenInForOption); 1706 } 1707 final Object insertSpaceBeforeOpeningParenInIfOption = settings.get(DefaultCodeFormatterConstants.FORMATTER_INSERT_SPACE_BEFORE_OPENING_PAREN_IN_IF); 1708 if (insertSpaceBeforeOpeningParenInIfOption != null) { 1709 this.insert_space_before_opening_paren_in_if = JavaCore.INSERT.equals(insertSpaceBeforeOpeningParenInIfOption); 1710 } 1711 final Object insertSpaceBeforeOpeningParenInMethodInvocationOption = settings.get(DefaultCodeFormatterConstants.FORMATTER_INSERT_SPACE_BEFORE_OPENING_PAREN_IN_METHOD_INVOCATION); 1712 if (insertSpaceBeforeOpeningParenInMethodInvocationOption != null) { 1713 this.insert_space_before_opening_paren_in_method_invocation = JavaCore.INSERT.equals(insertSpaceBeforeOpeningParenInMethodInvocationOption); 1714 } 1715 final Object insertSpaceBeforeOpeningParenInMethodDeclarationOption = settings.get(DefaultCodeFormatterConstants.FORMATTER_INSERT_SPACE_BEFORE_OPENING_PAREN_IN_METHOD_DECLARATION); 1716 if (insertSpaceBeforeOpeningParenInMethodDeclarationOption != null) { 1717 this.insert_space_before_opening_paren_in_method_declaration = JavaCore.INSERT.equals(insertSpaceBeforeOpeningParenInMethodDeclarationOption); 1718 } 1719 final Object insertSpaceBeforeOpeningParenInSwitchOption = settings.get(DefaultCodeFormatterConstants.FORMATTER_INSERT_SPACE_BEFORE_OPENING_PAREN_IN_SWITCH); 1720 if (insertSpaceBeforeOpeningParenInSwitchOption != null) { 1721 this.insert_space_before_opening_paren_in_switch = JavaCore.INSERT.equals(insertSpaceBeforeOpeningParenInSwitchOption); 1722 } 1723 final Object insertSpaceBeforeOpeningBraceInSwitchOption = settings.get(DefaultCodeFormatterConstants.FORMATTER_INSERT_SPACE_BEFORE_OPENING_BRACE_IN_SWITCH); 1724 if (insertSpaceBeforeOpeningBraceInSwitchOption != null) { 1725 this.insert_space_before_opening_brace_in_switch = JavaCore.INSERT.equals(insertSpaceBeforeOpeningBraceInSwitchOption); 1726 } 1727 final Object insertSpaceBeforeOpeningParenInSynchronizedOption = settings.get(DefaultCodeFormatterConstants.FORMATTER_INSERT_SPACE_BEFORE_OPENING_PAREN_IN_SYNCHRONIZED); 1728 if (insertSpaceBeforeOpeningParenInSynchronizedOption != null) { 1729 this.insert_space_before_opening_paren_in_synchronized = JavaCore.INSERT.equals(insertSpaceBeforeOpeningParenInSynchronizedOption); 1730 } 1731 final Object insertSpaceBeforeOpeningParenInParenthesizedExpressionOption = settings.get(DefaultCodeFormatterConstants.FORMATTER_INSERT_SPACE_BEFORE_OPENING_PAREN_IN_PARENTHESIZED_EXPRESSION); 1732 if (insertSpaceBeforeOpeningParenInParenthesizedExpressionOption != null) { 1733 this.insert_space_before_opening_paren_in_parenthesized_expression = JavaCore.INSERT.equals(insertSpaceBeforeOpeningParenInParenthesizedExpressionOption); 1734 } 1735 final Object insertSpaceBeforeOpeningParenInWhileOption = settings.get(DefaultCodeFormatterConstants.FORMATTER_INSERT_SPACE_BEFORE_OPENING_PAREN_IN_WHILE); 1736 if (insertSpaceBeforeOpeningParenInWhileOption != null) { 1737 this.insert_space_before_opening_paren_in_while = JavaCore.INSERT.equals(insertSpaceBeforeOpeningParenInWhileOption); 1738 } 1739 final Object insertSpaceBeforeParenthesizedExpressionInReturnOption = settings.get(DefaultCodeFormatterConstants.FORMATTER_INSERT_SPACE_BEFORE_PARENTHESIZED_EXPRESSION_IN_RETURN); 1740 if (insertSpaceBeforeParenthesizedExpressionInReturnOption != null) { 1741 this.insert_space_before_parenthesized_expression_in_return = JavaCore.INSERT.equals(insertSpaceBeforeParenthesizedExpressionInReturnOption); 1742 } 1743 final Object insertSpaceBeforeParenthesizedExpressionInThrowOption = settings.get(DefaultCodeFormatterConstants.FORMATTER_INSERT_SPACE_BEFORE_PARENTHESIZED_EXPRESSION_IN_THROW); 1744 if (insertSpaceBeforeParenthesizedExpressionInThrowOption != null) { 1745 this.insert_space_before_parenthesized_expression_in_throw = JavaCore.INSERT.equals(insertSpaceBeforeParenthesizedExpressionInThrowOption); 1746 } 1747 final Object insertSpaceBeforePostfixOperatorOption = settings.get(DefaultCodeFormatterConstants.FORMATTER_INSERT_SPACE_BEFORE_POSTFIX_OPERATOR); 1748 if (insertSpaceBeforePostfixOperatorOption != null) { 1749 this.insert_space_before_postfix_operator = JavaCore.INSERT.equals(insertSpaceBeforePostfixOperatorOption); 1750 } 1751 final Object insertSpaceBeforePrefixOperatorOption = settings.get(DefaultCodeFormatterConstants.FORMATTER_INSERT_SPACE_BEFORE_PREFIX_OPERATOR); 1752 if (insertSpaceBeforePrefixOperatorOption != null) { 1753 this.insert_space_before_prefix_operator = JavaCore.INSERT.equals(insertSpaceBeforePrefixOperatorOption); 1754 } 1755 final Object insertSpaceBeforeQuestionInConditionalOption = settings.get(DefaultCodeFormatterConstants.FORMATTER_INSERT_SPACE_BEFORE_QUESTION_IN_CONDITIONAL); 1756 if (insertSpaceBeforeQuestionInConditionalOption != null) { 1757 this.insert_space_before_question_in_conditional = JavaCore.INSERT.equals(insertSpaceBeforeQuestionInConditionalOption); 1758 } 1759 final Object insertSpaceBeforeQuestionInWildcardOption = settings.get(DefaultCodeFormatterConstants.FORMATTER_INSERT_SPACE_BEFORE_QUESTION_IN_WILDCARD); 1760 if (insertSpaceBeforeQuestionInWildcardOption != null) { 1761 this.insert_space_before_question_in_wilcard = JavaCore.INSERT.equals(insertSpaceBeforeQuestionInWildcardOption); 1762 } 1763 final Object insertSpaceBeforeSemicolonOption = settings.get(DefaultCodeFormatterConstants.FORMATTER_INSERT_SPACE_BEFORE_SEMICOLON); 1764 if (insertSpaceBeforeSemicolonOption != null) { 1765 this.insert_space_before_semicolon = JavaCore.INSERT.equals(insertSpaceBeforeSemicolonOption); 1766 } 1767 final Object insertSpaceBeforeSemicolonInForOption = settings.get(DefaultCodeFormatterConstants.FORMATTER_INSERT_SPACE_BEFORE_SEMICOLON_IN_FOR); 1768 if (insertSpaceBeforeSemicolonInForOption != null) { 1769 this.insert_space_before_semicolon_in_for = JavaCore.INSERT.equals(insertSpaceBeforeSemicolonInForOption); 1770 } 1771 final Object insertSpaceBeforeUnaryOperatorOption = settings.get(DefaultCodeFormatterConstants.FORMATTER_INSERT_SPACE_BEFORE_UNARY_OPERATOR); 1772 if (insertSpaceBeforeUnaryOperatorOption != null) { 1773 this.insert_space_before_unary_operator = JavaCore.INSERT.equals(insertSpaceBeforeUnaryOperatorOption); 1774 } 1775 final Object insertSpaceBetweenBracketsInArrayTypeReferenceOption = settings.get(DefaultCodeFormatterConstants.FORMATTER_INSERT_SPACE_BETWEEN_BRACKETS_IN_ARRAY_TYPE_REFERENCE); 1776 if (insertSpaceBetweenBracketsInArrayTypeReferenceOption != null) { 1777 this.insert_space_between_brackets_in_array_type_reference = JavaCore.INSERT.equals(insertSpaceBetweenBracketsInArrayTypeReferenceOption); 1778 } 1779 final Object insertSpaceBetweenEmptyBracesInArrayInitializerOption = settings.get(DefaultCodeFormatterConstants.FORMATTER_INSERT_SPACE_BETWEEN_EMPTY_BRACES_IN_ARRAY_INITIALIZER); 1780 if (insertSpaceBetweenEmptyBracesInArrayInitializerOption != null) { 1781 this.insert_space_between_empty_braces_in_array_initializer = JavaCore.INSERT.equals(insertSpaceBetweenEmptyBracesInArrayInitializerOption); 1782 } 1783 final Object insertSpaceBetweenEmptyBracketsInArrayAllocationExpressionOption = settings.get(DefaultCodeFormatterConstants.FORMATTER_INSERT_SPACE_BETWEEN_EMPTY_BRACKETS_IN_ARRAY_ALLOCATION_EXPRESSION); 1784 if (insertSpaceBetweenEmptyBracketsInArrayAllocationExpressionOption != null) { 1785 this.insert_space_between_empty_brackets_in_array_allocation_expression = JavaCore.INSERT.equals(insertSpaceBetweenEmptyBracketsInArrayAllocationExpressionOption); 1786 } 1787 final Object insertSpaceBetweenEmptyParensInConstructorDeclarationOption = settings.get(DefaultCodeFormatterConstants.FORMATTER_INSERT_SPACE_BETWEEN_EMPTY_PARENS_IN_CONSTRUCTOR_DECLARATION); 1788 if (insertSpaceBetweenEmptyParensInConstructorDeclarationOption != null) { 1789 this.insert_space_between_empty_parens_in_constructor_declaration = JavaCore.INSERT.equals(insertSpaceBetweenEmptyParensInConstructorDeclarationOption); 1790 } 1791 final Object insertSpaceBetweenEmptyParensInAnnotationTypeMemberDeclarationOption = settings.get(DefaultCodeFormatterConstants.FORMATTER_INSERT_SPACE_BETWEEN_EMPTY_PARENS_IN_ANNOTATION_TYPE_MEMBER_DECLARATION); 1792 if (insertSpaceBetweenEmptyParensInAnnotationTypeMemberDeclarationOption != null) { 1793 this.insert_space_between_empty_parens_in_annotation_type_member_declaration = JavaCore.INSERT.equals(insertSpaceBetweenEmptyParensInAnnotationTypeMemberDeclarationOption); 1794 } 1795 final Object insertSpaceBetweenEmptyParensInEnumConstantOption = settings.get(DefaultCodeFormatterConstants.FORMATTER_INSERT_SPACE_BETWEEN_EMPTY_PARENS_IN_ENUM_CONSTANT); 1796 if (insertSpaceBetweenEmptyParensInEnumConstantOption != null) { 1797 this.insert_space_between_empty_parens_in_enum_constant = JavaCore.INSERT.equals(insertSpaceBetweenEmptyParensInEnumConstantOption); 1798 } 1799 final Object insertSpaceBetweenEmptyParensInMethodDeclarationOption = settings.get(DefaultCodeFormatterConstants.FORMATTER_INSERT_SPACE_BETWEEN_EMPTY_PARENS_IN_METHOD_DECLARATION); 1800 if (insertSpaceBetweenEmptyParensInMethodDeclarationOption != null) { 1801 this.insert_space_between_empty_parens_in_method_declaration = JavaCore.INSERT.equals(insertSpaceBetweenEmptyParensInMethodDeclarationOption); 1802 } 1803 final Object insertSpaceBetweenEmptyParensInMethodInvocationOption = settings.get(DefaultCodeFormatterConstants.FORMATTER_INSERT_SPACE_BETWEEN_EMPTY_PARENS_IN_METHOD_INVOCATION); 1804 if (insertSpaceBetweenEmptyParensInMethodInvocationOption != null) { 1805 this.insert_space_between_empty_parens_in_method_invocation = JavaCore.INSERT.equals(insertSpaceBetweenEmptyParensInMethodInvocationOption); 1806 } 1807 final Object compactElseIfOption = settings.get(DefaultCodeFormatterConstants.FORMATTER_COMPACT_ELSE_IF); 1808 if (compactElseIfOption != null) { 1809 this.compact_else_if = DefaultCodeFormatterConstants.TRUE.equals(compactElseIfOption); 1810 } 1811 final Object keepGuardianClauseOnOneLineOption = settings.get(DefaultCodeFormatterConstants.FORMATTER_KEEP_GUARDIAN_CLAUSE_ON_ONE_LINE); 1812 if (keepGuardianClauseOnOneLineOption != null) { 1813 this.keep_guardian_clause_on_one_line = DefaultCodeFormatterConstants.TRUE.equals(keepGuardianClauseOnOneLineOption); 1814 } 1815 final Object keepElseStatementOnSameLineOption = settings.get(DefaultCodeFormatterConstants.FORMATTER_KEEP_ELSE_STATEMENT_ON_SAME_LINE); 1816 if (keepElseStatementOnSameLineOption != null) { 1817 this.keep_else_statement_on_same_line = DefaultCodeFormatterConstants.TRUE.equals(keepElseStatementOnSameLineOption); 1818 } 1819 final Object keepEmptyArrayInitializerOnOneLineOption = settings.get(DefaultCodeFormatterConstants.FORMATTER_KEEP_EMPTY_ARRAY_INITIALIZER_ON_ONE_LINE); 1820 if (keepEmptyArrayInitializerOnOneLineOption != null) { 1821 this.keep_empty_array_initializer_on_one_line = DefaultCodeFormatterConstants.TRUE.equals(keepEmptyArrayInitializerOnOneLineOption); 1822 } 1823 final Object keepSimpleIfOnOneLineOption = settings.get(DefaultCodeFormatterConstants.FORMATTER_KEEP_SIMPLE_IF_ON_ONE_LINE); 1824 if (keepSimpleIfOnOneLineOption != null) { 1825 this.keep_simple_if_on_one_line = DefaultCodeFormatterConstants.TRUE.equals(keepSimpleIfOnOneLineOption); 1826 } 1827 final Object keepThenStatementOnSameLineOption = settings.get(DefaultCodeFormatterConstants.FORMATTER_KEEP_THEN_STATEMENT_ON_SAME_LINE); 1828 if (keepThenStatementOnSameLineOption != null) { 1829 this.keep_then_statement_on_same_line = DefaultCodeFormatterConstants.TRUE.equals(keepThenStatementOnSameLineOption); 1830 } 1831 final Object neverIndentBlockCommentOnFirstColumnOption = settings.get(DefaultCodeFormatterConstants.FORMATTER_NEVER_INDENT_BLOCK_COMMENTS_ON_FIRST_COLUMN); 1832 if (neverIndentBlockCommentOnFirstColumnOption != null) { 1833 this.never_indent_block_comments_on_first_column = DefaultCodeFormatterConstants.TRUE.equals(neverIndentBlockCommentOnFirstColumnOption); 1834 } 1835 final Object neverIndentLineCommentOnFirstColumnOption = settings.get(DefaultCodeFormatterConstants.FORMATTER_NEVER_INDENT_LINE_COMMENTS_ON_FIRST_COLUMN); 1836 if (neverIndentLineCommentOnFirstColumnOption != null) { 1837 this.never_indent_line_comments_on_first_column = DefaultCodeFormatterConstants.TRUE.equals(neverIndentLineCommentOnFirstColumnOption); 1838 } 1839 final Object numberOfEmptyLinesToPreserveOption = settings.get(DefaultCodeFormatterConstants.FORMATTER_NUMBER_OF_EMPTY_LINES_TO_PRESERVE); 1840 if (numberOfEmptyLinesToPreserveOption != null) { 1841 try { 1842 this.number_of_empty_lines_to_preserve = Integer.parseInt((String ) numberOfEmptyLinesToPreserveOption); 1843 } catch (NumberFormatException e) { 1844 this.number_of_empty_lines_to_preserve = 0; 1845 } catch(ClassCastException e) { 1846 this.number_of_empty_lines_to_preserve = 0; 1847 } 1848 } 1849 final Object putEmptyStatementOnNewLineOption = settings.get(DefaultCodeFormatterConstants.FORMATTER_PUT_EMPTY_STATEMENT_ON_NEW_LINE); 1850 if (putEmptyStatementOnNewLineOption != null) { 1851 this.put_empty_statement_on_new_line = DefaultCodeFormatterConstants.TRUE.equals(putEmptyStatementOnNewLineOption); 1852 } 1853 final Object tabSizeOption = settings.get(DefaultCodeFormatterConstants.FORMATTER_TAB_SIZE); 1854 if (tabSizeOption != null) { 1855 try { 1856 this.tab_size = Integer.parseInt((String ) tabSizeOption); 1857 } catch (NumberFormatException e) { 1858 this.tab_size = 4; 1859 } catch(ClassCastException e) { 1860 this.tab_size = 4; 1861 } 1862 } 1863 final Object useTabsOnlyForLeadingIndentationsOption = settings.get(DefaultCodeFormatterConstants.FORMATTER_USE_TABS_ONLY_FOR_LEADING_INDENTATIONS); 1864 if (useTabsOnlyForLeadingIndentationsOption != null) { 1865 this.use_tabs_only_for_leading_indentations = DefaultCodeFormatterConstants.TRUE.equals(useTabsOnlyForLeadingIndentationsOption); 1866 } 1867 final Object pageWidthOption = settings.get(DefaultCodeFormatterConstants.FORMATTER_LINE_SPLIT); 1868 if (pageWidthOption != null) { 1869 try { 1870 this.page_width = Integer.parseInt((String ) pageWidthOption); 1871 } catch (NumberFormatException e) { 1872 this.page_width = 80; 1873 } catch(ClassCastException e) { 1874 this.page_width = 80; 1875 } 1876 } 1877 final Object useTabOption = settings.get(DefaultCodeFormatterConstants.FORMATTER_TAB_CHAR); 1878 if (useTabOption != null) { 1879 if (JavaCore.TAB.equals(useTabOption)) { 1880 this.tab_char = TAB; 1881 } else if (JavaCore.SPACE.equals(useTabOption)) { 1882 this.tab_char = SPACE; 1883 } else { 1884 this.tab_char = MIXED; 1885 } 1886 } 1887 final Object wrapBeforeBinaryOperatorOption = settings.get(DefaultCodeFormatterConstants.FORMATTER_WRAP_BEFORE_BINARY_OPERATOR); 1888 if (wrapBeforeBinaryOperatorOption != null) { 1889 this.wrap_before_binary_operator = DefaultCodeFormatterConstants.TRUE.equals(wrapBeforeBinaryOperatorOption); 1890 } 1891 } 1892 1893 1897 private void setDeprecatedOptions(Map settings) { 1898 final Object commentClearBlankLinesOption = settings.get(DefaultCodeFormatterConstants.FORMATTER_COMMENT_CLEAR_BLANK_LINES); 1900 if (commentClearBlankLinesOption != null) { 1901 this.comment_clear_blank_lines_in_javadoc_comment = DefaultCodeFormatterConstants.TRUE.equals(commentClearBlankLinesOption); 1902 this.comment_clear_blank_lines_in_block_comment = DefaultCodeFormatterConstants.TRUE.equals(commentClearBlankLinesOption); 1903 } else { 1904 final Object commentClearBlankLinesInJavadocCommentOption = settings.get(DefaultCodeFormatterConstants.FORMATTER_COMMENT_CLEAR_BLANK_LINES_IN_JAVADOC_COMMENT); 1905 if (commentClearBlankLinesInJavadocCommentOption != null) { 1906 this.comment_clear_blank_lines_in_javadoc_comment = DefaultCodeFormatterConstants.TRUE.equals(commentClearBlankLinesInJavadocCommentOption); 1907 } 1908 final Object commentClearBlankLinesInBlockCommentOption = settings.get(DefaultCodeFormatterConstants.FORMATTER_COMMENT_CLEAR_BLANK_LINES_IN_BLOCK_COMMENT); 1909 if (commentClearBlankLinesInBlockCommentOption != null) { 1910 this.comment_clear_blank_lines_in_block_comment = DefaultCodeFormatterConstants.TRUE.equals(commentClearBlankLinesInBlockCommentOption); 1911 } 1912 } 1913 } 1914 1915 public void setDefaultSettings() { 1916 this.alignment_for_arguments_in_allocation_expression = Alignment.M_COMPACT_SPLIT; 1917 this.alignment_for_arguments_in_enum_constant = Alignment.M_COMPACT_SPLIT; 1918 this.alignment_for_arguments_in_explicit_constructor_call = Alignment.M_COMPACT_SPLIT; 1919 this.alignment_for_arguments_in_method_invocation = Alignment.M_COMPACT_SPLIT; 1920 this.alignment_for_arguments_in_qualified_allocation_expression = Alignment.M_COMPACT_SPLIT; 1921 this.alignment_for_assignment = Alignment.M_NO_ALIGNMENT; 1922 this.alignment_for_binary_expression = Alignment.M_COMPACT_SPLIT; 1923 this.alignment_for_compact_if = Alignment.M_ONE_PER_LINE_SPLIT | Alignment.M_INDENT_BY_ONE; 1924 this.alignment_for_conditional_expression = Alignment.M_ONE_PER_LINE_SPLIT; 1925 this.alignment_for_enum_constants = Alignment.NONE; 1926 this.alignment_for_expressions_in_array_initializer = Alignment.M_COMPACT_SPLIT; 1927 this.alignment_for_multiple_fields = Alignment.M_COMPACT_SPLIT; 1928 this.alignment_for_parameters_in_constructor_declaration = Alignment.M_COMPACT_SPLIT; 1929 this.alignment_for_parameters_in_method_declaration = Alignment.M_COMPACT_SPLIT; 1930 this.alignment_for_selector_in_method_invocation = Alignment.M_COMPACT_SPLIT; 1931 this.alignment_for_superclass_in_type_declaration = Alignment.M_NEXT_SHIFTED_SPLIT; 1932 this.alignment_for_superinterfaces_in_enum_declaration = Alignment.M_NEXT_SHIFTED_SPLIT; 1933 this.alignment_for_superinterfaces_in_type_declaration = Alignment.M_NEXT_SHIFTED_SPLIT; 1934 this.alignment_for_throws_clause_in_constructor_declaration = Alignment.M_COMPACT_SPLIT; 1935 this.alignment_for_throws_clause_in_method_declaration = Alignment.M_COMPACT_SPLIT; 1936 this.align_type_members_on_columns = false; 1937 this.brace_position_for_annotation_type_declaration = DefaultCodeFormatterConstants.END_OF_LINE; 1938 this.brace_position_for_anonymous_type_declaration = DefaultCodeFormatterConstants.END_OF_LINE; 1939 this.brace_position_for_array_initializer = DefaultCodeFormatterConstants.END_OF_LINE; 1940 this.brace_position_for_block = DefaultCodeFormatterConstants.END_OF_LINE; 1941 this.brace_position_for_block_in_case = DefaultCodeFormatterConstants.END_OF_LINE; 1942 this.brace_position_for_constructor_declaration = DefaultCodeFormatterConstants.END_OF_LINE; 1943 this.brace_position_for_enum_constant = DefaultCodeFormatterConstants.END_OF_LINE; 1944 this.brace_position_for_enum_declaration = DefaultCodeFormatterConstants.END_OF_LINE; 1945 this.brace_position_for_method_declaration = DefaultCodeFormatterConstants.END_OF_LINE; 1946 this.brace_position_for_type_declaration = DefaultCodeFormatterConstants.END_OF_LINE; 1947 this.brace_position_for_switch = DefaultCodeFormatterConstants.END_OF_LINE; 1948 this.comment_clear_blank_lines_in_block_comment = false; 1949 this.comment_clear_blank_lines_in_javadoc_comment = false; 1950 this.comment_format_block_comment = true; 1951 this.comment_format_javadoc_comment = true; 1952 this.comment_format_line_comment = true; 1953 this.comment_format_header = false; 1954 this.comment_format_html = true; 1955 this.comment_format_source = true; 1956 this.comment_indent_parameter_description = true; 1957 this.comment_indent_root_tags = true; 1958 this.comment_insert_empty_line_before_root_tags = true; 1959 this.comment_insert_new_line_for_parameter = true; 1960 this.comment_line_length = 80; 1961 this.continuation_indentation = 2; 1962 this.continuation_indentation_for_array_initializer = 2; 1963 this.blank_lines_after_imports = 0; 1964 this.blank_lines_after_package = 0; 1965 this.blank_lines_before_field = 0; 1966 this.blank_lines_before_first_class_body_declaration = 0; 1967 this.blank_lines_before_imports = 0; 1968 this.blank_lines_before_member_type = 0; 1969 this.blank_lines_before_method = 0; 1970 this.blank_lines_before_new_chunk = 0; 1971 this.blank_lines_before_package = 0; 1972 this.blank_lines_between_import_groups = 1; 1973 this.blank_lines_between_type_declarations = 0; 1974 this.blank_lines_at_beginning_of_method_body = 0; 1975 this.indent_statements_compare_to_block = true; 1976 this.indent_statements_compare_to_body = true; 1977 this.indent_body_declarations_compare_to_annotation_declaration_header = true; 1978 this.indent_body_declarations_compare_to_enum_constant_header = true; 1979 this.indent_body_declarations_compare_to_enum_declaration_header = true; 1980 this.indent_body_declarations_compare_to_type_header = true; 1981 this.indent_breaks_compare_to_cases = true; 1982 this.indent_empty_lines = false; 1983 this.indent_switchstatements_compare_to_cases = true; 1984 this.indent_switchstatements_compare_to_switch = true; 1985 this.indentation_size = 4; 1986 this.insert_new_line_after_annotation = true; 1987 this.insert_new_line_after_opening_brace_in_array_initializer = false; 1988 this.insert_new_line_at_end_of_file_if_missing = false; 1989 this.insert_new_line_before_catch_in_try_statement = false; 1990 this.insert_new_line_before_closing_brace_in_array_initializer = false; 1991 this.insert_new_line_before_else_in_if_statement = false; 1992 this.insert_new_line_before_finally_in_try_statement = false; 1993 this.insert_new_line_before_while_in_do_statement = false; 1994 this.insert_new_line_in_empty_anonymous_type_declaration = true; 1995 this.insert_new_line_in_empty_block = true; 1996 this.insert_new_line_in_empty_annotation_declaration = true; 1997 this.insert_new_line_in_empty_enum_constant = true; 1998 this.insert_new_line_in_empty_enum_declaration = true; 1999 this.insert_new_line_in_empty_method_body = true; 2000 this.insert_new_line_in_empty_type_declaration = true; 2001 this.insert_space_after_and_in_type_parameter = true; 2002 this.insert_space_after_assignment_operator = true; 2003 this.insert_space_after_at_in_annotation = false; 2004 this.insert_space_after_at_in_annotation_type_declaration = false; 2005 this.insert_space_after_binary_operator = true; 2006 this.insert_space_after_closing_angle_bracket_in_type_arguments = true; 2007 this.insert_space_after_closing_angle_bracket_in_type_parameters = true; 2008 this.insert_space_after_closing_paren_in_cast = true; 2009 this.insert_space_after_closing_brace_in_block = true; 2010 this.insert_space_after_colon_in_assert = true; 2011 this.insert_space_after_colon_in_case = true; 2012 this.insert_space_after_colon_in_conditional = true; 2013 this.insert_space_after_colon_in_for = true; 2014 this.insert_space_after_colon_in_labeled_statement = true; 2015 this.insert_space_after_comma_in_allocation_expression = true; 2016 this.insert_space_after_comma_in_annotation = true; 2017 this.insert_space_after_comma_in_array_initializer = true; 2018 this.insert_space_after_comma_in_constructor_declaration_parameters = true; 2019 this.insert_space_after_comma_in_constructor_declaration_throws = true; 2020 this.insert_space_after_comma_in_enum_constant_arguments = true; 2021 this.insert_space_after_comma_in_enum_declarations = true; 2022 this.insert_space_after_comma_in_explicit_constructor_call_arguments = true; 2023 this.insert_space_after_comma_in_for_increments = true; 2024 this.insert_space_after_comma_in_for_inits = true; 2025 this.insert_space_after_comma_in_method_invocation_arguments = true; 2026 this.insert_space_after_comma_in_method_declaration_parameters = true; 2027 this.insert_space_after_comma_in_method_declaration_throws = true; 2028 this.insert_space_after_comma_in_multiple_field_declarations = true; 2029 this.insert_space_after_comma_in_multiple_local_declarations = true; 2030 this.insert_space_after_comma_in_parameterized_type_reference = true; 2031 this.insert_space_after_comma_in_superinterfaces = true; 2032 this.insert_space_after_comma_in_type_arguments = true; 2033 this.insert_space_after_comma_in_type_parameters = true; 2034 this.insert_space_after_ellipsis = true; 2035 this.insert_space_after_opening_angle_bracket_in_parameterized_type_reference = false; 2036 this.insert_space_after_opening_angle_bracket_in_type_arguments = false; 2037 this.insert_space_after_opening_angle_bracket_in_type_parameters = false; 2038 this.insert_space_after_opening_bracket_in_array_allocation_expression = false; 2039 this.insert_space_after_opening_bracket_in_array_reference = false; 2040 this.insert_space_after_opening_brace_in_array_initializer = false; 2041 this.insert_space_after_opening_paren_in_annotation = false; 2042 this.insert_space_after_opening_paren_in_cast = false; 2043 this.insert_space_after_opening_paren_in_catch = false; 2044 this.insert_space_after_opening_paren_in_constructor_declaration = false; 2045 this.insert_space_after_opening_paren_in_enum_constant = false; 2046 this.insert_space_after_opening_paren_in_for = false; 2047 this.insert_space_after_opening_paren_in_if = false; 2048 this.insert_space_after_opening_paren_in_method_declaration = false; 2049 this.insert_space_after_opening_paren_in_method_invocation = false; 2050 this.insert_space_after_opening_paren_in_parenthesized_expression = false; 2051 this.insert_space_after_opening_paren_in_switch = false; 2052 this.insert_space_after_opening_paren_in_synchronized = false; 2053 this.insert_space_after_opening_paren_in_while = false; 2054 this.insert_space_after_postfix_operator = false; 2055 this.insert_space_after_prefix_operator = false; 2056 this.insert_space_after_question_in_conditional = true; 2057 this.insert_space_after_question_in_wilcard = false; 2058 this.insert_space_after_semicolon_in_for = true; 2059 this.insert_space_after_unary_operator = false; 2060 this.insert_space_before_and_in_type_parameter = true; 2061 this.insert_space_before_at_in_annotation_type_declaration = true; 2062 this.insert_space_before_assignment_operator = true; 2063 this.insert_space_before_binary_operator = true; 2064 this.insert_space_before_closing_angle_bracket_in_parameterized_type_reference = false; 2065 this.insert_space_before_closing_angle_bracket_in_type_arguments = false; 2066 this.insert_space_before_closing_angle_bracket_in_type_parameters = false; 2067 this.insert_space_before_closing_brace_in_array_initializer = false; 2068 this.insert_space_before_closing_bracket_in_array_allocation_expression = false; 2069 this.insert_space_before_closing_bracket_in_array_reference = false; 2070 this.insert_space_before_closing_paren_in_annotation = false; 2071 this.insert_space_before_closing_paren_in_cast = false; 2072 this.insert_space_before_closing_paren_in_catch = false; 2073 this.insert_space_before_closing_paren_in_constructor_declaration = false; 2074 this.insert_space_before_closing_paren_in_enum_constant = false; 2075 this.insert_space_before_closing_paren_in_for = false; 2076 this.insert_space_before_closing_paren_in_if = false; 2077 this.insert_space_before_closing_paren_in_method_declaration = false; 2078 this.insert_space_before_closing_paren_in_method_invocation = false; 2079 this.insert_space_before_closing_paren_in_parenthesized_expression = false; 2080 this.insert_space_before_closing_paren_in_switch = false; 2081 this.insert_space_before_closing_paren_in_synchronized = false; 2082 this.insert_space_before_closing_paren_in_while = false; 2083 this.insert_space_before_colon_in_assert = true; 2084 this.insert_space_before_colon_in_case = true; 2085 this.insert_space_before_colon_in_conditional = true; 2086 this.insert_space_before_colon_in_default = true; 2087 this.insert_space_before_colon_in_for = true; 2088 this.insert_space_before_colon_in_labeled_statement = true; 2089 this.insert_space_before_comma_in_allocation_expression = false; 2090 this.insert_space_before_comma_in_array_initializer = false; 2091 this.insert_space_before_comma_in_constructor_declaration_parameters = false; 2092 this.insert_space_before_comma_in_constructor_declaration_throws = false; 2093 this.insert_space_before_comma_in_enum_constant_arguments = false; 2094 this.insert_space_before_comma_in_enum_declarations = false; 2095 this.insert_space_before_comma_in_explicit_constructor_call_arguments = false; 2096 this.insert_space_before_comma_in_for_increments = false; 2097 this.insert_space_before_comma_in_for_inits = false; 2098 this.insert_space_before_comma_in_method_invocation_arguments = false; 2099 this.insert_space_before_comma_in_method_declaration_parameters = false; 2100 this.insert_space_before_comma_in_method_declaration_throws = false; 2101 this.insert_space_before_comma_in_multiple_field_declarations = false; 2102 this.insert_space_before_comma_in_multiple_local_declarations = false; 2103 this.insert_space_before_comma_in_parameterized_type_reference = false; 2104 this.insert_space_before_comma_in_superinterfaces = false; 2105 this.insert_space_before_comma_in_type_arguments = false; 2106 this.insert_space_before_comma_in_type_parameters = false; 2107 this.insert_space_before_ellipsis = false; 2108 this.insert_space_before_parenthesized_expression_in_return = true; 2109 this.insert_space_before_parenthesized_expression_in_throw = true; 2110 this.insert_space_before_opening_angle_bracket_in_parameterized_type_reference = false; 2111 this.insert_space_before_opening_angle_bracket_in_type_arguments = false; 2112 this.insert_space_before_opening_angle_bracket_in_type_parameters = false; 2113 this.insert_space_before_opening_brace_in_annotation_type_declaration = true; 2114 this.insert_space_before_opening_brace_in_anonymous_type_declaration = true; 2115 this.insert_space_before_opening_brace_in_array_initializer = false; 2116 this.insert_space_before_opening_brace_in_block = true; 2117 this.insert_space_before_opening_brace_in_constructor_declaration = true; 2118 this.insert_space_before_opening_brace_in_enum_constant = true; 2119 this.insert_space_before_opening_brace_in_enum_declaration = true; 2120 this.insert_space_before_opening_brace_in_method_declaration = true; 2121 this.insert_space_before_opening_brace_in_switch = true; 2122 this.insert_space_before_opening_brace_in_type_declaration = true; 2123 this.insert_space_before_opening_bracket_in_array_allocation_expression = false; 2124 this.insert_space_before_opening_bracket_in_array_reference = false; 2125 this.insert_space_before_opening_bracket_in_array_type_reference = false; 2126 this.insert_space_before_opening_paren_in_annotation = false; 2127 this.insert_space_before_opening_paren_in_annotation_type_member_declaration = false; 2128 this.insert_space_before_opening_paren_in_catch = true; 2129 this.insert_space_before_opening_paren_in_constructor_declaration = false; 2130 this.insert_space_before_opening_paren_in_enum_constant = false; 2131 this.insert_space_before_opening_paren_in_for = true; 2132 this.insert_space_before_opening_paren_in_if = true; 2133 this.insert_space_before_opening_paren_in_method_invocation = false; 2134 this.insert_space_before_opening_paren_in_method_declaration = false; 2135 this.insert_space_before_opening_paren_in_switch = true; 2136 this.insert_space_before_opening_paren_in_synchronized = true; 2137 this.insert_space_before_opening_paren_in_parenthesized_expression = false; 2138 this.insert_space_before_opening_paren_in_while = true; 2139 this.insert_space_before_postfix_operator = false; 2140 this.insert_space_before_prefix_operator = false; 2141 this.insert_space_before_question_in_conditional = true; 2142 this.insert_space_before_question_in_wilcard = false; 2143 this.insert_space_before_semicolon = false; 2144 this.insert_space_before_semicolon_in_for = false; 2145 this.insert_space_before_unary_operator = false; 2146 this.insert_space_between_brackets_in_array_type_reference = false; 2147 this.insert_space_between_empty_braces_in_array_initializer = false; 2148 this.insert_space_between_empty_brackets_in_array_allocation_expression = false; 2149 this.insert_space_between_empty_parens_in_annotation_type_member_declaration = false; 2150 this.insert_space_between_empty_parens_in_constructor_declaration = false; 2151 this.insert_space_between_empty_parens_in_enum_constant = false; 2152 this.insert_space_between_empty_parens_in_method_declaration = false; 2153 this.insert_space_between_empty_parens_in_method_invocation = false; 2154 this.compact_else_if = true; 2155 this.keep_guardian_clause_on_one_line = false; 2156 this.keep_else_statement_on_same_line = false; 2157 this.keep_empty_array_initializer_on_one_line = false; 2158 this.keep_simple_if_on_one_line = false; 2159 this.keep_then_statement_on_same_line = false; 2160 this.never_indent_block_comments_on_first_column = false; 2161 this.never_indent_line_comments_on_first_column = false; 2162 this.number_of_empty_lines_to_preserve = 1; 2163 this.put_empty_statement_on_new_line = false; 2164 this.tab_size = 4; 2165 this.page_width = 80; 2166 this.tab_char = TAB; this.use_tabs_only_for_leading_indentations = false; 2168 this.wrap_before_binary_operator = true; 2169 } 2170 2171 public void setEclipseDefaultSettings() { 2172 setJavaConventionsSettings(); 2173 this.tab_char = TAB; 2174 this.tab_size = 4; 2175 } 2176 2177 public void setJavaConventionsSettings() { 2178 this.alignment_for_arguments_in_allocation_expression = Alignment.M_COMPACT_SPLIT; 2179 this.alignment_for_arguments_in_enum_constant = Alignment.M_COMPACT_SPLIT; 2180 this.alignment_for_arguments_in_explicit_constructor_call = Alignment.M_COMPACT_SPLIT; 2181 this.alignment_for_arguments_in_method_invocation = Alignment.M_COMPACT_SPLIT; 2182 this.alignment_for_arguments_in_qualified_allocation_expression = Alignment.M_COMPACT_SPLIT; 2183 this.alignment_for_assignment = Alignment.M_NO_ALIGNMENT; 2184 this.alignment_for_binary_expression = Alignment.M_COMPACT_SPLIT; 2185 this.alignment_for_compact_if = Alignment.M_COMPACT_SPLIT; 2186 this.alignment_for_conditional_expression = Alignment.M_NEXT_PER_LINE_SPLIT; 2187 this.alignment_for_enum_constants = Alignment.NONE; 2188 this.alignment_for_expressions_in_array_initializer = Alignment.M_COMPACT_SPLIT; 2189 this.alignment_for_multiple_fields = Alignment.M_COMPACT_SPLIT; 2190 this.alignment_for_parameters_in_constructor_declaration = Alignment.M_COMPACT_SPLIT; 2191 this.alignment_for_parameters_in_method_declaration = Alignment.M_COMPACT_SPLIT; 2192 this.alignment_for_selector_in_method_invocation = Alignment.M_COMPACT_SPLIT; 2193 this.alignment_for_superclass_in_type_declaration = Alignment.M_COMPACT_SPLIT; 2194 this.alignment_for_superinterfaces_in_enum_declaration = Alignment.M_COMPACT_SPLIT; 2195 this.alignment_for_superinterfaces_in_type_declaration = Alignment.M_COMPACT_SPLIT; 2196 this.alignment_for_throws_clause_in_constructor_declaration = Alignment.M_COMPACT_SPLIT; 2197 this.alignment_for_throws_clause_in_method_declaration = Alignment.M_COMPACT_SPLIT; 2198 this.align_type_members_on_columns = false; 2199 this.brace_position_for_annotation_type_declaration = DefaultCodeFormatterConstants.END_OF_LINE; 2200 this.brace_position_for_anonymous_type_declaration = DefaultCodeFormatterConstants.END_OF_LINE; 2201 this.brace_position_for_array_initializer = DefaultCodeFormatterConstants.END_OF_LINE; 2202 this.brace_position_for_block = DefaultCodeFormatterConstants.END_OF_LINE; 2203 this.brace_position_for_block_in_case = DefaultCodeFormatterConstants.END_OF_LINE; 2204 this.brace_position_for_constructor_declaration = DefaultCodeFormatterConstants.END_OF_LINE; 2205 this.brace_position_for_enum_constant = DefaultCodeFormatterConstants.END_OF_LINE; 2206 this.brace_position_for_enum_declaration = DefaultCodeFormatterConstants.END_OF_LINE; 2207 this.brace_position_for_method_declaration = DefaultCodeFormatterConstants.END_OF_LINE; 2208 this.brace_position_for_type_declaration = DefaultCodeFormatterConstants.END_OF_LINE; 2209 this.brace_position_for_switch = DefaultCodeFormatterConstants.END_OF_LINE; 2210 this.comment_clear_blank_lines_in_block_comment = false; 2211 this.comment_clear_blank_lines_in_javadoc_comment = false; 2212 this.comment_format_block_comment = true; 2213 this.comment_format_javadoc_comment = true; 2214 this.comment_format_line_comment = true; 2215 this.comment_format_header = false; 2216 this.comment_format_html = true; 2217 this.comment_format_source = true; 2218 this.comment_indent_parameter_description = true; 2219 this.comment_indent_root_tags = true; 2220 this.comment_insert_empty_line_before_root_tags = true; 2221 this.comment_insert_new_line_for_parameter = true; 2222 this.comment_line_length = 80; 2223 this.continuation_indentation = 2; 2224 this.continuation_indentation_for_array_initializer = 2; 2225 this.blank_lines_after_imports = 1; 2226 this.blank_lines_after_package = 1; 2227 this.blank_lines_before_field = 0; 2228 this.blank_lines_before_first_class_body_declaration = 0; 2229 this.blank_lines_before_imports = 1; 2230 this.blank_lines_before_member_type = 1; 2231 this.blank_lines_before_method = 1; 2232 this.blank_lines_before_new_chunk = 1; 2233 this.blank_lines_before_package = 0; 2234 this.blank_lines_between_import_groups = 1; 2235 this.blank_lines_between_type_declarations = 1; 2236 this.blank_lines_at_beginning_of_method_body = 0; 2237 this.indent_statements_compare_to_block = true; 2238 this.indent_statements_compare_to_body = true; 2239 this.indent_body_declarations_compare_to_annotation_declaration_header = true; 2240 this.indent_body_declarations_compare_to_enum_constant_header = true; 2241 this.indent_body_declarations_compare_to_enum_declaration_header = true; 2242 this.indent_body_declarations_compare_to_type_header = true; 2243 this.indent_breaks_compare_to_cases = true; 2244 this.indent_empty_lines = false; 2245 this.indent_switchstatements_compare_to_cases = true; 2246 this.indent_switchstatements_compare_to_switch = false; 2247 this.indentation_size = 4; 2248 this.insert_new_line_after_annotation = true; 2249 this.insert_new_line_after_opening_brace_in_array_initializer = false; 2250 this.insert_new_line_at_end_of_file_if_missing = false; 2251 this.insert_new_line_before_catch_in_try_statement = false; 2252 this.insert_new_line_before_closing_brace_in_array_initializer = false; 2253 this.insert_new_line_before_else_in_if_statement = false; 2254 this.insert_new_line_before_finally_in_try_statement = false; 2255 this.insert_new_line_before_while_in_do_statement = false; 2256 this.insert_new_line_in_empty_anonymous_type_declaration = true; 2257 this.insert_new_line_in_empty_block = true; 2258 this.insert_new_line_in_empty_annotation_declaration = true; 2259 this.insert_new_line_in_empty_enum_constant = true; 2260 this.insert_new_line_in_empty_enum_declaration = true; 2261 this.insert_new_line_in_empty_method_body = true; 2262 this.insert_new_line_in_empty_type_declaration = true; 2263 this.insert_space_after_and_in_type_parameter = true; 2264 this.insert_space_after_assignment_operator = true; 2265 this.insert_space_after_at_in_annotation = false; 2266 this.insert_space_after_at_in_annotation_type_declaration = false; 2267 this.insert_space_after_binary_operator = true; 2268 this.insert_space_after_closing_angle_bracket_in_type_arguments = true; 2269 this.insert_space_after_closing_angle_bracket_in_type_parameters = true; 2270 this.insert_space_after_closing_paren_in_cast = true; 2271 this.insert_space_after_closing_brace_in_block = true; 2272 this.insert_space_after_colon_in_assert = true; 2273 this.insert_space_after_colon_in_case = true; 2274 this.insert_space_after_colon_in_conditional = true; 2275 this.insert_space_after_colon_in_for = true; 2276 this.insert_space_after_colon_in_labeled_statement = true; 2277 this.insert_space_after_comma_in_allocation_expression = true; 2278 this.insert_space_after_comma_in_annotation = true; 2279 this.insert_space_after_comma_in_array_initializer = true; 2280 this.insert_space_after_comma_in_constructor_declaration_parameters = true; 2281 this.insert_space_after_comma_in_constructor_declaration_throws = true; 2282 this.insert_space_after_comma_in_enum_constant_arguments = true; 2283 this.insert_space_after_comma_in_enum_declarations = true; 2284 this.insert_space_after_comma_in_explicit_constructor_call_arguments = true; 2285 this.insert_space_after_comma_in_for_increments = true; 2286 this.insert_space_after_comma_in_for_inits = true; 2287 this.insert_space_after_comma_in_method_invocation_arguments = true; 2288 this.insert_space_after_comma_in_method_declaration_parameters = true; 2289 this.insert_space_after_comma_in_method_declaration_throws = true; 2290 this.insert_space_after_comma_in_multiple_field_declarations = true; 2291 this.insert_space_after_comma_in_multiple_local_declarations = true; 2292 this.insert_space_after_comma_in_parameterized_type_reference = true; 2293 this.insert_space_after_comma_in_superinterfaces = true; 2294 this.insert_space_after_comma_in_type_arguments = true; 2295 this.insert_space_after_comma_in_type_parameters = true; 2296 this.insert_space_after_ellipsis = true; 2297 this.insert_space_after_opening_angle_bracket_in_parameterized_type_reference = false; 2298 this.insert_space_after_opening_angle_bracket_in_type_arguments = false; 2299 this.insert_space_after_opening_angle_bracket_in_type_parameters = false; 2300 this.insert_space_after_opening_bracket_in_array_allocation_expression = false; 2301 this.insert_space_after_opening_bracket_in_array_reference = false; 2302 this.insert_space_after_opening_brace_in_array_initializer = true; 2303 this.insert_space_after_opening_paren_in_annotation = false; 2304 this.insert_space_after_opening_paren_in_cast = false; 2305 this.insert_space_after_opening_paren_in_catch = false; 2306 this.insert_space_after_opening_paren_in_constructor_declaration = false; 2307 this.insert_space_after_opening_paren_in_enum_constant = false; 2308 this.insert_space_after_opening_paren_in_for = false; 2309 this.insert_space_after_opening_paren_in_if = false; 2310 this.insert_space_after_opening_paren_in_method_declaration = false; 2311 this.insert_space_after_opening_paren_in_method_invocation = false; 2312 this.insert_space_after_opening_paren_in_parenthesized_expression = false; 2313 this.insert_space_after_opening_paren_in_switch = false; 2314 this.insert_space_after_opening_paren_in_synchronized = false; 2315 this.insert_space_after_opening_paren_in_while = false; 2316 this.insert_space_after_postfix_operator = false; 2317 this.insert_space_after_prefix_operator = false; 2318 this.insert_space_after_question_in_conditional = true; 2319 this.insert_space_after_question_in_wilcard = false; 2320 this.insert_space_after_semicolon_in_for = true; 2321 this.insert_space_after_unary_operator = false; 2322 this.insert_space_before_and_in_type_parameter = true; 2323 this.insert_space_before_at_in_annotation_type_declaration = true; 2324 this.insert_space_before_assignment_operator = true; 2325 this.insert_space_before_binary_operator = true; 2326 this.insert_space_before_closing_angle_bracket_in_parameterized_type_reference = false; 2327 this.insert_space_before_closing_angle_bracket_in_type_arguments = false; 2328 this.insert_space_before_closing_angle_bracket_in_type_parameters = false; 2329 this.insert_space_before_closing_brace_in_array_initializer = true; 2330 this.insert_space_before_closing_bracket_in_array_allocation_expression = false; 2331 this.insert_space_before_closing_bracket_in_array_reference = false; 2332 this.insert_space_before_closing_paren_in_annotation = false; 2333 this.insert_space_before_closing_paren_in_cast = false; 2334 this.insert_space_before_closing_paren_in_catch = false; 2335 this.insert_space_before_closing_paren_in_constructor_declaration = false; 2336 this.insert_space_before_closing_paren_in_enum_constant = false; 2337 this.insert_space_before_closing_paren_in_for = false; 2338 this.insert_space_before_closing_paren_in_if = false; 2339 this.insert_space_before_closing_paren_in_method_declaration = false; 2340 this.insert_space_before_closing_paren_in_method_invocation = false; 2341 this.insert_space_before_closing_paren_in_parenthesized_expression = false; 2342 this.insert_space_before_closing_paren_in_switch = false; 2343 this.insert_space_before_closing_paren_in_synchronized = false; 2344 this.insert_space_before_closing_paren_in_while = false; 2345 this.insert_space_before_colon_in_assert = true; 2346 this.insert_space_before_colon_in_case = false; 2347 this.insert_space_before_colon_in_conditional = true; 2348 this.insert_space_before_colon_in_default = false; 2349 this.insert_space_before_colon_in_for = true; 2350 this.insert_space_before_colon_in_labeled_statement = false; 2351 this.insert_space_before_comma_in_allocation_expression = false; 2352 this.insert_space_before_comma_in_array_initializer = false; 2353 this.insert_space_before_comma_in_constructor_declaration_parameters = false; 2354 this.insert_space_before_comma_in_constructor_declaration_throws = false; 2355 this.insert_space_before_comma_in_enum_constant_arguments = false; 2356 this.insert_space_before_comma_in_enum_declarations = false; 2357 this.insert_space_before_comma_in_explicit_constructor_call_arguments = false; 2358 this.insert_space_before_comma_in_for_increments = false; 2359 this.insert_space_before_comma_in_for_inits = false; 2360 this.insert_space_before_comma_in_method_invocation_arguments = false; 2361 this.insert_space_before_comma_in_method_declaration_parameters = false; 2362 this.insert_space_before_comma_in_method_declaration_throws = false; 2363 this.insert_space_before_comma_in_multiple_field_declarations = false; 2364 this.insert_space_before_comma_in_multiple_local_declarations = false; 2365 this.insert_space_before_comma_in_parameterized_type_reference = false; 2366 this.insert_space_before_comma_in_superinterfaces = false; 2367 this.insert_space_before_comma_in_type_arguments = false; 2368 this.insert_space_before_comma_in_type_parameters = false; 2369 this.insert_space_before_ellipsis = false; 2370 this.insert_space_before_parenthesized_expression_in_return = true; 2371 this.insert_space_before_parenthesized_expression_in_throw = true; 2372 this.insert_space_before_opening_angle_bracket_in_parameterized_type_reference = false; 2373 this.insert_space_before_opening_angle_bracket_in_type_arguments = false; 2374 this.insert_space_before_opening_angle_bracket_in_type_parameters = false; 2375 this.insert_space_before_opening_brace_in_annotation_type_declaration = true; 2376 this.insert_space_before_opening_brace_in_anonymous_type_declaration = true; 2377 this.insert_space_before_opening_brace_in_array_initializer = true; 2378 this.insert_space_before_opening_brace_in_block = true; 2379 this.insert_space_before_opening_brace_in_constructor_declaration = true; 2380 this.insert_space_before_opening_brace_in_enum_constant = true; 2381 this.insert_space_before_opening_brace_in_enum_declaration = true; 2382 this.insert_space_before_opening_brace_in_method_declaration = true; 2383 this.insert_space_before_opening_brace_in_switch = true; 2384 this.insert_space_before_opening_brace_in_type_declaration = true; 2385 this.insert_space_before_opening_bracket_in_array_allocation_expression = false; 2386 this.insert_space_before_opening_bracket_in_array_reference = false; 2387 this.insert_space_before_opening_bracket_in_array_type_reference = false; 2388 this.insert_space_before_opening_paren_in_annotation = false; 2389 this.insert_space_before_opening_paren_in_annotation_type_member_declaration = false; 2390 this.insert_space_before_opening_paren_in_catch = true; 2391 this.insert_space_before_opening_paren_in_constructor_declaration = false; 2392 this.insert_space_before_opening_paren_in_enum_constant = false; 2393 this.insert_space_before_opening_paren_in_for = true; 2394 this.insert_space_before_opening_paren_in_if = true; 2395 this.insert_space_before_opening_paren_in_method_invocation = false; 2396 this.insert_space_before_opening_paren_in_method_declaration = false; 2397 this.insert_space_before_opening_paren_in_switch = true; 2398 this.insert_space_before_opening_paren_in_synchronized = true; 2399 this.insert_space_before_opening_paren_in_parenthesized_expression = false; 2400 this.insert_space_before_opening_paren_in_while = true; 2401 this.insert_space_before_postfix_operator = false; 2402 this.insert_space_before_prefix_operator = false; 2403 this.insert_space_before_question_in_conditional = true; 2404 this.insert_space_before_question_in_wilcard = false; 2405 this.insert_space_before_semicolon = false; 2406 this.insert_space_before_semicolon_in_for = false; 2407 this.insert_space_before_unary_operator = false; 2408 this.insert_space_between_brackets_in_array_type_reference = false; 2409 this.insert_space_between_empty_braces_in_array_initializer = false; 2410 this.insert_space_between_empty_brackets_in_array_allocation_expression = false; 2411 this.insert_space_between_empty_parens_in_annotation_type_member_declaration = false; 2412 this.insert_space_between_empty_parens_in_constructor_declaration = false; 2413 this.insert_space_between_empty_parens_in_enum_constant = false; 2414 this.insert_space_between_empty_parens_in_method_declaration = false; 2415 this.insert_space_between_empty_parens_in_method_invocation = false; 2416 this.compact_else_if = true; 2417 this.keep_guardian_clause_on_one_line = false; 2418 this.keep_else_statement_on_same_line = false; 2419 this.keep_empty_array_initializer_on_one_line = false; 2420 this.keep_simple_if_on_one_line = false; 2421 this.keep_then_statement_on_same_line = false; 2422 this.never_indent_block_comments_on_first_column = false; 2423 this.never_indent_line_comments_on_first_column = false; 2424 this.number_of_empty_lines_to_preserve = 1; 2425 this.put_empty_statement_on_new_line = true; 2426 this.tab_size = 8; 2427 this.page_width = 80; 2428 this.tab_char = MIXED; 2429 this.use_tabs_only_for_leading_indentations = false; 2430 this.wrap_before_binary_operator = true; 2431 } 2432} 2433 | Popular Tags |