## JDT Core options

JDT Core options control the behavior of core features such as the Java compiler, code formatter, code assist, and other core behaviors. The APIs for accessing the options are defined in JavaCore. Options can be accessed as a group as follows:

- JavaCore.getDefaultOptions() - Answers the default value of the options.
- JavaCore.getOptions() - Answers the current values of the options.
- JavaCore.setOptions(Hashtable newOptions) - Replaces the options values by new values.

Options can also be accessed individually by a string name.

- JavaCore.getOption(String optionName) - Answers the value of a specific option.

Options that can configure the severity of a compiler problem can also be found.

- JavaCore.getOptionForConfigurableSeverity(int problemID) - Answers the option to use to configure the severity of the compiler problem identified by `problemID`.

Options are stored as a hash table of all known configurable options with their values. Helper constants have been defined on JavaCore for each option ID and its possible constant values.

The following code fragment restores the value of all core options to their defaults except for one (`COMPILER_PB_DEPRECATION`), which is set specifically.

       // Get the default options
       Hashtable options = JavaCore.getDefaultOptions();

       // Change the value of an option
       options.put(JavaCore.COMPILER_PB_DEPRECATION, JavaCore.ERROR);

       // Set the new options
       JavaCore.setOptions(options);

The following code fragment keeps the value of the current options and modifies only one (`COMPILER_PB_DEPRECATION`):

       // Get the current options
       Hashtable options = JavaCore.getOptions();

       // Change the value of an option
       options.put(JavaCore.COMPILER_PB_DEPRECATION, JavaCore.ERROR);

       // Set the new options
       JavaCore.setOptions(options);

### Project specific options

The values of options can be overridden per project using protocol in IJavaProject.

The following code fragment retrieves the value of an option (`COMPILER_PB_DEPRECATION`) for a specific project in two different ways. The boolean parameter controls whether only the project-specific options should be returned in a query or whether the project's option values should be merged with the values in JavaCore.

       // Get the project
       IJavaProject project = ...;

       // See if the value of an option has been set in this project
       String value = project.getOption(JavaCore.COMPILER_PB_DEPRECATION, false);
       if (value == null) {
         // no specific option was set on the project
         ...
       }

       // Get the value of an option from this project.  Use the value from
       // JavaCore value if none is specified for the project
       String value = project.getOption(JavaCore.COMPILER_PB_DEPRECATION, true);

### JDT Core options descriptions

The following tables describe the available JDT Core options. The option id is shown in parentheses and the default value is shown in bold italics.

#### Options categories

- Compiler options
- Builder options
- JavaCore options
- Formatter options
- CodeAssist options

#### Compiler options

Description | Values
--- | ---
Inline JSR Bytecode Instruction (COMPILER_CODEGEN_INLINE_JSR_BYTECODE)
When enabled in conjunction with a Java target platform lesser than or equal to "1.4", the compiler will no longer generate JSR instructions, but rather inline corresponding subroutine code sequences (mostly corresponding to try finally blocks). The generated code will thus get bigger, but will load faster on virtual machines since the verification process is then much simpler. This mode is adding support for the Java Specification Request 202 to pre-"1.5" Java target platforms. For a Java target platform greater than or equal to "1.5", the inlining of the JSR bytecode instruction is mandatory and this option is ignored. | ENABLED
DISABLED
Setting Target Java Platform (COMPILER_CODEGEN_TARGET_PLATFORM)
For binary compatibility reason, .class files are tagged with VM versions that are defined for each level of the reference specification. The target Java platform specifies the minimum runtime level required to execute the generated class files. The compliance, source and target levels must satisfy a set of constraints summarized in a compatibility table below. | VERSION_1_1
VERSION_1_2
VERSION_1_3
VERSION_1_4
VERSION_1_5
VERSION_1_6
VERSION_1_7
VERSION_CLDC_1_1
Preserving Unused Local Variables (COMPILER_CODEGEN_UNUSED_LOCAL)
Unless requested to preserve unused local variables (i.e. never read), the compiler will optimize them out, potentially altering debugging. | PRESERVE
OPTIMIZE_OUT
Setting Compliance Level (COMPILER_COMPLIANCE)
Select the compliance level for the compiler, which will then behave according to the said level of the reference specification. The compliance, source and target levels must satisfy a set of constraints summarized in a compatibility table below. | VERSION_1_3
VERSION_1_4
VERSION_1_5
VERSION_1_6
VERSION_1_7
Javadoc Comment Support (COMPILER_DOC_COMMENT_SUPPORT)
When this support is disabled, the compiler will ignore all javadoc problems options settings and will not report any javadoc problem. It will also not find any reference in javadoc comment and DOM AST Javadoc node will be only a flat text instead of having structured tag elements. | ENABLED
DISABLED
Generating Line Number Debug Attribute (COMPILER_LINE_NUMBER_ATTR)
When generated, this attribute will enable source code highlighting in the debugger (.class file is then bigger). | GENERATE
DO_NOT_GENERATE
Generating Local Variable Debug Attribute (COMPILER_LOCAL_VARIABLE_ATTR)
When generated, this attribute will enable local variable names to be displayed in the debugger, only in places where variables are definitely assigned (.class file is then bigger). | GENERATE
DO_NOT_GENERATE
Reporting Use of Annotation Type as Super Interface (COMPILER_PB_ANNOTATION_SUPER_INTERFACE)
When enabled, the compiler will issue an error or a warning whenever an annotation type is used as a super-interface. Though legal, this is discouraged. | ERROR
WARNING
IGNORE
Reporting Usage of 'assert' Identifier (COMPILER_PB_ASSERT_IDENTIFIER)
When enabled, the compiler will issue an error or a warning whenever 'assert' is used as an identifier (reserved keyword in 1.4) | ERROR
WARNING
IGNORE
Reporting Boxing/Unboxing Conversion (COMPILER_PB_AUTOBOXING)
When enabled, the compiler will issue an error or a warning whenever a boxing or an unboxing conversion is performed. | ERROR
WARNING
IGNORE
Reporting Usage of char[] Expressions in String Concatenations (COMPILER_PB_CHAR_ARRAY_IN_STRING_CONCATENATION)
When enabled, the compiler will issue an error or a warning whenever a char[] expression is used in String concatenations (e.g. "hello" + new char[]{'w','o','r','l','d'}). | ERROR
WARNING
IGNORE
Reporting Deprecation (COMPILER_PB_DEPRECATION)
When enabled, the compiler will signal use of deprecated API either as an error or a warning. | ERROR
WARNING
IGNORE
Reporting Deprecation Inside Deprecated Code (COMPILER_PB_DEPRECATION_IN_DEPRECATED_CODE)
When enabled, the compiler will signal use of deprecated API inside deprecated code either as an error or a warning. | ENABLED
DISABLED
Reporting Deprecation When Overriding Deprecated Method (COMPILER_PB_DEPRECATION_WHEN_OVERRIDING_DEPRECATED_METHOD)
When enabled, the compiler will signal the declaration of a method overriding a deprecated one. | ENABLED
DISABLED
Reporting Discouraged Reference to Type with Restricted Access (COMPILER_PB_DISCOURAGED_REFERENCE)
When enabled, the compiler will issue an error or a warning when referring to a type with discouraged access, as defined according to the access rule specifications. | ERROR
WARNING
IGNORE
Reporting Empty Statements and Unnecessary Semicolons (COMPILER_PB_EMPTY_STATEMENT)
When enabled, the compiler will issue an error or a warning if an empty statement or a unnecessary semicolon is encountered. | ERROR
WARNING
IGNORE
Reporting Usage of 'enum' Identifier (COMPILER_PB_ENUM_IDENTIFIER)
When enabled, the compiler will issue an error or a warning whenever 'enum' is used as an identifier (reserved keyword in 1.5). | ERROR
WARNING
IGNORE
Reporting Switch Fall-Through Case (COMPILER_PB_FALLTHROUGH_CASE)
When enabled, the compiler will issue an error or a warning when a case may be entered by falling through a preceeding, non empty case. | ERROR
WARNING
IGNORE
Treating Optional Errors as Fatal (COMPILER_PB_FATAL_OPTIONAL_ERROR)
When enabled, optional errors (i.e. optional problems which severity has been set to "error") will be treated as standard compiler errors, that is as fatal errors. When detecting a fatal error in source code, the compiler generates problem methods/types into the corresponding class files, in effect preventing the offending code from running until all issues get resolved. When disabled, optional errors are only considered as warnings for code generation purposes, but they still carry an error indicator to make them more severe than regular warnings. | ENABLED
DISABLED
Reporting Field Declaration Hiding another Variable (COMPILER_PB_FIELD_HIDING)
When enabled, the compiler will issue an error or a warning whenever a field declaration is hiding some field or local variable (either locally, inherited or defined in enclosing type). | ERROR
WARNING
IGNORE
Reporting Final Bound for Type Parameter (COMPILER_PB_FINAL_PARAMETER_BOUND)
When enabled, the compiler will issue an error or a warning whenever a generic type parameter is associated with a bound corresponding to a final type; since final types cannot be further extended, the parameter is pretty useless. | ERROR
WARNING
IGNORE
Reporting Finally Blocks Not Completing Normally (COMPILER_PB_FINALLY_BLOCK_NOT_COMPLETING)
When enabled, the compiler will issue an error or a warning when a finally block does not complete normally. | ERROR
WARNING
IGNORE
Reporting Forbidden Reference to Type with Restricted Access (COMPILER_PB_FORBIDDEN_REFERENCE)
When enabled, the compiler will issue an error or a warning when referring to a type that is non accessible, as defined according to the access rule specifications. | ERROR
WARNING
IGNORE
Reporting Hidden Catch Block (COMPILER_PB_HIDDEN_CATCH_BLOCK)
Local to a try statement, some catch blocks may hide others , e.g.
       try {
          throw new java.io.CharConversionException();
       } catch (java.io.CharConversionException e) {
       } catch (java.io.IOException e) {}.
When enabling this option, the compiler will issue an error or a warning for hidden catch blocks corresponding to checked exceptions. | ERROR
WARNING
IGNORE
Reporting Interface Method not Compatible with non-Inherited Methods (COMPILER_PB_INCOMPATIBLE_NON_INHERITED_INTERFACE_METHOD)
When enabled, the compiler will issue an error or a warning whenever an interface defines a method incompatible with a non-inherited Object one. | ERROR
WARNING
IGNORE
Reporting Incomplete Enum Switch (COMPILER_PB_INCOMPLETE_ENUM_SWITCH)
When enabled, the compiler will issue an error or a warning whenever an enum constant has no corresponding case label in an enum switch statement. | ERROR
WARNING
IGNORE
Reporting Indirect Reference to a Static Member (COMPILER_PB_INDIRECT_STATIC_ACCESS)
When enabled, the compiler will issue an error or a warning whenever a static field or method is accessed in an indirect way. A reference to a static member should preferably be qualified with its declaring type name. | ERROR
WARNING
IGNORE
Reporting Invalid Javadoc Comment (COMPILER_PB_INVALID_JAVADOC)
This is the generic control for the severity of Javadoc problems. When enabled, the compiler will issue an error or a warning for a problem in Javadoc. | ERROR
WARNING
IGNORE
Reporting Invalid Javadoc Tags (COMPILER_PB_INVALID_JAVADOC_TAGS)
When enabled, the compiler will signal unbound or unexpected reference tags in Javadoc. A 'throws' tag referencing an undeclared exception would be considered as unexpected. Note that this diagnosis can be enabled based on the visibility of the construct associated with the Javadoc; see also COMPILER_PB_INVALID_JAVADOC_TAGS_VISIBILITY. | ENABLED
DISABLED
Reporting Javadoc Tags with Deprecated References (COMPILER_PB_INVALID_JAVADOC_TAGS__DEPRECATED_REF)
Specify whether the compiler will report deprecated references used in Javadoc tags. Note that this diagnosis can be enabled based on the visibility of the construct associated with the Javadoc; see also COMPILER_PB_INVALID_JAVADOC_TAGS_VISIBILITY. | ENABLED
DISABLED
Reporting Javadoc Tags with Not Visible References (COMPILER_PB_INVALID_JAVADOC_TAGS__NOT_VISIBLE_REF)
Specify whether the compiler will report non-visible references used in Javadoc tags. Note that this diagnosis can be enabled based on the visibility of the construct associated with the Javadoc; see also COMPILER_PB_INVALID_JAVADOC_TAGS_VISIBILITY. | ENABLED
DISABLED
Visibility Level For Invalid Javadoc Tags (COMPILER_PB_INVALID_JAVADOC_TAGS_VISIBILITY)
Set the minimum visibility level for Javadoc tag problems. Below this level problems will be ignored. | PUBLIC
PROTECTED
DEFAULT
PRIVATE
Reporting Local Variable Declaration Hiding another Variable (COMPILER_PB_LOCAL_VARIABLE_HIDING)
When enabled, the compiler will issue an error or a warning whenever a local variable declaration is hiding some field or local variable (either locally, inherited or defined in enclosing type). | ERROR
WARNING
IGNORE
Maximum number of problems reported per compilation unit (COMPILER_PB_MAX_PER_UNIT)
Specify the maximum number of problems reported on each compilation unit (if the maximum is zero then all problems are reported). | A positive or null integer. Default value is 100.
Reporting Method With Constructor Name (COMPILER_PB_METHOD_WITH_CONSTRUCTOR_NAME)
Naming a method with a constructor name is generally considered poor style programming. When enabling this option, the compiler will signal such scenarios either as an error or a warning. | ERROR
WARNING
IGNORE
Reporting Missing @Deprecated Annotation (COMPILER_PB_MISSING_DEPRECATED_ANNOTATION)
When enabled, the compiler will issue an error or a warning whenever encountering a declaration carrying a @deprecated doc tag but having no corresponding @Deprecated annotation. | ERROR
WARNING
IGNORE
Reporting Missing Javadoc Comments (COMPILER_PB_MISSING_JAVADOC_COMMENTS)
This is the generic control for the severity of missing Javadoc comment problems. When enabled, the compiler will issue an error or a warning when Javadoc comments are missing. Note that this diagnosis can be enabled based on the visibility of the construct associated with the expected Javadoc. | ERROR
WARNING
IGNORE
Reporting Missing Javadoc Comments on Overriding Methods (COMPILER_PB_MISSING_JAVADOC_COMMENTS_OVERRIDING)
Specify whether the compiler will verify overriding methods in order to report missing Javadoc comment problems. | ENABLED
DISABLED
Visibility Level For Missing Javadoc Comments (COMPILER_PB_MISSING_JAVADOC_COMMENTS_VISIBILITY)
Set the minimum visibility level for missing Javadoc problems. Below this level problems will be ignored. | PUBLIC
PROTECTED
DEFAULT
PRIVATE
Reporting missing tag description (COMPILER_PB_MISSING_JAVADOC_TAG_DESCRIPTION)
When enabled, the compiler will report a warning or an error for any Javadoc tag missing a required description. The severity of the problem is controlled with option COMPILER_PB_INVALID_JAVADOC. It does not depend on option COMPILER_PB_INVALID_JAVADOC_TAGS. When this option is valued to COMPILER_PB_MISSING_ JAVADOC_TAG_DESCRIPTION_ ALL_STANDARD_TAGS, a subset of the standard Javadoc tags that have a description, text or label are checked. While this set may grow in the future, note that user-defined tags are not and will not be checked. | COMPILER_PB_MISSING_ JAVADOC_TAG_DESCRIPTION_RETURN_TAG
COMPILER_PB_MISSING_ JAVADOC_TAG_DESCRIPTION_ALL_STANDARD_TAGS
COMPILER_PB_MISSING_ JAVADOC_TAG_DESCRIPTION_NO_TAG
Reporting Missing Javadoc Tags (COMPILER_PB_MISSING_JAVADOC_TAGS)
This is the generic control for the severity of Javadoc missing tag problems. When enabled, the compiler will issue an error or a warning when tags are missing in Javadoc comments. Note that this diagnosis can be enabled based on the visibility of the construct associated with the Javadoc. | ERROR
WARNING
IGNORE
Reporting Missing Javadoc Tags on Overriding Methods (COMPILER_PB_MISSING_JAVADOC_TAGS_OVERRIDING)
Specify whether the compiler will verify overriding methods in order to report Javadoc missing tag problems. | ENABLED
DISABLED
Visibility Level For Missing Javadoc Tags (COMPILER_PB_MISSING_JAVADOC_TAGS_VISIBILITY)
Set the minimum visibility level for Javadoc missing tag problems. Below this level problems will be ignored. | PUBLIC
PROTECTED
DEFAULT
PRIVATE
Reporting Missing @Override Annotation (COMPILER_PB_MISSING_OVERRIDE_ANNOTATION)
When enabled, the compiler will issue an error or a warning whenever encountering a method declaration which overrides a superclass method but has no @Override annotation. | ERROR
WARNING
IGNORE
Reporting Missing Declaration of serialVersionUID Field on Serializable Class (COMPILER_PB_MISSING_SERIAL_VERSION)
When enabled, the compiler will issue an error or a warning whenever a serializable class is missing a local declaration of a serialVersionUID field. This field must be declared as static final and be of type long. | ERROR
WARNING
IGNORE
Reporting Assignment with No Effect (COMPILER_PB_NO_EFFECT_ASSIGNMENT)
When enabled, the compiler will issue an error or a warning whenever an assignment has no effect (e.g. 'x = x'). | ERROR
WARNING
IGNORE
Reporting Non-Externalized String Literal (COMPILER_PB_NON_NLS_STRING_LITERAL)
When enabled, the compiler will issue an error or a warning for non externalized String literal (i.e. non tagged with //$NON-NLS-<n>$). | ERROR
WARNING
IGNORE
Reporting Null Dereference (COMPILER_PB_NULL_REFERENCE)
When enabled, the compiler will issue an error or a warning whenever a variable that is statically known to hold a null value is used to access a field or method. | ERROR
WARNING
IGNORE
Reporting Overriding Methods that do not call their super method invocation. (COMPILER_PB_OVERRIDING_METHOD_WITHOUT_SUPER_INVOCATION)
When enabled, the compiler will issue an error or a warning if a method is overriding another method without calling the super invocation. | ERROR
WARNING
IGNORE
Reporting Potential Null Dereference (COMPILER_PB_POTENTIAL_NULL_REFERENCE)
When enabled, the compiler will issue an error or a warning whenever a variable that has formerly been tested against null but is not (no more) statically known to hold a non-null value is used to access a field or method. | ERROR
WARNING
IGNORE
Reporting Redundant Null Check (COMPILER_PB_REDUNDANT_NULL_CHECK)
When enabled, the compiler will issue an error or a warning whenever a variable that is statically known to hold a null or a non-null value is tested against null. | ERROR
WARNING
IGNORE
Reporting Attempt to Override Package Visible Method (COMPILER_PB_OVERRIDING_PACKAGE_DEFAULT_METHOD)
A package visible method, which is any method that is not explicitly declared as public, protected or private, is not visible from other packages, and thus cannot be overridden from another package. Attempting to override a package visible method from another package introduces a new method that is unrelated to the original one. When enabling this option, the compiler will signal such situations as an error or a warning. | ERROR
WARNING
IGNORE
Reporting Parameter Assignment (COMPILER_PB_PARAMETER_ASSIGNMENT)
When enabled, the compiler will issue an error or a warning if a parameter is assigned to. | ERROR
WARNING
IGNORE
Reporting Possible Accidental Boolean Assignment (COMPILER_PB_POSSIBLE_ACCIDENTAL_BOOLEAN_ASSIGNMENT)
When enabled, the compiler will issue an error or a warning if a boolean assignment is acting as the condition of a control statement (where it probably was meant to be a boolean comparison). | ERROR
WARNING
IGNORE
Reporting Raw Type Reference (COMPILER_PB_RAW_TYPE_REFERENCE)
When enabled, the compiler will issue an error or a warning when detecting references to raw types. Raw types are discouraged, and are intended to help interfacing with legacy code. In the future, the language specification may reject raw references to generic types. | ERROR
WARNING
IGNORE
Reporting Redundant Superinterface (COMPILER_PB_REDUNDANT_SUPERINTERFACE)
When enabled, the compiler will issue an error or a warning if a type explicitly implements an interface that is already implemented by any of its supertypes. | ERROR
WARNING
IGNORE
Reporting Special Parameter Hiding another Field (COMPILER_PB_SPECIAL_PARAMETER_HIDING_FIELD)
When enabled, the compiler will signal cases where a constructor or setter method parameter declaration is hiding some field (either locally, inherited or defined in enclosing type). | ENABLED
DISABLED
Reporting Non-Static Reference to a Static Member (COMPILER_PB_STATIC_ACCESS_RECEIVER)
When enabled, the compiler will issue an error or a warning whenever a static field or method is accessed with an expression receiver. | ERROR
WARNING
IGNORE
Determining Effect of @SuppressWarnings (COMPILER_PB_SUPPRESS_WARNINGS)
When enabled, the @SuppressWarnings annotation can be used to suppress some compiler warnings. When disabled, all @SupressWarnings annotations are ignored; i.e., warnings are reported even when they occur in the scope of an entity that carries an @SuppressWarnings annotation. | ENABLED
DISABLED
Reporting Synthetic Access Emulation (COMPILER_PB_SYNTHETIC_ACCESS_EMULATION)
When enabled, the compiler will issue an error or a warning whenever it emulates access to a non-accessible member of an enclosing type. Such access can have performance implications. | ERROR
WARNING
IGNORE
Reporting Type Parameter Declaration Hiding another Type (COMPILER_PB_TYPE_PARAMETER_HIDING)
When enabled, the compiler will issue an error or a warning whenever a type parameter declaration is hiding some type. | ERROR
WARNING
IGNORE
Reporting Unchecked Type Operation (COMPILER_PB_UNCHECKED_TYPE_OPERATION)
When enabled, the compiler will issue an error or a warning whenever an operation involves generic types, and potentially invalidates type safety since involving raw types (e.g. invoking #foo(X<String>) with arguments (X)). | ERROR
WARNING
IGNORE
Reporting Undocumented Empty Block (COMPILER_PB_UNDOCUMENTED_EMPTY_BLOCK)
When enabled, the compiler will issue an error or a warning when an empty block is detected and it is not documented with any comment. | ERROR
WARNING
IGNORE
Reporting Unhandled Warning Token for @SuppressWarnings (COMPILER_PB_UNHANDLED_WARNING_TOKEN)
When enabled, the compiler will issue an error or a warning when encountering a token it cannot handle inside a @SuppressWarnings annotation. | ERROR
WARNING
IGNORE
Reporting Unnecessary Else (COMPILER_PB_UNNECESSARY_ELSE)
When enabled, the compiler will issue an error or a warning when a statement is unnecessarily nested within an else clause (in situation where then clause is not completing normally). | ERROR
WARNING
IGNORE
Reporting Unnecessary Type Check (COMPILER_PB_UNNECESSARY_TYPE_CHECK)
When enabled, the compiler will issue an error or a warning when a cast or an instanceof operation is unnecessary. | ERROR
WARNING
IGNORE
Reporting Unqualified Access to Field (COMPILER_PB_UNQUALIFIED_FIELD_ACCESS)
When enabled, the compiler will issue an error or a warning when a field is access without any qualification. In order to improve code readability, it should be qualified, e.g. 'x' should rather be written 'this.x'. | ERROR
WARNING
IGNORE
Reporting Unused Declared Thrown Exception (COMPILER_PB_UNUSED_DECLARED_THROWN_EXCEPTION)
When enabled, the compiler will issue an error or a warning when a method or a constructor is declaring a checked exception as thrown, but its body actually raises neither that exception, nor any other exception extending it. This diagnostic is further tuned by options COMPILER_PB_ UNUSED_DECLARED_THROWN_EXCEPTION_ EXEMPT_EXCEPTION_AND_THROWABLE, COMPILER_PB_ UNUSED_DECLARED_THROWN_EXCEPTION_ INCLUDE_DOC_COMMENT_REFERENCE, and COMPILER_PB_ UNUSED_DECLARED_THROWN_EXCEPTION_ WHEN_OVERRIDING. | ERROR
WARNING
IGNORE
Reporting Unused Declared Thrown Exception Exempts Exception And Throwable (COMPILER_PB_UNUSED_DECLARED_THROWN_EXCEPTION_EXEMPT_EXCEPTION_AND_THROWABLE)
When enabled, the compiler will issue an error or a warning when a method or a constructor is declaring a checked exception else than `java.lang.Throwable` or `java.lang.Exception` as thrown, but its body actually raises neither that exception, nor any other exception extending it. When disabled, the compiler will issue an error or a warning when a method or a constructor is declaring a checked exception (including `java.lang.Throwable` and `java.lang.Exception`) as thrown, but its body actually raises neither that exception, nor any other exception extending it. The severity of the unused declared thrown exception problem is controlled with option COMPILER_PB_ UNUSED_DECLARED_ THROWN_EXCEPTION. This diagnostic is further tuned by options COMPILER_PB_ UNUSED_DECLARED_THROWN_EXCEPTION_ INCLUDE_DOC_COMMENT_REFERENCE and COMPILER_PB_ UNUSED_DECLARED_THROWN_EXCEPTION_ WHEN_OVERRIDING. | ENABLED
DISABLED
Consider Reference in Doc Comment for Unused Declared Thrown Exception Check (COMPILER_PB_UNUSED_DECLARED_THROWN_EXCEPTION_INCLUDE_DOC_COMMENT_REFERENCE)
When enabled, the compiler will consider doc comment references to exceptions (i.e. `@throws` clauses) for the unused declared thrown exception check. Thus, documented exceptions will be considered as mandated as per doc contract. The severity of the unused declared thrown exception problem is controlled with option COMPILER_PB_ UNUSED_DECLARED_ THROWN_EXCEPTION. Note: this option has no effect until the doc comment support is enabled according to the option COMPILER_DOC_COMMENT_SUPPORT. This diagnostic is further tuned by options COMPILER_PB_ UNUSED_DECLARED_THROWN_EXCEPTION_ EXEMPT_EXCEPTION_AND_THROWABLE and COMPILER_PB_ UNUSED_DECLARED_THROWN_EXCEPTION_ WHEN_OVERRIDING. | ENABLED
DISABLED
Reporting Unused Declared Thrown Exception in Overriding Method (COMPILER_PB_UNUSED_DECLARED_THROWN_EXCEPTION_WHEN_OVERRIDING)
When disabled, the compiler will report unused declared thrown exceptions neither on overriding methods nor on implementing methods. The severity of the unused declared thrown exception problem is controlled with option COMPILER_PB_ UNUSED_DECLARED_ THROWN_EXCEPTION. This diagnostic is further tuned by options COMPILER_PB_ UNUSED_DECLARED_THROWN_EXCEPTION_ EXEMPT_EXCEPTION_AND_THROWABLE and COMPILER_PB_ UNUSED_DECLARED_THROWN_EXCEPTION_ INCLUDE_DOC_COMMENT_REFERENCE. | ENABLED
DISABLED
Reporting Unreferenced Label (COMPILER_PB_UNUSED_LABEL)
When enabled, the compiler will issue an error or a warning when encountering a labeled statement which label is never explicitly referenced. A label is considered to be referenced if its name explicitly appears within a break or continue statement; for instance the following label would be considered unreferenced: `LABEL: { break; }` | ERROR
WARNING
IGNORE
Reporting Unused Import (COMPILER_PB_UNUSED_IMPORT)
When enabled, the compiler will issue an error or a warning for unused import reference. | ERROR
WARNING
IGNORE
Reporting Unused Local (COMPILER_PB_UNUSED_LOCAL)
When enabled, the compiler will issue an error or a warning for unused local variables (i.e. variables never read from). | ERROR
WARNING
IGNORE
Reporting Unused Parameter (COMPILER_PB_UNUSED_PARAMETER)
When enabled, the compiler will issue an error or a warning for unused method parameters (i.e. parameters never read from). | ERROR
WARNING
IGNORE
Reporting Unused Parameter if Implementing Abstract Method (COMPILER_PB_UNUSED_PARAMETER_WHEN_IMPLEMENTING_ABSTRACT)
When enabled, the compiler will signal unused parameters in abstract method implementations. | ENABLED
DISABLED
Reporting Unused Parameter if Overriding Concrete Method (COMPILER_PB_UNUSED_PARAMETER_WHEN_OVERRIDING_CONCRETE)
When enabled, the compiler will signal unused parameters in methods overriding concrete ones. | ENABLED
DISABLED
Consider Reference in Doc Comment for Unused Parameter Check (COMPILER_PB_UNUSED_PARAMETER_INCLUDE_DOC_COMMENT_REFERENCE)
When enabled, the compiler will consider doc comment references to parameters (i.e. @param clauses) for the unused parameter check. Thus, documented parameters will be considered as mandated as per doc contract. The severity of the unused parameter problem is controlled with option "org.eclipse.jdt.core.compiler.problem.unusedParameter" . Note: this option has no effect until the doc comment support is enabled according to the option "org.eclipse.jdt.core.compiler.doc.comment.support". | ENABLED
DISABLED
Reporting Unused Private Members (COMPILER_PB_UNUSED_PRIVATE_MEMBER)
When enabled, the compiler will issue an error or a warning whenever a private method or field is declared but never used within the same unit. | ERROR
WARNING
IGNORE
Reporting Presence of Type Arguments for a Non-Generic Method Invocation (COMPILER_PB_UNUSED_TYPE_ARGUMENTS_FOR_METHOD_INVOCATION)
When enabled, the compiler will issue an error or a warning whenever type arguments are encountered for a non-generic method invocation. Note that prior to compliance level `"1.7"`, this situation would automatically result into an error. From Java 7 on, unused type arguments are tolerated, and optionally warned against. | ERROR
WARNING
IGNORE
Reporting Unnecessary `@SuppressWarnings` (COMPILER_PB_UNUSED_WARNING_TOKEN)
When enabled, the compiler will issue an error or a warning when encountering a `@SuppressWarnings` annotation for which no corresponding warning got detected in the code. This diagnostic is provided to help developers to get rid of transient `@SuppressWarnings` that are no longer needed. Note that `@SuppressWarnings("all")` is still silencing the warning for unnecessary `@SuppressWarnings`, as it is the master switch to silence all warnings. | ERROR
WARNING
IGNORE
Reporting Varargs Argument Needing a Cast in Method/Constructor Inv (COMPILER_PB_VARARGS_ARGUMENT_NEED_CAST)
When enabled, the compiler will issue an error or a warning whenever a varargs arguments should be cast when passed to a method/constructor invocation. (e.g. Class.getMethod(String name, Class ... args ) invoked with arguments ("foo", null)). | ERROR
WARNING
IGNORE
Setting Source Compatibility Mode (COMPILER_SOURCE)
Specify the compatibility level of the Java source code. Source level "1.4" enables assertions. From "1.4" on, 'assert' is a reserved keyword. Source level "1.5" enables generics, autoboxing, covariance, annotations, enumerations enhanced for loops, static imports and varargs. From "1.5" on, 'enum' is a reserved keyword. The compliance, source and target levels must satisfy a set of constraints summarized in a compatibility table below. | VERSION_1_3
VERSION_1_4
VERSION_1_5
VERSION_1_6
VERSION_1_7
Generating Source Debug Attribute (COMPILER_SOURCE_FILE_ATTR)
When generated, this attribute will enable the debugger to present the corresponding source code. | GENERATE
DO_NOT_GENERATE
Determine whether task tags are case-sensitive (COMPILER_TASK_CASE_SENSITIVE)
When enabled, task tags are considered in a case-sensitive way. | ENABLED
DISABLED
Define the Automatic Task Priorities (COMPILER_TASK_PRIORITIES)
In parallel with the Automatic Task Tags, this list defines the priorities (high, normal or low) of the task markers issued by the compiler. Possible priorities are "HIGH", "NORMAL" or "LOW". | {<priority>[,<priority>]*}. Default value is "NORMAL,HIGH, NORMAL"
Define the Automatic Task Tags (COMPILER_TASK_TAGS)
When the tag list is not empty, the compiler will issue a task marker whenever it encounters one of the corresponding tags inside any comment in Java source code. Generated task messages will start with the tag, and range until the next line separator, comment ending, or tag. When a given line of code bears multiple tags, each tag will be reported separately. Moreover, a tag immediately followed by another tag will be reported using the contents of the next non-empty tag of the line, if any. Note that tasks messages are trimmed. If a tag is starting with a letter or digit, then it cannot be leaded by another letter or digit to be recognized ("fooToDo" will not be recognized as a task for tag "ToDo", but "foo#ToDo" will be detected for either tag "ToDo" or "#ToDo"). Respectively, a tag ending with a letter or digit cannot be followed by a letter or digit to be recognized ("ToDofoo" will not be recognized as a task for tag "ToDo", but "ToDo:foo" will be detected either for tag "ToDo" or "ToDo:"). | {<tag>[,<tag>]*}. Default value is "TODO,FIXME, XXX"

The following table summarizes the compatible combinations of Java compliance, target and source levels (bold values are the defaults for each compliance level).

Compliance | Target | Source
--- | --- | ---
1.7 | 1.7 | 1.7, 1.6, 1.5, 1.4, 1.3
1.6 | 1.6, 1.5, 1.4, 1.3
1.5 | 1.5, 1.4, 1.3
1.4 | 1.4, 1.3
1.3, 1.2, 1.1 | 1.3
1.6 | 1.6 | 1.6, 1.5, 1.4, 1.3
1.5 | 1.5, 1.4, 1.3
1.4 | 1.4, 1.3
1.3, 1.2, 1.1 | 1.3
1.5 | 1.5 | 1.5, 1.4, 1.3
1.4 | 1.4, 1.3
1.3, 1.2, 1.1 | 1.3
1.4 | 1.4 | 1.4, 1.3
1.3, 1.2, 1.1, cldc1.1 | 1.3
1.3 | 1.3, 1.2, 1.1, cldc1.1 | 1.3

#### Builder options

Description | Values
--- | ---
Cleaning Output Folder(s) (CORE_JAVA_BUILD_CLEAN_OUTPUT_FOLDER)
Indicate whether the JavaBuilder is allowed to clean the output folders when performing full build operations. | CLEAN
IGNORE
Reporting Duplicate Resources (CORE_JAVA_BUILD_DUPLICATE_RESOURCE)
Indicate the severity of the problem reported when more than one occurrence of a given resource is to be copied to the output location. | ERROR
WARNING
Abort if Invalid Classpath (CORE_JAVA_BUILD_INVALID_CLASSPATH)
Instruct the builder to abort if the classpath is invalid. | ABORT
IGNORE
Computing Project Build Order (CORE_JAVA_BUILD_ORDER)
Indicate whether JavaCore should enforce the project build order to be based on the classpath prerequisite chain. When requesting to compute, this takes over the platform default order (based on project references). | COMPUTE
IGNORE
Recreate Modified class files in Output Folder (CORE_JAVA_BUILD_RECREATE_MODIFIED_CLASS_FILES_IN_OUTPUT_FOLDER)
Indicate whether the JavaBuilder should check for any changes to .class files in the output folders while performing incremental build operations. If changes are detected to managed .class files, then a full build is performed, otherwise the changes are left as is. Tools further altering generated .class files, like optimizers, should ensure this option remains set to its default state of ignore. | ENABLE
IGNORE
Specifying Filters for Resource Copying Control (CORE_JAVA_BUILD_RESOURCE_COPY_FILTER)
Specify filters to control the resource copy process. (<name> is a file name pattern (only * wild-cards allowed) or the name of a folder which ends with '/'; any resource which name matches one or more of these patterns is not copied to the ouput folder.) | {<name>[,<name>]*}. Default value is ""

#### JavaCore options

Description | Values
--- | ---
Reporting Classpath Cycle (CORE_CIRCULAR_CLASSPATH)
Indicate the severity of the problem reported when a project is involved in a cycle. | ERROR
WARNING
Enabling Usage of Classpath Exclusion Patterns (CORE_ENABLE_CLASSPATH_EXCLUSION_PATTERNS)
When set to "disabled", no entry on a project classpath can be associated with an exclusion or inclusion pattern. | ENABLED
DISABLED
Enabling Usage of Classpath Multiple Output Locations (CORE_ENABLE_CLASSPATH_MULTIPLE_OUTPUT_LOCATIONS)
When set to "disabled", no entry on a project classpath can be associated with a specific output location. In particular, this prevents the use of multiple output locations for a single project. | ENABLED
DISABLED
Default Source Encoding Format (CORE_ENCODING)
Get the default encoding format of source files. This value is immutable and preset to the result of ResourcesPlugin.getEncoding(). It is offered as a convenience shortcut only. | Immutable, preset to the platform default.
Reporting Incompatible JDK Level for Required Binaries (CORE_INCOMPATIBLE_JDK_LEVEL)
Indicate the severity of the problem reported when a project prerequisites another project or library with an incompatible target JDK level (e.g. project targeting 1.1 vm, but compiled against 1.4 libraries). | ERROR
WARNING
IGNORE
Reporting Incomplete Classpath (CORE_INCOMPLETE_CLASSPATH)
Indicate the severity of the problem reported when an entry on the classpath doesn't exist, is not legitimate, or is not visible (e.g. a referenced project is closed). | ERROR
WARNING
Set the timeout value for retrieving a method's parameter names from javadoc (TIMEOUT_FOR_PARAMETER_NAME_FROM_ATTACHED_JAVADOC)
Timeout in milliseconds to retrieve a method's parameter names from javadoc. If the value is 0, the parameter names are not fetched and the raw names are returned. | A positive or null integer. Default is "50".

#### Formatter options

Description | Values
--- | ---
Option to align type members of a type declaration on column (FORMATTER_ALIGN_TYPE_MEMBERS_ON_COLUMNS)
Possible values | TRUE
FALSE
Option for alignment of arguments in allocation expression (FORMATTER_ALIGNMENT_FOR_ARGUMENTS_IN_ALLOCATION_EXPRESSION)
Possible value | values returned by `createAlignmentValue(boolean, int, int)` call
Default value | createAlignmentValue(false, WRAP_COMPACT, INDENT_DEFAULT)
Option for alignment of arguments in enum constant (FORMATTER_ALIGNMENT_FOR_ARGUMENTS_IN_ENUM_CONSTANT)
Possible value | values returned by `createAlignmentValue(boolean, int, int)` call
Default value | createAlignmentValue(false, WRAP_COMPACT, INDENT_DEFAULT)
Option for alignment of arguments in explicit constructor call (FORMATTER_ALIGNMENT_FOR_ARGUMENTS_IN_EXPLICIT_CONSTRUCTOR_CALL)
Possible value | values returned by `createAlignmentValue(boolean, int, int)` call
Default value | createAlignmentValue(false, WRAP_COMPACT, INDENT_DEFAULT)
Option for alignment of arguments in method invocation (FORMATTER_ALIGNMENT_FOR_ARGUMENTS_IN_METHOD_INVOCATION)
Possible value | values returned by `createAlignmentValue(boolean, int, int)` call
Default value | createAlignmentValue(false, WRAP_COMPACT, INDENT_DEFAULT)
Option for alignment of arguments in qualified allocation expression (FORMATTER_ALIGNMENT_FOR_ARGUMENTS_IN_QUALIFIED_ALLOCATION_EXPRESSION)
Possible value | values returned by `createAlignmentValue(boolean, int, int)` call
Default value | createAlignmentValue(false, WRAP_COMPACT, INDENT_DEFAULT)
Option for alignment of assignment (FORMATTER_ALIGNMENT_FOR_ASSIGNMENT)
Possible value | values returned by `createAlignmentValue(boolean, int, int)` call
Default value | createAlignmentValue(false, 0, INDENT_DEFAULT)
Option for alignment of binary expression (FORMATTER_ALIGNMENT_FOR_BINARY_EXPRESSION)
Possible value | values returned by `createAlignmentValue(boolean, int, int)` call
Default value | createAlignmentValue(false, WRAP_COMPACT, INDENT_DEFAULT)
Option for alignment of compact if (FORMATTER_ALIGNMENT_FOR_COMPACT_IF)
Possible value | values returned by `createAlignmentValue(boolean, int, int)` call
Default value | createAlignmentValue(false, WRAP_ONE_PER_LINE, INDENT_BY_ONE)
Option for alignment of conditional expression (FORMATTER_ALIGNMENT_FOR_CONDITIONAL_EXPRESSION)
Possible value | values returned by `createAlignmentValue(boolean, int, int)` call
Default value | createAlignmentValue(false, WRAP_ONE_PER_LINE, INDENT_DEFAULT)
Option for alignment of enum constants (FORMATTER_ALIGNMENT_FOR_ENUM_CONSTANTS)
Possible value | values returned by `createAlignmentValue(boolean, int, int)` call
Default value | createAlignmentValue(false, WRAP_NO_SPLIT, INDENT_DEFAULT)
Option for alignment of expressions in array initializer (FORMATTER_ALIGNMENT_FOR_EXPRESSIONS_IN_ARRAY_INITIALIZER)
Possible value | values returned by `createAlignmentValue(boolean, int, int)` call
Default value | createAlignmentValue(false, WRAP_COMPACT, INDENT_DEFAULT)
Option for alignment of multiple fields (FORMATTER_ALIGNMENT_FOR_MULTIPLE_FIELDS)
Possible value | values returned by `createAlignmentValue(boolean, int, int)` call
Default value | createAlignmentValue(false, WRAP_COMPACT, INDENT_DEFAULT)
Option for alignment of parameters in constructor declaration (FORMATTER_ALIGNMENT_FOR_PARAMETERS_IN_CONSTRUCTOR_DECLARATION)
Possible value | values returned by `createAlignmentValue(boolean, int, int)` call
Default value | createAlignmentValue(false, WRAP_COMPACT, INDENT_DEFAULT)
Option for alignment of parameters in method declaration (FORMATTER_ALIGNMENT_FOR_PARAMETERS_IN_METHOD_DECLARATION)
Possible value | values returned by `createAlignmentValue(boolean, int, int)` call
Default value | createAlignmentValue(false, WRAP_COMPACT, INDENT_DEFAULT)
Option for alignment of selector in method invocation (FORMATTER_ALIGNMENT_FOR_SELECTOR_IN_METHOD_INVOCATION)
Possible value | values returned by `createAlignmentValue(boolean, int, int)` call
Default value | createAlignmentValue(false, WRAP_COMPACT, INDENT_DEFAULT)
Option for alignment of superclass in type declaration (FORMATTER_ALIGNMENT_FOR_SUPERCLASS_IN_TYPE_DECLARATION)
Possible value | values returned by `createAlignmentValue(boolean, int, int)` call
Default value | createAlignmentValue(false, WRAP_NEXT_SHIFTED, INDENT_DEFAULT)
Option for alignment of superinterfaces in enum declaration (FORMATTER_ALIGNMENT_FOR_SUPERINTERFACES_IN_ENUM_DECLARATION)
Possible value | values returned by `createAlignmentValue(boolean, int, int)` call
Default value | createAlignmentValue(false, WRAP_COMPACT, INDENT_DEFAULT)
Option for alignment of superinterfaces in type declaration (FORMATTER_ALIGNMENT_FOR_SUPERINTERFACES_IN_TYPE_DECLARATION)
Possible value | values returned by `createAlignmentValue(boolean, int, int)` call
Default value | createAlignmentValue(false, WRAP_COMPACT, INDENT_DEFAULT)
Option for alignment of throws clause in constructor declaration (FORMATTER_ALIGNMENT_FOR_THROWS_CLAUSE_IN_CONSTRUCTOR_DECLARATION)
Possible value | values returned by `createAlignmentValue(boolean, int, int)` call
Default value | createAlignmentValue(false, WRAP_COMPACT, INDENT_DEFAULT)
Option for alignment of throws clause in method declaration (FORMATTER_ALIGNMENT_FOR_THROWS_CLAUSE_IN_METHOD_DECLARATION)
Possible value | values returned by `createAlignmentValue(boolean, int, int)` call
Default value | createAlignmentValue(false, WRAP_COMPACT, INDENT_DEFAULT)
Option to add blank lines after the imports declaration (FORMATTER_BLANK_LINES_AFTER_IMPORTS)
Possible value | "<n>", where n is zero or a positive integer
Default value | "0"
Option to add blank lines after the package declaration (FORMATTER_BLANK_LINES_AFTER_PACKAGE)
Possible value | "<n>", where n is zero or a positive integer
Default value | "0"
Option to add blank lines at the beginning of the method body (FORMATTER_BLANK_LINES_AT_BEGINNING_OF_METHOD_BODY)
Possible value | "<n>", where n is zero or a positive integer
Default value | "0"
Option to add blank lines before a field declaration (FORMATTER_BLANK_LINES_BEFORE_FIELD)
Possible value | "<n>", where n is zero or a positive integer
Default value | "0"
Option to add blank lines before the first class body declaration (FORMATTER_BLANK_LINES_BEFORE_FIRST_CLASS_BODY_DECLARATION)
Possible value | "<n>", where n is zero or a positive integer
Default value | "0"
Option to add blank lines before the imports declaration (FORMATTER_BLANK_LINES_BEFORE_IMPORTS)
Possible value | "<n>", where n is zero or a positive integer
Default value | "0"
Option to add blank lines before a member type declaration (FORMATTER_BLANK_LINES_BEFORE_MEMBER_TYPE)
Possible value | "<n>", where n is zero or a positive integer
Default value | "0"
Option to add blank lines before a method declaration (FORMATTER_BLANK_LINES_BEFORE_METHOD)
Possible value | "<n>", where n is zero or a positive integer
Default value | "0"
Option to add blank lines before a new chunk (FORMATTER_BLANK_LINES_BEFORE_NEW_CHUNK)
Possible value | "<n>", where n is zero or a positive integer
Default value | "0"
Option to add blank lines before the package declaration (FORMATTER_BLANK_LINES_BEFORE_PACKAGE)
Possible value | "<n>", where n is zero or a positive integer
Default value | "0"
Option to add blank lines between import groups (FORMATTER_BLANK_LINES_BETWEEN_IMPORT_GROUPS)
Possible value | "<n>", where n is zero or a positive integer
Default value | "1"
Option to add blank lines between type declarations (FORMATTER_BLANK_LINES_BETWEEN_TYPE_DECLARATIONS)
Possible value | "<n>", where n is zero or a positive integer
Default value | "0"
Option to position the braces of an annotation type declaration (FORMATTER_BRACE_POSITION_FOR_ANNOTATION_TYPE_DECLARATION)
Possible values | END_OF_LINE
NEXT_LINE
NEXT_LINE_SHIFTED
NEXT_LINE_ON_WRAP
Option to position the braces of an anonymous type declaration (FORMATTER_BRACE_POSITION_FOR_ANONYMOUS_TYPE_DECLARATION)
Possible values | END_OF_LINE
NEXT_LINE
NEXT_LINE_SHIFTED
NEXT_LINE_ON_WRAP
Option to position the braces of an array initializer (FORMATTER_BRACE_POSITION_FOR_ARRAY_INITIALIZER)
Possible values | END_OF_LINE
NEXT_LINE
NEXT_LINE_SHIFTED
NEXT_LINE_ON_WRAP
Option to position the braces of a block (FORMATTER_BRACE_POSITION_FOR_BLOCK)
Possible values | END_OF_LINE
NEXT_LINE
NEXT_LINE_SHIFTED
NEXT_LINE_ON_WRAP
Option to position the braces of a block in a case statement when the block is the first statement following (FORMATTER_BRACE_POSITION_FOR_BLOCK_IN_CASE)
Possible values | END_OF_LINE
NEXT_LINE
NEXT_LINE_SHIFTED
NEXT_LINE_ON_WRAP
Option to position the braces of a constructor declaration (FORMATTER_BRACE_POSITION_FOR_CONSTRUCTOR_DECLARATION)
Possible values | END_OF_LINE
NEXT_LINE
NEXT_LINE_SHIFTED
NEXT_LINE_ON_WRAP
Option to position the braces of an enum constant (FORMATTER_BRACE_POSITION_FOR_ENUM_CONSTANT)
Possible values | END_OF_LINE
NEXT_LINE
NEXT_LINE_SHIFTED
NEXT_LINE_ON_WRAP
Option to position the braces of an enum declaration (FORMATTER_BRACE_POSITION_FOR_ENUM_DECLARATION)
Possible values | END_OF_LINE
NEXT_LINE
NEXT_LINE_SHIFTED
NEXT_LINE_ON_WRAP
Option to position the braces of a method declaration (FORMATTER_BRACE_POSITION_FOR_METHOD_DECLARATION)
Possible values | END_OF_LINE
NEXT_LINE
NEXT_LINE_SHIFTED
NEXT_LINE_ON_WRAP
Option to position the braces of a switch statement (FORMATTER_BRACE_POSITION_FOR_SWITCH)
Possible values | END_OF_LINE
NEXT_LINE
NEXT_LINE_SHIFTED
NEXT_LINE_ON_WRAP
Option to position the braces of a type declaration (FORMATTER_BRACE_POSITION_FOR_TYPE_DECLARATION)
Possible values | END_OF_LINE
NEXT_LINE
NEXT_LINE_SHIFTED
NEXT_LINE_ON_WRAP
Option to control whether blank lines are cleared inside block comments (FORMATTER_COMMENT_CLEAR_BLANK_LINES_IN_BLOCK_COMMENT)
Possible values | TRUE
FALSE
Option to control whether blank lines are cleared inside javadoc comments (FORMATTER_COMMENT_CLEAR_BLANK_LINES_IN_JAVADOC_COMMENT)
Possible values | TRUE
FALSE
Option to control whether multiple line comments are formatted (FORMATTER_COMMENT_FORMAT_BLOCK_COMMENT)
Possible values | TRUE
FALSE
Option to control whether javadoc comments are formatted (FORMATTER_COMMENT_FORMAT_JAVADOC_COMMENT)
Possible values | TRUE
FALSE
Option to control whether single line comments are formatted (FORMATTER_COMMENT_FORMAT_LINE_COMMENT)
Possible values | TRUE
FALSE
Option to control whether the header comment of a Java source file is formatted (FORMATTER_COMMENT_FORMAT_HEADER)
Possible values | TRUE
FALSE
Option to control whether HTML tags are formatted. (FORMATTER_COMMENT_FORMAT_HTML)
Possible values | TRUE
FALSE
Option to control whether code snippets are formatted in comments (FORMATTER_COMMENT_FORMAT_SOURCE)
Possible values | TRUE
FALSE
Option to control whether description of Javadoc parameters are indented (FORMATTER_COMMENT_INDENT_PARAMETER_DESCRIPTION)
Possible values | TRUE
FALSE
Option to control whether Javadoc root tags are indented. (FORMATTER_COMMENT_INDENT_ROOT_TAGS)
Possible values | TRUE
FALSE
Option to insert an empty line before the Javadoc root tag block (FORMATTER_COMMENT_INSERT_EMPTY_LINE_BEFORE_ROOT_TAGS)
Possible values | INSERT
DO_NOT_INSERT
Option to insert a new line after Javadoc root tag parameters (FORMATTER_COMMENT_INSERT_NEW_LINE_FOR_PARAMETER)
Possible values | INSERT
DO_NOT_INSERT
Option to specify the line length for comments. (FORMATTER_COMMENT_LINE_LENGTH)
Possible value | "<n>", where n is zero or a positive integer
Default value | "80"
Option to compact else/if (FORMATTER_COMPACT_ELSE_IF)
Possible values | TRUE
FALSE
Option to set the continuation indentation (FORMATTER_CONTINUATION_INDENTATION)
Possible value | "<n>", where n is zero or a positive integer
Default value | "2"
Option to set the continuation indentation inside array initializer (FORMATTER_CONTINUATION_INDENTATION_FOR_ARRAY_INITIALIZER)
Possible value | "<n>", where n is zero or a positive integer
Default value | "2"
Option to indent body declarations compare to its enclosing annotation declaration header (FORMATTER_INDENT_BODY_DECLARATIONS_COMPARE_TO_ANNOTATION_DECLARATION_HEADER)
Possible values | TRUE
FALSE
Option to indent body declarations compare to its enclosing enum constant header (FORMATTER_INDENT_BODY_DECLARATIONS_COMPARE_TO_ENUM_CONSTANT_HEADER)
Possible values | TRUE
FALSE
Option to indent body declarations compare to its enclosing enum declaration header (FORMATTER_INDENT_BODY_DECLARATIONS_COMPARE_TO_ENUM_DECLARATION_HEADER)
Possible values | TRUE
FALSE
Option to indent body declarations compare to its enclosing type header (FORMATTER_INDENT_BODY_DECLARATIONS_COMPARE_TO_TYPE_HEADER)
Possible values | TRUE
FALSE
Option to indent breaks compare to cases (FORMATTER_INDENT_BREAKS_COMPARE_TO_CASES)
Possible values | TRUE
FALSE
Option to indent empty lines (FORMATTER_INDENT_EMPTY_LINES)
Possible values | TRUE
FALSE
Option to indent statements inside a block (FORMATTER_INDENT_STATEMENTS_COMPARE_TO_BLOCK)
Possible values | TRUE
FALSE
Option to indent statements inside the body of a method or a constructor (FORMATTER_INDENT_STATEMENTS_COMPARE_TO_BODY)
Possible values | TRUE
FALSE
Option to indent switch statements compare to cases (FORMATTER_INDENT_SWITCHSTATEMENTS_COMPARE_TO_CASES)
Possible values | TRUE
FALSE
Option to indent switch statements compare to switch (FORMATTER_INDENT_SWITCHSTATEMENTS_COMPARE_TO_SWITCH)
Possible values | TRUE
FALSE
Option to specify the equivalent number of spaces that represents one indentation (FORMATTER_INDENTATION_SIZE)
Possible value | "<n>", where n is zero or a positive integer
Default value | "4"
Option to insert a new line after an annotation on a member (package, class, method, field declaration) (FORMATTER_INSERT_NEW_LINE_AFTER_ANNOTATION_ON_MEMBER)
Possible values | INSERT
DO_NOT_INSERT
Option to insert a new line after an annotation on a parameter (FORMATTER_INSERT_NEW_LINE_AFTER_ANNOTATION_ON_PARAMETER)
Possible values | INSERT
DO_NOT_INSERT
Option to insert a new line after an annotation on a local variable (FORMATTER_INSERT_NEW_LINE_AFTER_ANNOTATION_ON_LOCAL_VARIABLE)
Possible values | INSERT
DO_NOT_INSERT
Option to insert a new line after the opening brace in an array initializer (FORMATTER_INSERT_NEW_LINE_AFTER_OPENING_BRACE_IN_ARRAY_INITIALIZER)
Possible values | INSERT
DO_NOT_INSERT
Option to insert a new line at the end of the current file if missing (FORMATTER_INSERT_NEW_LINE_AT_END_OF_FILE_IF_MISSING)
Possible values | INSERT
DO_NOT_INSERT
Option to insert a new line before the catch keyword in try statement (FORMATTER_INSERT_NEW_LINE_BEFORE_CATCH_IN_TRY_STATEMENT)
Possible values | INSERT
DO_NOT_INSERT
Option to insert a new line before the closing brace in an array initializer (FORMATTER_INSERT_NEW_LINE_BEFORE_CLOSING_BRACE_IN_ARRAY_INITIALIZER)
Possible values | INSERT
DO_NOT_INSERT
Option to insert a new line before the else keyword in if statement (FORMATTER_INSERT_NEW_LINE_BEFORE_ELSE_IN_IF_STATEMENT)
Possible values | INSERT
DO_NOT_INSERT
Option to insert a new line before the finally keyword in try statement (FORMATTER_INSERT_NEW_LINE_BEFORE_FINALLY_IN_TRY_STATEMENT)
Possible values | INSERT
DO_NOT_INSERT
Option to insert a new line before while in do statement (FORMATTER_INSERT_NEW_LINE_BEFORE_WHILE_IN_DO_STATEMENT)
Possible values | INSERT
DO_NOT_INSERT
Option to insert a new line in an empty annotation declaration (FORMATTER_INSERT_NEW_LINE_IN_EMPTY_ANNOTATION_DECLARATION)
Possible values | INSERT
DO_NOT_INSERT
Option to insert a new line in an empty anonymous type declaration (FORMATTER_INSERT_NEW_LINE_IN_EMPTY_ANONYMOUS_TYPE_DECLARATION)
Possible values | INSERT
DO_NOT_INSERT
Option to insert a new line in an empty block (FORMATTER_INSERT_NEW_LINE_IN_EMPTY_BLOCK)
Possible values | INSERT
DO_NOT_INSERT
Option to insert a new line in an empty enum constant (FORMATTER_INSERT_NEW_LINE_IN_EMPTY_ENUM_CONSTANT)
Possible values | INSERT
DO_NOT_INSERT
Option to insert a new line in an empty enum declaration (FORMATTER_INSERT_NEW_LINE_IN_EMPTY_ENUM_DECLARATION)
Possible values | INSERT
DO_NOT_INSERT
Option to insert a new line in an empty method body (FORMATTER_INSERT_NEW_LINE_IN_EMPTY_METHOD_BODY)
Possible values | INSERT
DO_NOT_INSERT
Option to insert a new line in an empty type declaration (FORMATTER_INSERT_NEW_LINE_IN_EMPTY_TYPE_DECLARATION)
Possible values | INSERT
DO_NOT_INSERT
Option to insert a space after and in wilcard (FORMATTER_INSERT_SPACE_AFTER_AND_IN_TYPE_PARAMETER)
Possible values | INSERT
DO_NOT_INSERT
Option to insert a space after an assignment operator (FORMATTER_INSERT_SPACE_AFTER_ASSIGNMENT_OPERATOR)
Possible values | INSERT
DO_NOT_INSERT
Option to insert a space after at in annotation (FORMATTER_INSERT_SPACE_AFTER_AT_IN_ANNOTATION)
Possible values | INSERT
DO_NOT_INSERT
Option to insert a space after at in annotation type declaration (FORMATTER_INSERT_SPACE_AFTER_AT_IN_ANNOTATION_TYPE_DECLARATION)
Possible values | INSERT
DO_NOT_INSERT
Option to insert a space after a binary operator (FORMATTER_INSERT_SPACE_AFTER_BINARY_OPERATOR)
Possible values | INSERT
DO_NOT_INSERT
Option to insert a space after the closing angle bracket in type arguments (FORMATTER_INSERT_SPACE_AFTER_CLOSING_ANGLE_BRACKET_IN_TYPE_ARGUMENTS)
Possible values | INSERT
DO_NOT_INSERT
Option to insert a space after the closing angle bracket in type parameters (FORMATTER_INSERT_SPACE_AFTER_CLOSING_ANGLE_BRACKET_IN_TYPE_PARAMETERS)
Possible values | INSERT
DO_NOT_INSERT
Option to insert a space after the closing brace of a block (FORMATTER_INSERT_SPACE_AFTER_CLOSING_BRACE_IN_BLOCK)
Possible values | INSERT
DO_NOT_INSERT
Option to insert a space after the closing parenthesis of a cast expression (FORMATTER_INSERT_SPACE_AFTER_CLOSING_PAREN_IN_CAST)
Possible values | INSERT
DO_NOT_INSERT
Option to insert a space after the colon in an assert statement (FORMATTER_INSERT_SPACE_AFTER_COLON_IN_ASSERT)
Possible values | INSERT
DO_NOT_INSERT
Option to insert a space after colon in a case statement when a opening brace follows the colon (FORMATTER_INSERT_SPACE_AFTER_COLON_IN_CASE)
Possible values | INSERT
DO_NOT_INSERT
Option to insert a space after the colon in a conditional expression (FORMATTER_INSERT_SPACE_AFTER_COLON_IN_CONDITIONAL)
Possible values | INSERT
DO_NOT_INSERT
Option to insert a space after colon in a for statement (FORMATTER_INSERT_SPACE_AFTER_COLON_IN_FOR)
Possible values | INSERT
DO_NOT_INSERT
Option to insert a space after the colon in a labeled statement (FORMATTER_INSERT_SPACE_AFTER_COLON_IN_LABELED_STATEMENT)
Possible values | INSERT
DO_NOT_INSERT
Option to insert a space after the comma in an allocation expression (FORMATTER_INSERT_SPACE_AFTER_COMMA_IN_ALLOCATION_EXPRESSION)
Possible values | INSERT
DO_NOT_INSERT
Option to insert a space after the comma in annotation (FORMATTER_INSERT_SPACE_AFTER_COMMA_IN_ANNOTATION)
Possible values | INSERT
DO_NOT_INSERT
Option to insert a space after the comma in an array initializer (FORMATTER_INSERT_SPACE_AFTER_COMMA_IN_ARRAY_INITIALIZER)
Possible values | INSERT
DO_NOT_INSERT
Option to insert a space after the comma in the parameters of a constructor declaration (FORMATTER_INSERT_SPACE_AFTER_COMMA_IN_CONSTRUCTOR_DECLARATION_PARAMETERS)
Possible values | INSERT
DO_NOT_INSERT
Option to insert a space after the comma in the exception names in a throws clause of a constructor declaration (FORMATTER_INSERT_SPACE_AFTER_COMMA_IN_CONSTRUCTOR_DECLARATION_THROWS)
Possible values | INSERT
DO_NOT_INSERT
Option to insert a space after the comma in the arguments of an enum constant (FORMATTER_INSERT_SPACE_AFTER_COMMA_IN_ENUM_CONSTANT_ARGUMENTS)
Possible values | INSERT
DO_NOT_INSERT
Option to insert a space after the comma in enum declarations (FORMATTER_INSERT_SPACE_AFTER_COMMA_IN_ENUM_DECLARATIONS)
Possible values | INSERT
DO_NOT_INSERT
Option to insert a space after the comma in the arguments of an explicit constructor call (FORMATTER_INSERT_SPACE_AFTER_COMMA_IN_EXPLICIT_CONSTRUCTOR_CALL_ARGUMENTS)
Possible values | INSERT
DO_NOT_INSERT
Option to insert a space after the comma in the increments of a for statement (FORMATTER_INSERT_SPACE_AFTER_COMMA_IN_FOR_INCREMENTS)
Possible values | INSERT
DO_NOT_INSERT
Option to insert a space after the comma in the initializations of a for statement (FORMATTER_INSERT_SPACE_AFTER_COMMA_IN_FOR_INITS)
Possible values | INSERT
DO_NOT_INSERT
Option to insert a space after the comma in the parameters of a method declaration (FORMATTER_INSERT_SPACE_AFTER_COMMA_IN_METHOD_DECLARATION_PARAMETERS)
Possible values | INSERT
DO_NOT_INSERT
Option to insert a space after the comma in the exception names in a throws clause of a method declaration (FORMATTER_INSERT_SPACE_AFTER_COMMA_IN_METHOD_DECLARATION_THROWS)
Possible values | INSERT
DO_NOT_INSERT
Option to insert a space after the comma in the arguments of a method invocation (FORMATTER_INSERT_SPACE_AFTER_COMMA_IN_METHOD_INVOCATION_ARGUMENTS)
Possible values | INSERT
DO_NOT_INSERT
Option to insert a space after the comma in multiple field declaration (FORMATTER_INSERT_SPACE_AFTER_COMMA_IN_MULTIPLE_FIELD_DECLARATIONS)
Possible values | INSERT
DO_NOT_INSERT
Option to insert a space after the comma in multiple local declaration (FORMATTER_INSERT_SPACE_AFTER_COMMA_IN_MULTIPLE_LOCAL_DECLARATIONS)
Possible values | INSERT
DO_NOT_INSERT
Option to insert a space after the comma in parameterized type reference (FORMATTER_INSERT_SPACE_AFTER_COMMA_IN_PARAMETERIZED_TYPE_REFERENCE)
Possible values | INSERT
DO_NOT_INSERT
Option to insert a space after the comma in superinterfaces names of a type header (FORMATTER_INSERT_SPACE_AFTER_COMMA_IN_SUPERINTERFACES)
Possible values | INSERT
DO_NOT_INSERT
Option to insert a space after the comma in type arguments (FORMATTER_INSERT_SPACE_AFTER_COMMA_IN_TYPE_ARGUMENTS)
Possible values | INSERT
DO_NOT_INSERT
Option to insert a space after the comma in type parameters (FORMATTER_INSERT_SPACE_AFTER_COMMA_IN_TYPE_PARAMETERS)
Possible values | INSERT
DO_NOT_INSERT
Option to insert a space after ellipsis (FORMATTER_INSERT_SPACE_AFTER_ELLIPSIS)
Possible values | INSERT
DO_NOT_INSERT
Option to insert a space after the opening angle bracket in parameterized type reference (FORMATTER_INSERT_SPACE_AFTER_OPENING_ANGLE_BRACKET_IN_PARAMETERIZED_TYPE_REFERENCE)
Possible values | INSERT
DO_NOT_INSERT
Option to insert a space after the opening angle bracket in type arguments (FORMATTER_INSERT_SPACE_AFTER_OPENING_ANGLE_BRACKET_IN_TYPE_ARGUMENTS)
Possible values | INSERT
DO_NOT_INSERT
Option to insert a space after the opening angle bracket in type parameters (FORMATTER_INSERT_SPACE_AFTER_OPENING_ANGLE_BRACKET_IN_TYPE_PARAMETERS)
Possible values | INSERT
DO_NOT_INSERT
Option to insert a space after the opening brace in an array initializer (FORMATTER_INSERT_SPACE_AFTER_OPENING_BRACE_IN_ARRAY_INITIALIZER)
Possible values | INSERT
DO_NOT_INSERT
Option to insert a space after the opening bracket inside an array allocation expression (FORMATTER_INSERT_SPACE_AFTER_OPENING_BRACKET_IN_ARRAY_ALLOCATION_EXPRESSION)
Possible values | INSERT
DO_NOT_INSERT
Option to insert a space after the opening bracket inside an array reference (FORMATTER_INSERT_SPACE_AFTER_OPENING_BRACKET_IN_ARRAY_REFERENCE)
Possible values | INSERT
DO_NOT_INSERT
Option to insert a space after the opening parenthesis in annotation (FORMATTER_INSERT_SPACE_AFTER_OPENING_PAREN_IN_ANNOTATION)
Possible values | INSERT
DO_NOT_INSERT
Option to insert a space after the opening parenthesis in a cast expression (FORMATTER_INSERT_SPACE_AFTER_OPENING_PAREN_IN_CAST)
Possible values | INSERT
DO_NOT_INSERT
Option to insert a space after the opening parenthesis in a catch (FORMATTER_INSERT_SPACE_AFTER_OPENING_PAREN_IN_CATCH)
Possible values | INSERT
DO_NOT_INSERT
Option to insert a space after the opening parenthesis in a constructor declaration (FORMATTER_INSERT_SPACE_AFTER_OPENING_PAREN_IN_CONSTRUCTOR_DECLARATION)
Possible values | INSERT
DO_NOT_INSERT
Option to insert a space after the opening parenthesis in enum constant (FORMATTER_INSERT_SPACE_AFTER_OPENING_PAREN_IN_ENUM_CONSTANT)
Possible values | INSERT
DO_NOT_INSERT
Option to insert a space after the opening parenthesis in a for statement (FORMATTER_INSERT_SPACE_AFTER_OPENING_PAREN_IN_FOR)
Possible values | INSERT
DO_NOT_INSERT
Option to insert a space after the opening parenthesis in an if statement (FORMATTER_INSERT_SPACE_AFTER_OPENING_PAREN_IN_IF)
Possible values | INSERT
DO_NOT_INSERT
Option to insert a space after the opening parenthesis in a method declaration (FORMATTER_INSERT_SPACE_AFTER_OPENING_PAREN_IN_METHOD_DECLARATION)
Possible values | INSERT
DO_NOT_INSERT
Option to insert a space after the opening parenthesis in a method invocation (FORMATTER_INSERT_SPACE_AFTER_OPENING_PAREN_IN_METHOD_INVOCATION)
Possible values | INSERT
DO_NOT_INSERT
Option to insert a space after the opening parenthesis in a parenthesized expression (FORMATTER_INSERT_SPACE_AFTER_OPENING_PAREN_IN_PARENTHESIZED_EXPRESSION)
Possible values | INSERT
DO_NOT_INSERT
Option to insert a space after the opening parenthesis in a switch statement (FORMATTER_INSERT_SPACE_AFTER_OPENING_PAREN_IN_SWITCH)
Possible values | INSERT
DO_NOT_INSERT
Option to insert a space after the opening parenthesis in a synchronized statement (FORMATTER_INSERT_SPACE_AFTER_OPENING_PAREN_IN_SYNCHRONIZED)
Possible values | INSERT
DO_NOT_INSERT
Option to insert a space after the opening parenthesis in a while statement (FORMATTER_INSERT_SPACE_AFTER_OPENING_PAREN_IN_WHILE)
Possible values | INSERT
DO_NOT_INSERT
Option to insert a space after a postfix operator (FORMATTER_INSERT_SPACE_AFTER_POSTFIX_OPERATOR)
Possible values | INSERT
DO_NOT_INSERT
Option to insert a space after a prefix operator (FORMATTER_INSERT_SPACE_AFTER_PREFIX_OPERATOR)
Possible values | INSERT
DO_NOT_INSERT
Option to insert a space after question mark in a conditional expression (FORMATTER_INSERT_SPACE_AFTER_QUESTION_IN_CONDITIONAL)
Possible values | INSERT
DO_NOT_INSERT
Option to insert a space after question mark in a wildcard (FORMATTER_INSERT_SPACE_AFTER_QUESTION_IN_WILDCARD)
Possible values | INSERT
DO_NOT_INSERT
Option to insert a space after semicolon in a for statement (FORMATTER_INSERT_SPACE_AFTER_SEMICOLON_IN_FOR)
Possible values | INSERT
DO_NOT_INSERT
Option to insert a space after an unary operator (FORMATTER_INSERT_SPACE_AFTER_UNARY_OPERATOR)
Possible values | INSERT
DO_NOT_INSERT
Option to insert a space before and in wildcard (FORMATTER_INSERT_SPACE_BEFORE_AND_IN_TYPE_PARAMETER)
Possible values | INSERT
DO_NOT_INSERT
Option to insert a space before an assignment operator (FORMATTER_INSERT_SPACE_BEFORE_ASSIGNMENT_OPERATOR)
Possible values | INSERT
DO_NOT_INSERT
Option to insert a space before at in annotation type declaration (FORMATTER_INSERT_SPACE_BEFORE_AT_IN_ANNOTATION_TYPE_DECLARATION)
Possible values | INSERT
DO_NOT_INSERT
Option to insert a space before an binary operator (FORMATTER_INSERT_SPACE_BEFORE_BINARY_OPERATOR)
Possible values | INSERT
DO_NOT_INSERT
Option to insert a space before the closing angle bracket in parameterized type reference (FORMATTER_INSERT_SPACE_BEFORE_CLOSING_ANGLE_BRACKET_IN_PARAMETERIZED_TYPE_REFERENCE)
Possible values | INSERT
DO_NOT_INSERT
Option to insert a space before the closing angle bracket in type arguments (FORMATTER_INSERT_SPACE_BEFORE_CLOSING_ANGLE_BRACKET_IN_TYPE_ARGUMENTS)
Possible values | INSERT
DO_NOT_INSERT
Option to insert a space before the closing angle bracket in type parameters (FORMATTER_INSERT_SPACE_BEFORE_CLOSING_ANGLE_BRACKET_IN_TYPE_PARAMETERS)
Possible values | INSERT
DO_NOT_INSERT
Option to insert a space before the closing brace in an array initializer (FORMATTER_INSERT_SPACE_BEFORE_CLOSING_BRACE_IN_ARRAY_INITIALIZER)
Possible values | INSERT
DO_NOT_INSERT
Option to insert a space before the closing bracket in an array allocation expression (FORMATTER_INSERT_SPACE_BEFORE_CLOSING_BRACKET_IN_ARRAY_ALLOCATION_EXPRESSION)
Possible values | INSERT
DO_NOT_INSERT
Option to insert a space before the closing bracket in an array reference (FORMATTER_INSERT_SPACE_BEFORE_CLOSING_BRACKET_IN_ARRAY_REFERENCE)
Possible values | INSERT
DO_NOT_INSERT
Option to insert a space before the closing parenthesis in annotation (FORMATTER_INSERT_SPACE_BEFORE_CLOSING_PAREN_IN_ANNOTATION)
Possible values | INSERT
DO_NOT_INSERT
Option to insert a space before the closing parenthesis in a cast expression (FORMATTER_INSERT_SPACE_BEFORE_CLOSING_PAREN_IN_CAST)
Possible values | INSERT
DO_NOT_INSERT
Option to insert a space before the closing parenthesis in a catch (FORMATTER_INSERT_SPACE_BEFORE_CLOSING_PAREN_IN_CATCH)
Possible values | INSERT
DO_NOT_INSERT
Option to insert a space before the closing parenthesis in a constructor declaration (FORMATTER_INSERT_SPACE_BEFORE_CLOSING_PAREN_IN_CONSTRUCTOR_DECLARATION)
Possible values | INSERT
DO_NOT_INSERT
Option to insert a space before the closing parenthesis in enum constant (FORMATTER_INSERT_SPACE_BEFORE_CLOSING_PAREN_IN_ENUM_CONSTANT)
Possible values | INSERT
DO_NOT_INSERT
Option to insert a space before the closing parenthesis in a for statement (FORMATTER_INSERT_SPACE_BEFORE_CLOSING_PAREN_IN_FOR)
Possible values | INSERT
DO_NOT_INSERT
Option to insert a space before the closing parenthesis in an if statement (FORMATTER_INSERT_SPACE_BEFORE_CLOSING_PAREN_IN_IF)
Possible values | INSERT
DO_NOT_INSERT
Option to insert a space before the closing parenthesis in a method declaration (FORMATTER_INSERT_SPACE_BEFORE_CLOSING_PAREN_IN_METHOD_DECLARATION)
Possible values | INSERT
DO_NOT_INSERT
Option to insert a space before the closing parenthesis in a method invocation (FORMATTER_INSERT_SPACE_BEFORE_CLOSING_PAREN_IN_METHOD_INVOCATION)
Possible values | INSERT
DO_NOT_INSERT
Option to insert a space before the closing parenthesis in a parenthesized expression (FORMATTER_INSERT_SPACE_BEFORE_CLOSING_PAREN_IN_PARENTHESIZED_EXPRESSION)
Possible values | INSERT
DO_NOT_INSERT
Option to insert a space before the closing parenthesis in a switch statement (FORMATTER_INSERT_SPACE_BEFORE_CLOSING_PAREN_IN_SWITCH)
Possible values | INSERT
DO_NOT_INSERT
Option to insert a space before the closing parenthesis in a synchronized statement (FORMATTER_INSERT_SPACE_BEFORE_CLOSING_PAREN_IN_SYNCHRONIZED)
Possible values | INSERT
DO_NOT_INSERT
Option to insert a space before the closing parenthesis in a while statement (FORMATTER_INSERT_SPACE_BEFORE_CLOSING_PAREN_IN_WHILE)
Possible values | INSERT
DO_NOT_INSERT
Option to insert a space before colon in an assert statement (FORMATTER_INSERT_SPACE_BEFORE_COLON_IN_ASSERT)
Possible values | INSERT
DO_NOT_INSERT
Option to insert a space before colon in a case statement (FORMATTER_INSERT_SPACE_BEFORE_COLON_IN_CASE)
Possible values | INSERT
DO_NOT_INSERT
Option to insert a space before colon in a conditional expression (FORMATTER_INSERT_SPACE_BEFORE_COLON_IN_CONDITIONAL)
Possible values | INSERT
DO_NOT_INSERT
Option to insert a space before colon in a default statement (FORMATTER_INSERT_SPACE_BEFORE_COLON_IN_DEFAULT)
Possible values | INSERT
DO_NOT_INSERT
Option to insert a space before colon in a for statement (FORMATTER_INSERT_SPACE_BEFORE_COLON_IN_FOR)
Possible values | INSERT
DO_NOT_INSERT
Option to insert a space before colon in a labeled statement (FORMATTER_INSERT_SPACE_BEFORE_COLON_IN_LABELED_STATEMENT)
Possible values | INSERT
DO_NOT_INSERT
Option to insert a space before comma in an allocation expression (FORMATTER_INSERT_SPACE_BEFORE_COMMA_IN_ALLOCATION_EXPRESSION)
Possible values | INSERT
DO_NOT_INSERT
Option to insert a space before comma in annotation (FORMATTER_INSERT_SPACE_BEFORE_COMMA_IN_ANNOTATION)
Possible values | INSERT
DO_NOT_INSERT
Option to insert a space before comma in an array initializer (FORMATTER_INSERT_SPACE_BEFORE_COMMA_IN_ARRAY_INITIALIZER)
Possible values | INSERT
DO_NOT_INSERT
Option to insert a space before comma in the parameters of a constructor declaration (FORMATTER_INSERT_SPACE_BEFORE_COMMA_IN_CONSTRUCTOR_DECLARATION_PARAMETERS)
Possible values | INSERT
DO_NOT_INSERT
Option to insert a space before comma in the exception names of the throws clause of a constructor declaration (FORMATTER_INSERT_SPACE_BEFORE_COMMA_IN_CONSTRUCTOR_DECLARATION_THROWS)
Possible values | INSERT
DO_NOT_INSERT
Option to insert a space before comma in the arguments of enum constant (FORMATTER_INSERT_SPACE_BEFORE_COMMA_IN_ENUM_CONSTANT_ARGUMENTS)
Possible values | INSERT
DO_NOT_INSERT
Option to insert a space before comma in enum declarations (FORMATTER_INSERT_SPACE_BEFORE_COMMA_IN_ENUM_DECLARATIONS)
Possible values | INSERT
DO_NOT_INSERT
Option to insert a space before comma in the arguments of an explicit constructor call (FORMATTER_INSERT_SPACE_BEFORE_COMMA_IN_EXPLICIT_CONSTRUCTOR_CALL_ARGUMENTS)
Possible values | INSERT
DO_NOT_INSERT
Option to insert a space before comma in the increments of a for statement (FORMATTER_INSERT_SPACE_BEFORE_COMMA_IN_FOR_INCREMENTS)
Possible values | INSERT
DO_NOT_INSERT
Option to insert a space before comma in the initializations of a for statement (FORMATTER_INSERT_SPACE_BEFORE_COMMA_IN_FOR_INITS)
Possible values | INSERT
DO_NOT_INSERT
Option to insert a space before comma in the parameters of a method declaration (FORMATTER_INSERT_SPACE_BEFORE_COMMA_IN_METHOD_DECLARATION_PARAMETERS)
Possible values | INSERT
DO_NOT_INSERT
Option to insert a space before comma in the exception names of the throws clause of a method declaration (FORMATTER_INSERT_SPACE_BEFORE_COMMA_IN_METHOD_DECLARATION_THROWS)
Possible values | INSERT
DO_NOT_INSERT
Option to insert a space before comma in the arguments of a method invocation (FORMATTER_INSERT_SPACE_BEFORE_COMMA_IN_METHOD_INVOCATION_ARGUMENTS)
Possible values | INSERT
DO_NOT_INSERT
Option to insert a space before comma in a multiple field declaration (FORMATTER_INSERT_SPACE_BEFORE_COMMA_IN_MULTIPLE_FIELD_DECLARATIONS)
Possible values | INSERT
DO_NOT_INSERT
Option to insert a space before comma in a multiple local declaration (FORMATTER_INSERT_SPACE_BEFORE_COMMA_IN_MULTIPLE_LOCAL_DECLARATIONS)
Possible values | INSERT
DO_NOT_INSERT
Option to insert a space before comma in parameterized type reference (FORMATTER_INSERT_SPACE_BEFORE_COMMA_IN_PARAMETERIZED_TYPE_REFERENCE)
Possible values | INSERT
DO_NOT_INSERT
Option to insert a space before comma in the superinterfaces names in a type header (FORMATTER_INSERT_SPACE_BEFORE_COMMA_IN_SUPERINTERFACES)
Possible values | INSERT
DO_NOT_INSERT
Option to insert a space before comma in type arguments (FORMATTER_INSERT_SPACE_BEFORE_COMMA_IN_TYPE_ARGUMENTS)
Possible values | INSERT
DO_NOT_INSERT
Option to insert a space before comma in type parameters (FORMATTER_INSERT_SPACE_BEFORE_COMMA_IN_TYPE_PARAMETERS)
Possible values | INSERT
DO_NOT_INSERT
Option to insert a space before ellipsis (FORMATTER_INSERT_SPACE_BEFORE_ELLIPSIS)
Possible values | INSERT
DO_NOT_INSERT
Option to insert a space before the opening angle bracket in parameterized type reference (FORMATTER_INSERT_SPACE_BEFORE_OPENING_ANGLE_BRACKET_IN_PARAMETERIZED_TYPE_REFERENCE)
Possible values | INSERT
DO_NOT_INSERT
Option to insert a space before the opening angle bracket in type arguments (FORMATTER_INSERT_SPACE_BEFORE_OPENING_ANGLE_BRACKET_IN_TYPE_ARGUMENTS)
Possible values | INSERT
DO_NOT_INSERT
Option to insert a space before the opening angle bracket in type parameters (FORMATTER_INSERT_SPACE_BEFORE_OPENING_ANGLE_BRACKET_IN_TYPE_PARAMETERS)
Possible values | INSERT
DO_NOT_INSERT
Option to insert a space before the opening brace in an annotation type declaration (FORMATTER_INSERT_SPACE_BEFORE_OPENING_BRACE_IN_ANNOTATION_TYPE_DECLARATION)
Possible values | INSERT
DO_NOT_INSERT
Option to insert a space before the opening brace in an anonymous type declaration (FORMATTER_INSERT_SPACE_BEFORE_OPENING_BRACE_IN_ANONYMOUS_TYPE_DECLARATION)
Possible values | INSERT
DO_NOT_INSERT
Option to insert a space before the opening brace in an array initializer (FORMATTER_INSERT_SPACE_BEFORE_OPENING_BRACE_IN_ARRAY_INITIALIZER)
Possible values | INSERT
DO_NOT_INSERT
Option to insert a space before the opening brace in a block (FORMATTER_INSERT_SPACE_BEFORE_OPENING_BRACE_IN_BLOCK)
Possible values | INSERT
DO_NOT_INSERT
Option to insert a space before the opening brace in a constructor declaration (FORMATTER_INSERT_SPACE_BEFORE_OPENING_BRACE_IN_CONSTRUCTOR_DECLARATION)
Possible values | INSERT
DO_NOT_INSERT
Option to insert a space before the opening brace in an enum constant (FORMATTER_INSERT_SPACE_BEFORE_OPENING_BRACE_IN_ENUM_CONSTANT)
Possible values | INSERT
DO_NOT_INSERT
Option to insert a space before the opening brace in an enum declaration (FORMATTER_INSERT_SPACE_BEFORE_OPENING_BRACE_IN_ENUM_DECLARATION)
Possible values | INSERT
DO_NOT_INSERT
Option to insert a space before the opening brace in a method declaration (FORMATTER_INSERT_SPACE_BEFORE_OPENING_BRACE_IN_METHOD_DECLARATION)
Possible values | INSERT
DO_NOT_INSERT
Option to insert a space before the opening brace in a switch statement (FORMATTER_INSERT_SPACE_BEFORE_OPENING_BRACE_IN_SWITCH)
Possible values | INSERT
DO_NOT_INSERT
Option to insert a space before the opening brace in a type declaration (FORMATTER_INSERT_SPACE_BEFORE_OPENING_BRACE_IN_TYPE_DECLARATION)
Possible values | INSERT
DO_NOT_INSERT
Option to insert a space before the opening bracket in an array allocation expression (FORMATTER_INSERT_SPACE_BEFORE_OPENING_BRACKET_IN_ARRAY_ALLOCATION_EXPRESSION)
Possible values | INSERT
DO_NOT_INSERT
Option to insert a space before the opening bracket in an array reference (FORMATTER_INSERT_SPACE_BEFORE_OPENING_BRACKET_IN_ARRAY_REFERENCE)
Possible values | INSERT
DO_NOT_INSERT
Option to insert a space before the opening bracket in an array type reference (FORMATTER_INSERT_SPACE_BEFORE_OPENING_BRACKET_IN_ARRAY_TYPE_REFERENCE)
Possible values | INSERT
DO_NOT_INSERT
Option to insert a space before the opening parenthesis in annotation (FORMATTER_INSERT_SPACE_BEFORE_OPENING_PAREN_IN_ANNOTATION)
Possible values | INSERT
DO_NOT_INSERT
Option to insert a space before the opening parenthesis in annotation type member declaration (FORMATTER_INSERT_SPACE_BEFORE_OPENING_PAREN_IN_ANNOTATION_TYPE_MEMBER_DECLARATION)
Possible values | INSERT
DO_NOT_INSERT
Option to insert a space before the opening parenthesis in a catch (FORMATTER_INSERT_SPACE_BEFORE_OPENING_PAREN_IN_CATCH)
Possible values | INSERT
DO_NOT_INSERT
Option to insert a space before the opening parenthesis in a constructor declaration (FORMATTER_INSERT_SPACE_BEFORE_OPENING_PAREN_IN_CONSTRUCTOR_DECLARATION)
Possible values | INSERT
DO_NOT_INSERT
Option to insert a space before the opening parenthesis in enum constant (FORMATTER_INSERT_SPACE_BEFORE_OPENING_PAREN_IN_ENUM_CONSTANT)
Possible values | INSERT
DO_NOT_INSERT
Option to insert a space before the opening parenthesis in a for statement (FORMATTER_INSERT_SPACE_BEFORE_OPENING_PAREN_IN_FOR)
Possible values | INSERT
DO_NOT_INSERT
Option to insert a space before the opening parenthesis in an if statement (FORMATTER_INSERT_SPACE_BEFORE_OPENING_PAREN_IN_IF)
Possible values | INSERT
DO_NOT_INSERT
Option to insert a space before the opening parenthesis in a method declaration (FORMATTER_INSERT_SPACE_BEFORE_OPENING_PAREN_IN_METHOD_DECLARATION)
Possible values | INSERT
DO_NOT_INSERT
Option to insert a space before the opening parenthesis in a method invocation (FORMATTER_INSERT_SPACE_BEFORE_OPENING_PAREN_IN_METHOD_INVOCATION)
Possible values | INSERT
DO_NOT_INSERT
Option to insert a space before the opening parenthesis in a parenthesized expression (FORMATTER_INSERT_SPACE_BEFORE_OPENING_PAREN_IN_PARENTHESIZED_EXPRESSION)
Possible values | INSERT
DO_NOT_INSERT
Option to insert a space before the opening parenthesis in a switch statement (FORMATTER_INSERT_SPACE_BEFORE_OPENING_PAREN_IN_SWITCH)
Possible values | INSERT
DO_NOT_INSERT
Option to insert a space before the opening parenthesis in a synchronized statement (FORMATTER_INSERT_SPACE_BEFORE_OPENING_PAREN_IN_SYNCHRONIZED)
Possible values | INSERT
DO_NOT_INSERT
Option to insert a space before the opening parenthesis in a while statement (FORMATTER_INSERT_SPACE_BEFORE_OPENING_PAREN_IN_WHILE)
Possible values | INSERT
DO_NOT_INSERT
Option to insert a space before parenthesized expression in return statement (FORMATTER_INSERT_SPACE_BEFORE_PARENTHESIZED_EXPRESSION_IN_RETURN)
Possible values | INSERT
DO_NOT_INSERT
Option to insert a space before parenthesized expression in throw statement (FORMATTER_INSERT_SPACE_BEFORE_PARENTHESIZED_EXPRESSION_IN_THROW)
Possible values | INSERT
DO_NOT_INSERT
Option to insert a space before a postfix operator (FORMATTER_INSERT_SPACE_BEFORE_POSTFIX_OPERATOR)
Possible values | INSERT
DO_NOT_INSERT
Option to insert a space before a prefix operator (FORMATTER_INSERT_SPACE_BEFORE_PREFIX_OPERATOR)
Possible values | INSERT
DO_NOT_INSERT
Option to insert a space before question mark in a conditional expression (FORMATTER_INSERT_SPACE_BEFORE_QUESTION_IN_CONDITIONAL)
Possible values | INSERT
DO_NOT_INSERT
Option to insert a space before question mark in a wildcard (FORMATTER_INSERT_SPACE_BEFORE_QUESTION_IN_WILDCARD)
Possible values | INSERT
DO_NOT_INSERT
Option to insert a space before semicolon (FORMATTER_INSERT_SPACE_BEFORE_SEMICOLON)
Possible values | INSERT
DO_NOT_INSERT
Option to insert a space before semicolon in for statement (FORMATTER_INSERT_SPACE_BEFORE_SEMICOLON_IN_FOR)
Possible values | INSERT
DO_NOT_INSERT
Option to insert a space before unary operator (FORMATTER_INSERT_SPACE_BEFORE_UNARY_OPERATOR)
Possible values | INSERT
DO_NOT_INSERT
Option to insert a space between brackets in an array type reference (FORMATTER_INSERT_SPACE_BETWEEN_BRACKETS_IN_ARRAY_TYPE_REFERENCE)
Possible values | INSERT
DO_NOT_INSERT
Option to insert a space between empty braces in an array initializer (FORMATTER_INSERT_SPACE_BETWEEN_EMPTY_BRACES_IN_ARRAY_INITIALIZER)
Possible values | INSERT
DO_NOT_INSERT
Option to insert a space between empty brackets in an array allocation expression (FORMATTER_INSERT_SPACE_BETWEEN_EMPTY_BRACKETS_IN_ARRAY_ALLOCATION_EXPRESSION)
Possible values | INSERT
DO_NOT_INSERT
Option to insert a space between empty parenthesis in an annotation type member declaration (FORMATTER_INSERT_SPACE_BETWEEN_EMPTY_PARENS_IN_ANNOTATION_TYPE_MEMBER_DECLARATION)
Possible values | INSERT
DO_NOT_INSERT
Option to insert a space between empty parenthesis in a constructor declaration (FORMATTER_INSERT_SPACE_BETWEEN_EMPTY_PARENS_IN_CONSTRUCTOR_DECLARATION)
Possible values | INSERT
DO_NOT_INSERT
Option to insert a space between empty parenthesis in enum constant (FORMATTER_INSERT_SPACE_BETWEEN_EMPTY_PARENS_IN_ENUM_CONSTANT)
Possible values | INSERT
DO_NOT_INSERT
Option to insert a space between empty parenthesis in a method declaration (FORMATTER_INSERT_SPACE_BETWEEN_EMPTY_PARENS_IN_METHOD_DECLARATION)
Possible values | INSERT
DO_NOT_INSERT
Option to insert a space between empty parenthesis in a method invocation (FORMATTER_INSERT_SPACE_BETWEEN_EMPTY_PARENS_IN_METHOD_INVOCATION)
Possible values | INSERT
DO_NOT_INSERT
Option to keep else statement on the same line (FORMATTER_KEEP_ELSE_STATEMENT_ON_SAME_LINE)
Possible values | TRUE
FALSE
Option to keep empty array initializer one one line (FORMATTER_KEEP_EMPTY_ARRAY_INITIALIZER_ON_ONE_LINE)
Possible values | TRUE
FALSE
Option to keep guardian clause on one line (FORMATTER_KEEP_GUARDIAN_CLAUSE_ON_ONE_LINE)
Possible values | TRUE
FALSE
Option to keep simple if statement on the one line (FORMATTER_KEEP_SIMPLE_IF_ON_ONE_LINE)
Possible values | TRUE
FALSE
Option to keep then statement on the same line (FORMATTER_KEEP_THEN_STATEMENT_ON_SAME_LINE)
Possible values | TRUE
FALSE
Option to specify the length of the page. Beyond this length, the formatter will try to split the code (FORMATTER_LINE_SPLIT)
Possible value | "<n>", where n is zero or a positive integer
Default value | "80"
Option to indent block comments that start on the first column (FORMATTER_NEVER_INDENT_BLOCK_COMMENTS_ON_FIRST_COLUMN)
Possible values | TRUE
FALSE
Option to indent line comments that start on the first column (FORMATTER_NEVER_INDENT_LINE_COMMENTS_ON_FIRST_COLUMN)
Possible values | TRUE
FALSE
Option to specify the number of empty lines to preserve (FORMATTER_NUMBER_OF_EMPTY_LINES_TO_PRESERVE)
Possible value | "<n>", where n is zero or a positive integer
Default value | "0"
Option to specify whether or not empty statement should be on a new line (FORMATTER_PUT_EMPTY_STATEMENT_ON_NEW_LINE)
Possible values | TRUE
FALSE
Option to specify the tabulation size (FORMATTER_TAB_CHAR)
Possible values | TAB
SPACE
MIXED
Option to specify the equivalent number of spaces that represents one tabulation (FORMATTER_TAB_SIZE)
Possible value | "<n>", where n is zero or a positive integer
Default value | "4"
Option to use tabulations only for leading indentations (FORMATTER_USE_TABS_ONLY_FOR_LEADING_INDENTATIONS)
Possible values | TRUE
FALSE
Option to wrap before the binary operator (FORMATTER_WRAP_BEFORE_BINARY_OPERATOR)
Possible values | TRUE
FALSE

#### CodeAssist options

Description | Values
--- | ---
Define the Prefixes for Argument Name (CODEASSIST_ARGUMENT_PREFIXES)
When the prefixes is non empty, completion for argument name will begin with one of the proposed prefixes. | {<prefix>[,<prefix>]*}. Default value is ""
Define the Suffixes for Argument Name (CODEASSIST_ARGUMENT_SUFFIXES)
When the suffixes is non empty, completion for argument name will end with one of the proposed suffixes. | {<suffix>[,<suffix>]*}. Default value is ""
Activate Camel Case Sensitive Completion (CODEASSIST_CAMEL_CASE_MATCH)
When enabled, completion shows proposals whose name match the CamelCase pattern. | ENABLED
DISABLED
Activate Deprecation Sensitive Completion (CODEASSIST_DEPRECATION_CHECK)
When enabled, completion doesn't propose deprecated members and types. | ENABLED
DISABLED
Activate Discouraged Reference Sensitive Completion (CODEASSIST_DISCOURAGED_REFERENCE_CHECK)
When enabled, completion doesn't propose elements which match a discouraged reference rule. | ENABLED
DISABLED
Define the Prefixes for Field Name (CODEASSIST_FIELD_PREFIXES)
When the prefixes is non empty, completion for field name will begin with one of the proposed prefixes. | {<prefix>[,<prefix>]*}. Default value is ""
Define the Suffixes for Field Name (CODEASSIST_FIELD_SUFFIXES)
When the suffixes is non empty, completion for field name will end with one of the proposed suffixes. | {<suffix>[,<suffix>]*}. Default value is ""
Activate Forbidden Reference Sensitive Completion (CODEASSIST_FORBIDDEN_REFERENCE_CHECK)
When enabled, completion doesn't propose elements which match a forbidden reference rule. | ENABLED
DISABLED
Automatic Qualification of Implicit Members (CODEASSIST_IMPLICIT_QUALIFICATION)
When enabled, completion automatically qualifies completion on implicit field references and message expressions. | ENABLED
DISABLED
Define the Prefixes for Local Variable Name (CODEASSIST_LOCAL_PREFIXES)
When the prefixes is non empty, completion for local variable name will begin with one of the proposed prefixes. | {<prefix>[,<prefix>]*}. Default value is ""
Define the Suffixes for Local Variable Name (CODEASSIST_LOCAL_SUFFIXES)
When the suffixes is non empty, completion for local variable name will end with one of the proposed suffixes. | {<suffix>[,<suffix>]*}. Default value is ""
Define the Prefixes for Static Field Name (CODEASSIST_STATIC_FIELD_PREFIXES)
When the prefixes is non empty, completion for static field name will begin with one of the proposed prefixes. | {<prefix>[,<prefix>]*}. Default value is ""
Define the Suffixes for Static Field Name (CODEASSIST_STATIC_FIELD_SUFFIXES)
When the suffixes is non empty, completion for static field name will end with one of the proposed suffixes. | {<suffix>[,<suffix>]*}. Default value is ""
Activate Suggestion of Static Import (CODEASSIST_SUGGEST_STATIC_IMPORTS)
When enabled, completion proposals can contain static import pattern. | ENABLED
DISABLED
Activate Visibility Sensitive Completion (CODEASSIST_VISIBILITY_CHECK)
When enabled, completion doesn't propose elements that are not visible at the insertion point according to Java visibility rules (e.g. the private methods of a super class are not proposed). | ENABLED
DISABLED