1 /*******************************************************************************
2 * Copyright (c) 2000, 2004 IBM Corporation and others.
3 * All rights reserved. This program and the accompanying materials
4 * are made available under the terms of the Common Public License v1.0
5 * which accompanies this distribution, and is available at
6 * http://www.eclipse.org/legal/cpl-v10.html
9 * IBM Corporation - initial API and implementation
10 *******************************************************************************/
11 package net.sourceforge.phpdt.core.formatter;
13 // import java.util.Map;
15 import net.sourceforge.phpdt.core.JavaCore;
18 * Constants used to set up the options of the code formatter.
22 public class DefaultCodeFormatterConstants {
25 * Private constants. Not in javadoc
27 private static final IllegalArgumentException WRONG_ARGUMENT = new IllegalArgumentException();
31 * FORMATTER / Value to set a brace location at the end of a line.
34 * @see #FORMATTER_BRACE_POSITION_FOR_ANONYMOUS_TYPE_DECLARATION
35 * @see #FORMATTER_BRACE_POSITION_FOR_ARRAY_INITIALIZER
36 * @see #FORMATTER_BRACE_POSITION_FOR_BLOCK
37 * @see #FORMATTER_BRACE_POSITION_FOR_CONSTRUCTOR_DECLARATION
38 * @see #FORMATTER_BRACE_POSITION_FOR_METHOD_DECLARATION
39 * @see #FORMATTER_BRACE_POSITION_FOR_SWITCH
40 * @see #FORMATTER_BRACE_POSITION_FOR_TYPE_DECLARATION
43 public static final String END_OF_LINE = "end_of_line"; //$NON-NLS-1$
47 * FORMATTER / Value to set a brace location at the start of the next line with
48 * the right indentation.
51 * @see #FORMATTER_BRACE_POSITION_FOR_ANONYMOUS_TYPE_DECLARATION
52 * @see #FORMATTER_BRACE_POSITION_FOR_ARRAY_INITIALIZER
53 * @see #FORMATTER_BRACE_POSITION_FOR_BLOCK
54 * @see #FORMATTER_BRACE_POSITION_FOR_CONSTRUCTOR_DECLARATION
55 * @see #FORMATTER_BRACE_POSITION_FOR_METHOD_DECLARATION
56 * @see #FORMATTER_BRACE_POSITION_FOR_SWITCH
57 * @see #FORMATTER_BRACE_POSITION_FOR_TYPE_DECLARATION
60 public static final String NEXT_LINE = "next_line"; //$NON-NLS-1$
64 * FORMATTER / Value to set a brace location at the start of the next line with
65 * an extra indentation.
68 * @see #FORMATTER_BRACE_POSITION_FOR_ANONYMOUS_TYPE_DECLARATION
69 * @see #FORMATTER_BRACE_POSITION_FOR_ARRAY_INITIALIZER
70 * @see #FORMATTER_BRACE_POSITION_FOR_BLOCK
71 * @see #FORMATTER_BRACE_POSITION_FOR_CONSTRUCTOR_DECLARATION
72 * @see #FORMATTER_BRACE_POSITION_FOR_METHOD_DECLARATION
73 * @see #FORMATTER_BRACE_POSITION_FOR_SWITCH
74 * @see #FORMATTER_BRACE_POSITION_FOR_TYPE_DECLARATION
77 public static final String NEXT_LINE_SHIFTED = "next_line_shifted"; //$NON-NLS-1$
81 * FORMATTER / Value to set a brace location at the start of the next line if a wrapping
85 * @see #FORMATTER_BRACE_POSITION_FOR_ANONYMOUS_TYPE_DECLARATION
86 * @see #FORMATTER_BRACE_POSITION_FOR_ARRAY_INITIALIZER
87 * @see #FORMATTER_BRACE_POSITION_FOR_BLOCK
88 * @see #FORMATTER_BRACE_POSITION_FOR_CONSTRUCTOR_DECLARATION
89 * @see #FORMATTER_BRACE_POSITION_FOR_METHOD_DECLARATION
90 * @see #FORMATTER_BRACE_POSITION_FOR_SWITCH
91 * @see #FORMATTER_BRACE_POSITION_FOR_TYPE_DECLARATION
94 public static final String NEXT_LINE_ON_WRAP = "next_line_on_wrap"; //$NON-NLS-1$
98 * FORMATTER / Value to set an option to true.
103 public static final String FALSE = "false"; //$NON-NLS-1$
107 * FORMATTER / Value to set an option to false.
112 public static final String TRUE = "true"; //$NON-NLS-1$
116 * FORMATTER / Value to disable alignment.
121 public static final int WRAP_NO_SPLIT = 0;
125 * FORMATTER / The wrapping is done using as few lines as possible.
130 public static final int WRAP_COMPACT = 1;
134 * FORMATTER / The wrapping is done putting the first element on a new
135 * line and then wrapping next elements using as few lines as possible.
140 public static final int WRAP_COMPACT_FIRST_BREAK = 2;
144 * FORMATTER / The wrapping is done by putting each element on its own line.
149 public static final int WRAP_ONE_PER_LINE = 3;
153 * FORMATTER / The wrapping is done by putting each element on its own line.
154 * All elements are indented by one except the first element.
159 public static final int WRAP_NEXT_SHIFTED = 4;
163 * FORMATTER / The wrapping is done by putting each element on its own line
164 * except the first element.
169 public static final int WRAP_NEXT_PER_LINE = 5;
173 * FORMATTER / The wrapping is done by using the current indentation.
178 public static final int INDENT_DEFAULT = 0;
182 * FORMATTER / The wrapping is done by indenting on column under the splitting location.
187 public static final int INDENT_ON_COLUMN = 1;
191 * FORMATTER / The wrapping is done by indenting by one compare to the current indentation.
196 public static final int INDENT_BY_ONE = 2;
200 * FORMATTER / Option for alignment of arguments in allocation expression
201 * - option id: "net.sourceforge.phpdt.core.formatter.alignment_for_arguments_in_allocation_expression"
202 * - possible values: values returned by
204 * createAlignmentValue(boolean, int, int)
207 * - default: createAlignmentValue(false, WRAP_COMPACT, INDENT_DEFAULT)
210 * @see #createAlignmentValue(boolean, int, int)
213 public static final String FORMATTER_ALIGNMENT_FOR_ARGUMENTS_IN_ALLOCATION_EXPRESSION = JavaCore.PLUGIN_ID
214 + ".formatter.alignment_for_arguments_in_allocation_expression"; //$NON-NLS-1$
218 * FORMATTER / Option for alignment of arguments in explicit constructor call
219 * - option id: "net.sourceforge.phpdt.core.formatter.alignment_for_arguments_in_explicit_constructor_call"
220 * - possible values: values returned by
222 * createAlignmentValue(boolean, int, int)
225 * - default: createAlignmentValue(false, WRAP_COMPACT, INDENT_DEFAULT)
228 * @see #createAlignmentValue(boolean, int, int)
231 public static final String FORMATTER_ALIGNMENT_FOR_ARGUMENTS_IN_EXPLICIT_CONSTRUCTOR_CALL = JavaCore.PLUGIN_ID
232 + ".formatter.alignment_for_arguments_in_explicit_constructor_call"; //$NON-NLS-1$
236 * FORMATTER / Option for alignment of arguments in method invocation
237 * - option id: "net.sourceforge.phpdt.core.formatter.alignment_for_arguments_in_method_invocation"
238 * - possible values: values returned by
240 * createAlignmentValue(boolean, int, int)
243 * - default: createAlignmentValue(false, WRAP_COMPACT, INDENT_DEFAULT)
246 * @see #createAlignmentValue(boolean, int, int)
249 public static final String FORMATTER_ALIGNMENT_FOR_ARGUMENTS_IN_METHOD_INVOCATION = JavaCore.PLUGIN_ID
250 + ".formatter.alignment_for_arguments_in_method_invocation"; //$NON-NLS-1$
254 * FORMATTER / Option for alignment of arguments in qualified allocation expression
255 * - option id: "net.sourceforge.phpdt.core.formatter.alignment_for_arguments_in_qualified_allocation_expression"
256 * - possible values: values returned by
258 * createAlignmentValue(boolean, int, int)
261 * - default: createAlignmentValue(false, WRAP_COMPACT, INDENT_DEFAULT)
264 * @see #createAlignmentValue(boolean, int, int)
267 public static final String FORMATTER_ALIGNMENT_FOR_ARGUMENTS_IN_QUALIFIED_ALLOCATION_EXPRESSION = JavaCore.PLUGIN_ID
268 + ".formatter.alignment_for_arguments_in_qualified_allocation_expression"; //$NON-NLS-1$
272 * FORMATTER / Option for alignment of binary expression
273 * - option id: "net.sourceforge.phpdt.core.formatter.alignment_for_binary_expression"
274 * - possible values: values returned by
276 * createAlignmentValue(boolean, int, int)
279 * - default: createAlignmentValue(false, WRAP_COMPACT, INDENT_DEFAULT)
282 * @see #createAlignmentValue(boolean, int, int)
285 public static final String FORMATTER_ALIGNMENT_FOR_BINARY_EXPRESSION = JavaCore.PLUGIN_ID
286 + ".formatter.alignment_for_binary_expression"; //$NON-NLS-1$
290 * FORMATTER / Option for alignment of compact if
291 * - option id: "net.sourceforge.phpdt.core.formatter.alignment_for_compact_if"
292 * - possible values: values returned by
294 * createAlignmentValue(boolean, int, int)
297 * - default: createAlignmentValue(false, WRAP_ONE_PER_LINE, INDENT_BY_ONE)
300 * @see #createAlignmentValue(boolean, int, int)
303 public static final String FORMATTER_ALIGNMENT_FOR_COMPACT_IF = JavaCore.PLUGIN_ID
304 + ".formatter.alignment_for_compact_if"; //$NON-NLS-1$
308 * FORMATTER / Option for alignment of conditional expression
309 * - option id: "net.sourceforge.phpdt.core.formatter.alignment_for_conditional_expression"
310 * - possible values: values returned by
312 * createAlignmentValue(boolean, int, int)
315 * - default: createAlignmentValue(false, WRAP_ONE_PER_LINE, INDENT_DEFAULT)
318 * @see #createAlignmentValue(boolean, int, int)
321 public static final String FORMATTER_ALIGNMENT_FOR_CONDITIONAL_EXPRESSION = JavaCore.PLUGIN_ID
322 + ".formatter.alignment_for_conditional_expression"; //$NON-NLS-1$
326 * FORMATTER / Option for alignment of expressions in array initializer
327 * - option id: "net.sourceforge.phpdt.core.formatter.alignment_for_expressions_in_array_initializer"
328 * - possible values: values returned by
330 * createAlignmentValue(boolean, int, int)
333 * - default: createAlignmentValue(false, WRAP_COMPACT, INDENT_DEFAULT)
336 * @see #createAlignmentValue(boolean, int, int)
339 public static final String FORMATTER_ALIGNMENT_FOR_EXPRESSIONS_IN_ARRAY_INITIALIZER = JavaCore.PLUGIN_ID
340 + ".formatter.alignment_for_expressions_in_array_initializer"; //$NON-NLS-1$
344 * FORMATTER / Option for alignment of multiple fields
345 * - option id: "net.sourceforge.phpdt.core.formatter.alignment_for_multiple_fields"
346 * - possible values: values returned by
348 * createAlignmentValue(boolean, int, int)
351 * - default: createAlignmentValue(false, WRAP_COMPACT, INDENT_DEFAULT)
354 * @see #createAlignmentValue(boolean, int, int)
357 public static final String FORMATTER_ALIGNMENT_FOR_MULTIPLE_FIELDS = JavaCore.PLUGIN_ID
358 + ".formatter.alignment_for_multiple_fields";//$NON-NLS-1$
362 * FORMATTER / Option for alignment of parameters in constructor declaration
363 * - option id: "net.sourceforge.phpdt.core.formatter.alignment_for_parameters_in_constructor_declaration"
364 * - possible values: values returned by
366 * createAlignmentValue(boolean, int, int)
369 * - default: createAlignmentValue(false, WRAP_COMPACT, INDENT_DEFAULT)
372 * @see #createAlignmentValue(boolean, int, int)
375 public static final String FORMATTER_ALIGNMENT_FOR_PARAMETERS_IN_CONSTRUCTOR_DECLARATION = JavaCore.PLUGIN_ID
376 + ".formatter.alignment_for_parameters_in_constructor_declaration"; //$NON-NLS-1$
380 * FORMATTER / Option for alignment of parameters in method declaration
381 * - option id: "net.sourceforge.phpdt.core.formatter.alignment_for_parameters_in_method_declaration"
382 * - possible values: values returned by
384 * createAlignmentValue(boolean, int, int)
387 * - default: createAlignmentValue(false, WRAP_COMPACT, INDENT_DEFAULT)
390 * @see #createAlignmentValue(boolean, int, int)
393 public static final String FORMATTER_ALIGNMENT_FOR_PARAMETERS_IN_METHOD_DECLARATION = JavaCore.PLUGIN_ID
394 + ".formatter.alignment_for_parameters_in_method_declaration"; //$NON-NLS-1$
398 * FORMATTER / Option for alignment of selector in method invocation
399 * - option id: "net.sourceforge.phpdt.core.formatter.alignment_for_selector_in_method_invocation"
400 * - possible values: values returned by
402 * createAlignmentValue(boolean, int, int)
405 * - default: createAlignmentValue(false, WRAP_COMPACT, INDENT_DEFAULT)
408 * @see #createAlignmentValue(boolean, int, int)
411 public static final String FORMATTER_ALIGNMENT_FOR_SELECTOR_IN_METHOD_INVOCATION = JavaCore.PLUGIN_ID
412 + ".formatter.alignment_for_selector_in_method_invocation"; //$NON-NLS-1$
416 * FORMATTER / Option for alignment of superclass in type declaration
417 * - option id: "net.sourceforge.phpdt.core.formatter.alignment_for_superclass_in_type_declaration"
418 * - possible values: values returned by
420 * createAlignmentValue(boolean, int, int)
423 * - default: createAlignmentValue(false, WRAP_NEXT_SHIFTED, INDENT_DEFAULT)
426 * @see #createAlignmentValue(boolean, int, int)
429 public static final String FORMATTER_ALIGNMENT_FOR_SUPERCLASS_IN_TYPE_DECLARATION = JavaCore.PLUGIN_ID
430 + ".formatter.alignment_for_superclass_in_type_declaration"; //$NON-NLS-1$
434 * FORMATTER / Option for alignment of superinterfaces in type declaration
435 * - option id: "net.sourceforge.phpdt.core.formatter.alignment_for_superinterfaces_in_type_declaration"
436 * - possible values: values returned by
438 * createAlignmentValue(boolean, int, int)
441 * - default: createAlignmentValue(false, WRAP_NEXT_SHIFTED, INDENT_DEFAULT)
444 * @see #createAlignmentValue(boolean, int, int)
447 public static final String FORMATTER_ALIGNMENT_FOR_SUPERINTERFACES_IN_TYPE_DECLARATION = JavaCore.PLUGIN_ID
448 + ".formatter.alignment_for_superinterfaces_in_type_declaration"; //$NON-NLS-1$
452 * FORMATTER / Option for alignment of throws clause in constructor declaration
453 * - option id: "net.sourceforge.phpdt.core.formatter.alignment_for_throws_clause_in_constructor_declaration"
454 * - possible values: values returned by
456 * createAlignmentValue(boolean, int, int)
459 * - default: createAlignmentValue(false, WRAP_COMPACT, INDENT_DEFAULT)
462 * @see #createAlignmentValue(boolean, int, int)
465 public static final String FORMATTER_ALIGNMENT_FOR_THROWS_CLAUSE_IN_CONSTRUCTOR_DECLARATION = JavaCore.PLUGIN_ID
466 + ".formatter.alignment_for_throws_clause_in_constructor_declaration"; //$NON-NLS-1$
470 * FORMATTER / Option for alignment of throws clause in method declaration
471 * - option id: "net.sourceforge.phpdt.core.formatter.alignment_for_throws_clause_in_method_declaration"
472 * - possible values: values returned by
474 * createAlignmentValue(boolean, int, int)
477 * - default: createAlignmentValue(false, WRAP_COMPACT, INDENT_DEFAULT)
480 * @see #createAlignmentValue(boolean, int, int)
483 public static final String FORMATTER_ALIGNMENT_FOR_THROWS_CLAUSE_IN_METHOD_DECLARATION = JavaCore.PLUGIN_ID
484 + ".formatter.alignment_for_throws_clause_in_method_declaration"; //$NON-NLS-1$
488 * FORMATTER / Option to align type members of a type declaration on column
489 * - option id: "net.sourceforge.phpdt.core.formatter.alignment_for_throws_clause_in_method_declaration"
490 * - possible values: values returned by
492 * createAlignmentValue(boolean, int, int)
495 * - default: createAlignmentValue(false, WRAP_COMPACT, INDENT_DEFAULT)
498 * @see #createAlignmentValue(boolean, int, int)
501 public static final String FORMATTER_ALIGN_TYPE_MEMBERS_ON_COLUMNS = JavaCore.PLUGIN_ID
502 + ".formatter.align_type_members_on_columns"; //$NON-NLS-1$
506 * FORMATTER / Option to position the braces of a anonymous type declaration
507 * - option id: "net.sourceforge.phpdt.core.formatter.brace_position_for_anonymous_type_declaration"
508 * - possible values: { END_OF_LINE, NEXT_LINE, NEXT_LINE_SHIFTED, NEXT_LINE_ON_WRAP }
509 * - default: END_OF_LINE
514 * @see #NEXT_LINE_SHIFTED
515 * @see #NEXT_LINE_ON_WRAP
518 public static final String FORMATTER_BRACE_POSITION_FOR_ANONYMOUS_TYPE_DECLARATION = JavaCore.PLUGIN_ID
519 + ".formatter.brace_position_for_anonymous_type_declaration"; //$NON-NLS-1$
523 * FORMATTER / Option to position the braces of an array initializer
524 * - option id: "net.sourceforge.phpdt.core.formatter.brace_position_for_array_initializer"
525 * - possible values: { END_OF_LINE, NEXT_LINE, NEXT_LINE_SHIFTED, NEXT_LINE_ON_WRAP }
526 * - default: END_OF_LINE
531 * @see #NEXT_LINE_SHIFTED
532 * @see #NEXT_LINE_ON_WRAP
535 public static final String FORMATTER_BRACE_POSITION_FOR_ARRAY_INITIALIZER = JavaCore.PLUGIN_ID
536 + ".formatter.brace_position_for_array_initializer"; //$NON-NLS-1$
540 * FORMATTER / Option to position the braces of a block
541 * - option id: "net.sourceforge.phpdt.core.formatter.brace_position_for_block"
542 * - possible values: { END_OF_LINE, NEXT_LINE, NEXT_LINE_SHIFTED, NEXT_LINE_ON_WRAP }
543 * - default: END_OF_LINE
548 * @see #NEXT_LINE_SHIFTED
549 * @see #NEXT_LINE_ON_WRAP
552 public static final String FORMATTER_BRACE_POSITION_FOR_BLOCK = JavaCore.PLUGIN_ID
553 + ".formatter.brace_position_for_block"; //$NON-NLS-1$
557 * FORMATTER / Option to position the braces of a block in a case statement when the block is the first statement following
559 * - option id: "net.sourceforge.phpdt.core.formatter.brace_position_for_block_in_case"
560 * - possible values: { END_OF_LINE, NEXT_LINE, NEXT_LINE_SHIFTED, NEXT_LINE_ON_WRAP }
561 * - default: END_OF_LINE
566 * @see #NEXT_LINE_SHIFTED
567 * @see #NEXT_LINE_ON_WRAP
570 public static final String FORMATTER_BRACE_POSITION_FOR_BLOCK_IN_CASE = JavaCore.PLUGIN_ID
571 + ".formatter.brace_position_for_block_in_case"; //$NON-NLS-1$
575 * FORMATTER / Option to position the braces of a constructor declaration
576 * - option id: "net.sourceforge.phpdt.core.formatter.brace_position_for_constructor_declaration"
577 * - possible values: { END_OF_LINE, NEXT_LINE, NEXT_LINE_SHIFTED, NEXT_LINE_ON_WRAP }
578 * - default: END_OF_LINE
583 * @see #NEXT_LINE_SHIFTED
584 * @see #NEXT_LINE_ON_WRAP
587 public static final String FORMATTER_BRACE_POSITION_FOR_CONSTRUCTOR_DECLARATION = JavaCore.PLUGIN_ID
588 + ".formatter.brace_position_for_constructor_declaration"; //$NON-NLS-1$
592 * FORMATTER / Option to position the braces of a method declaration
593 * - option id: "net.sourceforge.phpdt.core.formatter.brace_position_for_method_declaration"
594 * - possible values: { END_OF_LINE, NEXT_LINE, NEXT_LINE_SHIFTED, NEXT_LINE_ON_WRAP }
595 * - default: END_OF_LINE
600 * @see #NEXT_LINE_SHIFTED
601 * @see #NEXT_LINE_ON_WRAP
604 public static final String FORMATTER_BRACE_POSITION_FOR_METHOD_DECLARATION = JavaCore.PLUGIN_ID
605 + ".formatter.brace_position_for_method_declaration"; //$NON-NLS-1$
609 * FORMATTER / Option to position the braces of a type declaration
610 * - option id: "net.sourceforge.phpdt.core.formatter.brace_position_for_type_declaration"
611 * - possible values: { END_OF_LINE, NEXT_LINE, NEXT_LINE_SHIFTED, NEXT_LINE_ON_WRAP }
612 * - default: END_OF_LINE
617 * @see #NEXT_LINE_SHIFTED
618 * @see #NEXT_LINE_ON_WRAP
621 public static final String FORMATTER_BRACE_POSITION_FOR_TYPE_DECLARATION = JavaCore.PLUGIN_ID
622 + ".formatter.brace_position_for_type_declaration"; //$NON-NLS-1$
626 * FORMATTER / Option to position the braces of a switch statement
627 * - option id: "net.sourceforge.phpdt.core.formatter.brace_position_for_switch"
628 * - possible values: { END_OF_LINE, NEXT_LINE, NEXT_LINE_SHIFTED, NEXT_LINE_ON_WRAP }
629 * - default: END_OF_LINE
634 * @see #NEXT_LINE_SHIFTED
635 * @see #NEXT_LINE_ON_WRAP
638 public static final String FORMATTER_BRACE_POSITION_FOR_SWITCH = JavaCore.PLUGIN_ID
639 + ".formatter.brace_position_for_switch"; //$NON-NLS-1$
643 * FORMATTER / Option to set the continuation indentation
644 * - option id: "net.sourceforge.phpdt.core.formatter.continuation_indentation"
645 * - possible values: "<n>", where n is zero or a positive integer
646 * - default: "2"
651 public static final String FORMATTER_CONTINUATION_INDENTATION = JavaCore.PLUGIN_ID
652 + ".formatter.continuation_indentation"; //$NON-NLS-1$
656 * FORMATTER / Option to set the continuation indentation inside array initializer
657 * - option id: "net.sourceforge.phpdt.core.formatter.continuation_indentation_for_array_initializer"
658 * - possible values: "<n>", where n is zero or a positive integer
659 * - default: "2"
664 public static final String FORMATTER_CONTINUATION_INDENTATION_FOR_ARRAY_INITIALIZER = JavaCore.PLUGIN_ID
665 + ".formatter.continuation_indentation_for_array_initializer"; //$NON-NLS-1$
669 * FORMATTER / Option to add blank lines after the imports declaration
670 * - option id: "net.sourceforge.phpdt.core.formatter.blank_lines_after_imports"
671 * - possible values: "<n>", where n is zero or a positive integer
672 * - default: "0"
677 public static final String FORMATTER_BLANK_LINES_AFTER_IMPORTS = JavaCore.PLUGIN_ID
678 + ".formatter.blank_lines_after_imports"; //$NON-NLS-1$
682 * FORMATTER / Option to add blank lines after the package declaration
683 * - option id: "net.sourceforge.phpdt.core.formatter.blank_lines_after_package"
684 * - possible values: "<n>", where n is zero or a positive integer
685 * - default: "0"
690 public static final String FORMATTER_BLANK_LINES_AFTER_PACKAGE = JavaCore.PLUGIN_ID
691 + ".formatter.blank_lines_after_package"; //$NON-NLS-1$
695 * FORMATTER / Option to add blank lines before a field declaration
696 * - option id: "net.sourceforge.phpdt.core.formatter.blank_lines_before_field"
697 * - possible values: "<n>", where n is zero or a positive integer
698 * - default: "0"
703 public static final String FORMATTER_BLANK_LINES_BEFORE_FIELD = JavaCore.PLUGIN_ID
704 + ".formatter.blank_lines_before_field"; //$NON-NLS-1$
708 * FORMATTER / Option to add blank lines before the first class body declaration
709 * - option id: "net.sourceforge.phpdt.core.formatter.blank_lines_before_first_class_body_declaration"
710 * - possible values: "<n>", where n is zero or a positive integer
711 * - default: "0"
716 public static final String FORMATTER_BLANK_LINES_BEFORE_FIRST_CLASS_BODY_DECLARATION = JavaCore.PLUGIN_ID
717 + ".formatter.blank_lines_before_first_class_body_declaration"; //$NON-NLS-1$
721 * FORMATTER / Option to add blank lines before the imports declaration
722 * - option id: "net.sourceforge.phpdt.core.formatter.blank_lines_before_imports"
723 * - possible values: "<n>", where n is zero or a positive integer
724 * - default: "0"
729 public static final String FORMATTER_BLANK_LINES_BEFORE_IMPORTS = JavaCore.PLUGIN_ID
730 + ".formatter.blank_lines_before_imports"; //$NON-NLS-1$
734 * FORMATTER / Option to add blank lines before a member type declaration
735 * - option id: "net.sourceforge.phpdt.core.formatter.blank_lines_before_member_type"
736 * - possible values: "<n>", where n is zero or a positive integer
737 * - default: "0"
742 public static final String FORMATTER_BLANK_LINES_BEFORE_MEMBER_TYPE = JavaCore.PLUGIN_ID
743 + ".formatter.blank_lines_before_member_type"; //$NON-NLS-1$
747 * FORMATTER / Option to add blank lines before a method declaration
748 * - option id: "net.sourceforge.phpdt.core.formatter.blank_lines_before_method"
749 * - possible values: "<n>", where n is zero or a positive integer
750 * - default: "0"
755 public static final String FORMATTER_BLANK_LINES_BEFORE_METHOD = JavaCore.PLUGIN_ID
756 + ".formatter.blank_lines_before_method"; //$NON-NLS-1$
760 * FORMATTER / Option to add blank lines before a new chunk
761 * - option id: "net.sourceforge.phpdt.core.formatter.blank_lines_before_new_chunk"
762 * - possible values: "<n>", where n is zero or a positive integer
763 * - default: "0"
768 public static final String FORMATTER_BLANK_LINES_BEFORE_NEW_CHUNK = JavaCore.PLUGIN_ID
769 + ".formatter.blank_lines_before_new_chunk"; //$NON-NLS-1$
773 * FORMATTER / Option to add blank lines before the package declaration
774 * - option id: "net.sourceforge.phpdt.core.formatter.blank_lines_before_package"
775 * - possible values: "<n>", where n is zero or a positive integer
776 * - default: "0"
781 public static final String FORMATTER_BLANK_LINES_BEFORE_PACKAGE = JavaCore.PLUGIN_ID
782 + ".formatter.blank_lines_before_package"; //$NON-NLS-1$
786 * FORMATTER / Option to add blank lines between type declarations
787 * - option id: "net.sourceforge.phpdt.core.formatter.blank_lines_between_type_declarations"
788 * - possible values: "<n>", where n is zero or a positive integer
789 * - default: "0"
794 public static final String FORMATTER_BLANK_LINES_BETWEEN_TYPE_DECLARATIONS = JavaCore.PLUGIN_ID
795 + ".formatter.blank_lines_between_type_declarations"; //$NON-NLS-1$
799 * FORMATTER / Option to add blank lines at the beginning of the method body
800 * - option id: "net.sourceforge.phpdt.core.formatter.number_of_blank_lines_at_beginning_of_method_body"
801 * - possible values: "<n>", where n is zero or a positive integer
802 * - default: "0"
807 public static final String FORMATTER_BLANK_LINES_AT_BEGINNING_OF_METHOD_BODY = JavaCore.PLUGIN_ID
808 + ".formatter.number_of_blank_lines_at_beginning_of_method_body"; //$NON-NLS-1$
812 * FORMATTER / Option to indent body declarations compare to its enclosing type header
813 * - option id: "net.sourceforge.phpdt.core.formatter.indent_body_declarations_compare_to_type_header"
814 * - possible values: { TRUE, FALSE }
822 public static final String FORMATTER_INDENT_BODY_DECLARATIONS_COMPARE_TO_TYPE_HEADER = JavaCore.PLUGIN_ID
823 + ".formatter.indent_body_declarations_compare_to_type_header"; //$NON-NLS-1$
827 * FORMATTER / Option to indent breaks compare to cases
828 * - option id: "net.sourceforge.phpdt.core.formatter.indent_breaks_compare_to_cases"
829 * - possible values: { TRUE, FALSE }
837 public static final String FORMATTER_INDENT_BREAKS_COMPARE_TO_CASES = JavaCore.PLUGIN_ID
838 + ".formatter.indent_breaks_compare_to_cases"; //$NON-NLS-1$
842 * FORMATTER / Option to indent statements inside a block
843 * - option id: "net.sourceforge.phpdt.core.formatter.indent_statements_compare_to_block"
844 * - possible values: { TRUE, FALSE }
852 public static final String FORMATTER_INDENT_STATEMENTS_COMPARE_TO_BLOCK = JavaCore.PLUGIN_ID
853 + ".formatter.indent_statements_compare_to_block"; //$NON-NLS-1$
857 * FORMATTER / Option to indent statements inside the body of a method or a constructor
858 * - option id: "net.sourceforge.phpdt.core.formatter.indent_statements_compare_to_body"
859 * - possible values: { TRUE, FALSE }
867 public static final String FORMATTER_INDENT_STATEMENTS_COMPARE_TO_BODY = JavaCore.PLUGIN_ID
868 + ".formatter.indent_statements_compare_to_body"; //$NON-NLS-1$
872 * FORMATTER / Option to indent switch statements compare to cases
873 * - option id: "net.sourceforge.phpdt.core.formatter.indent_switchstatements_compare_to_cases"
874 * - possible values: { TRUE, FALSE }
882 public static final String FORMATTER_INDENT_SWITCHSTATEMENTS_COMPARE_TO_CASES = JavaCore.PLUGIN_ID
883 + ".formatter.indent_switchstatements_compare_to_cases"; //$NON-NLS-1$
887 * FORMATTER / Option to indent switch statements compare to switch
888 * - option id: "net.sourceforge.phpdt.core.formatter.indent_switchstatements_compare_to_switch"
889 * - possible values: { TRUE, FALSE }
897 public static final String FORMATTER_INDENT_SWITCHSTATEMENTS_COMPARE_TO_SWITCH = JavaCore.PLUGIN_ID
898 + ".formatter.indent_switchstatements_compare_to_switch"; //$NON-NLS-1$
902 * FORMATTER / Option to insert a new line after the opening brace in an array initializer
903 * - option id: "net.sourceforge.phpdt.core.formatter.insert_new_line_after_opening_brace_in_array_initializer"
904 * - possible values: { INSERT, DO_NOT_INSERT }
905 * - default: DO_NOT_INSERT
908 * @see JavaCore#INSERT
909 * @see JavaCore#DO_NOT_INSERT
912 public static final String FORMATTER_INSERT_NEW_LINE_AFTER_OPENING_BRACE_IN_ARRAY_INITIALIZER = JavaCore.PLUGIN_ID
913 + ".formatter.insert_new_line_after_opening_brace_in_array_initializer";//$NON-NLS-1$
917 * FORMATTER / Option to insert a new line before the catch keyword in try statement
918 * - option id: "net.sourceforge.phpdt.core.formatter.insert_new_line_before_catch_in_try_statement"
919 * - possible values: { INSERT, DO_NOT_INSERT }
920 * - default: DO_NOT_INSERT
923 * @see JavaCore#INSERT
924 * @see JavaCore#DO_NOT_INSERT
927 public static final String FORMATTER_INSERT_NEW_LINE_BEFORE_CATCH_IN_TRY_STATEMENT = JavaCore.PLUGIN_ID
928 + ".formatter.insert_new_line_before_catch_in_try_statement"; //$NON-NLS-1$
932 * FORMATTER / Option to insert a new line before the closing brace in an array initializer
933 * - option id: "net.sourceforge.phpdt.core.formatter.insert_new_line_before_closing_brace_in_array_initializer"
934 * - possible values: { INSERT, DO_NOT_INSERT }
935 * - default: DO_NOT_INSERT
938 * @see JavaCore#INSERT
939 * @see JavaCore#DO_NOT_INSERT
942 public static final String FORMATTER_INSERT_NEW_LINE_BEFORE_CLOSING_BRACE_IN_ARRAY_INITIALIZER = JavaCore.PLUGIN_ID
943 + ".formatter.insert_new_line_before_closing_brace_in_array_initializer";//$NON-NLS-1$
947 * FORMATTER / Option to insert a new line before the else keyword in if statement
948 * - option id: "net.sourceforge.phpdt.core.formatter.insert_new_line_before_else_in_if_statement"
949 * - possible values: { INSERT, DO_NOT_INSERT }
950 * - default: DO_NOT_INSERT
953 * @see JavaCore#INSERT
954 * @see JavaCore#DO_NOT_INSERT
957 public static final String FORMATTER_INSERT_NEW_LINE_BEFORE_ELSE_IN_IF_STATEMENT = JavaCore.PLUGIN_ID
958 + ".formatter.insert_new_line_before_else_in_if_statement"; //$NON-NLS-1$
962 * FORMATTER / Option to insert a new line before the finally keyword in try statement
963 * - option id: "net.sourceforge.phpdt.core.formatter.insert_new_line_before_finally_in_try_statement"
964 * - possible values: { INSERT, DO_NOT_INSERT }
965 * - default: DO_NOT_INSERT
968 * @see JavaCore#INSERT
969 * @see JavaCore#DO_NOT_INSERT
972 public static final String FORMATTER_INSERT_NEW_LINE_BEFORE_FINALLY_IN_TRY_STATEMENT = JavaCore.PLUGIN_ID
973 + ".formatter.insert_new_line_before_finally_in_try_statement"; //$NON-NLS-1$
977 * FORMATTER / Option to insert a new line before while in do statement
978 * - option id: "net.sourceforge.phpdt.core.formatter.insert_new_line_before_while_in_do_statement"
979 * - possible values: { INSERT, DO_NOT_INSERT }
980 * - default: DO_NOT_INSERT
983 * @see JavaCore#INSERT
984 * @see JavaCore#DO_NOT_INSERT
987 public static final String FORMATTER_INSERT_NEW_LINE_BEFORE_WHILE_IN_DO_STATEMENT = JavaCore.PLUGIN_ID
988 + ".formatter.insert_new_line_before_while_in_do_statement"; //$NON-NLS-1$
992 * FORMATTER / Option to insert a new line in an empty anonymous type declaration
993 * - option id: "net.sourceforge.phpdt.core.formatter.insert_new_line_in_empty_anonymous_type_declaration"
994 * - possible values: { INSERT, DO_NOT_INSERT }
998 * @see JavaCore#INSERT
999 * @see JavaCore#DO_NOT_INSERT
1002 public static final String FORMATTER_INSERT_NEW_LINE_IN_EMPTY_ANONYMOUS_TYPE_DECLARATION = JavaCore.PLUGIN_ID
1003 + ".formatter.insert_new_line_in_empty_anonymous_type_declaration"; //$NON-NLS-1$
1007 * FORMATTER / Option to insert a new line in an empty block
1008 * - option id: "net.sourceforge.phpdt.core.formatter.insert_new_line_in_empty_block"
1009 * - possible values: { INSERT, DO_NOT_INSERT }
1013 * @see JavaCore#INSERT
1014 * @see JavaCore#DO_NOT_INSERT
1017 public static final String FORMATTER_INSERT_NEW_LINE_IN_EMPTY_BLOCK = JavaCore.PLUGIN_ID
1018 + ".formatter.insert_new_line_in_empty_block"; //$NON-NLS-1$
1022 * FORMATTER / Option to insert a new line in an empty method body
1023 * - option id: "net.sourceforge.phpdt.core.formatter.insert_new_line_in_empty_method_body"
1024 * - possible values: { INSERT, DO_NOT_INSERT }
1028 * @see JavaCore#INSERT
1029 * @see JavaCore#DO_NOT_INSERT
1032 public static final String FORMATTER_INSERT_NEW_LINE_IN_EMPTY_METHOD_BODY = JavaCore.PLUGIN_ID
1033 + ".formatter.insert_new_line_in_empty_method_body"; //$NON-NLS-1$
1037 * FORMATTER / Option to insert a new line in an empty type declaration
1038 * - option id: "net.sourceforge.phpdt.core.formatter.insert_new_line_in_empty_type_declaration"
1039 * - possible values: { INSERT, DO_NOT_INSERT }
1043 * @see JavaCore#INSERT
1044 * @see JavaCore#DO_NOT_INSERT
1047 public static final String FORMATTER_INSERT_NEW_LINE_IN_EMPTY_TYPE_DECLARATION = JavaCore.PLUGIN_ID
1048 + ".formatter.insert_new_line_in_empty_type_declaration"; //$NON-NLS-1$
1052 * FORMATTER / Option to insert a space after an assignment operator
1053 * - option id: "net.sourceforge.phpdt.core.formatter.insert_space_after_assignment_operator"
1054 * - possible values: { INSERT, DO_NOT_INSERT }
1058 * @see JavaCore#INSERT
1059 * @see JavaCore#DO_NOT_INSERT
1062 public static final String FORMATTER_INSERT_SPACE_AFTER_ASSIGNMENT_OPERATOR = JavaCore.PLUGIN_ID
1063 + ".formatter.insert_space_after_assignment_operator"; //$NON-NLS-1$
1067 * FORMATTER / Option to insert a space after a binary operator
1068 * - option id: "net.sourceforge.phpdt.core.formatter.insert_space_after_binary_operator"
1069 * - possible values: { INSERT, DO_NOT_INSERT }
1073 * @see JavaCore#INSERT
1074 * @see JavaCore#DO_NOT_INSERT
1077 public static final String FORMATTER_INSERT_SPACE_AFTER_BINARY_OPERATOR = JavaCore.PLUGIN_ID
1078 + ".formatter.insert_space_after_binary_operator"; //$NON-NLS-1$
1082 * FORMATTER / Option to insert a space after the closing parenthesis of a cast expression
1083 * - option id: "net.sourceforge.phpdt.core.formatter.insert_space_after_closing_paren_in_cast"
1084 * - possible values: { INSERT, DO_NOT_INSERT }
1088 * @see JavaCore#INSERT
1089 * @see JavaCore#DO_NOT_INSERT
1092 public static final String FORMATTER_INSERT_SPACE_AFTER_CLOSING_PAREN_IN_CAST = JavaCore.PLUGIN_ID
1093 + ".formatter.insert_space_after_closing_paren_in_cast"; //$NON-NLS-1$
1097 * FORMATTER / Option to insert a space after the closing brace of a block
1098 * - option id: "net.sourceforge.phpdt.core.formatter.insert_space_after_closing_brace_in_block"
1099 * - possible values: { INSERT, DO_NOT_INSERT }
1103 * @see JavaCore#INSERT
1104 * @see JavaCore#DO_NOT_INSERT
1107 public static final String FORMATTER_INSERT_SPACE_AFTER_CLOSING_BRACE_IN_BLOCK = JavaCore.PLUGIN_ID
1108 + ".formatter.insert_space_after_closing_brace_in_block"; //$NON-NLS-1$
1112 * FORMATTER / Option to insert a space after the colon in an assert statement
1113 * - option id: "net.sourceforge.phpdt.core.formatter.insert_space_after_colon_in_assert"
1114 * - possible values: { INSERT, DO_NOT_INSERT }
1118 * @see JavaCore#INSERT
1119 * @see JavaCore#DO_NOT_INSERT
1122 public static final String FORMATTER_INSERT_SPACE_AFTER_COLON_IN_ASSERT = JavaCore.PLUGIN_ID
1123 + ".formatter.insert_space_after_colon_in_assert"; //$NON-NLS-1$
1127 * FORMATTER / Option to insert a space after colon in a case statement when a opening brace follows the colon
1128 * - option id: "net.sourceforge.phpdt.core.formatter.insert_space_after_colon_in_case"
1129 * - possible values: { INSERT, DO_NOT_INSERT }
1133 * @see JavaCore#INSERT
1134 * @see JavaCore#DO_NOT_INSERT
1137 public static final String FORMATTER_INSERT_SPACE_AFTER_COLON_IN_CASE = JavaCore.PLUGIN_ID
1138 + ".formatter.insert_space_after_colon_in_case"; //$NON-NLS-1$
1142 * FORMATTER / Option to insert a space after the colon in a conditional expression
1143 * - option id: "net.sourceforge.phpdt.core.formatter.insert_space_after_colon_in_conditional"
1144 * - possible values: { INSERT, DO_NOT_INSERT }
1148 * @see JavaCore#INSERT
1149 * @see JavaCore#DO_NOT_INSERT
1152 public static final String FORMATTER_INSERT_SPACE_AFTER_COLON_IN_CONDITIONAL = JavaCore.PLUGIN_ID
1153 + ".formatter.insert_space_after_colon_in_conditional"; //$NON-NLS-1$
1157 * FORMATTER / Option to insert a space after the colon in a labeled statement
1158 * - option id: "net.sourceforge.phpdt.core.formatter.insert_space_after_colon_in_labeled_statement"
1159 * - possible values: { INSERT, DO_NOT_INSERT }
1163 * @see JavaCore#INSERT
1164 * @see JavaCore#DO_NOT_INSERT
1167 public static final String FORMATTER_INSERT_SPACE_AFTER_COLON_IN_LABELED_STATEMENT = JavaCore.PLUGIN_ID
1168 + ".formatter.insert_space_after_colon_in_labeled_statement"; //$NON-NLS-1$
1172 * FORMATTER / Option to insert a space after the comma in an allocation expression
1173 * - option id: "net.sourceforge.phpdt.core.formatter.insert_space_after_comma_in_allocation_expression"
1174 * - possible values: { INSERT, DO_NOT_INSERT }
1178 * @see JavaCore#INSERT
1179 * @see JavaCore#DO_NOT_INSERT
1182 public static final String FORMATTER_INSERT_SPACE_AFTER_COMMA_IN_ALLOCATION_EXPRESSION = JavaCore.PLUGIN_ID
1183 + ".formatter.insert_space_after_comma_in_allocation_expression"; //$NON-NLS-1$
1187 * FORMATTER / Option to insert a space after the comma in an array initializer
1188 * - option id: "net.sourceforge.phpdt.core.formatter.insert_space_after_comma_in_array_initializer"
1189 * - possible values: { INSERT, DO_NOT_INSERT }
1193 * @see JavaCore#INSERT
1194 * @see JavaCore#DO_NOT_INSERT
1197 public static final String FORMATTER_INSERT_SPACE_AFTER_COMMA_IN_ARRAY_INITIALIZER = JavaCore.PLUGIN_ID
1198 + ".formatter.insert_space_after_comma_in_array_initializer"; //$NON-NLS-1$
1202 * FORMATTER / Option to insert a space after the comma in the parameters of a constructor declaration
1203 * - option id: "net.sourceforge.phpdt.core.formatter.insert_space_after_comma_in_constructor_declaration_parameters"
1204 * - possible values: { INSERT, DO_NOT_INSERT }
1208 * @see JavaCore#INSERT
1209 * @see JavaCore#DO_NOT_INSERT
1212 public static final String FORMATTER_INSERT_SPACE_AFTER_COMMA_IN_CONSTRUCTOR_DECLARATION_PARAMETERS = JavaCore.PLUGIN_ID
1213 + ".formatter.insert_space_after_comma_in_constructor_declaration_parameters"; //$NON-NLS-1$
1217 * FORMATTER / Option to insert a space after the comma in the exception names in a throws clause of a constructor declaration
1218 * - option id: "net.sourceforge.phpdt.core.formatter.insert_space_after_comma_in_constructor_declaration_throws"
1219 * - possible values: { INSERT, DO_NOT_INSERT }
1223 * @see JavaCore#INSERT
1224 * @see JavaCore#DO_NOT_INSERT
1227 public static final String FORMATTER_INSERT_SPACE_AFTER_COMMA_IN_CONSTRUCTOR_DECLARATION_THROWS = JavaCore.PLUGIN_ID
1228 + ".formatter.insert_space_after_comma_in_constructor_declaration_throws"; //$NON-NLS-1$
1232 * FORMATTER / Option to insert a space after the comma in the arguments of an explicit constructor call
1233 * - option id: "net.sourceforge.phpdt.core.formatter.insert_space_after_comma_in_explicitconstructorcall_arguments"
1234 * - possible values: { INSERT, DO_NOT_INSERT }
1238 * @see JavaCore#INSERT
1239 * @see JavaCore#DO_NOT_INSERT
1242 public static final String FORMATTER_INSERT_SPACE_AFTER_COMMA_IN_EXPLICIT_CONSTRUCTOR_CALL_ARGUMENTS = JavaCore.PLUGIN_ID
1243 + ".formatter.insert_space_after_comma_in_explicitconstructorcall_arguments"; //$NON-NLS-1$
1247 * FORMATTER / Option to insert a space after the comma in the increments of a for statement
1248 * - option id: "net.sourceforge.phpdt.core.formatter.insert_space_after_comma_in_for_increments"
1249 * - possible values: { INSERT, DO_NOT_INSERT }
1253 * @see JavaCore#INSERT
1254 * @see JavaCore#DO_NOT_INSERT
1257 public static final String FORMATTER_INSERT_SPACE_AFTER_COMMA_IN_FOR_INCREMENTS = JavaCore.PLUGIN_ID
1258 + ".formatter.insert_space_after_comma_in_for_increments"; //$NON-NLS-1$
1262 * FORMATTER / Option to insert a space after the comma in the initializations of a for statement
1263 * - option id: "net.sourceforge.phpdt.core.formatter.insert_space_after_comma_in_for_inits"
1264 * - possible values: { INSERT, DO_NOT_INSERT }
1268 * @see JavaCore#INSERT
1269 * @see JavaCore#DO_NOT_INSERT
1272 public static final String FORMATTER_INSERT_SPACE_AFTER_COMMA_IN_FOR_INITS = JavaCore.PLUGIN_ID
1273 + ".formatter.insert_space_after_comma_in_for_inits"; //$NON-NLS-1$
1277 * FORMATTER / Option to insert a space after the comma in the arguments of a method invocation
1278 * - option id: "net.sourceforge.phpdt.core.formatter.insert_space_after_comma_in_method_invocation_arguments"
1279 * - possible values: { INSERT, DO_NOT_INSERT }
1283 * @see JavaCore#INSERT
1284 * @see JavaCore#DO_NOT_INSERT
1287 public static final String FORMATTER_INSERT_SPACE_AFTER_COMMA_IN_METHOD_INVOCATION_ARGUMENTS = JavaCore.PLUGIN_ID
1288 + ".formatter.insert_space_after_comma_in_method_invocation_arguments"; //$NON-NLS-1$
1292 * FORMATTER / Option to insert a space after the comma in the parameters of a method declaration
1293 * - option id: "net.sourceforge.phpdt.core.formatter.insert_space_after_comma_in_method_declaration_parameters"
1294 * - possible values: { INSERT, DO_NOT_INSERT }
1298 * @see JavaCore#INSERT
1299 * @see JavaCore#DO_NOT_INSERT
1302 public static final String FORMATTER_INSERT_SPACE_AFTER_COMMA_IN_METHOD_DECLARATION_PARAMETERS = JavaCore.PLUGIN_ID
1303 + ".formatter.insert_space_after_comma_in_method_declaration_parameters"; //$NON-NLS-1$
1307 * FORMATTER / Option to insert a space after the comma in the exception names in a throws clause of a method declaration
1308 * - option id: "net.sourceforge.phpdt.core.formatter.insert_space_after_comma_in_method_declaration_throws"
1309 * - possible values: { INSERT, DO_NOT_INSERT }
1313 * @see JavaCore#INSERT
1314 * @see JavaCore#DO_NOT_INSERT
1317 public static final String FORMATTER_INSERT_SPACE_AFTER_COMMA_IN_METHOD_DECLARATION_THROWS = JavaCore.PLUGIN_ID
1318 + ".formatter.insert_space_after_comma_in_method_declaration_throws"; //$NON-NLS-1$
1322 * FORMATTER / Option to insert a space after the comma in multiple field declaration
1323 * - option id: "net.sourceforge.phpdt.core.formatter.insert_space_after_comma_in_multiple_field_declarations"
1324 * - possible values: { INSERT, DO_NOT_INSERT }
1328 * @see JavaCore#INSERT
1329 * @see JavaCore#DO_NOT_INSERT
1332 public static final String FORMATTER_INSERT_SPACE_AFTER_COMMA_IN_MULTIPLE_FIELD_DECLARATIONS = JavaCore.PLUGIN_ID
1333 + ".formatter.insert_space_after_comma_in_multiple_field_declarations"; //$NON-NLS-1$
1337 * FORMATTER / Option to insert a space after the comma in multiple local declaration
1338 * - option id: "net.sourceforge.phpdt.core.formatter.insert_space_after_comma_in_multiple_local_declarations"
1339 * - possible values: { INSERT, DO_NOT_INSERT }
1343 * @see JavaCore#INSERT
1344 * @see JavaCore#DO_NOT_INSERT
1347 public static final String FORMATTER_INSERT_SPACE_AFTER_COMMA_IN_MULTIPLE_LOCAL_DECLARATIONS = JavaCore.PLUGIN_ID
1348 + ".formatter.insert_space_after_comma_in_multiple_local_declarations"; //$NON-NLS-1$
1352 * FORMATTER / Option to insert a space after the comma in superinterfaces names of a type header
1353 * - option id: "net.sourceforge.phpdt.core.formatter.insert_space_after_comma_in_superinterfaces"
1354 * - possible values: { INSERT, DO_NOT_INSERT }
1358 * @see JavaCore#INSERT
1359 * @see JavaCore#DO_NOT_INSERT
1362 public static final String FORMATTER_INSERT_SPACE_AFTER_COMMA_IN_SUPERINTERFACES = JavaCore.PLUGIN_ID
1363 + ".formatter.insert_space_after_comma_in_superinterfaces"; //$NON-NLS-1$
1367 * FORMATTER / Option to insert a space after the opening bracket inside an array allocation expression
1368 * - option id: "net.sourceforge.phpdt.core.formatter.insert_space_after_opening_bracket_in_array_allocation_expression"
1369 * - possible values: { INSERT, DO_NOT_INSERT }
1370 * - default: DO_NOT_INSERT
1373 * @see JavaCore#INSERT
1374 * @see JavaCore#DO_NOT_INSERT
1377 public static final String FORMATTER_INSERT_SPACE_AFTER_OPENING_BRACKET_IN_ARRAY_ALLOCATION_EXPRESSION = JavaCore.PLUGIN_ID
1378 + ".formatter.insert_space_after_opening_bracket_in_array_allocation_expression";//$NON-NLS-1$
1382 * FORMATTER / Option to insert a space after the opening bracket inside an array reference
1383 * - option id: "net.sourceforge.phpdt.core.formatter.insert_space_after_opening_bracket_in_array_reference"
1384 * - possible values: { INSERT, DO_NOT_INSERT }
1385 * - default: DO_NOT_INSERT
1388 * @see JavaCore#INSERT
1389 * @see JavaCore#DO_NOT_INSERT
1392 public static final String FORMATTER_INSERT_SPACE_AFTER_OPENING_BRACKET_IN_ARRAY_REFERENCE = JavaCore.PLUGIN_ID
1393 + ".formatter.insert_space_after_opening_bracket_in_array_reference";//$NON-NLS-1$
1397 * FORMATTER / Option to insert a space after the opening brace in an array initializer
1398 * - option id: "net.sourceforge.phpdt.core.formatter.insert_space_after_opening_brace_in_array_initializer"
1399 * - possible values: { INSERT, DO_NOT_INSERT }
1400 * - default: DO_NOT_INSERT
1403 * @see JavaCore#INSERT
1404 * @see JavaCore#DO_NOT_INSERT
1407 public static final String FORMATTER_INSERT_SPACE_AFTER_OPENING_BRACE_IN_ARRAY_INITIALIZER = JavaCore.PLUGIN_ID
1408 + ".formatter.insert_space_after_opening_brace_in_array_initializer"; //$NON-NLS-1$
1412 * FORMATTER / Option to insert a space after the opening parenthesis in a cast expression
1413 * - option id: "net.sourceforge.phpdt.core.formatter.insert_space_after_opening_paren_in_cast"
1414 * - possible values: { INSERT, DO_NOT_INSERT }
1415 * - default: DO_NOT_INSERT
1418 * @see JavaCore#INSERT
1419 * @see JavaCore#DO_NOT_INSERT
1422 public static final String FORMATTER_INSERT_SPACE_AFTER_OPENING_PAREN_IN_CAST = JavaCore.PLUGIN_ID
1423 + ".formatter.insert_space_after_opening_paren_in_cast"; //$NON-NLS-1$
1427 * FORMATTER / Option to insert a space after the opening parenthesis in a catch
1428 * - option id: "net.sourceforge.phpdt.core.formatter.insert_space_after_opening_paren_in_catch"
1429 * - possible values: { INSERT, DO_NOT_INSERT }
1430 * - default: DO_NOT_INSERT
1433 * @see JavaCore#INSERT
1434 * @see JavaCore#DO_NOT_INSERT
1437 public static final String FORMATTER_INSERT_SPACE_AFTER_OPENING_PAREN_IN_CATCH = JavaCore.PLUGIN_ID
1438 + ".formatter.insert_space_after_opening_paren_in_catch"; //$NON-NLS-1$
1442 * FORMATTER / Option to insert a space after the opening parenthesis in a constructor declaration
1443 * - option id: "net.sourceforge.phpdt.core.formatter.insert_space_after_opening_paren_in_constructor_declaration"
1444 * - possible values: { INSERT, DO_NOT_INSERT }
1445 * - default: DO_NOT_INSERT
1448 * @see JavaCore#INSERT
1449 * @see JavaCore#DO_NOT_INSERT
1452 public static final String FORMATTER_INSERT_SPACE_AFTER_OPENING_PAREN_IN_CONSTRUCTOR_DECLARATION = JavaCore.PLUGIN_ID
1453 + ".formatter.insert_space_after_opening_paren_in_constructor_declaration"; //$NON-NLS-1$
1457 * FORMATTER / Option to insert a space after the opening parenthesis in a for statement
1458 * - option id: "net.sourceforge.phpdt.core.formatter.insert_space_after_opening_paren_in_for"
1459 * - possible values: { INSERT, DO_NOT_INSERT }
1460 * - default: DO_NOT_INSERT
1463 * @see JavaCore#INSERT
1464 * @see JavaCore#DO_NOT_INSERT
1467 public static final String FORMATTER_INSERT_SPACE_AFTER_OPENING_PAREN_IN_FOR = JavaCore.PLUGIN_ID
1468 + ".formatter.insert_space_after_opening_paren_in_for"; //$NON-NLS-1$
1472 * FORMATTER / Option to insert a space after the opening parenthesis in an if statement
1473 * - option id: "net.sourceforge.phpdt.core.formatter.insert_space_after_opening_paren_in_if"
1474 * - possible values: { INSERT, DO_NOT_INSERT }
1475 * - default: DO_NOT_INSERT
1478 * @see JavaCore#INSERT
1479 * @see JavaCore#DO_NOT_INSERT
1482 public static final String FORMATTER_INSERT_SPACE_AFTER_OPENING_PAREN_IN_IF = JavaCore.PLUGIN_ID
1483 + ".formatter.insert_space_after_opening_paren_in_if"; //$NON-NLS-1$
1487 * FORMATTER / Option to insert a space after the opening parenthesis in a method declaration
1488 * - option id: "net.sourceforge.phpdt.core.formatter.insert_space_after_opening_paren_in_method_declaration"
1489 * - possible values: { INSERT, DO_NOT_INSERT }
1490 * - default: DO_NOT_INSERT
1493 * @see JavaCore#INSERT
1494 * @see JavaCore#DO_NOT_INSERT
1497 public static final String FORMATTER_INSERT_SPACE_AFTER_OPENING_PAREN_IN_METHOD_DECLARATION = JavaCore.PLUGIN_ID
1498 + ".formatter.insert_space_after_opening_paren_in_method_declaration"; //$NON-NLS-1$
1502 * FORMATTER / Option to insert a space after the opening parenthesis in a method invocation
1503 * - option id: "net.sourceforge.phpdt.core.formatter.insert_space_after_opening_paren_in_method_invocation"
1504 * - possible values: { INSERT, DO_NOT_INSERT }
1505 * - default: DO_NOT_INSERT
1508 * @see JavaCore#INSERT
1509 * @see JavaCore#DO_NOT_INSERT
1512 public static final String FORMATTER_INSERT_SPACE_AFTER_OPENING_PAREN_IN_METHOD_INVOCATION = JavaCore.PLUGIN_ID
1513 + ".formatter.insert_space_after_opening_paren_in_method_invocation"; //$NON-NLS-1$
1517 * FORMATTER / Option to insert a space after the opening parenthesis in a parenthesized expression
1518 * - option id: "net.sourceforge.phpdt.core.formatter.insert_space_after_opening_paren_in_parenthesized_expression"
1519 * - possible values: { INSERT, DO_NOT_INSERT }
1520 * - default: DO_NOT_INSERT
1523 * @see JavaCore#INSERT
1524 * @see JavaCore#DO_NOT_INSERT
1527 public static final String FORMATTER_INSERT_SPACE_AFTER_OPENING_PAREN_IN_PARENTHESIZED_EXPRESSION = JavaCore.PLUGIN_ID
1528 + ".formatter.insert_space_after_opening_paren_in_parenthesized_expression"; //$NON-NLS-1$
1532 * FORMATTER / Option to insert a space after the opening parenthesis in a switch statement
1533 * - option id: "net.sourceforge.phpdt.core.formatter.insert_space_after_opening_paren_in_switch"
1534 * - possible values: { INSERT, DO_NOT_INSERT }
1535 * - default: DO_NOT_INSERT
1538 * @see JavaCore#INSERT
1539 * @see JavaCore#DO_NOT_INSERT
1542 public static final String FORMATTER_INSERT_SPACE_AFTER_OPENING_PAREN_IN_SWITCH = JavaCore.PLUGIN_ID
1543 + ".formatter.insert_space_after_opening_paren_in_switch"; //$NON-NLS-1$
1547 * FORMATTER / Option to insert a space after the opening parenthesis in a synchronized statement
1548 * - option id: "net.sourceforge.phpdt.core.formatter.insert_space_after_opening_paren_in_synchronized"
1549 * - possible values: { INSERT, DO_NOT_INSERT }
1550 * - default: DO_NOT_INSERT
1553 * @see JavaCore#INSERT
1554 * @see JavaCore#DO_NOT_INSERT
1557 public static final String FORMATTER_INSERT_SPACE_AFTER_OPENING_PAREN_IN_SYNCHRONIZED = JavaCore.PLUGIN_ID
1558 + ".formatter.insert_space_after_opening_paren_in_synchronized"; //$NON-NLS-1$
1562 * FORMATTER / Option to insert a space after the opening parenthesis in a while statement
1563 * - option id: "net.sourceforge.phpdt.core.formatter.insert_space_after_opening_paren_in_while"
1564 * - possible values: { INSERT, DO_NOT_INSERT }
1565 * - default: DO_NOT_INSERT
1568 * @see JavaCore#INSERT
1569 * @see JavaCore#DO_NOT_INSERT
1572 public static final String FORMATTER_INSERT_SPACE_AFTER_OPENING_PAREN_IN_WHILE = JavaCore.PLUGIN_ID
1573 + ".formatter.insert_space_after_opening_paren_in_while"; //$NON-NLS-1$
1577 * FORMATTER / Option to insert a space after a postfix operator
1578 * - option id: "net.sourceforge.phpdt.core.formatter.insert_space_after_postfix_operator"
1579 * - possible values: { INSERT, DO_NOT_INSERT }
1580 * - default: DO_NOT_INSERT
1583 * @see JavaCore#INSERT
1584 * @see JavaCore#DO_NOT_INSERT
1587 public static final String FORMATTER_INSERT_SPACE_AFTER_POSTFIX_OPERATOR = JavaCore.PLUGIN_ID
1588 + ".formatter.insert_space_after_postfix_operator"; //$NON-NLS-1$
1592 * FORMATTER / Option to insert a space after a prefix operator
1593 * - option id: "net.sourceforge.phpdt.core.formatter.insert_space_after_prefix_operator"
1594 * - possible values: { INSERT, DO_NOT_INSERT }
1595 * - default: DO_NOT_INSERT
1598 * @see JavaCore#INSERT
1599 * @see JavaCore#DO_NOT_INSERT
1602 public static final String FORMATTER_INSERT_SPACE_AFTER_PREFIX_OPERATOR = JavaCore.PLUGIN_ID
1603 + ".formatter.insert_space_after_prefix_operator"; //$NON-NLS-1$
1607 * FORMATTER / Option to insert a space after question mark in a conditional expression
1608 * - option id: "net.sourceforge.phpdt.core.formatter.insert_space_after_question_in_conditional"
1609 * - possible values: { INSERT, DO_NOT_INSERT }
1610 * - default: DO_NOT_INSERT
1613 * @see JavaCore#INSERT
1614 * @see JavaCore#DO_NOT_INSERT
1617 public static final String FORMATTER_INSERT_SPACE_AFTER_QUESTION_IN_CONDITIONAL = JavaCore.PLUGIN_ID
1618 + ".formatter.insert_space_after_question_in_conditional"; //$NON-NLS-1$
1622 * FORMATTER / Option to insert a space after semicolon in a for statement
1623 * - option id: "net.sourceforge.phpdt.core.formatter.insert_space_after_semicolon_in_for"
1624 * - possible values: { INSERT, DO_NOT_INSERT }
1628 * @see JavaCore#INSERT
1629 * @see JavaCore#DO_NOT_INSERT
1632 public static final String FORMATTER_INSERT_SPACE_AFTER_SEMICOLON_IN_FOR = JavaCore.PLUGIN_ID
1633 + ".formatter.insert_space_after_semicolon_in_for"; //$NON-NLS-1$
1637 * FORMATTER / Option to insert a space after an unary operator
1638 * - option id: "net.sourceforge.phpdt.core.formatter.insert_space_after_unary_operator"
1639 * - possible values: { INSERT, DO_NOT_INSERT }
1640 * - default: DO_NOT_INSERT
1643 * @see JavaCore#INSERT
1644 * @see JavaCore#DO_NOT_INSERT
1647 public static final String FORMATTER_INSERT_SPACE_AFTER_UNARY_OPERATOR = JavaCore.PLUGIN_ID
1648 + ".formatter.insert_space_after_unary_operator"; //$NON-NLS-1$
1652 * FORMATTER / Option to insert a space before an assignment operator
1653 * - option id: "net.sourceforge.phpdt.core.formatter.insert_space_before_assignment_operator"
1654 * - possible values: { INSERT, DO_NOT_INSERT }
1658 * @see JavaCore#INSERT
1659 * @see JavaCore#DO_NOT_INSERT
1662 public static final String FORMATTER_INSERT_SPACE_BEFORE_ASSIGNMENT_OPERATOR = JavaCore.PLUGIN_ID
1663 + ".formatter.insert_space_before_assignment_operator"; //$NON-NLS-1$
1667 * FORMATTER / Option to insert a space before an binary operator
1668 * - option id: "net.sourceforge.phpdt.core.formatter.insert_space_before_binary_operator"
1669 * - possible values: { INSERT, DO_NOT_INSERT }
1670 * - default: DO_NOT_INSERT
1673 * @see JavaCore#INSERT
1674 * @see JavaCore#DO_NOT_INSERT
1677 public static final String FORMATTER_INSERT_SPACE_BEFORE_BINARY_OPERATOR = JavaCore.PLUGIN_ID
1678 + ".formatter.insert_space_before_binary_operator"; //$NON-NLS-1$
1682 * FORMATTER / Option to insert a space before the closing brace in an array initializer
1683 * - option id: "net.sourceforge.phpdt.core.formatter.insert_space_before_closing_brace_in_array_initializer"
1684 * - possible values: { INSERT, DO_NOT_INSERT }
1685 * - default: DO_NOT_INSERT
1688 * @see JavaCore#INSERT
1689 * @see JavaCore#DO_NOT_INSERT
1692 public static final String FORMATTER_INSERT_SPACE_BEFORE_CLOSING_BRACE_IN_ARRAY_INITIALIZER = JavaCore.PLUGIN_ID
1693 + ".formatter.insert_space_before_closing_brace_in_array_initializer"; //$NON-NLS-1$
1697 * FORMATTER / Option to insert a space before the closing bracket in an array allocation expression
1698 * - option id: "net.sourceforge.phpdt.core.formatter.insert_space_before_closing_bracket_in_array_allocation_expression"
1699 * - possible values: { INSERT, DO_NOT_INSERT }
1700 * - default: DO_NOT_INSERT
1703 * @see JavaCore#INSERT
1704 * @see JavaCore#DO_NOT_INSERT
1707 public static final String FORMATTER_INSERT_SPACE_BEFORE_CLOSING_BRACKET_IN_ARRAY_ALLOCATION_EXPRESSION = JavaCore.PLUGIN_ID
1708 + ".formatter.insert_space_before_closing_bracket_in_array_allocation_expression";//$NON-NLS-1$
1712 * FORMATTER / Option to insert a space before the closing bracket in an array reference
1713 * - option id: "net.sourceforge.phpdt.core.formatter.insert_space_before_closing_bracket_in_array_reference"
1714 * - possible values: { INSERT, DO_NOT_INSERT }
1715 * - default: DO_NOT_INSERT
1718 * @see JavaCore#INSERT
1719 * @see JavaCore#DO_NOT_INSERT
1722 public static final String FORMATTER_INSERT_SPACE_BEFORE_CLOSING_BRACKET_IN_ARRAY_REFERENCE = JavaCore.PLUGIN_ID
1723 + ".formatter.insert_space_before_closing_bracket_in_array_reference";//$NON-NLS-1$
1727 * FORMATTER / Option to insert a space before the closing parenthesis in a cast expression
1728 * - option id: "net.sourceforge.phpdt.core.formatter.insert_space_before_closing_paren_in_cast"
1729 * - possible values: { INSERT, DO_NOT_INSERT }
1730 * - default: DO_NOT_INSERT
1733 * @see JavaCore#INSERT
1734 * @see JavaCore#DO_NOT_INSERT
1737 public static final String FORMATTER_INSERT_SPACE_BEFORE_CLOSING_PAREN_IN_CAST = JavaCore.PLUGIN_ID
1738 + ".formatter.insert_space_before_closing_paren_in_cast"; //$NON-NLS-1$
1742 * FORMATTER / Option to insert a space before the closing parenthesis in a catch
1743 * - option id: "net.sourceforge.phpdt.core.formatter.insert_space_before_closing_paren_in_catch"
1744 * - possible values: { INSERT, DO_NOT_INSERT }
1745 * - default: DO_NOT_INSERT
1748 * @see JavaCore#INSERT
1749 * @see JavaCore#DO_NOT_INSERT
1752 public static final String FORMATTER_INSERT_SPACE_BEFORE_CLOSING_PAREN_IN_CATCH = JavaCore.PLUGIN_ID
1753 + ".formatter.insert_space_before_closing_paren_in_catch"; //$NON-NLS-1$
1757 * FORMATTER / Option to insert a space before the closing parenthesis in a constructor declaration
1758 * - option id: "net.sourceforge.phpdt.core.formatter.insert_space_before_closing_paren_in_constructor_declaration"
1759 * - possible values: { INSERT, DO_NOT_INSERT }
1760 * - default: DO_NOT_INSERT
1763 * @see JavaCore#INSERT
1764 * @see JavaCore#DO_NOT_INSERT
1767 public static final String FORMATTER_INSERT_SPACE_BEFORE_CLOSING_PAREN_IN_CONSTRUCTOR_DECLARATION = JavaCore.PLUGIN_ID
1768 + ".formatter.insert_space_before_closing_paren_in_constructor_declaration"; //$NON-NLS-1$
1772 * FORMATTER / Option to insert a space before the closing parenthesis in a for statement
1773 * - option id: "net.sourceforge.phpdt.core.formatter.insert_space_before_closing_paren_in_for"
1774 * - possible values: { INSERT, DO_NOT_INSERT }
1775 * - default: DO_NOT_INSERT
1778 * @see JavaCore#INSERT
1779 * @see JavaCore#DO_NOT_INSERT
1782 public static final String FORMATTER_INSERT_SPACE_BEFORE_CLOSING_PAREN_IN_FOR = JavaCore.PLUGIN_ID
1783 + ".formatter.insert_space_before_closing_paren_in_for"; //$NON-NLS-1$
1787 * FORMATTER / Option to insert a space before the closing parenthesis in an if statement
1788 * - option id: "net.sourceforge.phpdt.core.formatter.insert_space_before_closing_paren_in_if"
1789 * - possible values: { INSERT, DO_NOT_INSERT }
1790 * - default: DO_NOT_INSERT
1793 * @see JavaCore#INSERT
1794 * @see JavaCore#DO_NOT_INSERT
1797 public static final String FORMATTER_INSERT_SPACE_BEFORE_CLOSING_PAREN_IN_IF = JavaCore.PLUGIN_ID
1798 + ".formatter.insert_space_before_closing_paren_in_if"; //$NON-NLS-1$
1802 * FORMATTER / Option to insert a space before the closing parenthesis in a method declaration
1803 * - option id: "net.sourceforge.phpdt.core.formatter.insert_space_before_closing_paren_in_method_declaration"
1804 * - possible values: { INSERT, DO_NOT_INSERT }
1805 * - default: DO_NOT_INSERT
1808 * @see JavaCore#INSERT
1809 * @see JavaCore#DO_NOT_INSERT
1812 public static final String FORMATTER_INSERT_SPACE_BEFORE_CLOSING_PAREN_IN_METHOD_DECLARATION = JavaCore.PLUGIN_ID
1813 + ".formatter.insert_space_before_closing_paren_in_method_declaration"; //$NON-NLS-1$
1817 * FORMATTER / Option to insert a space before the closing parenthesis in a method invocation
1818 * - option id: "net.sourceforge.phpdt.core.formatter.insert_space_before_closing_paren_in_method_invocation"
1819 * - possible values: { INSERT, DO_NOT_INSERT }
1820 * - default: DO_NOT_INSERT
1823 * @see JavaCore#INSERT
1824 * @see JavaCore#DO_NOT_INSERT
1827 public static final String FORMATTER_INSERT_SPACE_BEFORE_CLOSING_PAREN_IN_METHOD_INVOCATION = JavaCore.PLUGIN_ID
1828 + ".formatter.insert_space_before_closing_paren_in_method_invocation"; //$NON-NLS-1$
1832 * FORMATTER / Option to insert a space before the closing parenthesis in a parenthesized expression
1833 * - option id: "net.sourceforge.phpdt.core.formatter.insert_space_before_closing_paren_in_parenthesized_expression"
1834 * - possible values: { INSERT, DO_NOT_INSERT }
1835 * - default: DO_NOT_INSERT
1838 * @see JavaCore#INSERT
1839 * @see JavaCore#DO_NOT_INSERT
1842 public static final String FORMATTER_INSERT_SPACE_BEFORE_CLOSING_PAREN_IN_PARENTHESIZED_EXPRESSION = JavaCore.PLUGIN_ID
1843 + ".formatter.insert_space_before_closing_paren_in_parenthesized_expression"; //$NON-NLS-1$
1847 * FORMATTER / Option to insert a space before the closing parenthesis in a switch statement
1848 * - option id: "net.sourceforge.phpdt.core.formatter.insert_space_before_closing_paren_in_switch"
1849 * - possible values: { INSERT, DO_NOT_INSERT }
1850 * - default: DO_NOT_INSERT
1853 * @see JavaCore#INSERT
1854 * @see JavaCore#DO_NOT_INSERT
1857 public static final String FORMATTER_INSERT_SPACE_BEFORE_CLOSING_PAREN_IN_SWITCH = JavaCore.PLUGIN_ID
1858 + ".formatter.insert_space_before_closing_paren_in_switch"; //$NON-NLS-1$
1862 * FORMATTER / Option to insert a space before the closing parenthesis in a synchronized statement
1863 * - option id: "net.sourceforge.phpdt.core.formatter.insert_space_before_closing_paren_in_synchronized"
1864 * - possible values: { INSERT, DO_NOT_INSERT }
1865 * - default: DO_NOT_INSERT
1868 * @see JavaCore#INSERT
1869 * @see JavaCore#DO_NOT_INSERT
1872 public static final String FORMATTER_INSERT_SPACE_BEFORE_CLOSING_PAREN_IN_SYNCHRONIZED = JavaCore.PLUGIN_ID
1873 + ".formatter.insert_space_before_closing_paren_in_synchronized"; //$NON-NLS-1$
1877 * FORMATTER / Option to insert a space before the closing parenthesis in a while statement
1878 * - option id: "net.sourceforge.phpdt.core.formatter.insert_space_before_closing_paren_in_while"
1879 * - possible values: { INSERT, DO_NOT_INSERT }
1880 * - default: DO_NOT_INSERT
1883 * @see JavaCore#INSERT
1884 * @see JavaCore#DO_NOT_INSERT
1887 public static final String FORMATTER_INSERT_SPACE_BEFORE_CLOSING_PAREN_IN_WHILE = JavaCore.PLUGIN_ID
1888 + ".formatter.insert_space_before_closing_paren_in_while"; //$NON-NLS-1$
1892 * FORMATTER / Option to insert a space before colon in an assert statement
1893 * - option id: "net.sourceforge.phpdt.core.formatter.insert_space_before_colon_in_assert"
1894 * - possible values: { INSERT, DO_NOT_INSERT }
1898 * @see JavaCore#INSERT
1899 * @see JavaCore#DO_NOT_INSERT
1902 public static final String FORMATTER_INSERT_SPACE_BEFORE_COLON_IN_ASSERT = JavaCore.PLUGIN_ID
1903 + ".formatter.insert_space_before_colon_in_assert"; //$NON-NLS-1$
1907 * FORMATTER / Option to insert a space before colon in a case statement
1908 * - option id: "net.sourceforge.phpdt.core.formatter.insert_space_before_colon_in_case"
1909 * - possible values: { INSERT, DO_NOT_INSERT }
1913 * @see JavaCore#INSERT
1914 * @see JavaCore#DO_NOT_INSERT
1917 public static final String FORMATTER_INSERT_SPACE_BEFORE_COLON_IN_CASE = JavaCore.PLUGIN_ID
1918 + ".formatter.insert_space_before_colon_in_case"; //$NON-NLS-1$
1922 * FORMATTER / Option to insert a space before colon in a conditional expression
1923 * - option id: "net.sourceforge.phpdt.core.formatter.insert_space_before_colon_in_conditional"
1924 * - possible values: { INSERT, DO_NOT_INSERT }
1928 * @see JavaCore#INSERT
1929 * @see JavaCore#DO_NOT_INSERT
1932 public static final String FORMATTER_INSERT_SPACE_BEFORE_COLON_IN_CONDITIONAL = JavaCore.PLUGIN_ID
1933 + ".formatter.insert_space_before_colon_in_conditional"; //$NON-NLS-1$
1937 * FORMATTER / Option to insert a space before colon in a default statement
1938 * - option id: "net.sourceforge.phpdt.core.formatter.insert_space_before_colon_in_default"
1939 * - possible values: { INSERT, DO_NOT_INSERT }
1943 * @see JavaCore#INSERT
1944 * @see JavaCore#DO_NOT_INSERT
1947 public static final String FORMATTER_INSERT_SPACE_BEFORE_COLON_IN_DEFAULT = JavaCore.PLUGIN_ID
1948 + ".formatter.insert_space_before_colon_in_default"; //$NON-NLS-1$
1952 * FORMATTER / Option to insert a space before colon in a labeled statement
1953 * - option id: "net.sourceforge.phpdt.core.formatter.insert_space_before_colon_in_labeled_statement"
1954 * - possible values: { INSERT, DO_NOT_INSERT }
1958 * @see JavaCore#INSERT
1959 * @see JavaCore#DO_NOT_INSERT
1962 public static final String FORMATTER_INSERT_SPACE_BEFORE_COLON_IN_LABELED_STATEMENT = JavaCore.PLUGIN_ID
1963 + ".formatter.insert_space_before_colon_in_labeled_statement"; //$NON-NLS-1$
1967 * FORMATTER / Option to insert a space before comma in an allocation expression
1968 * - option id: "net.sourceforge.phpdt.core.formatter.insert_space_before_comma_in_allocation_expression"
1969 * - possible values: { INSERT, DO_NOT_INSERT }
1970 * - default: DO_NOT_INSERT
1973 * @see JavaCore#INSERT
1974 * @see JavaCore#DO_NOT_INSERT
1977 public static final String FORMATTER_INSERT_SPACE_BEFORE_COMMA_IN_ALLOCATION_EXPRESSION = JavaCore.PLUGIN_ID
1978 + ".formatter.insert_space_before_comma_in_allocation_expression"; //$NON-NLS-1$
1982 * FORMATTER / Option to insert a space before comma in an array initializer
1983 * - option id: "net.sourceforge.phpdt.core.formatter.insert_space_before_comma_in_array_initializer"
1984 * - possible values: { INSERT, DO_NOT_INSERT }
1985 * - default: DO_NOT_INSERT
1988 * @see JavaCore#INSERT
1989 * @see JavaCore#DO_NOT_INSERT
1992 public static final String FORMATTER_INSERT_SPACE_BEFORE_COMMA_IN_ARRAY_INITIALIZER = JavaCore.PLUGIN_ID
1993 + ".formatter.insert_space_before_comma_in_array_initializer"; //$NON-NLS-1$
1997 * FORMATTER / Option to insert a space before comma in the parameters of a constructor declaration
1998 * - option id: "net.sourceforge.phpdt.core.formatter.insert_space_before_comma_in_constructor_declaration_parameters"
1999 * - possible values: { INSERT, DO_NOT_INSERT }
2000 * - default: DO_NOT_INSERT
2003 * @see JavaCore#INSERT
2004 * @see JavaCore#DO_NOT_INSERT
2007 public static final String FORMATTER_INSERT_SPACE_BEFORE_COMMA_IN_CONSTRUCTOR_DECLARATION_PARAMETERS = JavaCore.PLUGIN_ID
2008 + ".formatter.insert_space_before_comma_in_constructor_declaration_parameters"; //$NON-NLS-1$
2012 * FORMATTER / Option to insert a space before comma in the exception names of the throws clause of a constructor declaration
2013 * - option id: "net.sourceforge.phpdt.core.formatter.insert_space_before_comma_in_constructor_declaration_throws"
2014 * - possible values: { INSERT, DO_NOT_INSERT }
2015 * - default: DO_NOT_INSERT
2018 * @see JavaCore#INSERT
2019 * @see JavaCore#DO_NOT_INSERT
2022 public static final String FORMATTER_INSERT_SPACE_BEFORE_COMMA_IN_CONSTRUCTOR_DECLARATION_THROWS = JavaCore.PLUGIN_ID
2023 + ".formatter.insert_space_before_comma_in_constructor_declaration_throws"; //$NON-NLS-1$
2027 * FORMATTER / Option to insert a space before comma in the arguments of an explicit constructor call
2028 * - option id: "net.sourceforge.phpdt.core.formatter.insert_space_before_comma_in_explicitconstructorcall_arguments"
2029 * - possible values: { INSERT, DO_NOT_INSERT }
2030 * - default: DO_NOT_INSERT
2033 * @see JavaCore#INSERT
2034 * @see JavaCore#DO_NOT_INSERT
2037 public static final String FORMATTER_INSERT_SPACE_BEFORE_COMMA_IN_EXPLICIT_CONSTRUCTOR_CALL_ARGUMENTS = JavaCore.PLUGIN_ID
2038 + ".formatter.insert_space_before_comma_in_explicitconstructorcall_arguments"; //$NON-NLS-1$
2042 * FORMATTER / Option to insert a space before comma in the increments of a for statement
2043 * - option id: "net.sourceforge.phpdt.core.formatter.insert_space_before_comma_in_for_increments"
2044 * - possible values: { INSERT, DO_NOT_INSERT }
2045 * - default: DO_NOT_INSERT
2048 * @see JavaCore#INSERT
2049 * @see JavaCore#DO_NOT_INSERT
2052 public static final String FORMATTER_INSERT_SPACE_BEFORE_COMMA_IN_FOR_INCREMENTS = JavaCore.PLUGIN_ID
2053 + ".formatter.insert_space_before_comma_in_for_increments"; //$NON-NLS-1$
2057 * FORMATTER / Option to insert a space before comma in the initializations of a for statement
2058 * - option id: "net.sourceforge.phpdt.core.formatter.insert_space_before_comma_in_for_inits"
2059 * - possible values: { INSERT, DO_NOT_INSERT }
2060 * - default: DO_NOT_INSERT
2063 * @see JavaCore#INSERT
2064 * @see JavaCore#DO_NOT_INSERT
2067 public static final String FORMATTER_INSERT_SPACE_BEFORE_COMMA_IN_FOR_INITS = JavaCore.PLUGIN_ID
2068 + ".formatter.insert_space_before_comma_in_for_inits"; //$NON-NLS-1$
2072 * FORMATTER / Option to insert a space before comma in the arguments of a method invocation
2073 * - option id: "net.sourceforge.phpdt.core.formatter.insert_space_before_comma_in_method_invocation_arguments"
2074 * - possible values: { INSERT, DO_NOT_INSERT }
2075 * - default: DO_NOT_INSERT
2078 * @see JavaCore#INSERT
2079 * @see JavaCore#DO_NOT_INSERT
2082 public static final String FORMATTER_INSERT_SPACE_BEFORE_COMMA_IN_METHOD_INVOCATION_ARGUMENTS = JavaCore.PLUGIN_ID
2083 + ".formatter.insert_space_before_comma_in_method_invocation_arguments"; //$NON-NLS-1$
2087 * FORMATTER / Option to insert a space before comma in the parameters of a method declaration
2088 * - option id: "net.sourceforge.phpdt.core.formatter.insert_space_before_comma_in_method_declaration_parameters"
2089 * - possible values: { INSERT, DO_NOT_INSERT }
2090 * - default: DO_NOT_INSERT
2093 * @see JavaCore#INSERT
2094 * @see JavaCore#DO_NOT_INSERT
2097 public static final String FORMATTER_INSERT_SPACE_BEFORE_COMMA_IN_METHOD_DECLARATION_PARAMETERS = JavaCore.PLUGIN_ID
2098 + ".formatter.insert_space_before_comma_in_method_declaration_parameters"; //$NON-NLS-1$
2102 * FORMATTER / Option to insert a space before comma in the exception names of the throws clause of a method declaration
2103 * - option id: "net.sourceforge.phpdt.core.formatter.insert_space_before_comma_in_method_declaration_throws"
2104 * - possible values: { INSERT, DO_NOT_INSERT }
2105 * - default: DO_NOT_INSERT
2108 * @see JavaCore#INSERT
2109 * @see JavaCore#DO_NOT_INSERT
2112 public static final String FORMATTER_INSERT_SPACE_BEFORE_COMMA_IN_METHOD_DECLARATION_THROWS = JavaCore.PLUGIN_ID
2113 + ".formatter.insert_space_before_comma_in_method_declaration_throws"; //$NON-NLS-1$
2117 * FORMATTER / Option to insert a space before comma in a multiple field declaration
2118 * - option id: "net.sourceforge.phpdt.core.formatter.insert_space_before_comma_in_multiple_field_declarations"
2119 * - possible values: { INSERT, DO_NOT_INSERT }
2120 * - default: DO_NOT_INSERT
2123 * @see JavaCore#INSERT
2124 * @see JavaCore#DO_NOT_INSERT
2127 public static final String FORMATTER_INSERT_SPACE_BEFORE_COMMA_IN_MULTIPLE_FIELD_DECLARATIONS = JavaCore.PLUGIN_ID
2128 + ".formatter.insert_space_before_comma_in_multiple_field_declarations"; //$NON-NLS-1$
2132 * FORMATTER / Option to insert a space before comma in a multiple local declaration
2133 * - option id: "net.sourceforge.phpdt.core.formatter.insert_space_before_comma_in_multiple_local_declarations"
2134 * - possible values: { INSERT, DO_NOT_INSERT }
2135 * - default: DO_NOT_INSERT
2138 * @see JavaCore#INSERT
2139 * @see JavaCore#DO_NOT_INSERT
2142 public static final String FORMATTER_INSERT_SPACE_BEFORE_COMMA_IN_MULTIPLE_LOCAL_DECLARATIONS = JavaCore.PLUGIN_ID
2143 + ".formatter.insert_space_before_comma_in_multiple_local_declarations"; //$NON-NLS-1$
2147 * FORMATTER / Option to insert a space before comma in the superinterfaces names in a type header
2148 * - option id: "net.sourceforge.phpdt.core.formatter.insert_space_before_comma_in_superinterfaces"
2149 * - possible values: { INSERT, DO_NOT_INSERT }
2150 * - default: DO_NOT_INSERT
2153 * @see JavaCore#INSERT
2154 * @see JavaCore#DO_NOT_INSERT
2157 public static final String FORMATTER_INSERT_SPACE_BEFORE_COMMA_IN_SUPERINTERFACES = JavaCore.PLUGIN_ID
2158 + ".formatter.insert_space_before_comma_in_superinterfaces"; //$NON-NLS-1$
2162 * FORMATTER / Option to insert a space before the opening brace in an anonymous type declaration
2163 * - option id: "net.sourceforge.phpdt.core.formatter.insert_space_before_opening_brace_in_anonymous_type_declaration"
2164 * - possible values: { INSERT, DO_NOT_INSERT }
2168 * @see JavaCore#INSERT
2169 * @see JavaCore#DO_NOT_INSERT
2172 public static final String FORMATTER_INSERT_SPACE_BEFORE_OPENING_BRACE_IN_ANONYMOUS_TYPE_DECLARATION = JavaCore.PLUGIN_ID
2173 + ".formatter.insert_space_before_opening_brace_in_anonymous_type_declaration"; //$NON-NLS-1$
2177 * FORMATTER / Option to insert a space before the opening brace in an array initializer
2178 * - option id: "net.sourceforge.phpdt.core.formatter.insert_space_before_opening_brace_in_array_initializer"
2179 * - possible values: { INSERT, DO_NOT_INSERT }
2180 * - default: DO_NOT_INSERT
2183 * @see JavaCore#INSERT
2184 * @see JavaCore#DO_NOT_INSERT
2187 public static final String FORMATTER_INSERT_SPACE_BEFORE_OPENING_BRACE_IN_ARRAY_INITIALIZER = JavaCore.PLUGIN_ID
2188 + ".formatter.insert_space_before_opening_brace_in_array_initializer"; //$NON-NLS-1$
2192 * FORMATTER / Option to insert a space before the opening brace in a block
2193 * - option id: "net.sourceforge.phpdt.core.formatter.insert_space_before_opening_brace_in_block"
2194 * - possible values: { INSERT, DO_NOT_INSERT }
2198 * @see JavaCore#INSERT
2199 * @see JavaCore#DO_NOT_INSERT
2202 public static final String FORMATTER_INSERT_SPACE_BEFORE_OPENING_BRACE_IN_BLOCK = JavaCore.PLUGIN_ID
2203 + ".formatter.insert_space_before_opening_brace_in_block"; //$NON-NLS-1$
2207 * FORMATTER / Option to insert a space before the opening brace in a constructor declaration
2208 * - option id: "net.sourceforge.phpdt.core.formatter.insert_space_before_opening_brace_in_constructor_declaration"
2209 * - possible values: { INSERT, DO_NOT_INSERT }
2213 * @see JavaCore#INSERT
2214 * @see JavaCore#DO_NOT_INSERT
2217 public static final String FORMATTER_INSERT_SPACE_BEFORE_OPENING_BRACE_IN_CONSTRUCTOR_DECLARATION = JavaCore.PLUGIN_ID
2218 + ".formatter.insert_space_before_opening_brace_in_constructor_declaration"; //$NON-NLS-1$
2222 * FORMATTER / Option to insert a space before the opening brace in a method declaration
2223 * - option id: "net.sourceforge.phpdt.core.formatter.insert_space_before_opening_brace_in_method_declaration"
2224 * - possible values: { INSERT, DO_NOT_INSERT }
2228 * @see JavaCore#INSERT
2229 * @see JavaCore#DO_NOT_INSERT
2232 public static final String FORMATTER_INSERT_SPACE_BEFORE_OPENING_BRACE_IN_METHOD_DECLARATION = JavaCore.PLUGIN_ID
2233 + ".formatter.insert_space_before_opening_brace_in_method_declaration"; //$NON-NLS-1$
2237 * FORMATTER / Option to insert a space before the opening brace in a switch statement
2238 * - option id: "net.sourceforge.phpdt.core.formatter.insert_space_before_opening_brace_in_switch"
2239 * - possible values: { INSERT, DO_NOT_INSERT }
2243 * @see JavaCore#INSERT
2244 * @see JavaCore#DO_NOT_INSERT
2247 public static final String FORMATTER_INSERT_SPACE_BEFORE_OPENING_BRACE_IN_SWITCH = JavaCore.PLUGIN_ID
2248 + ".formatter.insert_space_before_opening_brace_in_switch"; //$NON-NLS-1$
2252 * FORMATTER / Option to insert a space before the opening brace in a type declaration
2253 * - option id: "net.sourceforge.phpdt.core.formatter.insert_space_before_opening_brace_in_type_declaration"
2254 * - possible values: { INSERT, DO_NOT_INSERT }
2258 * @see JavaCore#INSERT
2259 * @see JavaCore#DO_NOT_INSERT
2262 public static final String FORMATTER_INSERT_SPACE_BEFORE_OPENING_BRACE_IN_TYPE_DECLARATION = JavaCore.PLUGIN_ID
2263 + ".formatter.insert_space_before_opening_brace_in_type_declaration"; //$NON-NLS-1$
2267 * FORMATTER / Option to insert a space before the opening bracket in an array allocation expression
2268 * - option id: "net.sourceforge.phpdt.core.formatter.insert_space_before_opening_bracket_in_array_allocation_expression"
2269 * - possible values: { INSERT, DO_NOT_INSERT }
2270 * - default: DO_NOT_INSERT
2273 * @see JavaCore#INSERT
2274 * @see JavaCore#DO_NOT_INSERT
2277 public static final String FORMATTER_INSERT_SPACE_BEFORE_OPENING_BRACKET_IN_ARRAY_ALLOCATION_EXPRESSION = JavaCore.PLUGIN_ID
2278 + ".formatter.insert_space_before_opening_bracket_in_array_allocation_expression";//$NON-NLS-1$
2282 * FORMATTER / Option to insert a space before the opening bracket in an array reference
2283 * - option id: "net.sourceforge.phpdt.core.formatter.insert_space_before_opening_bracket_in_array_reference"
2284 * - possible values: { INSERT, DO_NOT_INSERT }
2285 * - default: DO_NOT_INSERT
2288 * @see JavaCore#INSERT
2289 * @see JavaCore#DO_NOT_INSERT
2292 public static final String FORMATTER_INSERT_SPACE_BEFORE_OPENING_BRACKET_IN_ARRAY_REFERENCE = JavaCore.PLUGIN_ID
2293 + ".formatter.insert_space_before_opening_bracket_in_array_reference";//$NON-NLS-1$
2297 * FORMATTER / Option to insert a space before the opening bracket in an array type reference
2298 * - option id: "net.sourceforge.phpdt.core.formatter.insert_space_before_opening_bracket_in_array_type_reference"
2299 * - possible values: { INSERT, DO_NOT_INSERT }
2300 * - default: DO_NOT_INSERT
2303 * @see JavaCore#INSERT
2304 * @see JavaCore#DO_NOT_INSERT
2307 public static final String FORMATTER_INSERT_SPACE_BEFORE_OPENING_BRACKET_IN_ARRAY_TYPE_REFERENCE = JavaCore.PLUGIN_ID
2308 + ".formatter.insert_space_before_opening_bracket_in_array_type_reference"; //$NON-NLS-1$
2312 * FORMATTER / Option to insert a space before the opening parenthesis in a catch
2313 * - option id: "net.sourceforge.phpdt.core.formatter.insert_space_before_opening_paren_in_catch"
2314 * - possible values: { INSERT, DO_NOT_INSERT }
2318 * @see JavaCore#INSERT
2319 * @see JavaCore#DO_NOT_INSERT
2322 public static final String FORMATTER_INSERT_SPACE_BEFORE_OPENING_PAREN_IN_CATCH = JavaCore.PLUGIN_ID
2323 + ".formatter.insert_space_before_opening_paren_in_catch"; //$NON-NLS-1$
2327 * FORMATTER / Option to insert a space before the opening parenthesis in a constructor declaration
2328 * - option id: "net.sourceforge.phpdt.core.formatter.insert_space_before_opening_paren_in_constructor_declaration"
2329 * - possible values: { INSERT, DO_NOT_INSERT }
2330 * - default: DO_NOT_INSERT
2333 * @see JavaCore#INSERT
2334 * @see JavaCore#DO_NOT_INSERT
2337 public static final String FORMATTER_INSERT_SPACE_BEFORE_OPENING_PAREN_IN_CONSTRUCTOR_DECLARATION = JavaCore.PLUGIN_ID
2338 + ".formatter.insert_space_before_opening_paren_in_constructor_declaration"; //$NON-NLS-1$
2342 * FORMATTER / Option to insert a space before the opening parenthesis in a for statement
2343 * - option id: "net.sourceforge.phpdt.core.formatter.insert_space_before_opening_paren_in_for"
2344 * - possible values: { INSERT, DO_NOT_INSERT }
2348 * @see JavaCore#INSERT
2349 * @see JavaCore#DO_NOT_INSERT
2352 public static final String FORMATTER_INSERT_SPACE_BEFORE_OPENING_PAREN_IN_FOR = JavaCore.PLUGIN_ID
2353 + ".formatter.insert_space_before_opening_paren_in_for"; //$NON-NLS-1$
2357 * FORMATTER / Option to insert a space before the opening parenthesis in an if statement
2358 * - option id: "net.sourceforge.phpdt.core.formatter.insert_space_before_opening_paren_in_if"
2359 * - possible values: { INSERT, DO_NOT_INSERT }
2363 * @see JavaCore#INSERT
2364 * @see JavaCore#DO_NOT_INSERT
2367 public static final String FORMATTER_INSERT_SPACE_BEFORE_OPENING_PAREN_IN_IF = JavaCore.PLUGIN_ID
2368 + ".formatter.insert_space_before_opening_paren_in_if"; //$NON-NLS-1$
2372 * FORMATTER / Option to insert a space before the opening parenthesis in a method invocation
2373 * - option id: "net.sourceforge.phpdt.core.formatter.insert_space_before_opening_paren_in_method_invocation"
2374 * - possible values: { INSERT, DO_NOT_INSERT }
2375 * - default: DO_NOT_INSERT
2378 * @see JavaCore#INSERT
2379 * @see JavaCore#DO_NOT_INSERT
2382 public static final String FORMATTER_INSERT_SPACE_BEFORE_OPENING_PAREN_IN_METHOD_INVOCATION = JavaCore.PLUGIN_ID
2383 + ".formatter.insert_space_before_opening_paren_in_method_invocation"; //$NON-NLS-1$
2387 * FORMATTER / Option to insert a space before the opening parenthesis in a method declaration
2388 * - option id: "net.sourceforge.phpdt.core.formatter.insert_space_before_opening_paren_in_method_declaration"
2389 * - possible values: { INSERT, DO_NOT_INSERT }
2390 * - default: DO_NOT_INSERT
2393 * @see JavaCore#INSERT
2394 * @see JavaCore#DO_NOT_INSERT
2397 public static final String FORMATTER_INSERT_SPACE_BEFORE_OPENING_PAREN_IN_METHOD_DECLARATION = JavaCore.PLUGIN_ID
2398 + ".formatter.insert_space_before_opening_paren_in_method_declaration"; //$NON-NLS-1$
2402 * FORMATTER / Option to insert a space before the opening parenthesis in a switch statement
2403 * - option id: "net.sourceforge.phpdt.core.formatter.insert_space_before_opening_paren_in_switch"
2404 * - possible values: { INSERT, DO_NOT_INSERT }
2408 * @see JavaCore#INSERT
2409 * @see JavaCore#DO_NOT_INSERT
2412 public static final String FORMATTER_INSERT_SPACE_BEFORE_OPENING_PAREN_IN_SWITCH = JavaCore.PLUGIN_ID
2413 + ".formatter.insert_space_before_opening_paren_in_switch"; //$NON-NLS-1$
2417 * FORMATTER / Option to insert a space before the opening parenthesis in a synchronized statement
2418 * - option id: "net.sourceforge.phpdt.core.formatter.insert_space_before_opening_paren_in_synchronized"
2419 * - possible values: { INSERT, DO_NOT_INSERT }
2423 * @see JavaCore#INSERT
2424 * @see JavaCore#DO_NOT_INSERT
2427 public static final String FORMATTER_INSERT_SPACE_BEFORE_OPENING_PAREN_IN_SYNCHRONIZED = JavaCore.PLUGIN_ID
2428 + ".formatter.insert_space_before_opening_paren_in_synchronized"; //$NON-NLS-1$
2432 * FORMATTER / Option to insert a space before the opening parenthesis in a parenthesized expression
2433 * - option id: "net.sourceforge.phpdt.core.formatter.insert_space_before_opening_paren_in_parenthesized_expression"
2434 * - possible values: { INSERT, DO_NOT_INSERT }
2435 * - default: DO_NOT_INSERT
2438 * @see JavaCore#INSERT
2439 * @see JavaCore#DO_NOT_INSERT
2442 public static final String FORMATTER_INSERT_SPACE_BEFORE_OPENING_PAREN_IN_PARENTHESIZED_EXPRESSION = JavaCore.PLUGIN_ID
2443 + ".formatter.insert_space_before_opening_paren_in_parenthesized_expression"; //$NON-NLS-1$
2447 * FORMATTER / Option to insert a space before the opening parenthesis in a while statement
2448 * - option id: "net.sourceforge.phpdt.core.formatter.insert_space_before_opening_paren_in_while"
2449 * - possible values: { INSERT, DO_NOT_INSERT }
2453 * @see JavaCore#INSERT
2454 * @see JavaCore#DO_NOT_INSERT
2457 public static final String FORMATTER_INSERT_SPACE_BEFORE_OPENING_PAREN_IN_WHILE = JavaCore.PLUGIN_ID
2458 + ".formatter.insert_space_before_opening_paren_in_while"; //$NON-NLS-1$
2462 * FORMATTER / Option to insert a space before a postfix operator
2463 * - option id: "net.sourceforge.phpdt.core.formatter.insert_space_before_postfix_operator"
2464 * - possible values: { INSERT, DO_NOT_INSERT }
2465 * - default: DO_NOT_INSERT
2468 * @see JavaCore#INSERT
2469 * @see JavaCore#DO_NOT_INSERT
2472 public static final String FORMATTER_INSERT_SPACE_BEFORE_POSTFIX_OPERATOR = JavaCore.PLUGIN_ID
2473 + ".formatter.insert_space_before_postfix_operator"; //$NON-NLS-1$
2477 * FORMATTER / Option to insert a space before a prefix operator
2478 * - option id: "net.sourceforge.phpdt.core.formatter.insert_space_before_prefix_operator"
2479 * - possible values: { INSERT, DO_NOT_INSERT }
2480 * - default: DO_NOT_INSERT
2483 * @see JavaCore#INSERT
2484 * @see JavaCore#DO_NOT_INSERT
2487 public static final String FORMATTER_INSERT_SPACE_BEFORE_PREFIX_OPERATOR = JavaCore.PLUGIN_ID
2488 + ".formatter.insert_space_before_prefix_operator"; //$NON-NLS-1$
2492 * FORMATTER / Option to insert a space before question mark in a conditional expression
2493 * - option id: "net.sourceforge.phpdt.core.formatter.insert_space_before_question_in_conditional"
2494 * - possible values: { INSERT, DO_NOT_INSERT }
2498 * @see JavaCore#INSERT
2499 * @see JavaCore#DO_NOT_INSERT
2502 public static final String FORMATTER_INSERT_SPACE_BEFORE_QUESTION_IN_CONDITIONAL = JavaCore.PLUGIN_ID
2503 + ".formatter.insert_space_before_question_in_conditional"; //$NON-NLS-1$
2507 * FORMATTER / Option to insert a space before semicolon
2508 * - option id: "net.sourceforge.phpdt.core.formatter.insert_space_before_semicolon"
2509 * - possible values: { INSERT, DO_NOT_INSERT }
2510 * - default: DO_NOT_INSERT
2513 * @see JavaCore#INSERT
2514 * @see JavaCore#DO_NOT_INSERT
2517 public static final String FORMATTER_INSERT_SPACE_BEFORE_SEMICOLON = JavaCore.PLUGIN_ID
2518 + ".formatter.insert_space_before_semicolon"; //$NON-NLS-1$
2522 * FORMATTER / Option to insert a space before semicolon in for statement
2523 * - option id: "net.sourceforge.phpdt.core.formatter.insert_space_before_semicolon_in_for"
2524 * - possible values: { INSERT, DO_NOT_INSERT }
2525 * - default: DO_NOT_INSERT
2528 * @see JavaCore#INSERT
2529 * @see JavaCore#DO_NOT_INSERT
2532 public static final String FORMATTER_INSERT_SPACE_BEFORE_SEMICOLON_IN_FOR = JavaCore.PLUGIN_ID
2533 + ".formatter.insert_space_before_semicolon_in_for"; //$NON-NLS-1$
2537 * FORMATTER / Option to insert a space before unary operator
2538 * - option id: "net.sourceforge.phpdt.core.formatter.insert_space_before_unary_operator"
2539 * - possible values: { INSERT, DO_NOT_INSERT }
2540 * - default: DO_NOT_INSERT
2543 * @see JavaCore#INSERT
2544 * @see JavaCore#DO_NOT_INSERT
2547 public static final String FORMATTER_INSERT_SPACE_BEFORE_UNARY_OPERATOR = JavaCore.PLUGIN_ID
2548 + ".formatter.insert_space_before_unary_operator"; //$NON-NLS-1$
2552 * FORMATTER / Option to insert a space between brackets in an array type reference
2553 * - option id: "net.sourceforge.phpdt.core.formatter.insert_space_between_brackets_in_array_type_reference"
2554 * - possible values: { INSERT, DO_NOT_INSERT }
2555 * - default: DO_NOT_INSERT
2558 * @see JavaCore#INSERT
2559 * @see JavaCore#DO_NOT_INSERT
2562 public static final String FORMATTER_INSERT_SPACE_BETWEEN_BRACKETS_IN_ARRAY_TYPE_REFERENCE = JavaCore.PLUGIN_ID
2563 + ".formatter.insert_space_between_brackets_in_array_type_reference"; //$NON-NLS-1$
2567 * FORMATTER / Option to insert a space between empty braces in an array initializer
2568 * - option id: "net.sourceforge.phpdt.core.formatter.insert_space_between_empty_braces_in_array_initializer"
2569 * - possible values: { INSERT, DO_NOT_INSERT }
2570 * - default: DO_NOT_INSERT
2573 * @see JavaCore#INSERT
2574 * @see JavaCore#DO_NOT_INSERT
2577 public static final String FORMATTER_INSERT_SPACE_BETWEEN_EMPTY_BRACES_IN_ARRAY_INITIALIZER = JavaCore.PLUGIN_ID
2578 + ".formatter.insert_space_between_empty_braces_in_array_initializer"; //$NON-NLS-1$
2582 * FORMATTER / Option to insert a space between empty brackets in an array allocation expression
2583 * - option id: "net.sourceforge.phpdt.core.formatter.insert_space_between_empty_brackets_in_array_allocation_expression"
2584 * - possible values: { INSERT, DO_NOT_INSERT }
2585 * - default: DO_NOT_INSERT
2588 * @see JavaCore#INSERT
2589 * @see JavaCore#DO_NOT_INSERT
2592 public static final String FORMATTER_INSERT_SPACE_BETWEEN_EMPTY_BRACKETS_IN_ARRAY_ALLOCATION_EXPRESSION = JavaCore.PLUGIN_ID
2593 + ".formatter.insert_space_between_empty_brackets_in_array_allocation_expression"; //$NON-NLS-1$
2597 * FORMATTER / Option to insert a space between empty parenthesis in a constructor declaration
2598 * - option id: "net.sourceforge.phpdt.core.formatter.insert_space_between_empty_parens_in_constructor_declaration"
2599 * - possible values: { INSERT, DO_NOT_INSERT }
2600 * - default: DO_NOT_INSERT
2603 * @see JavaCore#INSERT
2604 * @see JavaCore#DO_NOT_INSERT
2607 public static final String FORMATTER_INSERT_SPACE_BETWEEN_EMPTY_PARENS_IN_CONSTRUCTOR_DECLARATION = JavaCore.PLUGIN_ID
2608 + ".formatter.insert_space_between_empty_parens_in_constructor_declaration"; //$NON-NLS-1$
2612 * FORMATTER / Option to insert a space between empty parenthesis in a method declaration
2613 * - option id: "net.sourceforge.phpdt.core.formatter.insert_space_between_empty_parens_in_method_declaration"
2614 * - possible values: { INSERT, DO_NOT_INSERT }
2615 * - default: DO_NOT_INSERT
2618 * @see JavaCore#INSERT
2619 * @see JavaCore#DO_NOT_INSERT
2622 public static final String FORMATTER_INSERT_SPACE_BETWEEN_EMPTY_PARENS_IN_METHOD_DECLARATION = JavaCore.PLUGIN_ID
2623 + ".formatter.insert_space_between_empty_parens_in_method_declaration"; //$NON-NLS-1$
2627 * FORMATTER / Option to insert a space between empty parenthesis in a method invocation
2628 * - option id: "net.sourceforge.phpdt.core.formatter.insert_space_between_empty_parens_in_method_invocation"
2629 * - possible values: { INSERT, DO_NOT_INSERT }
2630 * - default: DO_NOT_INSERT
2633 * @see JavaCore#INSERT
2634 * @see JavaCore#DO_NOT_INSERT
2637 public static final String FORMATTER_INSERT_SPACE_BETWEEN_EMPTY_PARENS_IN_METHOD_INVOCATION = JavaCore.PLUGIN_ID
2638 + ".formatter.insert_space_between_empty_parens_in_method_invocation"; //$NON-NLS-1$
2642 * FORMATTER / Option to compact else/if
2643 * - option id: "net.sourceforge.phpdt.core.formatter.compact_else_if"
2644 * - possible values: { TRUE, FALSE }
2652 public static final String FORMATTER_COMPACT_ELSE_IF = JavaCore.PLUGIN_ID
2653 + ".formatter.compact_else_if"; //$NON-NLS-1$
2657 * FORMATTER / Option to keep guardian clause on one line
2658 * - option id: "net.sourceforge.phpdt.core.formatter.format_guardian_clause_on_one_line"
2659 * - possible values: { TRUE, FALSE }
2667 public static final String FORMATTER_KEEP_GUARDIAN_CLAUSE_ON_ONE_LINE = JavaCore.PLUGIN_ID
2668 + ".formatter.format_guardian_clause_on_one_line"; //$NON-NLS-1$
2672 * FORMATTER / Option to keep else statement on the same line
2673 * - option id: "net.sourceforge.phpdt.core.formatter.keep_else_statement_on_same_line"
2674 * - possible values: { TRUE, FALSE }
2682 public static final String FORMATTER_KEEP_ELSE_STATEMENT_ON_SAME_LINE = JavaCore.PLUGIN_ID
2683 + ".formatter.keep_else_statement_on_same_line"; //$NON-NLS-1$
2687 * FORMATTER / Option to keep empty array initializer one one line
2688 * - option id: "net.sourceforge.phpdt.core.formatter.keep_empty_array_initializer_on_one_line"
2689 * - possible values: { TRUE, FALSE }
2697 public static final String FORMATTER_KEEP_EMPTY_ARRAY_INITIALIZER_ON_ONE_LINE = JavaCore.PLUGIN_ID
2698 + ".formatter.keep_empty_array_initializer_on_one_line"; //$NON-NLS-1$
2702 * FORMATTER / Option to keep simple if statement on the one line
2703 * - option id: "net.sourceforge.phpdt.core.formatter.keep_imple_if_on_one_line"
2704 * - possible values: { TRUE, FALSE }
2712 public static final String FORMATTER_KEEP_SIMPLE_IF_ON_ONE_LINE = JavaCore.PLUGIN_ID
2713 + ".formatter.keep_imple_if_on_one_line"; //$NON-NLS-1$
2717 * FORMATTER / Option to keep then statement on the same line
2718 * - option id: "net.sourceforge.phpdt.core.formatter.keep_then_statement_on_same_line"
2719 * - possible values: { TRUE, FALSE }
2727 public static final String FORMATTER_KEEP_THEN_STATEMENT_ON_SAME_LINE = JavaCore.PLUGIN_ID
2728 + ".formatter.keep_then_statement_on_same_line";//$NON-NLS-1$
2732 * FORMATTER / Option to specify the number of empty lines to preserve
2733 * - option id: "net.sourceforge.phpdt.core.formatter.number_of_empty_lines_to_preserve"
2734 * - possible values: "<n>", where n is zero or a positive integer
2735 * - default: "0"
2740 public static final String FORMATTER_NUMBER_OF_EMPTY_LINES_TO_PRESERVE = JavaCore.PLUGIN_ID
2741 + ".formatter.number_of_empty_lines_to_preserve"; //$NON-NLS-1$
2745 * FORMATTER / Option to specify whether or not empty statement should be on a new line
2746 * - option id: "net.sourceforge.phpdt.core.formatter.put_empty_statement_on_new_line"
2747 * - possible values: { TRUE, FALSE }
2755 public static final String FORMATTER_PUT_EMPTY_STATEMENT_ON_NEW_LINE = JavaCore.PLUGIN_ID
2756 + ".formatter.put_empty_statement_on_new_line"; //$NON-NLS-1$
2760 * FORMATTER / Option to specify the length of the page. Beyond this length, the formatter will try to split the code
2761 * - option id: "net.sourceforge.phpdt.core.formatter.lineSplit"
2762 * - possible values: "<n>", where n is zero or a positive integer
2763 * - default: "80"
2768 public static final String FORMATTER_LINE_SPLIT = JavaCore.PLUGIN_ID
2769 + ".formatter.lineSplit"; //$NON-NLS-1$
2773 * FORMATTER / Option to specify the tabulation size
2774 * - option id: "net.sourceforge.phpdt.core.formatter.tabulation.size"
2775 * - possible values: { TAB, SPACE }
2780 * @see JavaCore#SPACE
2783 public static final String FORMATTER_TAB_CHAR = JavaCore.PLUGIN_ID
2784 + ".formatter.tabulation.char"; //$NON-NLS-1$
2788 * FORMATTER / Option to specify the tabulation size
2789 * - option id: "net.sourceforge.phpdt.core.formatter.tabulation.size"
2790 * - possible values: "<n>", where n is zero or a positive integer
2791 * - default: "4"
2796 public static final String FORMATTER_TAB_SIZE = JavaCore.PLUGIN_ID
2797 + ".formatter.tabulation.size"; //$NON-NLS-1$
2800 * Returns the formatter settings that most closely approximate the default
2801 * formatter settings of Eclipse version 2.1.
2803 * @return the Eclipse 2.1 settings
2806 // public static Map getEclipse21Settings() {
2807 // return DefaultCodeFormatterOptions.getDefaultSettings().getMap();
2810 * Returns the settings according to the Java conventions.
2812 * @return the settings according to the Java conventions
2815 // public static Map getJavaConventionsSettings() {
2816 // return DefaultCodeFormatterOptions.getJavaConventionsSettings().getMap();
2820 * Return the force value of the given alignment value. The given alignment
2821 * value should be created using the
2822 * <code>createAlignmentValue(boolean, int, int)</code> API.
2826 * the given alignment value
2827 * @return the force value of the given alignment value
2828 * @see #createAlignmentValue(boolean, int, int)
2829 * @exception IllegalArgumentException
2830 * if the given alignment value is null, or if it doesn't
2831 * have a valid format.
2833 // public static boolean getForceWrapping(String value) {
2834 // if (value == null) {
2835 // throw WRONG_ARGUMENT;
2838 // int existingValue = Integer.parseInt(value);
2839 // return (existingValue & Alignment.M_FORCE) != 0;
2840 // } catch (NumberFormatException e) {
2841 // throw WRONG_ARGUMENT;
2846 * Return the indentation style of the given alignment value. The given
2847 * alignment value should be created using the
2848 * <code>createAlignmentValue(boolean, int, int)</code> API.
2852 * the given alignment value
2853 * @return the indentation style of the given alignment value
2854 * @see #createAlignmentValue(boolean, int, int)
2855 * @exception IllegalArgumentException
2856 * if the given alignment value is null, or if it doesn't
2857 * have a valid format.
2859 public static int getIndentStyle(String value) {
2860 if (value == null) {
2861 throw WRONG_ARGUMENT;
2864 int existingValue = Integer.parseInt(value);
2865 // if ((existingValue & Alignment.M_INDENT_BY_ONE) != 0) {
2866 // return INDENT_BY_ONE;
2867 // } else if ((existingValue & Alignment.M_INDENT_ON_COLUMN) != 0) {
2868 // return INDENT_ON_COLUMN;
2870 return INDENT_DEFAULT;
2872 } catch (NumberFormatException e) {
2873 throw WRONG_ARGUMENT;
2878 * Return the wrapping style of the given alignment value. The given
2879 * alignment value should be created using the
2880 * <code>createAlignmentValue(boolean, int, int)</code> API.
2884 * the given alignment value
2885 * @return the wrapping style of the given alignment value
2886 * @see #createAlignmentValue(boolean, int, int)
2887 * @exception IllegalArgumentException
2888 * if the given alignment value is null, or if it doesn't
2889 * have a valid format.
2891 // public static int getWrappingStyle(String value) {
2892 // if (value == null) {
2893 // throw WRONG_ARGUMENT;
2896 // int existingValue = Integer.parseInt(value) & Alignment.SPLIT_MASK;
2897 // switch(existingValue) {
2898 // case Alignment.M_COMPACT_SPLIT :
2899 // return WRAP_COMPACT;
2900 // case Alignment.M_COMPACT_FIRST_BREAK_SPLIT :
2901 // return WRAP_COMPACT_FIRST_BREAK;
2902 // case Alignment.M_NEXT_PER_LINE_SPLIT :
2903 // return WRAP_NEXT_PER_LINE;
2904 // case Alignment.M_NEXT_SHIFTED_SPLIT :
2905 // return WRAP_NEXT_SHIFTED;
2906 // case Alignment.M_ONE_PER_LINE_SPLIT :
2907 // return WRAP_ONE_PER_LINE;
2909 // return WRAP_NO_SPLIT;
2911 // } catch (NumberFormatException e) {
2912 // throw WRONG_ARGUMENT;
2917 * Set the indentation style of the given alignment value and return the new
2918 * value. The given value should be created using the
2919 * <code>createAlignmentValue(boolean, int, int)</code> API.
2923 * the given alignment value
2924 * @param indentStyle
2925 * the given indentation style
2926 * @return the new alignment value
2927 * @see #INDENT_BY_ONE
2928 * @see #INDENT_DEFAULT
2929 * @see #INDENT_ON_COLUMN
2930 * @see #createAlignmentValue(boolean, int, int)
2931 * @exception IllegalArgumentException
2932 * if the given alignment value is null, if the given
2933 * indentation style is not one of the possible indentation
2934 * styles, or if the given alignment value doesn't have a
2937 // public static String setIndentStyle(String value, int indentStyle) {
2938 // if (value == null) {
2939 // throw WRONG_ARGUMENT;
2941 // switch(indentStyle) {
2942 // case INDENT_BY_ONE :
2943 // case INDENT_DEFAULT :
2944 // case INDENT_ON_COLUMN :
2947 // throw WRONG_ARGUMENT;
2950 // int existingValue = Integer.parseInt(value);
2951 // // clear existing indent bits
2952 // existingValue &= ~(Alignment.M_INDENT_BY_ONE |
2953 // Alignment.M_INDENT_ON_COLUMN);
2954 // switch(indentStyle) {
2955 // case INDENT_BY_ONE :
2956 // existingValue |= Alignment.M_INDENT_BY_ONE;
2958 // case INDENT_ON_COLUMN :
2959 // existingValue |= Alignment.M_INDENT_ON_COLUMN;
2961 // return String.valueOf(existingValue);
2962 // } catch (NumberFormatException e) {
2963 // throw WRONG_ARGUMENT;
2968 * Set the force value of the given alignment value and return the new
2969 * value. The given alignment value should be created using the
2970 * <code>createAlignmentValue(boolean, int, int)</code> API.
2974 * the given alignment value
2976 * the given force value
2977 * @return the new alignment value
2978 * @see #createAlignmentValue(boolean, int, int)
2979 * @exception IllegalArgumentException
2980 * if the given alignment value is null, or if it doesn't
2981 * have a valid format.
2983 // public static String setForceWrapping(String value, boolean force) {
2984 // if (value == null) {
2985 // throw WRONG_ARGUMENT;
2988 // int existingValue = Integer.parseInt(value);
2989 // // clear existing force bit
2990 // existingValue &= ~Alignment.M_FORCE;
2992 // existingValue |= Alignment.M_FORCE;
2994 // return String.valueOf(existingValue);
2995 // } catch (NumberFormatException e) {
2996 // throw WRONG_ARGUMENT;
3001 * Set the wrapping style of the given alignment value and return the new
3002 * value. The given value should be created using the
3003 * <code>createAlignmentValue(boolean, int, int)</code> API.
3007 * the given alignment value
3008 * @param wrappingStyle
3009 * the given wrapping style
3010 * @return the new alignment value
3011 * @see #WRAP_COMPACT
3012 * @see #WRAP_COMPACT_FIRST_BREAK
3013 * @see #WRAP_NEXT_PER_LINE
3014 * @see #WRAP_NEXT_SHIFTED
3015 * @see #WRAP_NO_SPLIT
3016 * @see #WRAP_ONE_PER_LINE
3017 * @see #createAlignmentValue(boolean, int, int)
3018 * @exception IllegalArgumentException
3019 * if the given alignment value is null, if the given
3020 * wrapping style is not one of the possible wrapping styles,
3021 * or if the given alignment value doesn't have a valid
3024 // public static String setWrappingStyle(String value, int wrappingStyle) {
3025 // if (value == null) {
3026 // throw WRONG_ARGUMENT;
3028 // switch(wrappingStyle) {
3029 // case WRAP_COMPACT :
3030 // case WRAP_COMPACT_FIRST_BREAK :
3031 // case WRAP_NEXT_PER_LINE :
3032 // case WRAP_NEXT_SHIFTED :
3033 // case WRAP_NO_SPLIT :
3034 // case WRAP_ONE_PER_LINE :
3037 // throw WRONG_ARGUMENT;
3040 // int existingValue = Integer.parseInt(value);
3041 // // clear existing split bits
3042 // existingValue &= ~(Alignment.SPLIT_MASK);
3043 // switch(wrappingStyle) {
3044 // case WRAP_COMPACT :
3045 // existingValue |= Alignment.M_COMPACT_SPLIT;
3047 // case WRAP_COMPACT_FIRST_BREAK :
3048 // existingValue |= Alignment.M_COMPACT_FIRST_BREAK_SPLIT;
3050 // case WRAP_NEXT_PER_LINE :
3051 // existingValue |= Alignment.M_NEXT_PER_LINE_SPLIT;
3053 // case WRAP_NEXT_SHIFTED :
3054 // existingValue |= Alignment.M_NEXT_SHIFTED_SPLIT;
3056 // case WRAP_ONE_PER_LINE :
3057 // existingValue |= Alignment.M_ONE_PER_LINE_SPLIT;
3060 // return String.valueOf(existingValue);
3061 // } catch (NumberFormatException e) {
3062 // throw WRONG_ARGUMENT;
3066 * Create a new alignment value according to the given values. This must be
3067 * used to set up the alignment options.
3070 * the given force value
3072 * the given wrapping style
3073 * @param indentStyle
3074 * the given indent style
3076 * @return the new alignement value
3078 // public static String createAlignmentValue(boolean forceSplit, int
3079 // wrapStyle, int indentStyle) {
3080 // int alignmentValue = 0;
3081 // switch(wrapStyle) {
3082 // case WRAP_COMPACT :
3083 // alignmentValue |= Alignment.M_COMPACT_SPLIT;
3085 // case WRAP_COMPACT_FIRST_BREAK :
3086 // alignmentValue |= Alignment.M_COMPACT_FIRST_BREAK_SPLIT;
3088 // case WRAP_NEXT_PER_LINE :
3089 // alignmentValue |= Alignment.M_NEXT_PER_LINE_SPLIT;
3091 // case WRAP_NEXT_SHIFTED :
3092 // alignmentValue |= Alignment.M_NEXT_SHIFTED_SPLIT;
3094 // case WRAP_ONE_PER_LINE :
3095 // alignmentValue |= Alignment.M_ONE_PER_LINE_SPLIT;
3098 // if (forceSplit) {
3099 // alignmentValue |= Alignment.M_FORCE;
3101 // switch(indentStyle) {
3102 // case INDENT_BY_ONE :
3103 // alignmentValue |= Alignment.M_INDENT_BY_ONE;
3105 // case INDENT_ON_COLUMN :
3106 // alignmentValue |= Alignment.M_INDENT_ON_COLUMN;
3108 // return String.valueOf(alignmentValue);