6ab235dde2d988b7c39466b37677a66950b5ed35
[phpeclipse.git] /
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
7  * 
8  * Contributors:
9  *     IBM Corporation - initial API and implementation
10  *******************************************************************************/
11 package net.sourceforge.phpdt.core.formatter;
12
13 // import java.util.Map;
14
15 import net.sourceforge.phpdt.core.JavaCore;
16
17 /**
18  * Constants used to set up the options of the code formatter.
19  * 
20  * @since 3.0
21  */
22 public class DefaultCodeFormatterConstants {
23
24         /*
25          * Private constants. Not in javadoc
26          */
27         private static final IllegalArgumentException WRONG_ARGUMENT = new IllegalArgumentException();
28
29         /**
30          * <pre>
31          *  FORMATTER / Value to set a brace location at the end of a line.
32          * </pre>
33          * 
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
41          * @since 3.0
42          */
43         public static final String END_OF_LINE = "end_of_line"; //$NON-NLS-1$
44
45         /**
46          * <pre>
47          *  FORMATTER / Value to set a brace location at the start of the next line with
48          *              the right indentation.
49          * </pre>
50          * 
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
58          * @since 3.0
59          */
60         public static final String NEXT_LINE = "next_line"; //$NON-NLS-1$
61
62         /**
63          * <pre>
64          *  FORMATTER / Value to set a brace location at the start of the next line with
65          *              an extra indentation.
66          * </pre>
67          * 
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
75          * @since 3.0
76          */
77         public static final String NEXT_LINE_SHIFTED = "next_line_shifted"; //$NON-NLS-1$
78
79         /**
80          * <pre>
81          *  FORMATTER / Value to set a brace location at the start of the next line if a wrapping
82          *              occured.
83          * </pre>
84          * 
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
92          * @since 3.0
93          */
94         public static final String NEXT_LINE_ON_WRAP = "next_line_on_wrap"; //$NON-NLS-1$
95
96         /**
97          * <pre>
98          *  FORMATTER / Value to set an option to true.
99          * </pre>
100          * 
101          * @since 3.0
102          */
103         public static final String FALSE = "false"; //$NON-NLS-1$
104
105         /**
106          * <pre>
107          *  FORMATTER / Value to set an option to false.
108          * </pre>
109          * 
110          * @since 3.0
111          */
112         public static final String TRUE = "true"; //$NON-NLS-1$
113
114         /**
115          * <pre>
116          *  FORMATTER / Value to disable alignment.
117          * </pre>
118          * 
119          * @since 3.0
120          */
121         public static final int WRAP_NO_SPLIT = 0;
122
123         /**
124          * <pre>
125          *  FORMATTER / The wrapping is done using as few lines as possible.
126          * </pre>
127          * 
128          * @since 3.0
129          */
130         public static final int WRAP_COMPACT = 1;
131
132         /**
133          * <pre>
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.
136          * </pre>
137          * 
138          * @since 3.0
139          */
140         public static final int WRAP_COMPACT_FIRST_BREAK = 2;
141
142         /**
143          * <pre>
144          *  FORMATTER / The wrapping is done by putting each element on its own line.
145          * </pre>
146          * 
147          * @since 3.0
148          */
149         public static final int WRAP_ONE_PER_LINE = 3;
150
151         /**
152          * <pre>
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.
155          * </pre>
156          * 
157          * @since 3.0
158          */
159         public static final int WRAP_NEXT_SHIFTED = 4;
160
161         /**
162          * <pre>
163          *  FORMATTER / The wrapping is done by putting each element on its own line
164          *              except the first element.
165          * </pre>
166          * 
167          * @since 3.0
168          */
169         public static final int WRAP_NEXT_PER_LINE = 5;
170
171         /**
172          * <pre>
173          *  FORMATTER / The wrapping is done by using the current indentation.
174          * </pre>
175          * 
176          * @since 3.0
177          */
178         public static final int INDENT_DEFAULT = 0;
179
180         /**
181          * <pre>
182          *  FORMATTER / The wrapping is done by indenting on column under the splitting location.
183          * </pre>
184          * 
185          * @since 3.0
186          */
187         public static final int INDENT_ON_COLUMN = 1;
188
189         /**
190          * <pre>
191          *  FORMATTER / The wrapping is done by indenting by one compare to the current indentation.
192          * </pre>
193          * 
194          * @since 3.0
195          */
196         public static final int INDENT_BY_ONE = 2;
197
198         /**
199          * <pre>
200          *  FORMATTER / Option for alignment of arguments in allocation expression
201          *      - option id:         &quot;net.sourceforge.phpdt.core.formatter.alignment_for_arguments_in_allocation_expression&quot;
202          *      - possible values:   values returned by
203          * <code>
204          * createAlignmentValue(boolean, int, int)
205          * </code>
206          *  call
207          *      - default:           createAlignmentValue(false, WRAP_COMPACT, INDENT_DEFAULT)
208          * </pre>
209          * 
210          * @see #createAlignmentValue(boolean, int, int)
211          * @since 3.0
212          */
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$
215
216         /**
217          * <pre>
218          *  FORMATTER / Option for alignment of arguments in explicit constructor call
219          *      - option id:         &quot;net.sourceforge.phpdt.core.formatter.alignment_for_arguments_in_explicit_constructor_call&quot;
220          *      - possible values:   values returned by
221          * <code>
222          * createAlignmentValue(boolean, int, int)
223          * </code>
224          *  call
225          *      - default:           createAlignmentValue(false, WRAP_COMPACT, INDENT_DEFAULT)
226          * </pre>
227          * 
228          * @see #createAlignmentValue(boolean, int, int)
229          * @since 3.0
230          */
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$
233
234         /**
235          * <pre>
236          *  FORMATTER / Option for alignment of arguments in method invocation
237          *      - option id:         &quot;net.sourceforge.phpdt.core.formatter.alignment_for_arguments_in_method_invocation&quot;
238          *      - possible values:   values returned by
239          * <code>
240          * createAlignmentValue(boolean, int, int)
241          * </code>
242          *  call
243          *      - default:           createAlignmentValue(false, WRAP_COMPACT, INDENT_DEFAULT)
244          * </pre>
245          * 
246          * @see #createAlignmentValue(boolean, int, int)
247          * @since 3.0
248          */
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$
251
252         /**
253          * <pre>
254          *  FORMATTER / Option for alignment of arguments in qualified allocation expression
255          *      - option id:         &quot;net.sourceforge.phpdt.core.formatter.alignment_for_arguments_in_qualified_allocation_expression&quot;
256          *      - possible values:   values returned by
257          * <code>
258          * createAlignmentValue(boolean, int, int)
259          * </code>
260          *  call
261          *      - default:           createAlignmentValue(false, WRAP_COMPACT, INDENT_DEFAULT)
262          * </pre>
263          * 
264          * @see #createAlignmentValue(boolean, int, int)
265          * @since 3.0
266          */
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$
269
270         /**
271          * <pre>
272          *  FORMATTER / Option for alignment of binary expression
273          *      - option id:         &quot;net.sourceforge.phpdt.core.formatter.alignment_for_binary_expression&quot;
274          *      - possible values:   values returned by
275          * <code>
276          * createAlignmentValue(boolean, int, int)
277          * </code>
278          *  call
279          *      - default:           createAlignmentValue(false, WRAP_COMPACT, INDENT_DEFAULT)
280          * </pre>
281          * 
282          * @see #createAlignmentValue(boolean, int, int)
283          * @since 3.0
284          */
285         public static final String FORMATTER_ALIGNMENT_FOR_BINARY_EXPRESSION = JavaCore.PLUGIN_ID
286                         + ".formatter.alignment_for_binary_expression"; //$NON-NLS-1$
287
288         /**
289          * <pre>
290          *  FORMATTER / Option for alignment of compact if
291          *      - option id:         &quot;net.sourceforge.phpdt.core.formatter.alignment_for_compact_if&quot;
292          *      - possible values:   values returned by
293          * <code>
294          * createAlignmentValue(boolean, int, int)
295          * </code>
296          *  call
297          *      - default:           createAlignmentValue(false, WRAP_ONE_PER_LINE, INDENT_BY_ONE)
298          * </pre>
299          * 
300          * @see #createAlignmentValue(boolean, int, int)
301          * @since 3.0
302          */
303         public static final String FORMATTER_ALIGNMENT_FOR_COMPACT_IF = JavaCore.PLUGIN_ID
304                         + ".formatter.alignment_for_compact_if"; //$NON-NLS-1$
305
306         /**
307          * <pre>
308          *  FORMATTER / Option for alignment of conditional expression
309          *      - option id:         &quot;net.sourceforge.phpdt.core.formatter.alignment_for_conditional_expression&quot;
310          *      - possible values:   values returned by
311          * <code>
312          * createAlignmentValue(boolean, int, int)
313          * </code>
314          *  call
315          *      - default:           createAlignmentValue(false, WRAP_ONE_PER_LINE, INDENT_DEFAULT)
316          * </pre>
317          * 
318          * @see #createAlignmentValue(boolean, int, int)
319          * @since 3.0
320          */
321         public static final String FORMATTER_ALIGNMENT_FOR_CONDITIONAL_EXPRESSION = JavaCore.PLUGIN_ID
322                         + ".formatter.alignment_for_conditional_expression"; //$NON-NLS-1$
323
324         /**
325          * <pre>
326          *  FORMATTER / Option for alignment of expressions in array initializer
327          *      - option id:         &quot;net.sourceforge.phpdt.core.formatter.alignment_for_expressions_in_array_initializer&quot;
328          *      - possible values:   values returned by
329          * <code>
330          * createAlignmentValue(boolean, int, int)
331          * </code>
332          *  call
333          *      - default:           createAlignmentValue(false, WRAP_COMPACT, INDENT_DEFAULT)
334          * </pre>
335          * 
336          * @see #createAlignmentValue(boolean, int, int)
337          * @since 3.0
338          */
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$
341
342         /**
343          * <pre>
344          *  FORMATTER / Option for alignment of multiple fields
345          *      - option id:         &quot;net.sourceforge.phpdt.core.formatter.alignment_for_multiple_fields&quot;
346          *      - possible values:   values returned by
347          * <code>
348          * createAlignmentValue(boolean, int, int)
349          * </code>
350          *  call
351          *      - default:           createAlignmentValue(false, WRAP_COMPACT, INDENT_DEFAULT)
352          * </pre>
353          * 
354          * @see #createAlignmentValue(boolean, int, int)
355          * @since 3.0
356          */
357         public static final String FORMATTER_ALIGNMENT_FOR_MULTIPLE_FIELDS = JavaCore.PLUGIN_ID
358                         + ".formatter.alignment_for_multiple_fields";//$NON-NLS-1$      
359
360         /**
361          * <pre>
362          *  FORMATTER / Option for alignment of parameters in constructor declaration
363          *      - option id:         &quot;net.sourceforge.phpdt.core.formatter.alignment_for_parameters_in_constructor_declaration&quot;
364          *      - possible values:   values returned by
365          * <code>
366          * createAlignmentValue(boolean, int, int)
367          * </code>
368          *  call
369          *      - default:           createAlignmentValue(false, WRAP_COMPACT, INDENT_DEFAULT)
370          * </pre>
371          * 
372          * @see #createAlignmentValue(boolean, int, int)
373          * @since 3.0
374          */
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$
377
378         /**
379          * <pre>
380          *  FORMATTER / Option for alignment of parameters in method declaration
381          *      - option id:         &quot;net.sourceforge.phpdt.core.formatter.alignment_for_parameters_in_method_declaration&quot;
382          *      - possible values:   values returned by
383          * <code>
384          * createAlignmentValue(boolean, int, int)
385          * </code>
386          *  call
387          *      - default:           createAlignmentValue(false, WRAP_COMPACT, INDENT_DEFAULT)
388          * </pre>
389          * 
390          * @see #createAlignmentValue(boolean, int, int)
391          * @since 3.0
392          */
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$
395
396         /**
397          * <pre>
398          *  FORMATTER / Option for alignment of selector in method invocation
399          *      - option id:         &quot;net.sourceforge.phpdt.core.formatter.alignment_for_selector_in_method_invocation&quot;
400          *      - possible values:   values returned by
401          * <code>
402          * createAlignmentValue(boolean, int, int)
403          * </code>
404          *  call
405          *      - default:           createAlignmentValue(false, WRAP_COMPACT, INDENT_DEFAULT)
406          * </pre>
407          * 
408          * @see #createAlignmentValue(boolean, int, int)
409          * @since 3.0
410          */
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$
413
414         /**
415          * <pre>
416          *  FORMATTER / Option for alignment of superclass in type declaration
417          *      - option id:         &quot;net.sourceforge.phpdt.core.formatter.alignment_for_superclass_in_type_declaration&quot;
418          *      - possible values:   values returned by
419          * <code>
420          * createAlignmentValue(boolean, int, int)
421          * </code>
422          *  call
423          *      - default:           createAlignmentValue(false, WRAP_NEXT_SHIFTED, INDENT_DEFAULT)
424          * </pre>
425          * 
426          * @see #createAlignmentValue(boolean, int, int)
427          * @since 3.0
428          */
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$
431
432         /**
433          * <pre>
434          *  FORMATTER / Option for alignment of superinterfaces in type declaration
435          *      - option id:         &quot;net.sourceforge.phpdt.core.formatter.alignment_for_superinterfaces_in_type_declaration&quot;
436          *      - possible values:   values returned by
437          * <code>
438          * createAlignmentValue(boolean, int, int)
439          * </code>
440          *  call
441          *      - default:           createAlignmentValue(false, WRAP_NEXT_SHIFTED, INDENT_DEFAULT)
442          * </pre>
443          * 
444          * @see #createAlignmentValue(boolean, int, int)
445          * @since 3.0
446          */
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$
449
450         /**
451          * <pre>
452          *  FORMATTER / Option for alignment of throws clause in constructor declaration
453          *      - option id:         &quot;net.sourceforge.phpdt.core.formatter.alignment_for_throws_clause_in_constructor_declaration&quot;
454          *      - possible values:   values returned by
455          * <code>
456          * createAlignmentValue(boolean, int, int)
457          * </code>
458          *  call
459          *      - default:           createAlignmentValue(false, WRAP_COMPACT, INDENT_DEFAULT)
460          * </pre>
461          * 
462          * @see #createAlignmentValue(boolean, int, int)
463          * @since 3.0
464          */
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$
467
468         /**
469          * <pre>
470          *  FORMATTER / Option for alignment of throws clause in method declaration
471          *      - option id:         &quot;net.sourceforge.phpdt.core.formatter.alignment_for_throws_clause_in_method_declaration&quot;
472          *      - possible values:   values returned by
473          * <code>
474          * createAlignmentValue(boolean, int, int)
475          * </code>
476          *  call
477          *      - default:           createAlignmentValue(false, WRAP_COMPACT, INDENT_DEFAULT)
478          * </pre>
479          * 
480          * @see #createAlignmentValue(boolean, int, int)
481          * @since 3.0
482          */
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$
485
486         /**
487          * <pre>
488          *  FORMATTER / Option to align type members of a type declaration on column
489          *      - option id:         &quot;net.sourceforge.phpdt.core.formatter.alignment_for_throws_clause_in_method_declaration&quot;
490          *      - possible values:   values returned by
491          * <code>
492          * createAlignmentValue(boolean, int, int)
493          * </code>
494          *  call
495          *      - default:           createAlignmentValue(false, WRAP_COMPACT, INDENT_DEFAULT)
496          * </pre>
497          * 
498          * @see #createAlignmentValue(boolean, int, int)
499          * @since 3.0
500          */
501         public static final String FORMATTER_ALIGN_TYPE_MEMBERS_ON_COLUMNS = JavaCore.PLUGIN_ID
502                         + ".formatter.align_type_members_on_columns"; //$NON-NLS-1$
503
504         /**
505          * <pre>
506          *  FORMATTER / Option to position the braces of a anonymous type declaration
507          *      - option id:         &quot;net.sourceforge.phpdt.core.formatter.brace_position_for_anonymous_type_declaration&quot;
508          *      - possible values:   { END_OF_LINE, NEXT_LINE, NEXT_LINE_SHIFTED, NEXT_LINE_ON_WRAP }
509          *      - default:           END_OF_LINE
510          * </pre>
511          * 
512          * @see #END_OF_LINE
513          * @see #NEXT_LINE
514          * @see #NEXT_LINE_SHIFTED
515          * @see #NEXT_LINE_ON_WRAP
516          * @since 3.0
517          */
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$
520
521         /**
522          * <pre>
523          *  FORMATTER / Option to position the braces of an array initializer
524          *      - option id:         &quot;net.sourceforge.phpdt.core.formatter.brace_position_for_array_initializer&quot;
525          *      - possible values:   { END_OF_LINE, NEXT_LINE, NEXT_LINE_SHIFTED, NEXT_LINE_ON_WRAP }
526          *      - default:           END_OF_LINE
527          * </pre>
528          * 
529          * @see #END_OF_LINE
530          * @see #NEXT_LINE
531          * @see #NEXT_LINE_SHIFTED
532          * @see #NEXT_LINE_ON_WRAP
533          * @since 3.0
534          */
535         public static final String FORMATTER_BRACE_POSITION_FOR_ARRAY_INITIALIZER = JavaCore.PLUGIN_ID
536                         + ".formatter.brace_position_for_array_initializer"; //$NON-NLS-1$
537
538         /**
539          * <pre>
540          *  FORMATTER / Option to position the braces of a block
541          *      - option id:         &quot;net.sourceforge.phpdt.core.formatter.brace_position_for_block&quot;
542          *      - possible values:   { END_OF_LINE, NEXT_LINE, NEXT_LINE_SHIFTED, NEXT_LINE_ON_WRAP }
543          *      - default:           END_OF_LINE
544          * </pre>
545          * 
546          * @see #END_OF_LINE
547          * @see #NEXT_LINE
548          * @see #NEXT_LINE_SHIFTED
549          * @see #NEXT_LINE_ON_WRAP
550          * @since 3.0
551          */
552         public static final String FORMATTER_BRACE_POSITION_FOR_BLOCK = JavaCore.PLUGIN_ID
553                         + ".formatter.brace_position_for_block"; //$NON-NLS-1$
554
555         /**
556          * <pre>
557          *  FORMATTER / Option to position the braces of a block in a case statement when the block is the first statement following
558          *              the case
559          *      - option id:         &quot;net.sourceforge.phpdt.core.formatter.brace_position_for_block_in_case&quot;
560          *      - possible values:   { END_OF_LINE, NEXT_LINE, NEXT_LINE_SHIFTED, NEXT_LINE_ON_WRAP }
561          *      - default:           END_OF_LINE
562          * </pre>
563          * 
564          * @see #END_OF_LINE
565          * @see #NEXT_LINE
566          * @see #NEXT_LINE_SHIFTED
567          * @see #NEXT_LINE_ON_WRAP
568          * @since 3.0
569          */
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$
572
573         /**
574          * <pre>
575          *  FORMATTER / Option to position the braces of a constructor declaration
576          *      - option id:         &quot;net.sourceforge.phpdt.core.formatter.brace_position_for_constructor_declaration&quot;
577          *      - possible values:   { END_OF_LINE, NEXT_LINE, NEXT_LINE_SHIFTED, NEXT_LINE_ON_WRAP }
578          *      - default:           END_OF_LINE
579          * </pre>
580          * 
581          * @see #END_OF_LINE
582          * @see #NEXT_LINE
583          * @see #NEXT_LINE_SHIFTED
584          * @see #NEXT_LINE_ON_WRAP
585          * @since 3.0
586          */
587         public static final String FORMATTER_BRACE_POSITION_FOR_CONSTRUCTOR_DECLARATION = JavaCore.PLUGIN_ID
588                         + ".formatter.brace_position_for_constructor_declaration"; //$NON-NLS-1$
589
590         /**
591          * <pre>
592          *  FORMATTER / Option to position the braces of a method declaration
593          *      - option id:         &quot;net.sourceforge.phpdt.core.formatter.brace_position_for_method_declaration&quot;
594          *      - possible values:   { END_OF_LINE, NEXT_LINE, NEXT_LINE_SHIFTED, NEXT_LINE_ON_WRAP }
595          *      - default:           END_OF_LINE
596          * </pre>
597          * 
598          * @see #END_OF_LINE
599          * @see #NEXT_LINE
600          * @see #NEXT_LINE_SHIFTED
601          * @see #NEXT_LINE_ON_WRAP
602          * @since 3.0
603          */
604         public static final String FORMATTER_BRACE_POSITION_FOR_METHOD_DECLARATION = JavaCore.PLUGIN_ID
605                         + ".formatter.brace_position_for_method_declaration"; //$NON-NLS-1$
606
607         /**
608          * <pre>
609          *  FORMATTER / Option to position the braces of a type declaration
610          *      - option id:         &quot;net.sourceforge.phpdt.core.formatter.brace_position_for_type_declaration&quot;
611          *      - possible values:   { END_OF_LINE, NEXT_LINE, NEXT_LINE_SHIFTED, NEXT_LINE_ON_WRAP }
612          *      - default:           END_OF_LINE
613          * </pre>
614          * 
615          * @see #END_OF_LINE
616          * @see #NEXT_LINE
617          * @see #NEXT_LINE_SHIFTED
618          * @see #NEXT_LINE_ON_WRAP
619          * @since 3.0
620          */
621         public static final String FORMATTER_BRACE_POSITION_FOR_TYPE_DECLARATION = JavaCore.PLUGIN_ID
622                         + ".formatter.brace_position_for_type_declaration"; //$NON-NLS-1$
623
624         /**
625          * <pre>
626          *  FORMATTER / Option to position the braces of a switch statement
627          *      - option id:         &quot;net.sourceforge.phpdt.core.formatter.brace_position_for_switch&quot;
628          *      - possible values:   { END_OF_LINE, NEXT_LINE, NEXT_LINE_SHIFTED, NEXT_LINE_ON_WRAP }
629          *      - default:           END_OF_LINE
630          * </pre>
631          * 
632          * @see #END_OF_LINE
633          * @see #NEXT_LINE
634          * @see #NEXT_LINE_SHIFTED
635          * @see #NEXT_LINE_ON_WRAP
636          * @since 3.0
637          */
638         public static final String FORMATTER_BRACE_POSITION_FOR_SWITCH = JavaCore.PLUGIN_ID
639                         + ".formatter.brace_position_for_switch"; //$NON-NLS-1$
640
641         /**
642          * <pre>
643          *  FORMATTER / Option to set the continuation indentation
644          *      - option id:         &quot;net.sourceforge.phpdt.core.formatter.continuation_indentation&quot;
645          *      - possible values:   &quot;&lt;n&gt;&quot;, where n is zero or a positive integer
646          *      - default:           &quot;2&quot;
647          * </pre>
648          * 
649          * @since 3.0
650          */
651         public static final String FORMATTER_CONTINUATION_INDENTATION = JavaCore.PLUGIN_ID
652                         + ".formatter.continuation_indentation"; //$NON-NLS-1$
653
654         /**
655          * <pre>
656          *  FORMATTER / Option to set the continuation indentation inside array initializer
657          *      - option id:         &quot;net.sourceforge.phpdt.core.formatter.continuation_indentation_for_array_initializer&quot;
658          *      - possible values:   &quot;&lt;n&gt;&quot;, where n is zero or a positive integer
659          *      - default:           &quot;2&quot;
660          * </pre>
661          * 
662          * @since 3.0
663          */
664         public static final String FORMATTER_CONTINUATION_INDENTATION_FOR_ARRAY_INITIALIZER = JavaCore.PLUGIN_ID
665                         + ".formatter.continuation_indentation_for_array_initializer"; //$NON-NLS-1$
666
667         /**
668          * <pre>
669          *  FORMATTER / Option to add blank lines after the imports declaration
670          *      - option id:         &quot;net.sourceforge.phpdt.core.formatter.blank_lines_after_imports&quot;
671          *      - possible values:   &quot;&lt;n&gt;&quot;, where n is zero or a positive integer
672          *      - default:           &quot;0&quot;
673          * </pre>
674          * 
675          * @since 3.0
676          */
677         public static final String FORMATTER_BLANK_LINES_AFTER_IMPORTS = JavaCore.PLUGIN_ID
678                         + ".formatter.blank_lines_after_imports"; //$NON-NLS-1$
679
680         /**
681          * <pre>
682          *  FORMATTER / Option to add blank lines after the package declaration
683          *      - option id:         &quot;net.sourceforge.phpdt.core.formatter.blank_lines_after_package&quot;
684          *      - possible values:   &quot;&lt;n&gt;&quot;, where n is zero or a positive integer
685          *      - default:           &quot;0&quot;
686          * </pre>
687          * 
688          * @since 3.0
689          */
690         public static final String FORMATTER_BLANK_LINES_AFTER_PACKAGE = JavaCore.PLUGIN_ID
691                         + ".formatter.blank_lines_after_package"; //$NON-NLS-1$
692
693         /**
694          * <pre>
695          *  FORMATTER / Option to add blank lines before a field declaration
696          *      - option id:         &quot;net.sourceforge.phpdt.core.formatter.blank_lines_before_field&quot;
697          *      - possible values:   &quot;&lt;n&gt;&quot;, where n is zero or a positive integer
698          *      - default:           &quot;0&quot;
699          * </pre>
700          * 
701          * @since 3.0
702          */
703         public static final String FORMATTER_BLANK_LINES_BEFORE_FIELD = JavaCore.PLUGIN_ID
704                         + ".formatter.blank_lines_before_field"; //$NON-NLS-1$
705
706         /**
707          * <pre>
708          *  FORMATTER / Option to add blank lines before the first class body declaration
709          *      - option id:         &quot;net.sourceforge.phpdt.core.formatter.blank_lines_before_first_class_body_declaration&quot;
710          *      - possible values:   &quot;&lt;n&gt;&quot;, where n is zero or a positive integer
711          *      - default:           &quot;0&quot;
712          * </pre>
713          * 
714          * @since 3.0
715          */
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$
718
719         /**
720          * <pre>
721          *  FORMATTER / Option to add blank lines before the imports declaration
722          *      - option id:         &quot;net.sourceforge.phpdt.core.formatter.blank_lines_before_imports&quot;
723          *      - possible values:   &quot;&lt;n&gt;&quot;, where n is zero or a positive integer
724          *      - default:           &quot;0&quot;
725          * </pre>
726          * 
727          * @since 3.0
728          */
729         public static final String FORMATTER_BLANK_LINES_BEFORE_IMPORTS = JavaCore.PLUGIN_ID
730                         + ".formatter.blank_lines_before_imports"; //$NON-NLS-1$
731
732         /**
733          * <pre>
734          *  FORMATTER / Option to add blank lines before a member type declaration
735          *      - option id:         &quot;net.sourceforge.phpdt.core.formatter.blank_lines_before_member_type&quot;
736          *      - possible values:   &quot;&lt;n&gt;&quot;, where n is zero or a positive integer
737          *      - default:           &quot;0&quot;
738          * </pre>
739          * 
740          * @since 3.0
741          */
742         public static final String FORMATTER_BLANK_LINES_BEFORE_MEMBER_TYPE = JavaCore.PLUGIN_ID
743                         + ".formatter.blank_lines_before_member_type"; //$NON-NLS-1$
744
745         /**
746          * <pre>
747          *  FORMATTER / Option to add blank lines before a method declaration
748          *      - option id:         &quot;net.sourceforge.phpdt.core.formatter.blank_lines_before_method&quot;
749          *      - possible values:   &quot;&lt;n&gt;&quot;, where n is zero or a positive integer
750          *      - default:           &quot;0&quot;
751          * </pre>
752          * 
753          * @since 3.0
754          */
755         public static final String FORMATTER_BLANK_LINES_BEFORE_METHOD = JavaCore.PLUGIN_ID
756                         + ".formatter.blank_lines_before_method"; //$NON-NLS-1$
757
758         /**
759          * <pre>
760          *  FORMATTER / Option to add blank lines before a new chunk
761          *      - option id:         &quot;net.sourceforge.phpdt.core.formatter.blank_lines_before_new_chunk&quot;
762          *      - possible values:   &quot;&lt;n&gt;&quot;, where n is zero or a positive integer
763          *      - default:           &quot;0&quot;
764          * </pre>
765          * 
766          * @since 3.0
767          */
768         public static final String FORMATTER_BLANK_LINES_BEFORE_NEW_CHUNK = JavaCore.PLUGIN_ID
769                         + ".formatter.blank_lines_before_new_chunk"; //$NON-NLS-1$
770
771         /**
772          * <pre>
773          *  FORMATTER / Option to add blank lines before the package declaration
774          *      - option id:         &quot;net.sourceforge.phpdt.core.formatter.blank_lines_before_package&quot;
775          *      - possible values:   &quot;&lt;n&gt;&quot;, where n is zero or a positive integer
776          *      - default:           &quot;0&quot;
777          * </pre>
778          * 
779          * @since 3.0
780          */
781         public static final String FORMATTER_BLANK_LINES_BEFORE_PACKAGE = JavaCore.PLUGIN_ID
782                         + ".formatter.blank_lines_before_package"; //$NON-NLS-1$
783
784         /**
785          * <pre>
786          *  FORMATTER / Option to add blank lines between type declarations
787          *      - option id:         &quot;net.sourceforge.phpdt.core.formatter.blank_lines_between_type_declarations&quot;
788          *      - possible values:   &quot;&lt;n&gt;&quot;, where n is zero or a positive integer
789          *      - default:           &quot;0&quot;
790          * </pre>
791          * 
792          * @since 3.0
793          */
794         public static final String FORMATTER_BLANK_LINES_BETWEEN_TYPE_DECLARATIONS = JavaCore.PLUGIN_ID
795                         + ".formatter.blank_lines_between_type_declarations"; //$NON-NLS-1$
796
797         /**
798          * <pre>
799          *  FORMATTER / Option to add blank lines at the beginning of the method body
800          *      - option id:         &quot;net.sourceforge.phpdt.core.formatter.number_of_blank_lines_at_beginning_of_method_body&quot;
801          *      - possible values:   &quot;&lt;n&gt;&quot;, where n is zero or a positive integer
802          *      - default:           &quot;0&quot;
803          * </pre>
804          * 
805          * @since 3.0
806          */
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$
809
810         /**
811          * <pre>
812          *  FORMATTER / Option to indent body declarations compare to its enclosing type header
813          *      - option id:         &quot;net.sourceforge.phpdt.core.formatter.indent_body_declarations_compare_to_type_header&quot;
814          *      - possible values:   { TRUE, FALSE }
815          *      - default:           TRUE
816          * </pre>
817          * 
818          * @see #TRUE
819          * @see #FALSE
820          * @since 3.0
821          */
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$
824
825         /**
826          * <pre>
827          *  FORMATTER / Option to indent breaks compare to cases
828          *      - option id:         &quot;net.sourceforge.phpdt.core.formatter.indent_breaks_compare_to_cases&quot;
829          *      - possible values:   { TRUE, FALSE }
830          *      - default:           TRUE
831          * </pre>
832          * 
833          * @see #TRUE
834          * @see #FALSE
835          * @since 3.0
836          */
837         public static final String FORMATTER_INDENT_BREAKS_COMPARE_TO_CASES = JavaCore.PLUGIN_ID
838                         + ".formatter.indent_breaks_compare_to_cases"; //$NON-NLS-1$
839
840         /**
841          * <pre>
842          *  FORMATTER / Option to indent statements inside a block
843          *      - option id:         &quot;net.sourceforge.phpdt.core.formatter.indent_statements_compare_to_block&quot;
844          *      - possible values:   { TRUE, FALSE }
845          *      - default:           TRUE
846          * </pre>
847          * 
848          * @see #TRUE
849          * @see #FALSE
850          * @since 3.0
851          */
852         public static final String FORMATTER_INDENT_STATEMENTS_COMPARE_TO_BLOCK = JavaCore.PLUGIN_ID
853                         + ".formatter.indent_statements_compare_to_block"; //$NON-NLS-1$
854
855         /**
856          * <pre>
857          *  FORMATTER / Option to indent statements inside the body of a method or a constructor
858          *      - option id:         &quot;net.sourceforge.phpdt.core.formatter.indent_statements_compare_to_body&quot;
859          *      - possible values:   { TRUE, FALSE }
860          *      - default:           TRUE
861          * </pre>
862          * 
863          * @see #TRUE
864          * @see #FALSE
865          * @since 3.0
866          */
867         public static final String FORMATTER_INDENT_STATEMENTS_COMPARE_TO_BODY = JavaCore.PLUGIN_ID
868                         + ".formatter.indent_statements_compare_to_body"; //$NON-NLS-1$
869
870         /**
871          * <pre>
872          *  FORMATTER / Option to indent switch statements compare to cases
873          *      - option id:         &quot;net.sourceforge.phpdt.core.formatter.indent_switchstatements_compare_to_cases&quot;
874          *      - possible values:   { TRUE, FALSE }
875          *      - default:           TRUE
876          * </pre>
877          * 
878          * @see #TRUE
879          * @see #FALSE
880          * @since 3.0
881          */
882         public static final String FORMATTER_INDENT_SWITCHSTATEMENTS_COMPARE_TO_CASES = JavaCore.PLUGIN_ID
883                         + ".formatter.indent_switchstatements_compare_to_cases"; //$NON-NLS-1$
884
885         /**
886          * <pre>
887          *  FORMATTER / Option to indent switch statements compare to switch
888          *      - option id:         &quot;net.sourceforge.phpdt.core.formatter.indent_switchstatements_compare_to_switch&quot;
889          *      - possible values:   { TRUE, FALSE }
890          *      - default:           TRUE
891          * </pre>
892          * 
893          * @see #TRUE
894          * @see #FALSE
895          * @since 3.0
896          */
897         public static final String FORMATTER_INDENT_SWITCHSTATEMENTS_COMPARE_TO_SWITCH = JavaCore.PLUGIN_ID
898                         + ".formatter.indent_switchstatements_compare_to_switch"; //$NON-NLS-1$
899
900         /**
901          * <pre>
902          *  FORMATTER / Option to insert a new line after the opening brace in an array initializer
903          *      - option id:         &quot;net.sourceforge.phpdt.core.formatter.insert_new_line_after_opening_brace_in_array_initializer&quot;
904          *      - possible values:   { INSERT, DO_NOT_INSERT }
905          *      - default:           DO_NOT_INSERT
906          * </pre>
907          * 
908          * @see JavaCore#INSERT
909          * @see JavaCore#DO_NOT_INSERT
910          * @since 3.0
911          */
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$
914
915         /**
916          * <pre>
917          *  FORMATTER / Option to insert a new line before the catch keyword in try statement
918          *      - option id:         &quot;net.sourceforge.phpdt.core.formatter.insert_new_line_before_catch_in_try_statement&quot;
919          *      - possible values:   { INSERT, DO_NOT_INSERT }
920          *      - default:           DO_NOT_INSERT
921          * </pre>
922          * 
923          * @see JavaCore#INSERT
924          * @see JavaCore#DO_NOT_INSERT
925          * @since 3.0
926          */
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$
929
930         /**
931          * <pre>
932          *  FORMATTER / Option to insert a new line before the closing brace in an array initializer
933          *      - option id:         &quot;net.sourceforge.phpdt.core.formatter.insert_new_line_before_closing_brace_in_array_initializer&quot;
934          *      - possible values:   { INSERT, DO_NOT_INSERT }
935          *      - default:           DO_NOT_INSERT
936          * </pre>
937          * 
938          * @see JavaCore#INSERT
939          * @see JavaCore#DO_NOT_INSERT
940          * @since 3.0
941          */
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$
944
945         /**
946          * <pre>
947          *  FORMATTER / Option to insert a new line before the else keyword in if statement
948          *      - option id:         &quot;net.sourceforge.phpdt.core.formatter.insert_new_line_before_else_in_if_statement&quot;
949          *      - possible values:   { INSERT, DO_NOT_INSERT }
950          *      - default:           DO_NOT_INSERT
951          * </pre>
952          * 
953          * @see JavaCore#INSERT
954          * @see JavaCore#DO_NOT_INSERT
955          * @since 3.0
956          */
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$
959
960         /**
961          * <pre>
962          *  FORMATTER / Option to insert a new line before the finally keyword in try statement
963          *      - option id:         &quot;net.sourceforge.phpdt.core.formatter.insert_new_line_before_finally_in_try_statement&quot;
964          *      - possible values:   { INSERT, DO_NOT_INSERT }
965          *      - default:           DO_NOT_INSERT
966          * </pre>
967          * 
968          * @see JavaCore#INSERT
969          * @see JavaCore#DO_NOT_INSERT
970          * @since 3.0
971          */
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$
974
975         /**
976          * <pre>
977          *  FORMATTER / Option to insert a new line before while in do statement
978          *      - option id:         &quot;net.sourceforge.phpdt.core.formatter.insert_new_line_before_while_in_do_statement&quot;
979          *      - possible values:   { INSERT, DO_NOT_INSERT }
980          *      - default:           DO_NOT_INSERT
981          * </pre>
982          * 
983          * @see JavaCore#INSERT
984          * @see JavaCore#DO_NOT_INSERT
985          * @since 3.0
986          */
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$
989
990         /**
991          * <pre>
992          *  FORMATTER / Option to insert a new line in an empty anonymous type declaration
993          *      - option id:         &quot;net.sourceforge.phpdt.core.formatter.insert_new_line_in_empty_anonymous_type_declaration&quot;
994          *      - possible values:   { INSERT, DO_NOT_INSERT }
995          *      - default:           INSERT
996          * </pre>
997          * 
998          * @see JavaCore#INSERT
999          * @see JavaCore#DO_NOT_INSERT
1000          * @since 3.0
1001          */
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$
1004
1005         /**
1006          * <pre>
1007          *  FORMATTER / Option to insert a new line in an empty block
1008          *      - option id:         &quot;net.sourceforge.phpdt.core.formatter.insert_new_line_in_empty_block&quot;
1009          *      - possible values:   { INSERT, DO_NOT_INSERT }
1010          *      - default:           INSERT
1011          * </pre>
1012          * 
1013          * @see JavaCore#INSERT
1014          * @see JavaCore#DO_NOT_INSERT
1015          * @since 3.0
1016          */
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$
1019
1020         /**
1021          * <pre>
1022          *  FORMATTER / Option to insert a new line in an empty method body
1023          *      - option id:         &quot;net.sourceforge.phpdt.core.formatter.insert_new_line_in_empty_method_body&quot;
1024          *      - possible values:   { INSERT, DO_NOT_INSERT }
1025          *      - default:           INSERT
1026          * </pre>
1027          * 
1028          * @see JavaCore#INSERT
1029          * @see JavaCore#DO_NOT_INSERT
1030          * @since 3.0
1031          */
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$
1034
1035         /**
1036          * <pre>
1037          *  FORMATTER / Option to insert a new line in an empty type declaration
1038          *      - option id:         &quot;net.sourceforge.phpdt.core.formatter.insert_new_line_in_empty_type_declaration&quot;
1039          *      - possible values:   { INSERT, DO_NOT_INSERT }
1040          *      - default:           INSERT
1041          * </pre>
1042          * 
1043          * @see JavaCore#INSERT
1044          * @see JavaCore#DO_NOT_INSERT
1045          * @since 3.0
1046          */
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$
1049
1050         /**
1051          * <pre>
1052          *  FORMATTER / Option to insert a space after an assignment operator
1053          *      - option id:         &quot;net.sourceforge.phpdt.core.formatter.insert_space_after_assignment_operator&quot;
1054          *      - possible values:   { INSERT, DO_NOT_INSERT }
1055          *      - default:           INSERT
1056          * </pre>
1057          * 
1058          * @see JavaCore#INSERT
1059          * @see JavaCore#DO_NOT_INSERT
1060          * @since 3.0
1061          */
1062         public static final String FORMATTER_INSERT_SPACE_AFTER_ASSIGNMENT_OPERATOR = JavaCore.PLUGIN_ID
1063                         + ".formatter.insert_space_after_assignment_operator"; //$NON-NLS-1$
1064
1065         /**
1066          * <pre>
1067          *  FORMATTER / Option to insert a space after a binary operator
1068          *      - option id:         &quot;net.sourceforge.phpdt.core.formatter.insert_space_after_binary_operator&quot;
1069          *      - possible values:   { INSERT, DO_NOT_INSERT }
1070          *      - default:           INSERT
1071          * </pre>
1072          * 
1073          * @see JavaCore#INSERT
1074          * @see JavaCore#DO_NOT_INSERT
1075          * @since 3.0
1076          */
1077         public static final String FORMATTER_INSERT_SPACE_AFTER_BINARY_OPERATOR = JavaCore.PLUGIN_ID
1078                         + ".formatter.insert_space_after_binary_operator"; //$NON-NLS-1$
1079
1080         /**
1081          * <pre>
1082          *  FORMATTER / Option to insert a space after the closing parenthesis of a cast expression
1083          *      - option id:         &quot;net.sourceforge.phpdt.core.formatter.insert_space_after_closing_paren_in_cast&quot;
1084          *      - possible values:   { INSERT, DO_NOT_INSERT }
1085          *      - default:           INSERT
1086          * </pre>
1087          * 
1088          * @see JavaCore#INSERT
1089          * @see JavaCore#DO_NOT_INSERT
1090          * @since 3.0
1091          */
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$
1094
1095         /**
1096          * <pre>
1097          *  FORMATTER / Option to insert a space after the closing brace of a block
1098          *      - option id:         &quot;net.sourceforge.phpdt.core.formatter.insert_space_after_closing_brace_in_block&quot;
1099          *      - possible values:   { INSERT, DO_NOT_INSERT }
1100          *      - default:           INSERT
1101          * </pre>
1102          * 
1103          * @see JavaCore#INSERT
1104          * @see JavaCore#DO_NOT_INSERT
1105          * @since 3.0
1106          */
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$
1109
1110         /**
1111          * <pre>
1112          *  FORMATTER / Option to insert a space after the colon in an assert statement
1113          *      - option id:         &quot;net.sourceforge.phpdt.core.formatter.insert_space_after_colon_in_assert&quot;
1114          *      - possible values:   { INSERT, DO_NOT_INSERT }
1115          *      - default:           INSERT
1116          * </pre>
1117          * 
1118          * @see JavaCore#INSERT
1119          * @see JavaCore#DO_NOT_INSERT
1120          * @since 3.0
1121          */
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$
1124
1125         /**
1126          * <pre>
1127          *  FORMATTER / Option to insert a space after colon in a case statement when a opening brace follows the colon
1128          *      - option id:         &quot;net.sourceforge.phpdt.core.formatter.insert_space_after_colon_in_case&quot;
1129          *      - possible values:   { INSERT, DO_NOT_INSERT }
1130          *      - default:           INSERT
1131          * </pre>
1132          * 
1133          * @see JavaCore#INSERT
1134          * @see JavaCore#DO_NOT_INSERT
1135          * @since 3.0
1136          */
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$
1139
1140         /**
1141          * <pre>
1142          *  FORMATTER / Option to insert a space after the colon in a conditional expression
1143          *      - option id:         &quot;net.sourceforge.phpdt.core.formatter.insert_space_after_colon_in_conditional&quot;
1144          *      - possible values:   { INSERT, DO_NOT_INSERT }
1145          *      - default:           INSERT
1146          * </pre>
1147          * 
1148          * @see JavaCore#INSERT
1149          * @see JavaCore#DO_NOT_INSERT
1150          * @since 3.0
1151          */
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$
1154
1155         /**
1156          * <pre>
1157          *  FORMATTER / Option to insert a space after the colon in a labeled statement
1158          *      - option id:         &quot;net.sourceforge.phpdt.core.formatter.insert_space_after_colon_in_labeled_statement&quot;
1159          *      - possible values:   { INSERT, DO_NOT_INSERT }
1160          *      - default:           INSERT
1161          * </pre>
1162          * 
1163          * @see JavaCore#INSERT
1164          * @see JavaCore#DO_NOT_INSERT
1165          * @since 3.0
1166          */
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$
1169
1170         /**
1171          * <pre>
1172          *  FORMATTER / Option to insert a space after the comma in an allocation expression
1173          *      - option id:         &quot;net.sourceforge.phpdt.core.formatter.insert_space_after_comma_in_allocation_expression&quot;
1174          *      - possible values:   { INSERT, DO_NOT_INSERT }
1175          *      - default:           INSERT
1176          * </pre>
1177          * 
1178          * @see JavaCore#INSERT
1179          * @see JavaCore#DO_NOT_INSERT
1180          * @since 3.0
1181          */
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$
1184
1185         /**
1186          * <pre>
1187          *  FORMATTER / Option to insert a space after the comma in an array initializer
1188          *      - option id:         &quot;net.sourceforge.phpdt.core.formatter.insert_space_after_comma_in_array_initializer&quot;
1189          *      - possible values:   { INSERT, DO_NOT_INSERT }
1190          *      - default:           INSERT
1191          * </pre>
1192          * 
1193          * @see JavaCore#INSERT
1194          * @see JavaCore#DO_NOT_INSERT
1195          * @since 3.0
1196          */
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$
1199
1200         /**
1201          * <pre>
1202          *  FORMATTER / Option to insert a space after the comma in the parameters of a constructor declaration
1203          *      - option id:         &quot;net.sourceforge.phpdt.core.formatter.insert_space_after_comma_in_constructor_declaration_parameters&quot;
1204          *      - possible values:   { INSERT, DO_NOT_INSERT }
1205          *      - default:           INSERT
1206          * </pre>
1207          * 
1208          * @see JavaCore#INSERT
1209          * @see JavaCore#DO_NOT_INSERT
1210          * @since 3.0
1211          */
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$
1214
1215         /**
1216          * <pre>
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:         &quot;net.sourceforge.phpdt.core.formatter.insert_space_after_comma_in_constructor_declaration_throws&quot;
1219          *      - possible values:   { INSERT, DO_NOT_INSERT }
1220          *      - default:           INSERT
1221          * </pre>
1222          * 
1223          * @see JavaCore#INSERT
1224          * @see JavaCore#DO_NOT_INSERT
1225          * @since 3.0
1226          */
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$
1229
1230         /**
1231          * <pre>
1232          *  FORMATTER / Option to insert a space after the comma in the arguments of an explicit constructor call
1233          *      - option id:         &quot;net.sourceforge.phpdt.core.formatter.insert_space_after_comma_in_explicitconstructorcall_arguments&quot;
1234          *      - possible values:   { INSERT, DO_NOT_INSERT }
1235          *      - default:           INSERT
1236          * </pre>
1237          * 
1238          * @see JavaCore#INSERT
1239          * @see JavaCore#DO_NOT_INSERT
1240          * @since 3.0
1241          */
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$
1244
1245         /**
1246          * <pre>
1247          *  FORMATTER / Option to insert a space after the comma in the increments of a for statement
1248          *      - option id:         &quot;net.sourceforge.phpdt.core.formatter.insert_space_after_comma_in_for_increments&quot;
1249          *      - possible values:   { INSERT, DO_NOT_INSERT }
1250          *      - default:           INSERT
1251          * </pre>
1252          * 
1253          * @see JavaCore#INSERT
1254          * @see JavaCore#DO_NOT_INSERT
1255          * @since 3.0
1256          */
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$
1259
1260         /**
1261          * <pre>
1262          *  FORMATTER / Option to insert a space after the comma in the initializations of a for statement
1263          *      - option id:         &quot;net.sourceforge.phpdt.core.formatter.insert_space_after_comma_in_for_inits&quot;
1264          *      - possible values:   { INSERT, DO_NOT_INSERT }
1265          *      - default:           INSERT
1266          * </pre>
1267          * 
1268          * @see JavaCore#INSERT
1269          * @see JavaCore#DO_NOT_INSERT
1270          * @since 3.0
1271          */
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$
1274
1275         /**
1276          * <pre>
1277          *  FORMATTER / Option to insert a space after the comma in the arguments of a method invocation
1278          *      - option id:         &quot;net.sourceforge.phpdt.core.formatter.insert_space_after_comma_in_method_invocation_arguments&quot;
1279          *      - possible values:   { INSERT, DO_NOT_INSERT }
1280          *      - default:           INSERT
1281          * </pre>
1282          * 
1283          * @see JavaCore#INSERT
1284          * @see JavaCore#DO_NOT_INSERT
1285          * @since 3.0
1286          */
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$
1289
1290         /**
1291          * <pre>
1292          *  FORMATTER / Option to insert a space after the comma in the parameters of a method declaration
1293          *      - option id:         &quot;net.sourceforge.phpdt.core.formatter.insert_space_after_comma_in_method_declaration_parameters&quot;
1294          *      - possible values:   { INSERT, DO_NOT_INSERT }
1295          *      - default:           INSERT
1296          * </pre>
1297          * 
1298          * @see JavaCore#INSERT
1299          * @see JavaCore#DO_NOT_INSERT
1300          * @since 3.0
1301          */
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$
1304
1305         /**
1306          * <pre>
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:         &quot;net.sourceforge.phpdt.core.formatter.insert_space_after_comma_in_method_declaration_throws&quot;
1309          *      - possible values:   { INSERT, DO_NOT_INSERT }
1310          *      - default:           INSERT
1311          * </pre>
1312          * 
1313          * @see JavaCore#INSERT
1314          * @see JavaCore#DO_NOT_INSERT
1315          * @since 3.0
1316          */
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$
1319
1320         /**
1321          * <pre>
1322          *  FORMATTER / Option to insert a space after the comma in multiple field declaration
1323          *      - option id:         &quot;net.sourceforge.phpdt.core.formatter.insert_space_after_comma_in_multiple_field_declarations&quot;
1324          *      - possible values:   { INSERT, DO_NOT_INSERT }
1325          *      - default:           INSERT
1326          * </pre>
1327          * 
1328          * @see JavaCore#INSERT
1329          * @see JavaCore#DO_NOT_INSERT
1330          * @since 3.0
1331          */
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$
1334
1335         /**
1336          * <pre>
1337          *  FORMATTER / Option to insert a space after the comma in multiple local declaration
1338          *      - option id:         &quot;net.sourceforge.phpdt.core.formatter.insert_space_after_comma_in_multiple_local_declarations&quot;
1339          *      - possible values:   { INSERT, DO_NOT_INSERT }
1340          *      - default:           INSERT
1341          * </pre>
1342          * 
1343          * @see JavaCore#INSERT
1344          * @see JavaCore#DO_NOT_INSERT
1345          * @since 3.0
1346          */
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$
1349
1350         /**
1351          * <pre>
1352          *  FORMATTER / Option to insert a space after the comma in superinterfaces names of a type header
1353          *      - option id:         &quot;net.sourceforge.phpdt.core.formatter.insert_space_after_comma_in_superinterfaces&quot;
1354          *      - possible values:   { INSERT, DO_NOT_INSERT }
1355          *      - default:           INSERT
1356          * </pre>
1357          * 
1358          * @see JavaCore#INSERT
1359          * @see JavaCore#DO_NOT_INSERT
1360          * @since 3.0
1361          */
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$
1364
1365         /**
1366          * <pre>
1367          *  FORMATTER / Option to insert a space after the opening bracket inside an array allocation expression
1368          *      - option id:         &quot;net.sourceforge.phpdt.core.formatter.insert_space_after_opening_bracket_in_array_allocation_expression&quot;
1369          *      - possible values:   { INSERT, DO_NOT_INSERT }
1370          *      - default:           DO_NOT_INSERT
1371          * </pre>
1372          * 
1373          * @see JavaCore#INSERT
1374          * @see JavaCore#DO_NOT_INSERT
1375          * @since 3.0
1376          */
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$
1379
1380         /**
1381          * <pre>
1382          *  FORMATTER / Option to insert a space after the opening bracket inside an array reference
1383          *      - option id:         &quot;net.sourceforge.phpdt.core.formatter.insert_space_after_opening_bracket_in_array_reference&quot;
1384          *      - possible values:   { INSERT, DO_NOT_INSERT }
1385          *      - default:           DO_NOT_INSERT
1386          * </pre>
1387          * 
1388          * @see JavaCore#INSERT
1389          * @see JavaCore#DO_NOT_INSERT
1390          * @since 3.0
1391          */
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$
1394
1395         /**
1396          * <pre>
1397          *  FORMATTER / Option to insert a space after the opening brace in an array initializer
1398          *      - option id:         &quot;net.sourceforge.phpdt.core.formatter.insert_space_after_opening_brace_in_array_initializer&quot;
1399          *      - possible values:   { INSERT, DO_NOT_INSERT }
1400          *      - default:           DO_NOT_INSERT
1401          * </pre>
1402          * 
1403          * @see JavaCore#INSERT
1404          * @see JavaCore#DO_NOT_INSERT
1405          * @since 3.0
1406          */
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$
1409
1410         /**
1411          * <pre>
1412          *  FORMATTER / Option to insert a space after the opening parenthesis in a cast expression
1413          *      - option id:         &quot;net.sourceforge.phpdt.core.formatter.insert_space_after_opening_paren_in_cast&quot;
1414          *      - possible values:   { INSERT, DO_NOT_INSERT }
1415          *      - default:           DO_NOT_INSERT
1416          * </pre>
1417          * 
1418          * @see JavaCore#INSERT
1419          * @see JavaCore#DO_NOT_INSERT
1420          * @since 3.0
1421          */
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$
1424
1425         /**
1426          * <pre>
1427          *  FORMATTER / Option to insert a space after the opening parenthesis in a catch
1428          *      - option id:         &quot;net.sourceforge.phpdt.core.formatter.insert_space_after_opening_paren_in_catch&quot;
1429          *      - possible values:   { INSERT, DO_NOT_INSERT }
1430          *      - default:           DO_NOT_INSERT
1431          * </pre>
1432          * 
1433          * @see JavaCore#INSERT
1434          * @see JavaCore#DO_NOT_INSERT
1435          * @since 3.0
1436          */
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$
1439
1440         /**
1441          * <pre>
1442          *  FORMATTER / Option to insert a space after the opening parenthesis in a constructor declaration
1443          *      - option id:         &quot;net.sourceforge.phpdt.core.formatter.insert_space_after_opening_paren_in_constructor_declaration&quot;
1444          *      - possible values:   { INSERT, DO_NOT_INSERT }
1445          *      - default:           DO_NOT_INSERT
1446          * </pre>
1447          * 
1448          * @see JavaCore#INSERT
1449          * @see JavaCore#DO_NOT_INSERT
1450          * @since 3.0
1451          */
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$
1454
1455         /**
1456          * <pre>
1457          *  FORMATTER / Option to insert a space after the opening parenthesis in a for statement
1458          *      - option id:         &quot;net.sourceforge.phpdt.core.formatter.insert_space_after_opening_paren_in_for&quot;
1459          *      - possible values:   { INSERT, DO_NOT_INSERT }
1460          *      - default:           DO_NOT_INSERT
1461          * </pre>
1462          * 
1463          * @see JavaCore#INSERT
1464          * @see JavaCore#DO_NOT_INSERT
1465          * @since 3.0
1466          */
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$
1469
1470         /**
1471          * <pre>
1472          *  FORMATTER / Option to insert a space after the opening parenthesis in an if statement
1473          *      - option id:         &quot;net.sourceforge.phpdt.core.formatter.insert_space_after_opening_paren_in_if&quot;
1474          *      - possible values:   { INSERT, DO_NOT_INSERT }
1475          *      - default:           DO_NOT_INSERT
1476          * </pre>
1477          * 
1478          * @see JavaCore#INSERT
1479          * @see JavaCore#DO_NOT_INSERT
1480          * @since 3.0
1481          */
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$
1484
1485         /**
1486          * <pre>
1487          *  FORMATTER / Option to insert a space after the opening parenthesis in a method declaration
1488          *      - option id:         &quot;net.sourceforge.phpdt.core.formatter.insert_space_after_opening_paren_in_method_declaration&quot;
1489          *      - possible values:   { INSERT, DO_NOT_INSERT }
1490          *      - default:           DO_NOT_INSERT
1491          * </pre>
1492          * 
1493          * @see JavaCore#INSERT
1494          * @see JavaCore#DO_NOT_INSERT
1495          * @since 3.0
1496          */
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$
1499
1500         /**
1501          * <pre>
1502          *  FORMATTER / Option to insert a space after the opening parenthesis in a method invocation
1503          *      - option id:         &quot;net.sourceforge.phpdt.core.formatter.insert_space_after_opening_paren_in_method_invocation&quot;
1504          *      - possible values:   { INSERT, DO_NOT_INSERT }
1505          *      - default:           DO_NOT_INSERT
1506          * </pre>
1507          * 
1508          * @see JavaCore#INSERT
1509          * @see JavaCore#DO_NOT_INSERT
1510          * @since 3.0
1511          */
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$
1514
1515         /**
1516          * <pre>
1517          *  FORMATTER / Option to insert a space after the opening parenthesis in a parenthesized expression
1518          *      - option id:         &quot;net.sourceforge.phpdt.core.formatter.insert_space_after_opening_paren_in_parenthesized_expression&quot;
1519          *      - possible values:   { INSERT, DO_NOT_INSERT }
1520          *      - default:           DO_NOT_INSERT
1521          * </pre>
1522          * 
1523          * @see JavaCore#INSERT
1524          * @see JavaCore#DO_NOT_INSERT
1525          * @since 3.0
1526          */
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$
1529
1530         /**
1531          * <pre>
1532          *  FORMATTER / Option to insert a space after the opening parenthesis in a switch statement
1533          *      - option id:         &quot;net.sourceforge.phpdt.core.formatter.insert_space_after_opening_paren_in_switch&quot;
1534          *      - possible values:   { INSERT, DO_NOT_INSERT }
1535          *      - default:           DO_NOT_INSERT
1536          * </pre>
1537          * 
1538          * @see JavaCore#INSERT
1539          * @see JavaCore#DO_NOT_INSERT
1540          * @since 3.0
1541          */
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$
1544
1545         /**
1546          * <pre>
1547          *  FORMATTER / Option to insert a space after the opening parenthesis in a synchronized statement
1548          *      - option id:         &quot;net.sourceforge.phpdt.core.formatter.insert_space_after_opening_paren_in_synchronized&quot;
1549          *      - possible values:   { INSERT, DO_NOT_INSERT }
1550          *      - default:           DO_NOT_INSERT
1551          * </pre>
1552          * 
1553          * @see JavaCore#INSERT
1554          * @see JavaCore#DO_NOT_INSERT
1555          * @since 3.0
1556          */
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$
1559
1560         /**
1561          * <pre>
1562          *  FORMATTER / Option to insert a space after the opening parenthesis in a while statement
1563          *      - option id:         &quot;net.sourceforge.phpdt.core.formatter.insert_space_after_opening_paren_in_while&quot;
1564          *      - possible values:   { INSERT, DO_NOT_INSERT }
1565          *      - default:           DO_NOT_INSERT
1566          * </pre>
1567          * 
1568          * @see JavaCore#INSERT
1569          * @see JavaCore#DO_NOT_INSERT
1570          * @since 3.0
1571          */
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$
1574
1575         /**
1576          * <pre>
1577          *  FORMATTER / Option to insert a space after a postfix operator
1578          *      - option id:         &quot;net.sourceforge.phpdt.core.formatter.insert_space_after_postfix_operator&quot;
1579          *      - possible values:   { INSERT, DO_NOT_INSERT }
1580          *      - default:           DO_NOT_INSERT
1581          * </pre>
1582          * 
1583          * @see JavaCore#INSERT
1584          * @see JavaCore#DO_NOT_INSERT
1585          * @since 3.0
1586          */
1587         public static final String FORMATTER_INSERT_SPACE_AFTER_POSTFIX_OPERATOR = JavaCore.PLUGIN_ID
1588                         + ".formatter.insert_space_after_postfix_operator"; //$NON-NLS-1$
1589
1590         /**
1591          * <pre>
1592          *  FORMATTER / Option to insert a space after a prefix operator
1593          *      - option id:         &quot;net.sourceforge.phpdt.core.formatter.insert_space_after_prefix_operator&quot;
1594          *      - possible values:   { INSERT, DO_NOT_INSERT }
1595          *      - default:           DO_NOT_INSERT
1596          * </pre>
1597          * 
1598          * @see JavaCore#INSERT
1599          * @see JavaCore#DO_NOT_INSERT
1600          * @since 3.0
1601          */
1602         public static final String FORMATTER_INSERT_SPACE_AFTER_PREFIX_OPERATOR = JavaCore.PLUGIN_ID
1603                         + ".formatter.insert_space_after_prefix_operator"; //$NON-NLS-1$
1604
1605         /**
1606          * <pre>
1607          *  FORMATTER / Option to insert a space after question mark in a conditional expression
1608          *      - option id:         &quot;net.sourceforge.phpdt.core.formatter.insert_space_after_question_in_conditional&quot;
1609          *      - possible values:   { INSERT, DO_NOT_INSERT }
1610          *      - default:           DO_NOT_INSERT
1611          * </pre>
1612          * 
1613          * @see JavaCore#INSERT
1614          * @see JavaCore#DO_NOT_INSERT
1615          * @since 3.0
1616          */
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$
1619
1620         /**
1621          * <pre>
1622          *  FORMATTER / Option to insert a space after semicolon in a for statement
1623          *      - option id:         &quot;net.sourceforge.phpdt.core.formatter.insert_space_after_semicolon_in_for&quot;
1624          *      - possible values:   { INSERT, DO_NOT_INSERT }
1625          *      - default:           INSERT
1626          * </pre>
1627          * 
1628          * @see JavaCore#INSERT
1629          * @see JavaCore#DO_NOT_INSERT
1630          * @since 3.0
1631          */
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$
1634
1635         /**
1636          * <pre>
1637          *  FORMATTER / Option to insert a space after an unary operator
1638          *      - option id:         &quot;net.sourceforge.phpdt.core.formatter.insert_space_after_unary_operator&quot;
1639          *      - possible values:   { INSERT, DO_NOT_INSERT }
1640          *      - default:           DO_NOT_INSERT
1641          * </pre>
1642          * 
1643          * @see JavaCore#INSERT
1644          * @see JavaCore#DO_NOT_INSERT
1645          * @since 3.0
1646          */
1647         public static final String FORMATTER_INSERT_SPACE_AFTER_UNARY_OPERATOR = JavaCore.PLUGIN_ID
1648                         + ".formatter.insert_space_after_unary_operator"; //$NON-NLS-1$
1649
1650         /**
1651          * <pre>
1652          *  FORMATTER / Option to insert a space before an assignment operator
1653          *      - option id:         &quot;net.sourceforge.phpdt.core.formatter.insert_space_before_assignment_operator&quot;
1654          *      - possible values:   { INSERT, DO_NOT_INSERT }
1655          *      - default:           INSERT
1656          * </pre>
1657          * 
1658          * @see JavaCore#INSERT
1659          * @see JavaCore#DO_NOT_INSERT
1660          * @since 3.0
1661          */
1662         public static final String FORMATTER_INSERT_SPACE_BEFORE_ASSIGNMENT_OPERATOR = JavaCore.PLUGIN_ID
1663                         + ".formatter.insert_space_before_assignment_operator"; //$NON-NLS-1$
1664
1665         /**
1666          * <pre>
1667          *  FORMATTER / Option to insert a space before an binary operator
1668          *      - option id:         &quot;net.sourceforge.phpdt.core.formatter.insert_space_before_binary_operator&quot;
1669          *      - possible values:   { INSERT, DO_NOT_INSERT }
1670          *      - default:           DO_NOT_INSERT
1671          * </pre>
1672          * 
1673          * @see JavaCore#INSERT
1674          * @see JavaCore#DO_NOT_INSERT
1675          * @since 3.0
1676          */
1677         public static final String FORMATTER_INSERT_SPACE_BEFORE_BINARY_OPERATOR = JavaCore.PLUGIN_ID
1678                         + ".formatter.insert_space_before_binary_operator"; //$NON-NLS-1$
1679
1680         /**
1681          * <pre>
1682          *  FORMATTER / Option to insert a space before the closing brace in an array initializer
1683          *      - option id:         &quot;net.sourceforge.phpdt.core.formatter.insert_space_before_closing_brace_in_array_initializer&quot;
1684          *      - possible values:   { INSERT, DO_NOT_INSERT }
1685          *      - default:           DO_NOT_INSERT
1686          * </pre>
1687          * 
1688          * @see JavaCore#INSERT
1689          * @see JavaCore#DO_NOT_INSERT
1690          * @since 3.0
1691          */
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$
1694
1695         /**
1696          * <pre>
1697          *  FORMATTER / Option to insert a space before the closing bracket in an array allocation expression
1698          *      - option id:         &quot;net.sourceforge.phpdt.core.formatter.insert_space_before_closing_bracket_in_array_allocation_expression&quot;
1699          *      - possible values:   { INSERT, DO_NOT_INSERT }
1700          *      - default:           DO_NOT_INSERT
1701          * </pre>
1702          * 
1703          * @see JavaCore#INSERT
1704          * @see JavaCore#DO_NOT_INSERT
1705          * @since 3.0
1706          */
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$
1709
1710         /**
1711          * <pre>
1712          *  FORMATTER / Option to insert a space before the closing bracket in an array reference
1713          *      - option id:         &quot;net.sourceforge.phpdt.core.formatter.insert_space_before_closing_bracket_in_array_reference&quot;
1714          *      - possible values:   { INSERT, DO_NOT_INSERT }
1715          *      - default:           DO_NOT_INSERT
1716          * </pre>
1717          * 
1718          * @see JavaCore#INSERT
1719          * @see JavaCore#DO_NOT_INSERT
1720          * @since 3.0
1721          */
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$
1724
1725         /**
1726          * <pre>
1727          *  FORMATTER / Option to insert a space before the closing parenthesis in a cast expression
1728          *      - option id:         &quot;net.sourceforge.phpdt.core.formatter.insert_space_before_closing_paren_in_cast&quot;
1729          *      - possible values:   { INSERT, DO_NOT_INSERT }
1730          *      - default:           DO_NOT_INSERT
1731          * </pre>
1732          * 
1733          * @see JavaCore#INSERT
1734          * @see JavaCore#DO_NOT_INSERT
1735          * @since 3.0
1736          */
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$
1739
1740         /**
1741          * <pre>
1742          *  FORMATTER / Option to insert a space before the closing parenthesis in a catch
1743          *      - option id:         &quot;net.sourceforge.phpdt.core.formatter.insert_space_before_closing_paren_in_catch&quot;
1744          *      - possible values:   { INSERT, DO_NOT_INSERT }
1745          *      - default:           DO_NOT_INSERT
1746          * </pre>
1747          * 
1748          * @see JavaCore#INSERT
1749          * @see JavaCore#DO_NOT_INSERT
1750          * @since 3.0
1751          */
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$
1754
1755         /**
1756          * <pre>
1757          *  FORMATTER / Option to insert a space before the closing parenthesis in a constructor declaration
1758          *      - option id:         &quot;net.sourceforge.phpdt.core.formatter.insert_space_before_closing_paren_in_constructor_declaration&quot;
1759          *      - possible values:   { INSERT, DO_NOT_INSERT }
1760          *      - default:           DO_NOT_INSERT
1761          * </pre>
1762          * 
1763          * @see JavaCore#INSERT
1764          * @see JavaCore#DO_NOT_INSERT
1765          * @since 3.0
1766          */
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$
1769
1770         /**
1771          * <pre>
1772          *  FORMATTER / Option to insert a space before the closing parenthesis in a for statement
1773          *      - option id:         &quot;net.sourceforge.phpdt.core.formatter.insert_space_before_closing_paren_in_for&quot;
1774          *      - possible values:   { INSERT, DO_NOT_INSERT }
1775          *      - default:           DO_NOT_INSERT
1776          * </pre>
1777          * 
1778          * @see JavaCore#INSERT
1779          * @see JavaCore#DO_NOT_INSERT
1780          * @since 3.0
1781          */
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$
1784
1785         /**
1786          * <pre>
1787          *  FORMATTER / Option to insert a space before the closing parenthesis in an if statement
1788          *      - option id:         &quot;net.sourceforge.phpdt.core.formatter.insert_space_before_closing_paren_in_if&quot;
1789          *      - possible values:   { INSERT, DO_NOT_INSERT }
1790          *      - default:           DO_NOT_INSERT
1791          * </pre>
1792          * 
1793          * @see JavaCore#INSERT
1794          * @see JavaCore#DO_NOT_INSERT
1795          * @since 3.0
1796          */
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$
1799
1800         /**
1801          * <pre>
1802          *  FORMATTER / Option to insert a space before the closing parenthesis in a method declaration
1803          *      - option id:         &quot;net.sourceforge.phpdt.core.formatter.insert_space_before_closing_paren_in_method_declaration&quot;
1804          *      - possible values:   { INSERT, DO_NOT_INSERT }
1805          *      - default:           DO_NOT_INSERT
1806          * </pre>
1807          * 
1808          * @see JavaCore#INSERT
1809          * @see JavaCore#DO_NOT_INSERT
1810          * @since 3.0
1811          */
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$
1814
1815         /**
1816          * <pre>
1817          *  FORMATTER / Option to insert a space before the closing parenthesis in a method invocation
1818          *      - option id:         &quot;net.sourceforge.phpdt.core.formatter.insert_space_before_closing_paren_in_method_invocation&quot;
1819          *      - possible values:   { INSERT, DO_NOT_INSERT }
1820          *      - default:           DO_NOT_INSERT
1821          * </pre>
1822          * 
1823          * @see JavaCore#INSERT
1824          * @see JavaCore#DO_NOT_INSERT
1825          * @since 3.0
1826          */
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$
1829
1830         /**
1831          * <pre>
1832          *  FORMATTER / Option to insert a space before the closing parenthesis in a parenthesized expression
1833          *      - option id:         &quot;net.sourceforge.phpdt.core.formatter.insert_space_before_closing_paren_in_parenthesized_expression&quot;
1834          *      - possible values:   { INSERT, DO_NOT_INSERT }
1835          *      - default:           DO_NOT_INSERT
1836          * </pre>
1837          * 
1838          * @see JavaCore#INSERT
1839          * @see JavaCore#DO_NOT_INSERT
1840          * @since 3.0
1841          */
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$
1844
1845         /**
1846          * <pre>
1847          *  FORMATTER / Option to insert a space before the closing parenthesis in a switch statement
1848          *      - option id:         &quot;net.sourceforge.phpdt.core.formatter.insert_space_before_closing_paren_in_switch&quot;
1849          *      - possible values:   { INSERT, DO_NOT_INSERT }
1850          *      - default:           DO_NOT_INSERT
1851          * </pre>
1852          * 
1853          * @see JavaCore#INSERT
1854          * @see JavaCore#DO_NOT_INSERT
1855          * @since 3.0
1856          */
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$
1859
1860         /**
1861          * <pre>
1862          *  FORMATTER / Option to insert a space before the closing parenthesis in a synchronized statement
1863          *      - option id:         &quot;net.sourceforge.phpdt.core.formatter.insert_space_before_closing_paren_in_synchronized&quot;
1864          *      - possible values:   { INSERT, DO_NOT_INSERT }
1865          *      - default:           DO_NOT_INSERT
1866          * </pre>
1867          * 
1868          * @see JavaCore#INSERT
1869          * @see JavaCore#DO_NOT_INSERT
1870          * @since 3.0
1871          */
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$
1874
1875         /**
1876          * <pre>
1877          *  FORMATTER / Option to insert a space before the closing parenthesis in a while statement
1878          *      - option id:         &quot;net.sourceforge.phpdt.core.formatter.insert_space_before_closing_paren_in_while&quot;
1879          *      - possible values:   { INSERT, DO_NOT_INSERT }
1880          *      - default:           DO_NOT_INSERT
1881          * </pre>
1882          * 
1883          * @see JavaCore#INSERT
1884          * @see JavaCore#DO_NOT_INSERT
1885          * @since 3.0
1886          */
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$
1889
1890         /**
1891          * <pre>
1892          *  FORMATTER / Option to insert a space before colon in an assert statement
1893          *      - option id:         &quot;net.sourceforge.phpdt.core.formatter.insert_space_before_colon_in_assert&quot;
1894          *      - possible values:   { INSERT, DO_NOT_INSERT }
1895          *      - default:           INSERT
1896          * </pre>
1897          * 
1898          * @see JavaCore#INSERT
1899          * @see JavaCore#DO_NOT_INSERT
1900          * @since 3.0
1901          */
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$
1904
1905         /**
1906          * <pre>
1907          *  FORMATTER / Option to insert a space before colon in a case statement
1908          *      - option id:         &quot;net.sourceforge.phpdt.core.formatter.insert_space_before_colon_in_case&quot;
1909          *      - possible values:   { INSERT, DO_NOT_INSERT }
1910          *      - default:           INSERT
1911          * </pre>
1912          * 
1913          * @see JavaCore#INSERT
1914          * @see JavaCore#DO_NOT_INSERT
1915          * @since 3.0
1916          */
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$
1919
1920         /**
1921          * <pre>
1922          *  FORMATTER / Option to insert a space before colon in a conditional expression
1923          *      - option id:         &quot;net.sourceforge.phpdt.core.formatter.insert_space_before_colon_in_conditional&quot;
1924          *      - possible values:   { INSERT, DO_NOT_INSERT }
1925          *      - default:           INSERT
1926          * </pre>
1927          * 
1928          * @see JavaCore#INSERT
1929          * @see JavaCore#DO_NOT_INSERT
1930          * @since 3.0
1931          */
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$
1934
1935         /**
1936          * <pre>
1937          *  FORMATTER / Option to insert a space before colon in a default statement
1938          *      - option id:         &quot;net.sourceforge.phpdt.core.formatter.insert_space_before_colon_in_default&quot;
1939          *      - possible values:   { INSERT, DO_NOT_INSERT }
1940          *      - default:           INSERT
1941          * </pre>
1942          * 
1943          * @see JavaCore#INSERT
1944          * @see JavaCore#DO_NOT_INSERT
1945          * @since 3.0
1946          */
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$
1949
1950         /**
1951          * <pre>
1952          *  FORMATTER / Option to insert a space before colon in a labeled statement
1953          *      - option id:         &quot;net.sourceforge.phpdt.core.formatter.insert_space_before_colon_in_labeled_statement&quot;
1954          *      - possible values:   { INSERT, DO_NOT_INSERT }
1955          *      - default:           INSERT
1956          * </pre>
1957          * 
1958          * @see JavaCore#INSERT
1959          * @see JavaCore#DO_NOT_INSERT
1960          * @since 3.0
1961          */
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$
1964
1965         /**
1966          * <pre>
1967          *  FORMATTER / Option to insert a space before comma in an allocation expression
1968          *      - option id:         &quot;net.sourceforge.phpdt.core.formatter.insert_space_before_comma_in_allocation_expression&quot;
1969          *      - possible values:   { INSERT, DO_NOT_INSERT }
1970          *      - default:           DO_NOT_INSERT
1971          * </pre>
1972          * 
1973          * @see JavaCore#INSERT
1974          * @see JavaCore#DO_NOT_INSERT
1975          * @since 3.0
1976          */
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$
1979
1980         /**
1981          * <pre>
1982          *  FORMATTER / Option to insert a space before comma in an array initializer
1983          *      - option id:         &quot;net.sourceforge.phpdt.core.formatter.insert_space_before_comma_in_array_initializer&quot;
1984          *      - possible values:   { INSERT, DO_NOT_INSERT }
1985          *      - default:           DO_NOT_INSERT
1986          * </pre>
1987          * 
1988          * @see JavaCore#INSERT
1989          * @see JavaCore#DO_NOT_INSERT
1990          * @since 3.0
1991          */
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$
1994
1995         /**
1996          * <pre>
1997          *  FORMATTER / Option to insert a space before comma in the parameters of a constructor declaration
1998          *      - option id:         &quot;net.sourceforge.phpdt.core.formatter.insert_space_before_comma_in_constructor_declaration_parameters&quot;
1999          *      - possible values:   { INSERT, DO_NOT_INSERT }
2000          *      - default:           DO_NOT_INSERT
2001          * </pre>
2002          * 
2003          * @see JavaCore#INSERT
2004          * @see JavaCore#DO_NOT_INSERT
2005          * @since 3.0
2006          */
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$
2009
2010         /**
2011          * <pre>
2012          *  FORMATTER / Option to insert a space before comma in the exception names of the throws clause of a constructor declaration
2013          *      - option id:         &quot;net.sourceforge.phpdt.core.formatter.insert_space_before_comma_in_constructor_declaration_throws&quot;
2014          *      - possible values:   { INSERT, DO_NOT_INSERT }
2015          *      - default:           DO_NOT_INSERT
2016          * </pre>
2017          * 
2018          * @see JavaCore#INSERT
2019          * @see JavaCore#DO_NOT_INSERT
2020          * @since 3.0
2021          */
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$
2024
2025         /**
2026          * <pre>
2027          *  FORMATTER / Option to insert a space before comma in the arguments of an explicit constructor call
2028          *      - option id:         &quot;net.sourceforge.phpdt.core.formatter.insert_space_before_comma_in_explicitconstructorcall_arguments&quot;
2029          *      - possible values:   { INSERT, DO_NOT_INSERT }
2030          *      - default:           DO_NOT_INSERT
2031          * </pre>
2032          * 
2033          * @see JavaCore#INSERT
2034          * @see JavaCore#DO_NOT_INSERT
2035          * @since 3.0
2036          */
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$
2039
2040         /**
2041          * <pre>
2042          *  FORMATTER / Option to insert a space before comma in the increments of a for statement
2043          *      - option id:         &quot;net.sourceforge.phpdt.core.formatter.insert_space_before_comma_in_for_increments&quot;
2044          *      - possible values:   { INSERT, DO_NOT_INSERT }
2045          *      - default:           DO_NOT_INSERT
2046          * </pre>
2047          * 
2048          * @see JavaCore#INSERT
2049          * @see JavaCore#DO_NOT_INSERT
2050          * @since 3.0
2051          */
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$
2054
2055         /**
2056          * <pre>
2057          *  FORMATTER / Option to insert a space before comma in the initializations of a for statement
2058          *      - option id:         &quot;net.sourceforge.phpdt.core.formatter.insert_space_before_comma_in_for_inits&quot;
2059          *      - possible values:   { INSERT, DO_NOT_INSERT }
2060          *      - default:           DO_NOT_INSERT
2061          * </pre>
2062          * 
2063          * @see JavaCore#INSERT
2064          * @see JavaCore#DO_NOT_INSERT
2065          * @since 3.0
2066          */
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$
2069
2070         /**
2071          * <pre>
2072          *  FORMATTER / Option to insert a space before comma in the arguments of a method invocation
2073          *      - option id:         &quot;net.sourceforge.phpdt.core.formatter.insert_space_before_comma_in_method_invocation_arguments&quot;
2074          *      - possible values:   { INSERT, DO_NOT_INSERT }
2075          *      - default:           DO_NOT_INSERT
2076          * </pre>
2077          * 
2078          * @see JavaCore#INSERT
2079          * @see JavaCore#DO_NOT_INSERT
2080          * @since 3.0
2081          */
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$
2084
2085         /**
2086          * <pre>
2087          *  FORMATTER / Option to insert a space before comma in the parameters of a method declaration
2088          *      - option id:         &quot;net.sourceforge.phpdt.core.formatter.insert_space_before_comma_in_method_declaration_parameters&quot;
2089          *      - possible values:   { INSERT, DO_NOT_INSERT }
2090          *      - default:           DO_NOT_INSERT
2091          * </pre>
2092          * 
2093          * @see JavaCore#INSERT
2094          * @see JavaCore#DO_NOT_INSERT
2095          * @since 3.0
2096          */
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$
2099
2100         /**
2101          * <pre>
2102          *  FORMATTER / Option to insert a space before comma in the exception names of the throws clause of a method declaration
2103          *      - option id:         &quot;net.sourceforge.phpdt.core.formatter.insert_space_before_comma_in_method_declaration_throws&quot;
2104          *      - possible values:   { INSERT, DO_NOT_INSERT }
2105          *      - default:           DO_NOT_INSERT
2106          * </pre>
2107          * 
2108          * @see JavaCore#INSERT
2109          * @see JavaCore#DO_NOT_INSERT
2110          * @since 3.0
2111          */
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$
2114
2115         /**
2116          * <pre>
2117          *  FORMATTER / Option to insert a space before comma in a multiple field declaration
2118          *      - option id:         &quot;net.sourceforge.phpdt.core.formatter.insert_space_before_comma_in_multiple_field_declarations&quot;
2119          *      - possible values:   { INSERT, DO_NOT_INSERT }
2120          *      - default:           DO_NOT_INSERT
2121          * </pre>
2122          * 
2123          * @see JavaCore#INSERT
2124          * @see JavaCore#DO_NOT_INSERT
2125          * @since 3.0
2126          */
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$
2129
2130         /**
2131          * <pre>
2132          *  FORMATTER / Option to insert a space before comma in a multiple local declaration
2133          *      - option id:         &quot;net.sourceforge.phpdt.core.formatter.insert_space_before_comma_in_multiple_local_declarations&quot;
2134          *      - possible values:   { INSERT, DO_NOT_INSERT }
2135          *      - default:           DO_NOT_INSERT
2136          * </pre>
2137          * 
2138          * @see JavaCore#INSERT
2139          * @see JavaCore#DO_NOT_INSERT
2140          * @since 3.0
2141          */
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$
2144
2145         /**
2146          * <pre>
2147          *  FORMATTER / Option to insert a space before comma in the superinterfaces names in a type header
2148          *      - option id:         &quot;net.sourceforge.phpdt.core.formatter.insert_space_before_comma_in_superinterfaces&quot;
2149          *      - possible values:   { INSERT, DO_NOT_INSERT }
2150          *      - default:           DO_NOT_INSERT
2151          * </pre>
2152          * 
2153          * @see JavaCore#INSERT
2154          * @see JavaCore#DO_NOT_INSERT
2155          * @since 3.0
2156          */
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$
2159
2160         /**
2161          * <pre>
2162          *  FORMATTER / Option to insert a space before the opening brace in an anonymous type declaration
2163          *      - option id:         &quot;net.sourceforge.phpdt.core.formatter.insert_space_before_opening_brace_in_anonymous_type_declaration&quot;
2164          *      - possible values:   { INSERT, DO_NOT_INSERT }
2165          *      - default:           INSERT
2166          * </pre>
2167          * 
2168          * @see JavaCore#INSERT
2169          * @see JavaCore#DO_NOT_INSERT
2170          * @since 3.0
2171          */
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$
2174
2175         /**
2176          * <pre>
2177          *  FORMATTER / Option to insert a space before the opening brace in an array initializer
2178          *      - option id:         &quot;net.sourceforge.phpdt.core.formatter.insert_space_before_opening_brace_in_array_initializer&quot;
2179          *      - possible values:   { INSERT, DO_NOT_INSERT }
2180          *      - default:           DO_NOT_INSERT
2181          * </pre>
2182          * 
2183          * @see JavaCore#INSERT
2184          * @see JavaCore#DO_NOT_INSERT
2185          * @since 3.0
2186          */
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$
2189
2190         /**
2191          * <pre>
2192          *  FORMATTER / Option to insert a space before the opening brace in a block
2193          *      - option id:         &quot;net.sourceforge.phpdt.core.formatter.insert_space_before_opening_brace_in_block&quot;
2194          *      - possible values:   { INSERT, DO_NOT_INSERT }
2195          *      - default:           INSERT
2196          * </pre>
2197          * 
2198          * @see JavaCore#INSERT
2199          * @see JavaCore#DO_NOT_INSERT
2200          * @since 3.0
2201          */
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$
2204
2205         /**
2206          * <pre>
2207          *  FORMATTER / Option to insert a space before the opening brace in a constructor declaration
2208          *      - option id:         &quot;net.sourceforge.phpdt.core.formatter.insert_space_before_opening_brace_in_constructor_declaration&quot;
2209          *      - possible values:   { INSERT, DO_NOT_INSERT }
2210          *      - default:           INSERT
2211          * </pre>
2212          * 
2213          * @see JavaCore#INSERT
2214          * @see JavaCore#DO_NOT_INSERT
2215          * @since 3.0
2216          */
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$
2219
2220         /**
2221          * <pre>
2222          *  FORMATTER / Option to insert a space before the opening brace in a method declaration
2223          *      - option id:         &quot;net.sourceforge.phpdt.core.formatter.insert_space_before_opening_brace_in_method_declaration&quot;
2224          *      - possible values:   { INSERT, DO_NOT_INSERT }
2225          *      - default:           INSERT
2226          * </pre>
2227          * 
2228          * @see JavaCore#INSERT
2229          * @see JavaCore#DO_NOT_INSERT
2230          * @since 3.0
2231          */
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$
2234
2235         /**
2236          * <pre>
2237          *  FORMATTER / Option to insert a space before the opening brace in a switch statement
2238          *      - option id:         &quot;net.sourceforge.phpdt.core.formatter.insert_space_before_opening_brace_in_switch&quot;
2239          *      - possible values:   { INSERT, DO_NOT_INSERT }
2240          *      - default:           INSERT
2241          * </pre>
2242          * 
2243          * @see JavaCore#INSERT
2244          * @see JavaCore#DO_NOT_INSERT
2245          * @since 3.0
2246          */
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$
2249
2250         /**
2251          * <pre>
2252          *  FORMATTER / Option to insert a space before the opening brace in a type declaration
2253          *      - option id:         &quot;net.sourceforge.phpdt.core.formatter.insert_space_before_opening_brace_in_type_declaration&quot;
2254          *      - possible values:   { INSERT, DO_NOT_INSERT }
2255          *      - default:           INSERT
2256          * </pre>
2257          * 
2258          * @see JavaCore#INSERT
2259          * @see JavaCore#DO_NOT_INSERT
2260          * @since 3.0
2261          */
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$
2264
2265         /**
2266          * <pre>
2267          *  FORMATTER / Option to insert a space before the opening bracket in an array allocation expression
2268          *      - option id:         &quot;net.sourceforge.phpdt.core.formatter.insert_space_before_opening_bracket_in_array_allocation_expression&quot;
2269          *      - possible values:   { INSERT, DO_NOT_INSERT }
2270          *      - default:           DO_NOT_INSERT
2271          * </pre>
2272          * 
2273          * @see JavaCore#INSERT
2274          * @see JavaCore#DO_NOT_INSERT
2275          * @since 3.0
2276          */
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$
2279
2280         /**
2281          * <pre>
2282          *  FORMATTER / Option to insert a space before the opening bracket in an array reference
2283          *      - option id:         &quot;net.sourceforge.phpdt.core.formatter.insert_space_before_opening_bracket_in_array_reference&quot;
2284          *      - possible values:   { INSERT, DO_NOT_INSERT }
2285          *      - default:           DO_NOT_INSERT
2286          * </pre>
2287          * 
2288          * @see JavaCore#INSERT
2289          * @see JavaCore#DO_NOT_INSERT
2290          * @since 3.0
2291          */
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$
2294
2295         /**
2296          * <pre>
2297          *  FORMATTER / Option to insert a space before the opening bracket in an array type reference
2298          *      - option id:         &quot;net.sourceforge.phpdt.core.formatter.insert_space_before_opening_bracket_in_array_type_reference&quot;
2299          *      - possible values:   { INSERT, DO_NOT_INSERT }
2300          *      - default:           DO_NOT_INSERT
2301          * </pre>
2302          * 
2303          * @see JavaCore#INSERT
2304          * @see JavaCore#DO_NOT_INSERT
2305          * @since 3.0
2306          */
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$
2309
2310         /**
2311          * <pre>
2312          *  FORMATTER / Option to insert a space before the opening parenthesis in a catch
2313          *      - option id:         &quot;net.sourceforge.phpdt.core.formatter.insert_space_before_opening_paren_in_catch&quot;
2314          *      - possible values:   { INSERT, DO_NOT_INSERT }
2315          *      - default:           INSERT
2316          * </pre>
2317          * 
2318          * @see JavaCore#INSERT
2319          * @see JavaCore#DO_NOT_INSERT
2320          * @since 3.0
2321          */
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$
2324
2325         /**
2326          * <pre>
2327          *  FORMATTER / Option to insert a space before the opening parenthesis in a constructor declaration
2328          *      - option id:         &quot;net.sourceforge.phpdt.core.formatter.insert_space_before_opening_paren_in_constructor_declaration&quot;
2329          *      - possible values:   { INSERT, DO_NOT_INSERT }
2330          *      - default:           DO_NOT_INSERT
2331          * </pre>
2332          * 
2333          * @see JavaCore#INSERT
2334          * @see JavaCore#DO_NOT_INSERT
2335          * @since 3.0
2336          */
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$
2339
2340         /**
2341          * <pre>
2342          *  FORMATTER / Option to insert a space before the opening parenthesis in a for statement
2343          *      - option id:         &quot;net.sourceforge.phpdt.core.formatter.insert_space_before_opening_paren_in_for&quot;
2344          *      - possible values:   { INSERT, DO_NOT_INSERT }
2345          *      - default:           INSERT
2346          * </pre>
2347          * 
2348          * @see JavaCore#INSERT
2349          * @see JavaCore#DO_NOT_INSERT
2350          * @since 3.0
2351          */
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$
2354
2355         /**
2356          * <pre>
2357          *  FORMATTER / Option to insert a space before the opening parenthesis in an if statement
2358          *      - option id:         &quot;net.sourceforge.phpdt.core.formatter.insert_space_before_opening_paren_in_if&quot;
2359          *      - possible values:   { INSERT, DO_NOT_INSERT }
2360          *      - default:           INSERT
2361          * </pre>
2362          * 
2363          * @see JavaCore#INSERT
2364          * @see JavaCore#DO_NOT_INSERT
2365          * @since 3.0
2366          */
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$
2369
2370         /**
2371          * <pre>
2372          *  FORMATTER / Option to insert a space before the opening parenthesis in a method invocation
2373          *      - option id:         &quot;net.sourceforge.phpdt.core.formatter.insert_space_before_opening_paren_in_method_invocation&quot;
2374          *      - possible values:   { INSERT, DO_NOT_INSERT }
2375          *      - default:           DO_NOT_INSERT
2376          * </pre>
2377          * 
2378          * @see JavaCore#INSERT
2379          * @see JavaCore#DO_NOT_INSERT
2380          * @since 3.0
2381          */
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$
2384
2385         /**
2386          * <pre>
2387          *  FORMATTER / Option to insert a space before the opening parenthesis in a method declaration
2388          *      - option id:         &quot;net.sourceforge.phpdt.core.formatter.insert_space_before_opening_paren_in_method_declaration&quot;
2389          *      - possible values:   { INSERT, DO_NOT_INSERT }
2390          *      - default:           DO_NOT_INSERT
2391          * </pre>
2392          * 
2393          * @see JavaCore#INSERT
2394          * @see JavaCore#DO_NOT_INSERT
2395          * @since 3.0
2396          */
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$
2399
2400         /**
2401          * <pre>
2402          *  FORMATTER / Option to insert a space before the opening parenthesis in a switch statement
2403          *      - option id:         &quot;net.sourceforge.phpdt.core.formatter.insert_space_before_opening_paren_in_switch&quot;
2404          *      - possible values:   { INSERT, DO_NOT_INSERT }
2405          *      - default:           INSERT
2406          * </pre>
2407          * 
2408          * @see JavaCore#INSERT
2409          * @see JavaCore#DO_NOT_INSERT
2410          * @since 3.0
2411          */
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$
2414
2415         /**
2416          * <pre>
2417          *  FORMATTER / Option to insert a space before the opening parenthesis in a synchronized statement
2418          *      - option id:         &quot;net.sourceforge.phpdt.core.formatter.insert_space_before_opening_paren_in_synchronized&quot;
2419          *      - possible values:   { INSERT, DO_NOT_INSERT }
2420          *      - default:           INSERT
2421          * </pre>
2422          * 
2423          * @see JavaCore#INSERT
2424          * @see JavaCore#DO_NOT_INSERT
2425          * @since 3.0
2426          */
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$
2429
2430         /**
2431          * <pre>
2432          *  FORMATTER / Option to insert a space before the opening parenthesis in a parenthesized expression
2433          *      - option id:         &quot;net.sourceforge.phpdt.core.formatter.insert_space_before_opening_paren_in_parenthesized_expression&quot;
2434          *      - possible values:   { INSERT, DO_NOT_INSERT }
2435          *      - default:           DO_NOT_INSERT
2436          * </pre>
2437          * 
2438          * @see JavaCore#INSERT
2439          * @see JavaCore#DO_NOT_INSERT
2440          * @since 3.0
2441          */
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$
2444
2445         /**
2446          * <pre>
2447          *  FORMATTER / Option to insert a space before the opening parenthesis in a while statement
2448          *      - option id:         &quot;net.sourceforge.phpdt.core.formatter.insert_space_before_opening_paren_in_while&quot;
2449          *      - possible values:   { INSERT, DO_NOT_INSERT }
2450          *      - default:           INSERT
2451          * </pre>
2452          * 
2453          * @see JavaCore#INSERT
2454          * @see JavaCore#DO_NOT_INSERT
2455          * @since 3.0
2456          */
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$
2459
2460         /**
2461          * <pre>
2462          *  FORMATTER / Option to insert a space before a postfix operator
2463          *      - option id:         &quot;net.sourceforge.phpdt.core.formatter.insert_space_before_postfix_operator&quot;
2464          *      - possible values:   { INSERT, DO_NOT_INSERT }
2465          *      - default:           DO_NOT_INSERT
2466          * </pre>
2467          * 
2468          * @see JavaCore#INSERT
2469          * @see JavaCore#DO_NOT_INSERT
2470          * @since 3.0
2471          */
2472         public static final String FORMATTER_INSERT_SPACE_BEFORE_POSTFIX_OPERATOR = JavaCore.PLUGIN_ID
2473                         + ".formatter.insert_space_before_postfix_operator"; //$NON-NLS-1$
2474
2475         /**
2476          * <pre>
2477          *  FORMATTER / Option to insert a space before a prefix operator
2478          *      - option id:         &quot;net.sourceforge.phpdt.core.formatter.insert_space_before_prefix_operator&quot;
2479          *      - possible values:   { INSERT, DO_NOT_INSERT }
2480          *      - default:           DO_NOT_INSERT
2481          * </pre>
2482          * 
2483          * @see JavaCore#INSERT
2484          * @see JavaCore#DO_NOT_INSERT
2485          * @since 3.0
2486          */
2487         public static final String FORMATTER_INSERT_SPACE_BEFORE_PREFIX_OPERATOR = JavaCore.PLUGIN_ID
2488                         + ".formatter.insert_space_before_prefix_operator"; //$NON-NLS-1$
2489
2490         /**
2491          * <pre>
2492          *  FORMATTER / Option to insert a space before question mark in a conditional expression
2493          *      - option id:         &quot;net.sourceforge.phpdt.core.formatter.insert_space_before_question_in_conditional&quot;
2494          *      - possible values:   { INSERT, DO_NOT_INSERT }
2495          *      - default:           INSERT
2496          * </pre>
2497          * 
2498          * @see JavaCore#INSERT
2499          * @see JavaCore#DO_NOT_INSERT
2500          * @since 3.0
2501          */
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$
2504
2505         /**
2506          * <pre>
2507          *  FORMATTER / Option to insert a space before semicolon
2508          *      - option id:         &quot;net.sourceforge.phpdt.core.formatter.insert_space_before_semicolon&quot;
2509          *      - possible values:   { INSERT, DO_NOT_INSERT }
2510          *      - default:           DO_NOT_INSERT
2511          * </pre>
2512          * 
2513          * @see JavaCore#INSERT
2514          * @see JavaCore#DO_NOT_INSERT
2515          * @since 3.0
2516          */
2517         public static final String FORMATTER_INSERT_SPACE_BEFORE_SEMICOLON = JavaCore.PLUGIN_ID
2518                         + ".formatter.insert_space_before_semicolon"; //$NON-NLS-1$
2519
2520         /**
2521          * <pre>
2522          *  FORMATTER / Option to insert a space before semicolon in for statement
2523          *      - option id:         &quot;net.sourceforge.phpdt.core.formatter.insert_space_before_semicolon_in_for&quot;
2524          *      - possible values:   { INSERT, DO_NOT_INSERT }
2525          *      - default:           DO_NOT_INSERT
2526          * </pre>
2527          * 
2528          * @see JavaCore#INSERT
2529          * @see JavaCore#DO_NOT_INSERT
2530          * @since 3.0
2531          */
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$
2534
2535         /**
2536          * <pre>
2537          *  FORMATTER / Option to insert a space before unary operator
2538          *      - option id:         &quot;net.sourceforge.phpdt.core.formatter.insert_space_before_unary_operator&quot;
2539          *      - possible values:   { INSERT, DO_NOT_INSERT }
2540          *      - default:           DO_NOT_INSERT
2541          * </pre>
2542          * 
2543          * @see JavaCore#INSERT
2544          * @see JavaCore#DO_NOT_INSERT
2545          * @since 3.0
2546          */
2547         public static final String FORMATTER_INSERT_SPACE_BEFORE_UNARY_OPERATOR = JavaCore.PLUGIN_ID
2548                         + ".formatter.insert_space_before_unary_operator"; //$NON-NLS-1$
2549
2550         /**
2551          * <pre>
2552          *  FORMATTER / Option to insert a space between brackets in an array type reference
2553          *      - option id:         &quot;net.sourceforge.phpdt.core.formatter.insert_space_between_brackets_in_array_type_reference&quot;
2554          *      - possible values:   { INSERT, DO_NOT_INSERT }
2555          *      - default:           DO_NOT_INSERT
2556          * </pre>
2557          * 
2558          * @see JavaCore#INSERT
2559          * @see JavaCore#DO_NOT_INSERT
2560          * @since 3.0
2561          */
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$
2564
2565         /**
2566          * <pre>
2567          *  FORMATTER / Option to insert a space between empty braces in an array initializer
2568          *      - option id:         &quot;net.sourceforge.phpdt.core.formatter.insert_space_between_empty_braces_in_array_initializer&quot;
2569          *      - possible values:   { INSERT, DO_NOT_INSERT }
2570          *      - default:           DO_NOT_INSERT
2571          * </pre>
2572          * 
2573          * @see JavaCore#INSERT
2574          * @see JavaCore#DO_NOT_INSERT
2575          * @since 3.0
2576          */
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$
2579
2580         /**
2581          * <pre>
2582          *  FORMATTER / Option to insert a space between empty brackets in an array allocation expression
2583          *      - option id:         &quot;net.sourceforge.phpdt.core.formatter.insert_space_between_empty_brackets_in_array_allocation_expression&quot;
2584          *      - possible values:   { INSERT, DO_NOT_INSERT }
2585          *      - default:           DO_NOT_INSERT
2586          * </pre>
2587          * 
2588          * @see JavaCore#INSERT
2589          * @see JavaCore#DO_NOT_INSERT
2590          * @since 3.0
2591          */
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$
2594
2595         /**
2596          * <pre>
2597          *  FORMATTER / Option to insert a space between empty parenthesis in a constructor declaration
2598          *      - option id:         &quot;net.sourceforge.phpdt.core.formatter.insert_space_between_empty_parens_in_constructor_declaration&quot;
2599          *      - possible values:   { INSERT, DO_NOT_INSERT }
2600          *      - default:           DO_NOT_INSERT
2601          * </pre>
2602          * 
2603          * @see JavaCore#INSERT
2604          * @see JavaCore#DO_NOT_INSERT
2605          * @since 3.0
2606          */
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$
2609
2610         /**
2611          * <pre>
2612          *  FORMATTER / Option to insert a space between empty parenthesis in a method declaration
2613          *      - option id:         &quot;net.sourceforge.phpdt.core.formatter.insert_space_between_empty_parens_in_method_declaration&quot;
2614          *      - possible values:   { INSERT, DO_NOT_INSERT }
2615          *      - default:           DO_NOT_INSERT
2616          * </pre>
2617          * 
2618          * @see JavaCore#INSERT
2619          * @see JavaCore#DO_NOT_INSERT
2620          * @since 3.0
2621          */
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$
2624
2625         /**
2626          * <pre>
2627          *  FORMATTER / Option to insert a space between empty parenthesis in a method invocation
2628          *      - option id:         &quot;net.sourceforge.phpdt.core.formatter.insert_space_between_empty_parens_in_method_invocation&quot;
2629          *      - possible values:   { INSERT, DO_NOT_INSERT }
2630          *      - default:           DO_NOT_INSERT
2631          * </pre>
2632          * 
2633          * @see JavaCore#INSERT
2634          * @see JavaCore#DO_NOT_INSERT
2635          * @since 3.0
2636          */
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$
2639
2640         /**
2641          * <pre>
2642          *  FORMATTER / Option to compact else/if
2643          *      - option id:         &quot;net.sourceforge.phpdt.core.formatter.compact_else_if&quot;
2644          *      - possible values:   { TRUE, FALSE }
2645          *      - default:           TRUE
2646          * </pre>
2647          * 
2648          * @see #TRUE
2649          * @see #FALSE
2650          * @since 3.0
2651          */
2652         public static final String FORMATTER_COMPACT_ELSE_IF = JavaCore.PLUGIN_ID
2653                         + ".formatter.compact_else_if"; //$NON-NLS-1$
2654
2655         /**
2656          * <pre>
2657          *  FORMATTER / Option to keep guardian clause on one line
2658          *      - option id:         &quot;net.sourceforge.phpdt.core.formatter.format_guardian_clause_on_one_line&quot;
2659          *      - possible values:   { TRUE, FALSE }
2660          *      - default:           FALSE
2661          * </pre>
2662          * 
2663          * @see #TRUE
2664          * @see #FALSE
2665          * @since 3.0
2666          */
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$
2669
2670         /**
2671          * <pre>
2672          *  FORMATTER / Option to keep else statement on the same line
2673          *      - option id:         &quot;net.sourceforge.phpdt.core.formatter.keep_else_statement_on_same_line&quot;
2674          *      - possible values:   { TRUE, FALSE }
2675          *      - default:           FALSE
2676          * </pre>
2677          * 
2678          * @see #TRUE
2679          * @see #FALSE
2680          * @since 3.0
2681          */
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$
2684
2685         /**
2686          * <pre>
2687          *  FORMATTER / Option to keep empty array initializer one one line
2688          *      - option id:         &quot;net.sourceforge.phpdt.core.formatter.keep_empty_array_initializer_on_one_line&quot;
2689          *      - possible values:   { TRUE, FALSE }
2690          *      - default:           FALSE
2691          * </pre>
2692          * 
2693          * @see #TRUE
2694          * @see #FALSE
2695          * @since 3.0
2696          */
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$
2699
2700         /**
2701          * <pre>
2702          *  FORMATTER / Option to keep simple if statement on the one line
2703          *      - option id:         &quot;net.sourceforge.phpdt.core.formatter.keep_imple_if_on_one_line&quot;
2704          *      - possible values:   { TRUE, FALSE }
2705          *      - default:           FALSE
2706          * </pre>
2707          * 
2708          * @see #TRUE
2709          * @see #FALSE
2710          * @since 3.0
2711          */
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$
2714
2715         /**
2716          * <pre>
2717          *  FORMATTER / Option to keep then statement on the same line
2718          *      - option id:         &quot;net.sourceforge.phpdt.core.formatter.keep_then_statement_on_same_line&quot;
2719          *      - possible values:   { TRUE, FALSE }
2720          *      - default:           FALSE
2721          * </pre>
2722          * 
2723          * @see #TRUE
2724          * @see #FALSE
2725          * @since 3.0
2726          */
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$
2729
2730         /**
2731          * <pre>
2732          *  FORMATTER / Option to specify the number of empty lines to preserve
2733          *      - option id:         &quot;net.sourceforge.phpdt.core.formatter.number_of_empty_lines_to_preserve&quot;
2734          *      - possible values:   &quot;&lt;n&gt;&quot;, where n is zero or a positive integer
2735          *      - default:           &quot;0&quot;
2736          * </pre>
2737          * 
2738          * @since 3.0
2739          */
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$
2742
2743         /**
2744          * <pre>
2745          *  FORMATTER / Option to specify whether or not empty statement should be on a new line
2746          *      - option id:         &quot;net.sourceforge.phpdt.core.formatter.put_empty_statement_on_new_line&quot;
2747          *      - possible values:   { TRUE, FALSE }
2748          *      - default:           FALSE
2749          * </pre>
2750          * 
2751          * @see #TRUE
2752          * @see #FALSE
2753          * @since 3.0
2754          */
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$
2757
2758         /**
2759          * <pre>
2760          *  FORMATTER / Option to specify the length of the page. Beyond this length, the formatter will try to split the code
2761          *      - option id:         &quot;net.sourceforge.phpdt.core.formatter.lineSplit&quot;
2762          *      - possible values:   &quot;&lt;n&gt;&quot;, where n is zero or a positive integer
2763          *      - default:           &quot;80&quot;
2764          * </pre>
2765          * 
2766          * @since 3.0
2767          */
2768         public static final String FORMATTER_LINE_SPLIT = JavaCore.PLUGIN_ID
2769                         + ".formatter.lineSplit"; //$NON-NLS-1$
2770
2771         /**
2772          * <pre>
2773          *  FORMATTER / Option to specify the tabulation size
2774          *      - option id:         &quot;net.sourceforge.phpdt.core.formatter.tabulation.size&quot;
2775          *      - possible values:   { TAB, SPACE }
2776          *      - default:           TAB
2777          * </pre>
2778          * 
2779          * @see JavaCore#TAB
2780          * @see JavaCore#SPACE
2781          * @since 3.0
2782          */
2783         public static final String FORMATTER_TAB_CHAR = JavaCore.PLUGIN_ID
2784                         + ".formatter.tabulation.char"; //$NON-NLS-1$
2785
2786         /**
2787          * <pre>
2788          *  FORMATTER / Option to specify the tabulation size
2789          *      - option id:         &quot;net.sourceforge.phpdt.core.formatter.tabulation.size&quot;
2790          *      - possible values:   &quot;&lt;n&gt;&quot;, where n is zero or a positive integer
2791          *      - default:           &quot;4&quot;
2792          * </pre>
2793          * 
2794          * @since 3.0
2795          */
2796         public static final String FORMATTER_TAB_SIZE = JavaCore.PLUGIN_ID
2797                         + ".formatter.tabulation.size"; //$NON-NLS-1$
2798
2799         /**
2800          * Returns the formatter settings that most closely approximate the default
2801          * formatter settings of Eclipse version 2.1.
2802          * 
2803          * @return the Eclipse 2.1 settings
2804          * @since 3.0
2805          */
2806         // public static Map getEclipse21Settings() {
2807         // return DefaultCodeFormatterOptions.getDefaultSettings().getMap();
2808         // }
2809         /**
2810          * Returns the settings according to the Java conventions.
2811          * 
2812          * @return the settings according to the Java conventions
2813          * @since 3.0
2814          */
2815         // public static Map getJavaConventionsSettings() {
2816         // return DefaultCodeFormatterOptions.getJavaConventionsSettings().getMap();
2817         // }
2818         /**
2819          * <p>
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.
2823          * </p>
2824          * 
2825          * @param value
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.
2832          */
2833         // public static boolean getForceWrapping(String value) {
2834         // if (value == null) {
2835         // throw WRONG_ARGUMENT;
2836         // }
2837         // try {
2838         // int existingValue = Integer.parseInt(value);
2839         // return (existingValue & Alignment.M_FORCE) != 0;
2840         // } catch (NumberFormatException e) {
2841         // throw WRONG_ARGUMENT;
2842         // }
2843         // }
2844         /**
2845          * <p>
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.
2849          * </p>
2850          * 
2851          * @param value
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.
2858          */
2859         public static int getIndentStyle(String value) {
2860                 if (value == null) {
2861                         throw WRONG_ARGUMENT;
2862                 }
2863                 try {
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;
2869                         // } else {
2870                         return INDENT_DEFAULT;
2871                         // }
2872                 } catch (NumberFormatException e) {
2873                         throw WRONG_ARGUMENT;
2874                 }
2875         }
2876         /**
2877          * <p>
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.
2881          * </p>
2882          * 
2883          * @param value
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.
2890          */
2891         // public static int getWrappingStyle(String value) {
2892         // if (value == null) {
2893         // throw WRONG_ARGUMENT;
2894         // }
2895         // try {
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;
2908         // default:
2909         // return WRAP_NO_SPLIT;
2910         // }
2911         // } catch (NumberFormatException e) {
2912         // throw WRONG_ARGUMENT;
2913         // }
2914         // }
2915         /**
2916          * <p>
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.
2920          * </p>
2921          * 
2922          * @param value
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
2935          *                valid format.
2936          */
2937         // public static String setIndentStyle(String value, int indentStyle) {
2938         // if (value == null) {
2939         // throw WRONG_ARGUMENT;
2940         // }
2941         // switch(indentStyle) {
2942         // case INDENT_BY_ONE :
2943         // case INDENT_DEFAULT :
2944         // case INDENT_ON_COLUMN :
2945         // break;
2946         // default :
2947         // throw WRONG_ARGUMENT;
2948         // }
2949         // try {
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;
2957         // break;
2958         // case INDENT_ON_COLUMN :
2959         // existingValue |= Alignment.M_INDENT_ON_COLUMN;
2960         // }
2961         // return String.valueOf(existingValue);
2962         // } catch (NumberFormatException e) {
2963         // throw WRONG_ARGUMENT;
2964         // }
2965         // }
2966         /**
2967          * <p>
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.
2971          * </p>
2972          * 
2973          * @param value
2974          *            the given alignment value
2975          * @param force
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.
2982          */
2983         // public static String setForceWrapping(String value, boolean force) {
2984         // if (value == null) {
2985         // throw WRONG_ARGUMENT;
2986         // }
2987         // try {
2988         // int existingValue = Integer.parseInt(value);
2989         // // clear existing force bit
2990         // existingValue &= ~Alignment.M_FORCE;
2991         // if (force) {
2992         // existingValue |= Alignment.M_FORCE;
2993         // }
2994         // return String.valueOf(existingValue);
2995         // } catch (NumberFormatException e) {
2996         // throw WRONG_ARGUMENT;
2997         // }
2998         // }
2999         /**
3000          * <p>
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.
3004          * </p>
3005          * 
3006          * @param value
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
3022          *                format.
3023          */
3024         // public static String setWrappingStyle(String value, int wrappingStyle) {
3025         // if (value == null) {
3026         // throw WRONG_ARGUMENT;
3027         // }
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 :
3035         // break;
3036         // default:
3037         // throw WRONG_ARGUMENT;
3038         // }
3039         // try {
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;
3046         // break;
3047         // case WRAP_COMPACT_FIRST_BREAK :
3048         // existingValue |= Alignment.M_COMPACT_FIRST_BREAK_SPLIT;
3049         // break;
3050         // case WRAP_NEXT_PER_LINE :
3051         // existingValue |= Alignment.M_NEXT_PER_LINE_SPLIT;
3052         // break;
3053         // case WRAP_NEXT_SHIFTED :
3054         // existingValue |= Alignment.M_NEXT_SHIFTED_SPLIT;
3055         // break;
3056         // case WRAP_ONE_PER_LINE :
3057         // existingValue |= Alignment.M_ONE_PER_LINE_SPLIT;
3058         // break;
3059         // }
3060         // return String.valueOf(existingValue);
3061         // } catch (NumberFormatException e) {
3062         // throw WRONG_ARGUMENT;
3063         // }
3064         // }
3065         /**
3066          * Create a new alignment value according to the given values. This must be
3067          * used to set up the alignment options.
3068          * 
3069          * @param forceSplit
3070          *            the given force value
3071          * @param wrapStyle
3072          *            the given wrapping style
3073          * @param indentStyle
3074          *            the given indent style
3075          * 
3076          * @return the new alignement value
3077          */
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;
3084         // break;
3085         // case WRAP_COMPACT_FIRST_BREAK :
3086         // alignmentValue |= Alignment.M_COMPACT_FIRST_BREAK_SPLIT;
3087         // break;
3088         // case WRAP_NEXT_PER_LINE :
3089         // alignmentValue |= Alignment.M_NEXT_PER_LINE_SPLIT;
3090         // break;
3091         // case WRAP_NEXT_SHIFTED :
3092         // alignmentValue |= Alignment.M_NEXT_SHIFTED_SPLIT;
3093         // break;
3094         // case WRAP_ONE_PER_LINE :
3095         // alignmentValue |= Alignment.M_ONE_PER_LINE_SPLIT;
3096         // break;
3097         // }
3098         // if (forceSplit) {
3099         // alignmentValue |= Alignment.M_FORCE;
3100         // }
3101         // switch(indentStyle) {
3102         // case INDENT_BY_ONE :
3103         // alignmentValue |= Alignment.M_INDENT_BY_ONE;
3104         // break;
3105         // case INDENT_ON_COLUMN :
3106         // alignmentValue |= Alignment.M_INDENT_ON_COLUMN;
3107         // }
3108         // return String.valueOf(alignmentValue);
3109         // }
3110 }