diff --git a/eclipse.platform.common/bundles/org.eclipse.jdt.doc.isv/guide/jdt_api.htm b/eclipse.platform.common/bundles/org.eclipse.jdt.doc.isv/guide/jdt_api.htm index 591d49c56a0..818bfa04c72 100644 --- a/eclipse.platform.common/bundles/org.eclipse.jdt.doc.isv/guide/jdt_api.htm +++ b/eclipse.platform.common/bundles/org.eclipse.jdt.doc.isv/guide/jdt_api.htm @@ -1,10 +1,9 @@ - +
- - - - + + +You can programmatically change a project's build path using +"../reference/api/org/eclipse/jdt/core/IJavaProject.html#setRawClasspath(org.eclipse.jdt.core.IClasspathEntry%5B%5D,%20org.eclipse.core.runtime.IProgressMonitor)"> setRawClasspath on the corresponding project's Java element. The following code sets the classpath for a project resource:
@@ -172,7 +170,7 @@Classpath Entries
getClasspathContainer and +"../reference/api/org/eclipse/jdt/core/JavaCore.html#setClasspathContainer(org.eclipse.core.runtime.IPath,%20org.eclipse.jdt.core.IJavaProject%5B%5D,%20org.eclipse.jdt.core.IClasspathContainer%5B%5D,%20org.eclipse.core.runtime.IProgressMonitor)"> setClasspathContainer.It is possible to register an automatic classpath container @@ -271,7 +269,7 @@
diff --git a/eclipse.platform.common/bundles/org.eclipse.jdt.doc.isv/guide/jdt_api_compile.htm b/eclipse.platform.common/bundles/org.eclipse.jdt.doc.isv/guide/jdt_api_compile.htm index 6f6ecd65c58..584b9e113d7 100644 --- a/eclipse.platform.common/bundles/org.eclipse.jdt.doc.isv/guide/jdt_api_compile.htm +++ b/eclipse.platform.common/bundles/org.eclipse.jdt.doc.isv/guide/jdt_api_compile.htm @@ -1,12 +1,10 @@ - - + + - - - + +Classpath Resolution
Since classpath variables and containers allow you to define dynamically bound classpath entries, the classpath API distinguishes between a raw and a resolved classpath. The raw classpath is the one originally set on the Java project using +"../reference/api/org/eclipse/jdt/core/IJavaProject.html#setRawClasspath(org.eclipse.jdt.core.IClasspathEntry%5B%5D,%20org.eclipse.core.runtime.IProgressMonitor)"> setRawClasspath, and can be further queried by asking the project for getRawClasspath. diff --git a/eclipse.platform.common/bundles/org.eclipse.jdt.doc.isv/guide/jdt_api_codeassist.htm b/eclipse.platform.common/bundles/org.eclipse.jdt.doc.isv/guide/jdt_api_codeassist.htm index 62aaf20ed65..1eabd9d230f 100644 --- a/eclipse.platform.common/bundles/org.eclipse.jdt.doc.isv/guide/jdt_api_codeassist.htm +++ b/eclipse.platform.common/bundles/org.eclipse.jdt.doc.isv/guide/jdt_api_codeassist.htm @@ -1,12 +1,10 @@ - - + + - - - + +Performing code assist on Java code diff --git a/eclipse.platform.common/bundles/org.eclipse.jdt.doc.isv/guide/jdt_api_codeformatter.htm b/eclipse.platform.common/bundles/org.eclipse.jdt.doc.isv/guide/jdt_api_codeformatter.htm index 84ce633d0c0..d5bf5c58bab 100644 --- a/eclipse.platform.common/bundles/org.eclipse.jdt.doc.isv/guide/jdt_api_codeformatter.htm +++ b/eclipse.platform.common/bundles/org.eclipse.jdt.doc.isv/guide/jdt_api_codeformatter.htm @@ -1,13 +1,11 @@ - - + + - -Using the code formatter @@ -252,7 +250,7 @@ allows to format a set of regions of a given source file.code formatter
This can be achieved by calling the + "../reference/api/org/eclipse/jdt/core/formatter/CodeFormatter.html#format(int,%20java.lang.String,%20org.eclipse.jface.text.IRegion%5B%5D,%20int,%20java.lang.String)"> format(int, String, IRegion[], int, String) method of the code formatter, with a given @@ -294,7 +292,7 @@"../reference/api/org/eclipse/jdt/core/formatter/CodeFormatter.html#format(int,%20java.lang.String,%20int,%20int,%20int,%20java.lang.String)"> format(int, String, int, int, int, String)
or + "../reference/api/org/eclipse/jdt/core/formatter/CodeFormatter.html#format(int,%20java.lang.String,%20org.eclipse.jface.text.IRegion%5B%5D,%20int,%20java.lang.String)"> format(int, String, IRegion[], int, String) methods:Compiling Java code diff --git a/eclipse.platform.common/bundles/org.eclipse.jdt.doc.isv/guide/jdt_api_contributing_a_cleanup.htm b/eclipse.platform.common/bundles/org.eclipse.jdt.doc.isv/guide/jdt_api_contributing_a_cleanup.htm index 57b4c0ad410..5fde6fe4013 100644 --- a/eclipse.platform.common/bundles/org.eclipse.jdt.doc.isv/guide/jdt_api_contributing_a_cleanup.htm +++ b/eclipse.platform.common/bundles/org.eclipse.jdt.doc.isv/guide/jdt_api_contributing_a_cleanup.htm @@ -1,12 +1,10 @@ - - + + - - - + +Contributing a simple clean up and a simple save action using the org.eclipse.jdt.ui.cleanUps extension point diff --git a/eclipse.platform.common/bundles/org.eclipse.jdt.doc.isv/guide/jdt_api_contributing_a_quickfix.htm b/eclipse.platform.common/bundles/org.eclipse.jdt.doc.isv/guide/jdt_api_contributing_a_quickfix.htm index cd3006c95e4..78ff303a982 100644 --- a/eclipse.platform.common/bundles/org.eclipse.jdt.doc.isv/guide/jdt_api_contributing_a_quickfix.htm +++ b/eclipse.platform.common/bundles/org.eclipse.jdt.doc.isv/guide/jdt_api_contributing_a_quickfix.htm @@ -1,12 +1,10 @@ - - + + - - - + +Contributing a quick fix and a quick assist for Java code diff --git a/eclipse.platform.common/bundles/org.eclipse.jdt.doc.isv/guide/jdt_api_editors.htm b/eclipse.platform.common/bundles/org.eclipse.jdt.doc.isv/guide/jdt_api_editors.htm index 540ac298cdf..9e16fed7687 100644 --- a/eclipse.platform.common/bundles/org.eclipse.jdt.doc.isv/guide/jdt_api_editors.htm +++ b/eclipse.platform.common/bundles/org.eclipse.jdt.doc.isv/guide/jdt_api_editors.htm @@ -1,10 +1,9 @@ - + - - - - + + +Customizing Java editors diff --git a/eclipse.platform.common/bundles/org.eclipse.jdt.doc.isv/guide/jdt_api_junit.htm b/eclipse.platform.common/bundles/org.eclipse.jdt.doc.isv/guide/jdt_api_junit.htm index fe8c848f01b..c501043f73b 100644 --- a/eclipse.platform.common/bundles/org.eclipse.jdt.doc.isv/guide/jdt_api_junit.htm +++ b/eclipse.platform.common/bundles/org.eclipse.jdt.doc.isv/guide/jdt_api_junit.htm @@ -1,12 +1,11 @@ - + - + - - - + +Observing JUnit test runs diff --git a/eclipse.platform.common/bundles/org.eclipse.jdt.doc.isv/guide/jdt_api_manip.htm b/eclipse.platform.common/bundles/org.eclipse.jdt.doc.isv/guide/jdt_api_manip.htm index 9d990e1bfa3..855bf7d28ae 100644 --- a/eclipse.platform.common/bundles/org.eclipse.jdt.doc.isv/guide/jdt_api_manip.htm +++ b/eclipse.platform.common/bundles/org.eclipse.jdt.doc.isv/guide/jdt_api_manip.htm @@ -1,13 +1,11 @@ - - + + - - - + +Manipulating Java code @@ -183,7 +181,7 @@Creating an AST From Existing Source Code
following methods:
| Description | -Values | +Description | +Values | ||
|---|---|---|---|---|---|
| Annotation Based Null Analysis (Annotation Based Null Analysis (COMPILER_ANNOTATION_NULL_ANALYSIS) | |||||
| This option controls whether the compiler will use null annotations for + | |||||
| This option controls whether the compiler will use null annotations for
improved analysis of (potential) null references.
When enabled, the compiler will interpret the annotation types defined using Compiler Options "../reference/api/org/eclipse/jdt/core/JavaCore.html#COMPILER_PB_NONNULL_PARAMETER_ANNOTATION_DROPPED">COMPILER_PB_NONNULL_PARAMETER_ANNOTATION_DROPPED, and COMPILER_INHERIT_NULL_ANNOTATIONS. |
-ENABLED | +ENABLED | |||
| + | DISABLED | ||||
| Inline JSR Bytecode Instruction (Inline JSR Bytecode Instruction (COMPILER_CODEGEN_INLINE_JSR_BYTECODE) | |||||
| When enabled in conjunction with a Java target platform lesser than or equal to + | |||||
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
@@ -168,202 +166,202 @@ Compiler Optionstarget 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 | +ENABLED | |||
| + | DISABLED | ||||
| Generating Method Parameters Attribute (Generating Method Parameters Attribute (COMPILER_CODEGEN_METHOD_PARAMETERS_ATTR) | |||||
| When generated, this attribute will enable information about the formal parameters + | |||||
| When generated, this attribute will enable information about the formal parameters of a method (such as their names) to be accessed from reflection libraries, annotation processing, code weaving, and in the debugger, from platform target level 1.8 and later. | -GENERATE | +GENERATE | |||
| + | DO_NOT_GENERATE | ||||
| Setting Target Java Platform (Setting Target Java Platform (COMPILER_CODEGEN_TARGET_PLATFORM) | |||||
| For binary compatibility reason, .class files are tagged with VM versions that are + | |||||
| 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_1_8 | ||||
| + | VERSION_9 | ||||
| + | VERSION_10 | ||||
| + | VERSION_11 | ||||
| + | VERSION_12 | ||||
| + | VERSION_13 | ||||
| + | VERSION_14 | ||||
| + | VERSION_15 | ||||
| + | VERSION_CLDC_1_1 | ||||
| Preserving Unused Local Variables (Preserving Unused Local Variables (COMPILER_CODEGEN_UNUSED_LOCAL) | |||||
| Unless requested to preserve unused local variables (i.e. never read), the compiler + | |||||
| 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 (Setting Compliance Level (COMPILER_COMPLIANCE) | |||||
| Select the compliance level for the compiler, which will then behave according to + | |||||
| 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 | ||||
| + | VERSION_1_8 | ||||
| + | VERSION_9 | ||||
| + | VERSION_10 | ||||
| + | VERSION_11 | ||||
| + | VERSION_12 | ||||
| + | VERSION_13 | ||||
| + | VERSION_14 | ||||
| + | VERSION_15 | ||||
| Javadoc Comment Support (Javadoc Comment Support (COMPILER_DOC_COMMENT_SUPPORT) | |||||
| When this support is disabled, the compiler will ignore all javadoc problems + | |||||
| 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 | +|||||
| DISABLED | |||||
| Inheritance of Null Annotations (Inheritance of Null Annotations (COMPILER_INHERIT_NULL_ANNOTATIONS) | |||||
| When enabled, the compiler will check for each method without any explicit null annotations + | |||||
When enabled, the compiler will check for each method without any explicit null annotations
(see COMPILER_ANNOTATION_NULL_ANALYSIS):
If it overrides a method which has null annotations, it will treat the
current method as if it had the same annotations as the overridden method.
@@ -374,50 +372,50 @@ Compiler OptionsIf different implicit null annotations (from a nonnull default and/or overridden methods) are applicable to the same type in a method signature, this is flagged as an error and an explicit null annotation must be used to disambiguate. |
-ENABLED | ||||
| DISABLED | +|||||
| DISABLED | |||||
| Generating Line Number Debug Attribute (Generating Line Number Debug Attribute (COMPILER_LINE_NUMBER_ATTR) | |||||
| When generated, this attribute will enable source code highlighting in the debugger + | |||||
| 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 (Generating Local Variable Debug Attribute (COMPILER_LOCAL_VARIABLE_ATTR) | |||||
| When generated, this attribute will enable local variable names to be displayed in + | |||||
| 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 | ||||
| Name of Annotation Type for Non-Null Types (Name of Annotation Type for Non-Null Types (COMPILER_NONNULL_ANNOTATION_NAME) | |||||
| This option defines a fully qualified Java type name that the compiler may use + | |||||
| This option defines a fully qualified Java type name that the compiler may use
to perform special null analysis.
If the annotation specified by this option is applied to a type in a method signature or variable declaration, this will be interpreted as a specification @@ -433,18 +431,18 @@ Compiler OptionsCOMPILER_PB_NULL_UNCHECKED_CONVERSION.This option only has an effect if the option COMPILER_ANNOTATION_NULL_ANALYSIS is enabled. |
-The qualified name of a Java annotation type + | The qualified name of a Java annotation type Default is: org.eclipse.jdt.annotation.NonNull |
|||
| + | Names of Secondary Annotation Types for Non-Null Types (COMPILER_NONNULL_ANNOTATION_SECONDARY_NAMES) | ||||
| This option defines a comma-separated list of fully qualified Java type names + | |||||
| This option defines a comma-separated list of fully qualified Java type names
that the compiler may use to perform special null analysis.
The annotation types identified by the names in this list are interpreted in the same way as the annotation identified by {@link #COMPILER_NONNULL_ANNOTATION_NAME}. @@ -458,16 +456,16 @@ Compiler OptionsThis option only has an effect if the option COMPILER_ANNOTATION_NULL_ANALYSIS is enabled. |
-The qualified name of a Java annotation type + | The qualified name of a Java annotation type Default is: "" |
|||
| Name of Annotation Type for Nullable Types (Name of Annotation Type for Nullable Types (COMPILER_NULLABLE_ANNOTATION_NAME) | |||||
| This option defines a fully qualified Java type name that the compiler may use + | |||||
| This option defines a fully qualified Java type name that the compiler may use
to perform special null analysis.
If the annotation specified by this option is applied to a type in a method signature or variable declaration, this will be interpreted as a specification @@ -483,16 +481,16 @@ Compiler OptionsCOMPILER_PB_NULL_UNCHECKED_CONVERSION.This option only has an effect if the option COMPILER_ANNOTATION_NULL_ANALYSIS is enabled. |
-The qualified name of a Java annotation type + | The qualified name of a Java annotation type Default is: org.eclipse.jdt.annotation.Nullable |
|||
| Names of Secondary Annotation Types for Nullable Types (Names of Secondary Annotation Types for Nullable Types (COMPILER_NULLABLE_ANNOTATION_SECONDARY_NAMES) | |||||
| This option defines a comma-separated list of fully qualified Java type names + | |||||
| This option defines a comma-separated list of fully qualified Java type names
that the compiler may use to perform special null analysis.
The annotation types identified by the names in this list are interpreted in the same way as the annotation identified by Compiler Options "../reference/api/org/eclipse/jdt/core/JavaCore.html#COMPILER_NULLABLE_ANNOTATION_NAME">COMPILER_NULLABLE_ANNOTATION_NAME. This option only has an effect if the option COMPILER_ANNOTATION_NULL_ANALYSIS is enabled. |
-The qualified name of a Java annotation type + | The qualified name of a Java annotation type Default is: "" |
|||
| Name of Annotation Type to specify a nullness default for unannotated types. (Name of Annotation Type to specify a nullness default for unannotated types. (COMPILER_NONNULL_BY_DEFAULT_ANNOTATION_NAME) | |||||
| This option defines a fully qualified Java type name that the compiler may use + | |||||
| This option defines a fully qualified Java type name that the compiler may use
to perform special null analysis.
If the annotation is applied without an argument, all unannotated types in method signatures within the annotated element will be treated as if they were specified with the non-null annotation @@ -524,17 +522,17 @@ Compiler Optionsall corresponding defaults specified using this annotation at outer scopes will be canceled for the annotated element.This option only has an effect if the option COMPILER_ANNOTATION_NULL_ANALYSIS is enabled. |
-The qualified name of a Java annotatin type + | The qualified name of a Java annotatin type Default is: org.eclipse.jdt.annotation.NonNullByDefault |
|||
| + | Names of Secondary Annotation Types to specify a nullness default for unannotated types (COMPILER_NONNULL_BY_DEFAULT_ANNOTATION_SECONDARY_NAMES) | ||||
| This option defines a comma-separated list of fully qualified Java type names + | |||||
| This option defines a comma-separated list of fully qualified Java type names
that the compiler may use to perform special null analysis.
The annotation types identified by the names in this list are interpreted in the same way as the annotation identified by COMPILER_NONNULL_BY_DEFAULT_ANNOTATION_NAME. @@ -543,366 +541,366 @@ Compiler Optionsused in the project's own source code.This option only has an effect if the option COMPILER_ANNOTATION_NULL_ANALYSIS is enabled. |
-The qualified name of a Java annotatin type + | The qualified name of a Java annotatin type Default is: "" |
|||
| Reporting Use of Annotation Type as Super Interface (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 + | |||||
| 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 | +ERROR | |||
| + | WARNING | ||||
| INFO | +|||||
| INFO | |||||
| IGNORE | +|||||
| IGNORE | |||||
| Reporting Usage of 'assert' Identifier (Reporting Usage of 'assert' Identifier (COMPILER_PB_ASSERT_IDENTIFIER) | |||||
| When enabled, the compiler will issue an error or a warning whenever 'assert' is + | |||||
| When enabled, the compiler will issue an error or a warning whenever 'assert' is used as an identifier (reserved keyword in 1.4) | -ERROR | +ERROR | |||
| + | WARNING | ||||
| INFO | +|||||
| INFO | |||||
| IGNORE | +|||||
| IGNORE | |||||
| Reporting Boxing/Unboxing Conversion (Reporting Boxing/Unboxing Conversion (COMPILER_PB_AUTOBOXING) | |||||
| When enabled, the compiler will issue an error or a warning whenever a boxing or an + | |||||
| When enabled, the compiler will issue an error or a warning whenever a boxing or an unboxing conversion is performed. | -ERROR | +ERROR | |||
| WARNING | +|||||
| WARNING | |||||
| INFO | +|||||
| INFO | |||||
| + | IGNORE | ||||
| Reporting Usage of char[] Expressions in String Concatenations (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[] + | |||||
| 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 | +ERROR | |||
| + | WARNING | ||||
| INFO | +|||||
| INFO | |||||
| IGNORE | +|||||
| IGNORE | |||||
| Reporting Deprecation (Reporting Deprecation (COMPILER_PB_DEPRECATION) | |||||
| When enabled, the compiler will signal use of deprecated API either as an error or + | |||||
| When enabled, the compiler will signal use of deprecated API either as an error or a warning. | -ERROR | +ERROR | |||
| + | WARNING | ||||
| INFO | +|||||
| INFO | |||||
| IGNORE | +|||||
| IGNORE | |||||
| Reporting Terminal Deprecation (Reporting Terminal Deprecation (COMPILER_PB_TERMINAL_DEPRECATION) | |||||
| When enabled, the compiler will signal use of terminally deprecated API either as an + | |||||
| When enabled, the compiler will signal use of terminally deprecated API either as an error or a warning. | -ERROR | +ERROR | |||
| + | WARNING | ||||
| INFO | +|||||
| INFO | |||||
| IGNORE | +|||||
| IGNORE | |||||
| Reporting Deprecation Inside Deprecated Code (Reporting Deprecation Inside Deprecated Code (COMPILER_PB_DEPRECATION_IN_DEPRECATED_CODE) | |||||
| When enabled, the compiler will signal use of deprecated API inside deprecated code + | |||||
| When enabled, the compiler will signal use of deprecated API inside deprecated code either as an error or a warning. | -ENABLED | +ENABLED | |||
| + | DISABLED | ||||
| Reporting Deprecation When Overriding Deprecated Method (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 + | |||||
| When enabled, the compiler will signal the declaration of a method overriding a deprecated one. | -ENABLED | +ENABLED | |||
| + | DISABLED | ||||
| Reporting Discouraged Reference to Type with Restricted Access (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 + | |||||
| 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 | +ERROR | |||
| + | WARNING | ||||
| INFO | +|||||
| INFO | |||||
| IGNORE | +|||||
| IGNORE | |||||
| Reporting Empty Statements and Unnecessary Semicolons (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 + | |||||
| When enabled, the compiler will issue an error or a warning if an empty statement or a unnecessary semicolon is encountered. | -ERROR | +ERROR | |||
| WARNING | +|||||
| WARNING | |||||
| INFO | +|||||
| INFO | |||||
| + | IGNORE | ||||
| Reporting Usage of 'enum' Identifier (Reporting Usage of 'enum' Identifier (COMPILER_PB_ENUM_IDENTIFIER) | |||||
| When enabled, the compiler will issue an error or a warning whenever 'enum' is used + | |||||
| When enabled, the compiler will issue an error or a warning whenever 'enum' is used as an identifier (reserved keyword in 1.5). | -ERROR | +ERROR | |||
| + | WARNING | ||||
| INFO | +|||||
| INFO | |||||
| IGNORE | +|||||
| IGNORE | |||||
| Reporting Switch Fall-Through Case (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 + | |||||
| When enabled, the compiler will issue an error or a warning when a case may be entered by falling through a preceding, non empty case. | -ERROR | +ERROR | |||
| WARNING | +|||||
| WARNING | |||||
| INFO | +|||||
| INFO | |||||
| + | IGNORE | ||||
| Treating Optional Errors as Fatal (Treating Optional Errors as Fatal (COMPILER_PB_FATAL_OPTIONAL_ERROR) | |||||
| When enabled, optional errors (i.e. optional problems which severity has been set + | |||||
| When enabled, optional errors (i.e. optional problems which severity has been set
to "error") will be treated as standard compile 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 | +|||||
| DISABLED | |||||
| Reporting Field Declaration Hiding another Variable (Reporting Field Declaration Hiding another Variable (COMPILER_PB_FIELD_HIDING) | |||||
| When enabled, the compiler will issue an error or a warning whenever a field + | |||||
| 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 | +ERROR | |||
| WARNING | +|||||
| WARNING | |||||
| INFO | +|||||
| INFO | |||||
| + | IGNORE | ||||
| Reporting Final Bound for Type Parameter (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 + | |||||
| 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 | +ERROR | |||
| + | WARNING | ||||
| INFO | +|||||
| INFO | |||||
| IGNORE | +|||||
| IGNORE | |||||
| Reporting Finally Blocks Not Completing Normally (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 + | |||||
| When enabled, the compiler will issue an error or a warning when a finally block does not complete normally. | -ERROR | +ERROR | |||
| + | WARNING | ||||
| INFO | +|||||
| INFO | |||||
| IGNORE | +|||||
| IGNORE | |||||
| Reporting Forbidden Reference to Type with Restricted Access (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 + | |||||
| 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 | +|||||
| WARNING | |||||
| INFO | +|||||
| INFO | |||||
| IGNORE | +|||||
| IGNORE | |||||
| Reporting Missing HashCode Method (Reporting Missing HashCode Method (COMPILER_PB_MISSING_HASHCODE_METHOD) | |||||
| When enabled, the compiler will issue an error or a warning if a type overrides + | |||||
| When enabled, the compiler will issue an error or a warning if a type overrides Object.equals(Object) but does not override hashCode(). | -ERROR | ||||
| WARNING | +|||||
| WARNING | |||||
| INFO | +|||||
| INFO | |||||
| IGNORE | +|||||
| IGNORE | |||||
| Reporting Hidden Catch Block (Reporting Hidden Catch Block (COMPILER_PB_HIDDEN_CATCH_BLOCK) | |||||
| Local to a try statement, some catch blocks may hide others , e.g. + | |||||
Local to a try statement, some catch blocks may hide others , e.g.
try {
throw new java.io.CharConversionException();
@@ -911,26 +909,26 @@
When enabling this option, the compiler will issue an error or a warning for hidden catch blocks
corresponding to checked exceptions. |
-ERROR | +ERROR | |||
| + | WARNING | ||||
| INFO | +|||||
| INFO | |||||
| IGNORE | +|||||
| IGNORE | |||||
| Reporting Null related problems as a consequnce of assert statements (COMPILER_PB_INCLUDE_ASSERTS_IN_NULL_ANALYSIS) | |||||
| When enabled, the compiler will raise null related errors or warnings for a + | |||||
When enabled, the compiler will raise null related errors or warnings for a
variable that got marked as potentially or definitely null or not null
inside an assert statement, and whose null state has not been modified by any other statement
@@ -941,359 +939,359 @@ Compiler Options"#NULL_REFERENCE">COMPILER_PB_NULL_REFERENCE, and COMPILER_PB_POTENTIAL_NULL_REFERENCE as a consequence of an assert statement. |
-ENABLED | +ENABLED | |||
| DISABLED | |||||
| Reporting Interface Method not Compatible with non-Inherited Methods + | 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 + | |||||
| 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 | +ERROR | |||
| + | WARNING | ||||
| INFO | +|||||
| INFO | |||||
| IGNORE | +|||||
| IGNORE | |||||
| Reporting Incomplete Enum Switch (Reporting Incomplete Enum Switch (COMPILER_PB_INCOMPLETE_ENUM_SWITCH) | |||||
| When enabled, the compiler will issue an error or a warning whenever an enum switch + | When enabled, the compiler will issue an error or a warning whenever an enum switch statement lacks a default case. If no default case is given, additionally one error or warning is issued regarding each enum constant for which a corresponding case label is lacking. | -ERROR | +ERROR | ||
| WARNING | +|||||
| WARNING | |||||
| INFO | +|||||
| INFO | |||||
| + | IGNORE | ||||
| Reporting Indirect Reference to a Static Member (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 + | |||||
| 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 | +ERROR | |||
| WARNING | +|||||
| WARNING | |||||
| INFO | +|||||
| INFO | |||||
| + | IGNORE | ||||
| Reporting Invalid Javadoc Comment (Reporting Invalid Javadoc Comment (COMPILER_PB_INVALID_JAVADOC) | |||||
| This is the generic control for the severity of Javadoc problems. When enabled, the + | |||||
| 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 | +ERROR | |||
| WARNING | +|||||
| WARNING | |||||
| INFO | +|||||
| INFO | |||||
| + | IGNORE | ||||
| Reporting Invalid Javadoc Tags (Reporting Invalid Javadoc Tags (COMPILER_PB_INVALID_JAVADOC_TAGS) | |||||
| When enabled, the compiler will signal unbound or unexpected reference tags in + | |||||
| 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 | +ENABLED | |||
| + | DISABLED | ||||
| Reporting Javadoc Tags with Deprecated References (Reporting Javadoc Tags with Deprecated References (COMPILER_PB_INVALID_JAVADOC_TAGS__DEPRECATED_REF) | |||||
| Specify whether the compiler will report deprecated references used in Javadoc + | |||||
| 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 | +ENABLED | |||
| + | DISABLED | ||||
| Reporting Javadoc Tags with Not Visible References (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 + | |||||
| 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 | +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 + | |||||
| Set the minimum visibility level for Javadoc tag problems. Below this level problems will be ignored. | -PUBLIC | ||||
| + | PROTECTED | ||||
| DEFAULT | +|||||
| DEFAULT | |||||
| PRIVATE | +|||||
| PRIVATE | |||||
| Reporting Local Variable Declaration Hiding another Variable (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 + | |||||
| 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 | +ERROR | |||
| WARNING | +|||||
| WARNING | |||||
| INFO | +|||||
| INFO | |||||
| + | IGNORE | ||||
| Maximum number of problems reported per compilation unit (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 + | |||||
| 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. + | A positive or null integer. Default value is 100. |
|||
| Reporting a method that qualifies as static, but not declared static + | Reporting a method that qualifies as static, but not declared static (COMPILER_PB_MISSING_STATIC_ON_METHOD) | ||||
| When enabled, the compiler will issue an error or a warning if a method has not + | |||||
When enabled, the compiler will issue an error or a warning if a method has not
been declared as static, even though it qualifies as one. |
-ERROR | +ERROR | |||
| WARNING | +|||||
| WARNING | |||||
| INFO | +|||||
| INFO | |||||
| + | IGNORE | ||||
| Reporting a method that may qualify as static, but not declared static + | Reporting a method that may qualify as static, but not declared static (COMPILER_PB_POTENTIALLY_MISSING_STATIC_ON_METHOD) | ||||
| When enabled, the compiler will issue an error or a warning if a method has not + | |||||
When enabled, the compiler will issue an error or a warning if a method has not
been declared as static, even though it may qualify as one, when another method
doesn't override it. |
-ERROR | +ERROR | |||
| WARNING | +|||||
| WARNING | |||||
| INFO | +|||||
| INFO | |||||
| + | IGNORE | ||||
| Reporting Method With Constructor Name (Reporting Method With Constructor Name (COMPILER_PB_METHOD_WITH_CONSTRUCTOR_NAME) | |||||
| Naming a method with a constructor name is generally considered poor style + | |||||
| 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 | +ERROR | |||
| + | WARNING | ||||
| INFO | +|||||
| INFO | |||||
| IGNORE | +|||||
| IGNORE | |||||
| Reporting Missing @Deprecated Annotation (Reporting Missing @Deprecated Annotation (COMPILER_PB_MISSING_DEPRECATED_ANNOTATION) | |||||
| When enabled, the compiler will issue an error or a warning whenever encountering a + | |||||
| 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 | +ERROR | |||
| WARNING | +|||||
| WARNING | |||||
| INFO | +|||||
| INFO | |||||
| + | IGNORE | ||||
| Reporting Missing Javadoc Comments (Reporting Missing Javadoc Comments (COMPILER_PB_MISSING_JAVADOC_COMMENTS) | |||||
| This is the generic control for the severity of missing Javadoc comment problems. + | |||||
| 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 | +ERROR | |||
| WARNING | +|||||
| WARNING | |||||
| INFO | +|||||
| INFO | |||||
| + | IGNORE | ||||
| Reporting Missing Javadoc Comments on Overriding Methods (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 + | |||||
| Specify whether the compiler will verify overriding methods in order to report missing Javadoc comment problems. | -ENABLED | +ENABLED | |||
| + | DISABLED | ||||
| Visibility Level For Missing Javadoc Comments (Visibility Level For Missing Javadoc Comments (COMPILER_PB_MISSING_JAVADOC_COMMENTS_VISIBILITY) | |||||
| Set the minimum visibility level for missing Javadoc problems. Below this level + | |||||
| Set the minimum visibility level for missing Javadoc problems. Below this level problems will be ignored. | -PUBLIC | ||||
| + | PROTECTED | ||||
| DEFAULT | +|||||
| DEFAULT | |||||
| PRIVATE | +|||||
| PRIVATE | |||||
| Reporting missing tag description (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 + | |||||
| 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. @@ -1311,24 +1309,24 @@ Compiler Options"http://download.oracle.com/javase/6/docs/technotes/tools/windows/javadoc.html#javadoctags">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_ Compiler Options JAVADOC_TAG_DESCRIPTION_NO_TAG |
||||
| Reporting Missing Javadoc Tags (Reporting Missing Javadoc Tags (COMPILER_PB_MISSING_JAVADOC_TAGS) | |||||
| This is the generic control for the severity of Javadoc missing tag problems. When + | |||||
| 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 | +ERROR | |||
| WARNING | +|||||
| WARNING | |||||
| INFO | +|||||
| INFO | |||||
| + | IGNORE | ||||
| Reporting Missing Javadoc Tags on Overriding Methods (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 + | |||||
| Specify whether the compiler will verify overriding methods in order to report Javadoc missing tag problems. | -ENABLED | +ENABLED | |||
| + | DISABLED | ||||
| Reporting Missing Javadoc Tags for Method Type Parameters (Reporting Missing Javadoc Tags for Method Type Parameters (COMPILER_PB_MISSING_JAVADOC_TAGS_METHOD_TYPE_PARAMETERS) | |||||
Specify whether a missing @param for a type parameter in a method
+ | |||||
Specify whether a missing @param for a type parameter in a method
declaration should be reported. When enabled, the compiler will issue a missing Javadoc tag error
or warning for a type parameter without a corresponding @param tag.This option only has an effect if the compiler compliance is 1.5 or greater. |
-ENABLED | +ENABLED | |||
| + | DISABLED | ||||
| Visibility Level For Missing Javadoc Tags (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 + | |||||
| Set the minimum visibility level for Javadoc missing tag problems. Below this level problems will be ignored. | -PUBLIC | ||||
| + | PROTECTED | ||||
| DEFAULT | +|||||
| DEFAULT | |||||
| PRIVATE | +|||||
| PRIVATE | |||||
| Reporting Missing @Override Annotation (Reporting Missing @Override Annotation (COMPILER_PB_MISSING_OVERRIDE_ANNOTATION) | |||||
| When enabled, the compiler will issue an error or a warning whenever encountering a + | |||||
| 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 | +ERROR | |||
| WARNING | +|||||
| WARNING | |||||
| INFO | +|||||
| INFO | |||||
| + | IGNORE | ||||
Reporting Missing @Override Annotation For Interface Method
+ | Reporting Missing @Override Annotation For Interface Method
Implementation (COMPILER_PB_MISSING_OVERRIDE_ANNOTATION_FOR_INTERFACE_METHOD_IMPLEMENTATION) |
||||
| When enabled, the compiler will issue an error or a warning whenever encountering a + | When enabled, the compiler will issue an error or a warning whenever encountering a
method declaration which overrides or implements a superinterface method but has no
@Override annotation.This option only has an effect if the compiler compliance is 1.6 or greater. The severity of the problem is controlled with option COMPILER_PB_MISSING_OVERRIDE_ANNOTATION. |
-ENABLED | |||
| DISABLED | +|||||
| DISABLED | |||||
| Reporting Missing Declaration of serialVersionUID Field on Serializable + | 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 + | |||||
| 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 | +ERROR | |||
| + | WARNING | ||||
| INFO | +|||||
| INFO | |||||
| IGNORE | +|||||
| IGNORE | |||||
| Reporting Assignment with No Effect (Reporting Assignment with No Effect (COMPILER_PB_NO_EFFECT_ASSIGNMENT) | |||||
| When enabled, the compiler will issue an error or a warning whenever an assignment + | |||||
| When enabled, the compiler will issue an error or a warning whenever an assignment has no effect (e.g. 'x = x'). | -ERROR | +ERROR | |||
| + | WARNING | ||||
| INFO | +|||||
| INFO | |||||
| IGNORE | +|||||
| IGNORE | |||||
| Reporting Non-Externalized String Literal (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 + | |||||
| 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 | +ERROR | |||
| WARNING | +|||||
| WARNING | |||||
| INFO | +|||||
| INFO | |||||
| + | IGNORE | ||||
| Reporting Dropped Nonnull Parameter Annotations + | Reporting Dropped Nonnull Parameter Annotations (COMPILER_PB_NONNULL_PARAMETER_ANNOTATION_DROPPED) | ||||
| + | |||||
When enabled, the compiler will issue an error or a warning against a parameter of
a method that overrides an inherited method if all of the following hold:
Compiler OptionsIf that is not intended or possible, it is recommended to annotate the parameter as nullable, in order to make this (legal) change of contract explicit. |
-ERROR | +ERROR | |||
| + | WARNING | ||||
| INFO | +|||||
| INFO | |||||
| IGNORE | +|||||
| IGNORE | |||||
| Reporting Unsafe NonNull Interpretation Of Type Variables + | Reporting Unsafe NonNull Interpretation Of Type Variables (COMPILER_PB_NONNULL_TYPEVAR_FROM_LEGACY_INVOCATION) | ||||
| + | |||||
When enabled, the compiler will issue an error or a warning against a method call
if all of the following hold:
Compiler Options"../reference/api/org/eclipse/jdt/core/JavaCore.html#COMPILER_ANNOTATION_NULL_ANALYSIS">COMPILER_ANNOTATION_NULL_ANALYSIS is enabled and when the configured set of null annotations declares the targetTYPE_USE.
|
-ERROR | +ERROR | |||
| + | WARNING | ||||
| INFO | +|||||
| INFO | |||||
| IGNORE | +|||||
| IGNORE | |||||
| Reporting Null Dereference + | Reporting Null Dereference (COMPILER_PB_NULL_REFERENCE) | ||||
| When enabled, the compiler will issue an error or a warning whenever a variable + | |||||
| 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. Errors or warnings raised due to this option arising as a consequence of asserts can be controlled by COMPILER_PB_INCLUDE_ASSERTS_IN_NULL_ANALYSIS (java 1.4 and greater) |
-ERROR | +ERROR | |||
| + | WARNING | ||||
| INFO | +|||||
| INFO | |||||
| IGNORE | +|||||
| IGNORE | |||||
| Reporting unchecked conversion from a type with unknown nullness to a null annotated type (Reporting unchecked conversion from a type with unknown nullness to a null annotated type (COMPILER_PB_NULL_UNCHECKED_CONVERSION) | |||||
| When enabled, the compiler will issue an error or a warning whenever one of the + | |||||
When enabled, the compiler will issue an error or a warning whenever one of the
following situations is detected:
|
-ERROR | +ERROR | |||
| WARNING | +WARNING | ||||
| INFO | +|||||
| INFO | |||||
| + | IGNORE | ||||
| Reporting problems detected by pessimistic null analysis for free type variables (Reporting problems detected by pessimistic null analysis for free type variables (COMPILER_PB_PESSIMISTIC_NULL_ANALYSIS_FOR_FREE_TYPE_VARIABLES) | |||||
Unless set to "ignore", type variables not affected by any explicit null annotation are pessimistically analyzed
+ | |||||
Unless set to "ignore", type variables not affected by any explicit null annotation are pessimistically analyzed
in two directions: When reading a value of this type, it is assumed to be nullable. When this type appears as the required type
(i.e., at the left hand side of an assignment or variable initialization, or as the method return type against which a return statement
is being checked) the type is considered to require the nonnull property.
Problems reported due to this pessimistic analysis are reported with the level given in this option. |
-ERROR | +ERROR | |||
| WARNING | +WARNING | ||||
| INFO | +|||||
| INFO | |||||
| + | IGNORE | ||||
| Reporting Violations of Null Specifications (Reporting Violations of Null Specifications (COMPILER_PB_NULL_SPECIFICATION_VIOLATION) | |||||
| When enabled, the compiler will issue an error or a warning whenever one of the + | |||||
When enabled, the compiler will issue an error or a warning whenever one of the
following situations is detected:
Compiler Optionsshall interpret as nonnull or nullable annotations, respectively.This option only has an effect if the option COMPILER_ANNOTATION_NULL_ANALYSIS is enabled. |
-ERROR | +ERROR | |||
| + | WARNING | ||||
| Reporting Overriding Methods that do not call their super method invocation. + | 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 + | |||||
| When enabled, the compiler will issue an error or a warning if a method is overriding another method without calling the super invocation. | -ERROR | +ERROR | |||
| WARNING | +|||||
| WARNING | |||||
| INFO | +|||||
| INFO | |||||
| + | IGNORE | ||||
| Reporting + | Reporting Potential Null Dereference (COMPILER_PB_POTENTIAL_NULL_REFERENCE) | ||||
| When enabled, the compiler will issue an error or a warning whenever a variable + | |||||
| 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. Errors or warnings raised due to this option arising as a consequence of asserts can be controlled by COMPILER_PB_INCLUDE_ASSERTS_IN_NULL_ANALYSIS (java 1.4 and greater) |
-ERROR | +ERROR | |||
| WARNING | +|||||
| WARNING | |||||
| INFO | +|||||
| INFO | |||||
| + | IGNORE | ||||
| Reporting conflicts between declared null annotation and inferred null value (Reporting conflicts between declared null annotation and inferred null value (COMPILER_PB_NULL_ANNOTATION_INFERENCE_CONFLICT) | |||||
| When enabled, the compiler will issue an error or a warning whenever one of the + | |||||
When enabled, the compiler will issue an error or a warning whenever one of the
following situations is detected:
|
-ERROR | +ERROR | |||
| + | WARNING | ||||
| INFO | +|||||
| INFO | |||||
| IGNORE | +|||||
| IGNORE | |||||
| Reporting Redundant + | Reporting Redundant Null Check (COMPILER_PB_REDUNDANT_NULL_CHECK) | ||||
| When enabled, the compiler will issue an error or a warning whenever a variable + | |||||
| 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. Errors or warnings raised due to this option arising as a consequence of asserts can be controlled by COMPILER_PB_INCLUDE_ASSERTS_IN_NULL_ANALYSIS (java 1.4 and greater) |
-ERROR | +ERROR | |||
| WARNING | +|||||
| WARNING | |||||
| INFO | +|||||
| INFO | |||||
| + | IGNORE | ||||
| Reporting Redundant Null Annotations. (Reporting Redundant Null Annotations. (COMPILER_PB_REDUNDANT_NULL_ANNOTATION) | |||||
| When enabled, the compiler will issue an error or a warning when a non-null annotation + | |||||
When enabled, the compiler will issue an error or a warning when a non-null annotation
(see COMPILER_NONNULL_ANNOTATION_NAME)
is applied although the same effect is already achieved by a default applicable at the
current location. Such a default may be effective by using the annotation specified by the option
@@ -1824,25 +1822,25 @@ Compiler OptionsThis option only has an effect if the option COMPILER_ANNOTATION_NULL_ANALYSIS is enabled. |
-ERROR | +ERROR | |||
| + | WARNING | ||||
| INFO | +|||||
| INFO | |||||
| IGNORE | +|||||
| IGNORE | |||||
| Reporting missing default nullness annotation (Reporting missing default nullness annotation (COMPILER_PB_MISSING_NONNULL_BY_DEFAULT_ANNOTATION) | |||||
When enabled, the compiler will issue an error or a warning in the following cases: + | |||||
When enabled, the compiler will issue an error or a warning in the following cases:
Compiler OptionsThis option only has an effect if the option COMPILER_ANNOTATION_NULL_ANALYSIS is enabled. |
-ERROR | +ERROR | |||
| + | WARNING | ||||
| INFO | +|||||
| INFO | |||||
| IGNORE | +|||||
| IGNORE | |||||
| Reporting Redundant + | Reporting Redundant Specification of type arguments for generic class instance creation (COMPILER_PB_REDUNDANT_TYPE_ARGUMENTS) | ||||
| When enabled, the compiler will issue an error or a warning whenever type arguments + | |||||
| When enabled, the compiler will issue an error or a warning whenever type arguments
are specified in a generic instance creation expression, although the diamond operator '<>' could have
been used instead. (java 1.7 and greater) |
-ERROR | +ERROR | |||
| WARNING | +|||||
| WARNING | |||||
| INFO | +|||||
| INFO | |||||
| + | IGNORE | ||||
| Reporting Attempt to Override Package Visible Method (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 + | |||||
| 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 | +ERROR | |||
| + | WARNING | ||||
| INFO | +|||||
| INFO | |||||
| IGNORE | +|||||
| IGNORE | |||||
| Reporting Parameter Assignment (Reporting Parameter Assignment (COMPILER_PB_PARAMETER_ASSIGNMENT) | |||||
| When enabled, the compiler will issue an error or a warning if a parameter is + | |||||
| When enabled, the compiler will issue an error or a warning if a parameter is assigned to. | -ERROR | +ERROR | |||
| WARNING | +|||||
| WARNING | |||||
| INFO | +|||||
| INFO | |||||
| + | IGNORE | ||||
| Reporting Possible Accidental Boolean Assignment (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 + | |||||
| 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 | +ERROR | |||
| WARNING | +|||||
| WARNING | |||||
| INFO | +|||||
| INFO | |||||
| + | IGNORE | ||||
| Reporting Raw Type Reference (Reporting Raw Type Reference (COMPILER_PB_RAW_TYPE_REFERENCE) | |||||
| When enabled, the compiler will issue an error or a warning when detecting + | |||||
| 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 | +ERROR | |||
| + | WARNING | ||||
| INFO | +|||||
| INFO | |||||
| IGNORE | +|||||
| IGNORE | |||||
| Reporting Redundant Superinterface (Reporting Redundant Superinterface (COMPILER_PB_REDUNDANT_SUPERINTERFACE) | |||||
| When enabled, the compiler will issue an error or a warning if a type explicitly + | |||||
| 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 | +ERROR | |||
| WARNING | +|||||
| WARNING | |||||
| INFO | +|||||
| INFO | |||||
| + | IGNORE | ||||
| Reporting Special Parameter Hiding another Field (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 + | |||||
| 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 | +ENABLED | |||
| + | DISABLED | ||||
| Reporting Non-Static Reference to a Static Member (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 + | |||||
| When enabled, the compiler will issue an error or a warning whenever a static field or method is accessed with an expression receiver. | -ERROR | +ERROR | |||
| + | WARNING | ||||
| INFO | +|||||
| INFO | |||||
| IGNORE | +|||||
| IGNORE | |||||
Further Determining the Effect of @SuppressWarnings if also
+ | Further Determining the Effect of @SuppressWarnings if also
COMPILER_PB_SUPPRESS_WARNINGS is enabled. (COMPILER_PB_SUPPRESS_OPTIONAL_ERRORS) |
||||
When enabled, the @SuppressWarnings annotation can additionally be
+ | |||||
When enabled, the @SuppressWarnings annotation can additionally be
used to suppress optional compiler diagnostics that have been configured as ERROR.When disabled, all @SuppressWarnings annotations only affects warnings. |
-ENABLED | +ENABLED | |||
| + | DISABLED | ||||
| Determining Effect of @SuppressWarnings (Determining Effect of @SuppressWarnings (COMPILER_PB_SUPPRESS_WARNINGS) | |||||
| When enabled, the @SuppressWarnings annotation can be used to suppress some + | |||||
| When enabled, the @SuppressWarnings annotation can be used to suppress some
compile 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 | +|||||
| DISABLED | |||||
| Perform syntactic null analysis for fields (Perform syntactic null analysis for fields (COMPILER_PB_SYNTACTIC_NULL_ANALYSIS_FOR_FIELDS) | |||||
| When enabled, the compiler will detect certain syntactic constellations where + | |||||
| When enabled, the compiler will detect certain syntactic constellations where a null related warning against a field reference would normally be raised but can be suppressed at low risk given that the same field reference was known to be non-null immediately before. | -ENABLED | +ENABLED | |||
| DISABLED | +DISABLED | ||||
| Reporting Synthetic Access Emulation (Reporting Synthetic Access Emulation (COMPILER_PB_SYNTHETIC_ACCESS_EMULATION) | |||||
| When enabled, the compiler will issue an error or a warning whenever it emulates + | |||||
| 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 | +ERROR | |||
| WARNING | +|||||
| WARNING | |||||
| INFO | +|||||
| INFO | |||||
| + | IGNORE | ||||
| Reporting Type Parameter Declaration Hiding another Type (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 + | |||||
| When enabled, the compiler will issue an error or a warning whenever a type parameter declaration is hiding some type. | -ERROR | +ERROR | |||
| + | WARNING | ||||
| INFO | +|||||
| INFO | |||||
| IGNORE | +|||||
| IGNORE | |||||
| Reporting Unavoidable Generic Type Problems due to raw APIs (Reporting Unavoidable Generic Type Problems due to raw APIs (COMPILER_PB_UNAVOIDABLE_GENERIC_TYPE_PROBLEMS) | |||||
| When enabled, the compiler will issue an error or warning even when it detects a generics-related type problem + | |||||
| When enabled, the compiler will issue an error or warning even when it detects a generics-related type problem that could not have been avoided by the programmer, because a referenced API already contains raw types. As an example, a type may be forced to use raw types in its method signatures and return types because the methods it overrides from a super type are declared to use raw types in the first place. | -ENABLED | ||||
| DISABLED | +|||||
| DISABLED | |||||
| Reporting Unchecked Type Operation (Reporting Unchecked Type Operation (COMPILER_PB_UNCHECKED_TYPE_OPERATION) | |||||
| When enabled, the compiler will issue an error or a warning whenever an 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 | +ERROR | |||
| + | WARNING | ||||
| INFO | +|||||
| INFO | |||||
| IGNORE | +|||||
| IGNORE | |||||
| Reporting Unclosed Closeable (Reporting Unclosed Closeable (COMPILER_PB_UNCLOSED_CLOSEABLE) | |||||
| When enabled, the compiler will issue an error or a warning if + | |||||
When enabled, the compiler will issue an error or a warning if
a local variable holds a value of type java.lang.AutoCloseable (compliance >= 1.7)
or a value of type java.io.Closeable (compliance <= 1.6) and if
flow analysis shows that the method close() is not invoked locally on that value. |
-ERROR | +ERROR | |||
| + | WARNING | ||||
| INFO | +|||||
| INFO | |||||
| IGNORE | +|||||
| IGNORE | |||||
| Reporting Potentially Unclosed Closeable (Reporting Potentially Unclosed Closeable (COMPILER_PB_POTENTIALLY_UNCLOSED_CLOSEABLE) | |||||
| When enabled, the compiler will issue an error or a warning if + | |||||
When enabled, the compiler will issue an error or a warning if
a local variable holds a value of type java.lang.AutoCloseable (compliance >= 1.7)
or a value of type java.io.Closeable (compliance <= 1.6) and if
flow analysis shows that the method close() is
not invoked locally on that value for all execution paths. |
-ERROR | +ERROR | |||
| + | WARNING | ||||
| INFO | +|||||
| INFO | |||||
| IGNORE | +|||||
| IGNORE | |||||
| Reporting Explicitly Closed Closeable (Reporting Explicitly Closed Closeable (COMPILER_PB_EXPLICITLY_CLOSED_AUTOCLOSEABLE) | |||||
| When enabled, the compiler will issue an error or a warning if a local variable + | |||||
When enabled, the compiler will issue an error or a warning if a local variable
holds a value of type java.lang.AutoCloseable, and if the method
close() is explicitly invoked on that resource, but the resource is
not managed by a try-with-resources block. |
-ERROR | +ERROR | |||
| + | WARNING | ||||
| INFO | -|||||
| IGNORE | +|||||
| INFO | +|||||
| IGNORE | |||||
| Reporting a method invocation providing an argument of an unlikely type (Reporting a method invocation providing an argument of an unlikely type (COMPILER_PB_UNLIKELY_COLLECTION_METHOD_ARGUMENT_TYPE) | |||||
| When enabled, the compiler will issue an error or warning when certain well-known + | |||||
When enabled, the compiler will issue an error or warning when certain well-known
Collection methods that take an 'Object', like e.g. Map.get(Object), are used with an
argument type that seems to be not related to the corresponding type argument of the Collection. |
-ERROR | +ERROR | |||
| + | WARNING | ||||
| INFO | -|||||
| IGNORE | +|||||
| INFO | +|||||
| IGNORE | |||||
| Perform strict analysis against the expected type of collection methods (Perform strict analysis against the expected type of collection methods (COMPILER_PB_UNLIKELY_COLLECTION_METHOD_ARGUMENT_TYPE_STRICT) | |||||
| This is a sub-option of + | |||||
| This is a sub-option of COMPILER_PB_UNLIKELY_COLLECTION_METHOD_ARGUMENT_TYPE, which will replace the heuristics with strict compatibility checks, i.e., each argument that is not strictly compatible with the expected type will trigger an error or warning. | -ENABLED | ||||
| DISABLED | +|||||
| DISABLED | |||||
| Reporting a method invocation providing an argument of an unlikely type to method 'equals' (Reporting a method invocation providing an argument of an unlikely type to method 'equals' (COMPILER_PB_UNLIKELY_EQUALS_ARGUMENT_TYPE) | |||||
When enabled, the compiler will issue an error or warning when java.lang.Object.equals(Object)
+ | |||||
When enabled, the compiler will issue an error or warning when java.lang.Object.equals(Object)
is used with an argument type that seems to be not related to the receiver's type,
or correspondingly when the arguments of java.util.Objects.equals(Object, Object)
have types that seem to be not related to each other. |
-ERROR | +ERROR | |||
| + | WARNING | ||||
| INFO | -|||||
| IGNORE | +|||||
| INFO | +|||||
| IGNORE | |||||
| Reporting when public API uses a non-API type (Reporting when public API uses a non-API type (COMPILER_PB_API_LEAKS) | |||||
| When enabled, the compiler will issue an error or warning when public API + | |||||
| When enabled, the compiler will issue an error or warning when public API mentions a type that is not accessible to clients. | -ERROR | +ERROR | |||
| + | WARNING | ||||
| INFO | -|||||
| IGNORE | +|||||
| INFO | +|||||
| IGNORE | |||||
| Reporting Undocumented Empty Block (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 + | |||||
| 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 | +ERROR | |||
| WARNING | +|||||
| WARNING | |||||
| INFO | +|||||
| INFO | |||||
| + | IGNORE | ||||
| Reporting Unhandled Warning Token for @SuppressWarnings (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 + | |||||
| When enabled, the compiler will issue an error or a warning when encountering a token it cannot handle inside a @SuppressWarnings annotation. | -ERROR | +ERROR | |||
| + | WARNING | ||||
| INFO | +|||||
| INFO | |||||
| IGNORE | +|||||
| IGNORE | |||||
| Reporting Unnecessary Else (Reporting Unnecessary Else (COMPILER_PB_UNNECESSARY_ELSE) | |||||
| When enabled, the compiler will issue an error or a warning when a statement is + | |||||
| 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 | +ERROR | |||
| WARNING | +|||||
| WARNING | |||||
| INFO | +|||||
| INFO | |||||
| + | IGNORE | ||||
| Reporting Unnecessary Type Check (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 + | |||||
| When enabled, the compiler will issue an error or a warning when a cast or an instanceof operation is unnecessary. | -ERROR | +ERROR | |||
| WARNING | +|||||
| WARNING | |||||
| INFO | +|||||
| INFO | |||||
| + | IGNORE | ||||
| Reporting Unqualified Access to Field (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 + | |||||
| 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 | +ERROR | |||
| WARNING | +|||||
| WARNING | |||||
| INFO | +|||||
| INFO | |||||
| + | IGNORE | ||||
| Reporting Unused Declared Thrown Exception (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 + | |||||
| 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 Options UNUSED_DECLARED_THROWN_EXCEPTION_ WHEN_OVERRIDING. |
-ERROR | +ERROR | |||
| WARNING | +|||||
| WARNING | |||||
| INFO | +|||||
| INFO | |||||
| + | IGNORE | ||||
| Reporting Unused Declared Thrown Exception Exempts Exception And Throwable + | 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 + | |||||
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
@@ -2482,20 +2480,20 @@ Compiler OptionsUNUSED_DECLARED_THROWN_EXCEPTION_ WHEN_OVERRIDING. |
-ENABLED | ||||
| DISABLED | +|||||
| DISABLED | |||||
| Consider Reference in Doc Comment for Unused Declared Thrown Exception Check + | 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. + | |||||
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 Options UNUSED_DECLARED_THROWN_EXCEPTION_ WHEN_OVERRIDING. |
-ENABLED | ||||
| DISABLED | +DISABLED | ||||
| Reporting Unused Declared Thrown Exception in Overriding Method (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 + | |||||
| 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_ @@ -2560,391 +2558,391 @@ Compiler OptionsUNUSED_DECLARED_THROWN_EXCEPTION_ INCLUDE_DOC_COMMENT_REFERENCE. |
-ENABLED | +ENABLED | |||
| + | DISABLED | ||||
| Reporting Unreferenced Label (Reporting Unreferenced Label (COMPILER_PB_UNUSED_LABEL) | |||||
| When enabled, the compiler will issue an error or a warning when encountering a + | |||||
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 | +ERROR | |||
| + | WARNING | ||||
| INFO | +|||||
| INFO | |||||
| IGNORE | +|||||
| IGNORE | |||||
| Reporting Unused Type Parameter (Reporting Unused Type Parameter (COMPILER_PB_UNUSED_TYPE_PARAMETER) | |||||
| When enabled, the compiler will issue an error or a warning for unused type parameter. | -ERROR | +||||
| When enabled, the compiler will issue an error or a warning for unused type parameter. | +ERROR | ||||
| + | WARNING | ||||
| INFO | +|||||
| INFO | |||||
| IGNORE | +|||||
| IGNORE | |||||
| Reporting Unused Import (Reporting Unused Import (COMPILER_PB_UNUSED_IMPORT) | |||||
| When enabled, the compiler will issue an error or a warning for unused import + | |||||
| When enabled, the compiler will issue an error or a warning for unused import reference. | -ERROR | +ERROR | |||
| + | WARNING | ||||
| INFO | +|||||
| INFO | |||||
| IGNORE | +|||||
| IGNORE | |||||
| Reporting Unused Local (Reporting Unused Local (COMPILER_PB_UNUSED_LOCAL) | |||||
| When enabled, the compiler will issue an error or a warning for unused local + | |||||
| When enabled, the compiler will issue an error or a warning for unused local variables (i.e. variables never read from). | -ERROR | +ERROR | |||
| + | WARNING | ||||
| INFO | +|||||
| INFO | |||||
| + | IGNORE | ||||
| Reporting Allocation of an Unused Object (Reporting Allocation of an Unused Object (COMPILER_PB_UNUSED_OBJECT_ALLOCATION) | |||||
| When enabled, the compiler will issue an error or a warning if an object is + | |||||
| When enabled, the compiler will issue an error or a warning if an object is allocated but never used, neither by holding a reference nor by invoking one of the object's methods. | -ERROR | +ERROR | |||
| WARNING | +|||||
| WARNING | |||||
| INFO | +|||||
| INFO | |||||
| + | IGNORE | ||||
| Reporting Unused Parameter (Reporting Unused Parameter (COMPILER_PB_UNUSED_PARAMETER) | |||||
| When enabled, the compiler will issue an error or a warning for unused method + | |||||
| When enabled, the compiler will issue an error or a warning for unused method parameters (i.e. parameters never read from). | -ERROR | +ERROR | |||
| WARNING | +|||||
| WARNING | |||||
| INFO | +|||||
| INFO | |||||
| + | IGNORE | ||||
| Reporting Unused Parameter if Implementing Abstract Method (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 + | |||||
| When enabled, the compiler will signal unused parameters in abstract method implementations. | -ENABLED | +ENABLED | |||
| + | DISABLED | ||||
| Reporting Unused Parameter if Overriding Concrete Method (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 + | |||||
| When enabled, the compiler will signal unused parameters in methods overriding concrete ones. | -ENABLED | +ENABLED | |||
| + | DISABLED | ||||
| Consider Reference in Doc Comment for Unused Parameter Check (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. + | |||||
| 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 | +|||||
| DISABLED | |||||
| Reporting Unused Exception Parameter (Reporting Unused Exception Parameter (COMPILER_PB_UNUSED_EXCEPTION_PARAMETER) | |||||
| When enabled, the compiler will issue an error or a warning for unused exception + | |||||
| When enabled, the compiler will issue an error or a warning for unused exception parameters (that is, the thrown exception is never read from). | -ERROR | +ERROR | |||
| WARNING | +|||||
| WARNING | |||||
| INFO | +|||||
| INFO | |||||
| + | IGNORE | ||||
| Reporting Unused Private Members (Reporting Unused Private Members (COMPILER_PB_UNUSED_PRIVATE_MEMBER) | |||||
| When enabled, the compiler will issue an error or a warning whenever a private + | |||||
| 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 | +ERROR | |||
| + | WARNING | ||||
| INFO | +|||||
| INFO | |||||
| IGNORE | +|||||
| IGNORE | |||||
| Reporting Presence of Type Arguments for a Non-Generic Method Invocation + | 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 + | |||||
| 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 | +ERROR | |||
| + | WARNING | ||||
| INFO | +|||||
| INFO | |||||
| IGNORE | +|||||
| IGNORE | |||||
Reporting Unnecessary @SuppressWarnings (Reporting Unnecessary @SuppressWarnings (COMPILER_PB_UNUSED_WARNING_TOKEN) |
|||||
| When enabled, the compiler will issue an error or a warning when encountering a + | |||||
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 | +ERROR | |||
| + | WARNING | ||||
| INFO | +|||||
| INFO | |||||
| IGNORE | +|||||
| IGNORE | |||||
| Reporting Varargs Argument Needing a Cast in Method/Constructor Inv + | 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 + | 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 | +ERROR | ||
| + | WARNING | ||||
| INFO | +|||||
| INFO | |||||
| IGNORE | +|||||
| IGNORE | |||||
| Setting Source Compatibility Mode (Setting Source Compatibility Mode (COMPILER_SOURCE) | |||||
| Specify the compatibility level of the Java source code. + | |||||
| 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 | ||||
| + | VERSION_1_8 | ||||
| + | VERSION_9 | ||||
| + | VERSION_10 | ||||
| + | VERSION_11 | ||||
| + | VERSION_12 | ||||
| + | VERSION_13 | ||||
| + | VERSION_14 | ||||
| + | VERSION_15 | ||||
| Generating Source Debug Attribute (Generating Source Debug Attribute (COMPILER_SOURCE_FILE_ATTR) | |||||
| When generated, this attribute will enable the debugger to present the + | |||||
| 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 (Determine whether task tags are case-sensitive (COMPILER_TASK_CASE_SENSITIVE) | |||||
| When enabled, task tags are considered in a case-sensitive way. | -+ | When enabled, task tags are considered in a case-sensitive way. | +ENABLED | ||
| DISABLED | +|||||
| DISABLED | |||||
| Define the Automatic Task Priorities (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. |
-{<priority>[,<priority>]*}. + | {<priority>[,<priority>]*}. Default value is "NORMAL,HIGH, NORMAL" |
|||
| Define the Automatic Task Tags (Define the Automatic Task Tags (COMPILER_TASK_TAGS) | |||||
| When the tag list is not empty, the compiler will issue a task marker whenever it + | |||||
| 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. @@ -2978,7 +2976,7 @@ Compiler Optionstag 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>]*}. + | {<tag>[,<tag>]*}. Default value is "TODO,FIXME, XXX" |
|||
| Compliance | -Target | -Source | +Compliance | +Target | +Source |
|---|---|---|---|---|---|
| 1.7 | -1.7 | -1.7, 1.6, 1.5, 1.4, 1.3 | +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.6 | +1.6, 1.5, 1.4, 1.3 | ||
| 1.5 | -1.5, 1.4, 1.3 | +1.5 | +1.5, 1.4, 1.3 | ||
| 1.4 | -1.4, 1.3 | +1.4 | +1.4, 1.3 | ||
| 1.3, 1.2, 1.1 | -1.3 | +1.3, 1.2, 1.1 | +1.3 | ||
| 1.6 | -1.6 | -1.6, 1.5, 1.4, 1.3 | +1.6 | +1.6 | +1.6, 1.5, 1.4, 1.3 |
| 1.5 | -1.5, 1.4, 1.3 | +1.5 | +1.5, 1.4, 1.3 | ||
| 1.4 | -1.4, 1.3 | +1.4 | +1.4, 1.3 | ||
| 1.3, 1.2, 1.1 | -1.3 | +1.3, 1.2, 1.1 | +1.3 | ||
| 1.5 | -1.5 | -1.5, 1.4, 1.3 | +1.5 | +1.5 | +1.5, 1.4, 1.3 |
| 1.4 | -1.4, 1.3 | +1.4 | +1.4, 1.3 | ||
| 1.3, 1.2, 1.1 | +1.3, 1.2, 1.1 | -1.3 | +1.3 | ||
| 1.4 | -1.4 | -1.4, 1.3 | +1.4 | +1.4 | +1.4, 1.3 |
| 1.3, 1.2, 1.1, cldc1.1 | -1.3 | +1.3, 1.2, 1.1, cldc1.1 | +1.3 | ||
| 1.3 | -1.3, 1.2, 1.1, cldc1.1 | -1.3 | +1.3 | +1.3, 1.2, 1.1, cldc1.1 | +1.3 |
| Description | +Description | -Values | +Values |
|---|---|---|---|
| Cleaning Output Folder(s) (Cleaning Output Folder(s) (CORE_JAVA_BUILD_CLEAN_OUTPUT_FOLDER) | |||
| Indicate whether the JavaBuilder is allowed to clean the output folders when + | |||
| Indicate whether the JavaBuilder is allowed to clean the output folders when performing full build operations. | -CLEAN | ||
| IGNORE | +|||
| IGNORE | |||
| Reporting Duplicate Resources (Reporting Duplicate Resources (CORE_JAVA_BUILD_DUPLICATE_RESOURCE) | |||
| Indicate the severity of the problem reported when more than one occurrence of a + | |||
| 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 | +ERROR | |
| + | WARNING | ||
| Abort if Invalid Classpath (Abort if Invalid Classpath (CORE_JAVA_BUILD_INVALID_CLASSPATH) | |||
| Instruct the builder to abort if the classpath is invalid. | -+ | Instruct the builder to abort if the classpath is invalid. | +ABORT |
| IGNORE | +|||
| IGNORE | |||
| Computing Project Build Order (Computing Project Build Order (CORE_JAVA_BUILD_ORDER) | |||
| Indicate whether JavaCore should enforce the project build order to be based on the + | |||
| 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 | +COMPUTE | |
| + | IGNORE | ||
| Recreate Modified class files in Output Folder (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 + | |||
| 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 | +ENABLE | |
| + | IGNORE | ||
| Specifying Filters for Resource Copying Control (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 + | |||
| 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 output folder.) | -{<name>[,<name>]*}. + | {<name>[,<name>]*}. Default value is "" |
|
| Description | -Values | +Description | +Values |
|---|---|---|---|
| Reporting Classpath Cycle (Reporting Classpath Cycle (CORE_CIRCULAR_CLASSPATH) | |||
| Indicate the severity of the problem reported when a project is involved in a + | |||
| Indicate the severity of the problem reported when a project is involved in a cycle. | -ERROR | ||
| WARNING | +|||
| WARNING | |||
| Enabling Usage of Classpath Exclusion Patterns (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 + | |||
| When set to "disabled", no entry on a project classpath can be associated with an exclusion or inclusion pattern. | -ENABLED | ||
| DISABLED | +|||
| DISABLED | |||
| Enabling Usage of Classpath Multiple Output Locations (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 + | |||
| 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 | +|||
| DISABLED | |||
| Reporting an output location overlapping another source location (Reporting an output location overlapping another source location (CORE_OUTPUT_LOCATION_OVERLAPPING_ANOTHER_SOURCE) | |||
| Indicate the severity of the problem reported when a source entry's output location overlaps another + | |||
| Indicate the severity of the problem reported when a source entry's output location overlaps another source entry. | -ERROR | ||
| WARNING | +|||
| WARNING | |||
| INFO | +|||
| INFO | |||
| + | IGNORE | ||
| Default Source Encoding Format (Default Source Encoding Format (CORE_ENCODING) | |||
| Get the default encoding format of source files. This value is immutable and preset + | |||
| 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. | +Immutable, preset to the platform default. | |
| Reporting Incompatible JDK Level for Required Binaries (Reporting Incompatible JDK Level for Required Binaries (CORE_INCOMPATIBLE_JDK_LEVEL) | |||
| Indicate the severity of the problem reported when a project prerequisites another + | |||
| 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 | +ERROR | |
| WARNING | +|||
| WARNING | |||
| INFO | +|||
| INFO | |||
| + | IGNORE | ||
| Reporting Incomplete Classpath (Reporting Incomplete Classpath (CORE_INCOMPLETE_CLASSPATH) | |||
| When enabled, the compiler will activate the preview language features of + | |||
| When enabled, the compiler will activate the preview language features of the latest Java version. | -ENABLED | ||
| DISABLED | +|||
| DISABLED | |||
| Enable support for preview language features + | Enable support for preview language features (COMPILER_PB_ENABLE_PREVIEW_FEATURES) | ||
| When enabled, the compiler will issue a warning when a preview feature is used. | -When enabled, the compiler will issue a warning when a preview feature is used. | +WARNING | |
| INFO | +|||
| INFO | |||
| IGNORE | +|||
| IGNORE | |||
| Set the severity of reporting when a preview feature is used. + | Set the severity of reporting when a preview feature is used. (COMPILER_PB_REPORT_PREVIEW_FEATURES) | ||
| Indicate the severity of the problem reported when an entry on the 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 | +|||
| WARNING | |||
| Ignore Unnamed Module for Split Package + | Ignore Unnamed Module for Split Package (COMPILER_IGNORE_UNNAMED_MODULE_FOR_SPLIT_PACKAGE) | ||
| With this option the compiler will deliberately accept programs violating JLS in a specific way. Instead the compiler will behave in accordance to the original, but unmaintained document "The State of the Module System" which indicates that different semantics had been intended. + | With this option the compiler will deliberately accept programs violating JLS in a specific way. Instead the compiler will behave in accordance to the original, but unmaintained document "The State of the Module System" which indicates that different semantics had been intended. | -ENABLED | |
| DISABLED | +|||
| DISABLED | |||
| Set the timeout value for retrieving a method's parameter names from javadoc + | 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. + | |||
| 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. + | A positive or null integer. Default is "50". |
|
| Set Java formatter name + | Set Java formatter name (JAVA_FORMATTER) | ||
| Name of the Java formatter to be used for formatting Java code. |
-A non-null, non-empty Sring value. + | ||
| Name of the Java formatter to be used for formatting Java code. |
+A non-null, non-empty Sring value. Default is "org.eclipse.jdt.core.defaultJavaFormatter". |
||
| Description | -Values | +Description | +Values |
|---|---|---|---|
| Option to align type members of a type declaration on column (Option to align type members of a type declaration on column (FORMATTER_ALIGN_TYPE_MEMBERS_ON_COLUMNS) | |||
| Possible values | -+ | Possible values | +TRUE |
| + | FALSE | ||
| Option for alignment of arguments in allocation expression (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 |
+||
| Possible value | +values returned by createAlignmentValue(boolean, int, int) call |
||
| Default value | -createAlignmentValue(false, WRAP_COMPACT, INDENT_DEFAULT) | +||
| Default value | +createAlignmentValue(false, WRAP_COMPACT, INDENT_DEFAULT) | ||
| Option for alignment of arguments in enum constant (Option for alignment of arguments in enum constant (FORMATTER_ALIGNMENT_FOR_ARGUMENTS_IN_ENUM_CONSTANT) | |||
| Possible value | +|||
| Possible value | -values returned by createAlignmentValue(boolean, int, int) call |
+values returned by createAlignmentValue(boolean, int, int) call |
|
| Default value | -createAlignmentValue(false, WRAP_COMPACT, INDENT_DEFAULT) | +||
| Default value | +createAlignmentValue(false, WRAP_COMPACT, INDENT_DEFAULT) | ||
| Option for alignment of arguments in annotation (Option for alignment of arguments in annotation (FORMATTER_ALIGNMENT_FOR_ARGUMENTS_IN_ANNOTATION) | |||
| Possible value | -values returned by createAlignmentValue(boolean, int, int) call |
+||
| Possible value | +values returned by createAlignmentValue(boolean, int, int) call |
||
| Default value | -createAlignmentValue(false, WRAP_NO_SPLIT, INDENT_DEFAULT) | +||
| Default value | +createAlignmentValue(false, WRAP_NO_SPLIT, INDENT_DEFAULT) | ||
| Option for alignment of arguments in explicit constructor call (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 |
+||
| Possible value | +values returned by createAlignmentValue(boolean, int, int) call |
||
| Default value | -createAlignmentValue(false, WRAP_COMPACT, INDENT_DEFAULT) | +Default value | +createAlignmentValue(false, WRAP_COMPACT, INDENT_DEFAULT) |
| Option for alignment of arguments in method invocation (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 |
+||
| Possible value | +values returned by createAlignmentValue(boolean, int, int) call |
||
| Default value | -createAlignmentValue(false, WRAP_COMPACT, INDENT_DEFAULT) | +||
| Default value | +createAlignmentValue(false, WRAP_COMPACT, INDENT_DEFAULT) | ||
| Option for alignment of arguments in qualified allocation expression + | Option for alignment of arguments in qualified allocation expression (FORMATTER_ALIGNMENT_FOR_ARGUMENTS_IN_QUALIFIED_ALLOCATION_EXPRESSION) | ||
| Possible value | +|||
| Possible value | -values returned by createAlignmentValue(boolean, int, int) call |
+values returned by createAlignmentValue(boolean, int, int) call |
|
| Default value | -createAlignmentValue(false, WRAP_COMPACT, INDENT_DEFAULT) | +||
| Default value | +createAlignmentValue(false, WRAP_COMPACT, INDENT_DEFAULT) | ||
| Option for alignment of arguments in try with resources statement (Option for alignment of arguments in try with resources statement (FORMATTER_ALIGNMENT_FOR_RESOURCES_IN_TRY) | |||
| Possible value | -values returned by createAlignmentValue(boolean, int, int) call |
+||
| Possible value | +values returned by createAlignmentValue(boolean, int, int) call |
||
| Default value | -createAlignmentValue(false, WRAP_NEXT_PER_LINE, INDENT_DEFAULT) | +||
| Default value | +createAlignmentValue(false, WRAP_NEXT_PER_LINE, INDENT_DEFAULT) | ||
| Option for alignment of union type in multi-catch expression (Option for alignment of union type in multi-catch expression (FORMATTER_ALIGNMENT_FOR_UNION_TYPE_IN_MULTICATCH) | |||
| Possible value | -values returned by createAlignmentValue(boolean, int, int) call |
+||
| Possible value | +values returned by createAlignmentValue(boolean, int, int) call |
||
| Default value | -createAlignmentValue(false, WRAP_COMPACT, INDENT_DEFAULT) | +||
| Default value | +createAlignmentValue(false, WRAP_COMPACT, INDENT_DEFAULT) | ||
| Option for alignment of assignment (Option for alignment of assignment (FORMATTER_ALIGNMENT_FOR_ASSIGNMENT) | |||
| Possible value | -values returned by createAlignmentValue(boolean, int, int) call |
+||
| Possible value | +values returned by createAlignmentValue(boolean, int, int) call |
||
| Default value | -createAlignmentValue(false, 0, INDENT_DEFAULT) | +||
| Default value | +createAlignmentValue(false, 0, INDENT_DEFAULT) | ||
| Option for alignment of binary expression (Option for alignment of binary expression (FORMATTER_ALIGNMENT_FOR_BINARY_EXPRESSION) | |||
| Possible value | -values returned by createAlignmentValue(boolean, int, int) call |
+||
| Possible value | +values returned by createAlignmentValue(boolean, int, int) call |
||
| Default value | -createAlignmentValue(false, WRAP_COMPACT, INDENT_DEFAULT) | +Default value | +createAlignmentValue(false, WRAP_COMPACT, INDENT_DEFAULT) |
| Option for alignment of compact if (Option for alignment of compact if (FORMATTER_ALIGNMENT_FOR_COMPACT_IF) | |||
| Possible value | -values returned by createAlignmentValue(boolean, int, int) call |
+||
| Possible value | +values returned by createAlignmentValue(boolean, int, int) call |
||
| Default value | -createAlignmentValue(false, WRAP_ONE_PER_LINE, INDENT_BY_ONE) | +||
| Default value | +createAlignmentValue(false, WRAP_ONE_PER_LINE, INDENT_BY_ONE) | ||
| Option for alignment of conditional expression (Option for alignment of conditional expression (FORMATTER_ALIGNMENT_FOR_CONDITIONAL_EXPRESSION) | |||
| Possible value | +|||
| Possible value | -values returned by createAlignmentValue(boolean, int, int) call |
+values returned by createAlignmentValue(boolean, int, int) call |
|
| Default value | -createAlignmentValue(false, WRAP_ONE_PER_LINE, INDENT_DEFAULT) | +||
| Default value | +createAlignmentValue(false, WRAP_ONE_PER_LINE, INDENT_DEFAULT) | ||
| Option for alignment of enum constants (Option for alignment of enum constants (FORMATTER_ALIGNMENT_FOR_ENUM_CONSTANTS) | |||
| Possible value | -values returned by createAlignmentValue(boolean, int, int) call |
+||
| Possible value | +values returned by createAlignmentValue(boolean, int, int) call |
||
| Default value | -createAlignmentValue(false, WRAP_NO_SPLIT, INDENT_DEFAULT) | +||
| Default value | +createAlignmentValue(false, WRAP_NO_SPLIT, INDENT_DEFAULT) | ||
| Option for alignment of expressions in array initializer (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 |
+||
| Possible value | +values returned by createAlignmentValue(boolean, int, int) call |
||
| Default value | -createAlignmentValue(false, WRAP_COMPACT, INDENT_DEFAULT) | +Default value | +createAlignmentValue(false, WRAP_COMPACT, INDENT_DEFAULT) |
| Option for alignment of method declaration (Option for alignment of method declaration (FORMATTER_ALIGNMENT_FOR_METHOD_DECLARATION) | |||
| Possible value | -values returned by createAlignmentValue(boolean, int, int) call |
+||
| Possible value | +values returned by createAlignmentValue(boolean, int, int) call |
||
| Default value | -createAlignmentValue(false, WRAP_COMPACT, INDENT_DEFAULT) | +||
| Default value | +createAlignmentValue(false, WRAP_COMPACT, INDENT_DEFAULT) | ||
| Option for alignment of multiple fields (Option for alignment of multiple fields (FORMATTER_ALIGNMENT_FOR_MULTIPLE_FIELDS) | |||
| Possible value | +|||
| Possible value | -values returned by createAlignmentValue(boolean, int, int) call |
+values returned by createAlignmentValue(boolean, int, int) call |
|
| Default value | -createAlignmentValue(false, WRAP_COMPACT, INDENT_DEFAULT) | +||
| Default value | +createAlignmentValue(false, WRAP_COMPACT, INDENT_DEFAULT) | ||
| Option for alignment of parameters in constructor declaration (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 |
+||
| Possible value | +values returned by createAlignmentValue(boolean, int, int) call |
||
| Default value | -createAlignmentValue(false, WRAP_COMPACT, INDENT_DEFAULT) | +||
| Default value | +createAlignmentValue(false, WRAP_COMPACT, INDENT_DEFAULT) | ||
| Option for alignment of parameters in method declaration (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 |
+||
| Possible value | +values returned by createAlignmentValue(boolean, int, int) call |
||
| Default value | -createAlignmentValue(false, WRAP_COMPACT, INDENT_DEFAULT) | +Default value | +createAlignmentValue(false, WRAP_COMPACT, INDENT_DEFAULT) |
| Option for alignment of selector in method invocation (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 |
+||
| Possible value | +values returned by createAlignmentValue(boolean, int, int) call |
||
| Default value | -createAlignmentValue(false, WRAP_COMPACT, INDENT_DEFAULT) | +||
| Default value | +createAlignmentValue(false, WRAP_COMPACT, INDENT_DEFAULT) | ||
| Option for alignment of superclass in type declaration (Option for alignment of superclass in type declaration (FORMATTER_ALIGNMENT_FOR_SUPERCLASS_IN_TYPE_DECLARATION) | |||
| Possible value | +|||
| Possible value | -values returned by createAlignmentValue(boolean, int, int) call |
+values returned by createAlignmentValue(boolean, int, int) call |
|
| Default value | -createAlignmentValue(false, WRAP_NEXT_SHIFTED, INDENT_DEFAULT) | +||
| Default value | +createAlignmentValue(false, WRAP_NEXT_SHIFTED, INDENT_DEFAULT) | ||
| Option for alignment of superinterfaces in enum declaration (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 |
+||
| Possible value | +values returned by createAlignmentValue(boolean, int, int) call |
||
| Default value | -createAlignmentValue(false, WRAP_COMPACT, INDENT_DEFAULT) | +||
| Default value | +createAlignmentValue(false, WRAP_COMPACT, INDENT_DEFAULT) | ||
| Option for alignment of superinterfaces in type declaration (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 |
+||
| Possible value | +values returned by createAlignmentValue(boolean, int, int) call |
||
| Default value | -createAlignmentValue(false, WRAP_COMPACT, INDENT_DEFAULT) | +Default value | +createAlignmentValue(false, WRAP_COMPACT, INDENT_DEFAULT) |
| Option for alignment of throws clause in constructor declaration + | 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 |
+||
| Possible value | +values returned by createAlignmentValue(boolean, int, int) call |
||
| Default value | -createAlignmentValue(false, WRAP_COMPACT, INDENT_DEFAULT) | +||
| Default value | +createAlignmentValue(false, WRAP_COMPACT, INDENT_DEFAULT) | ||
| Option for alignment of throws clause in method declaration (Option for alignment of throws clause in method declaration (FORMATTER_ALIGNMENT_FOR_THROWS_CLAUSE_IN_METHOD_DECLARATION) | |||
| Possible value | +|||
| Possible value | -values returned by createAlignmentValue(boolean, int, int) call |
+values returned by createAlignmentValue(boolean, int, int) call |
|
| Default value | -createAlignmentValue(false, WRAP_COMPACT, INDENT_DEFAULT) | +||
| Default value | +createAlignmentValue(false, WRAP_COMPACT, INDENT_DEFAULT) | ||
| Option to add blank lines after the imports declaration (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 | +||
| Possible value | +"<n>", where n is zero or a positive integer | ||
| Default value | -"0" | +||
| Default value | +"0" | ||
| Option to add blank lines after the package declaration (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 | +||
| Possible value | +"<n>", where n is zero or a positive integer | ||
| Default value | -"0" | +||
| Default value | +"0" | ||
| Option to add blank lines at the beginning of the method body (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 | +||
| Possible value | +"<n>", where n is zero or a positive integer | ||
| Default value | -"0" | +||
| Default value | +"0" | ||
| Option to add blank lines before a field declaration (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 | +||
| Possible value | +"<n>", where n is zero or a positive integer | ||
| Default value | -"0" | +||
| Default value | +"0" | ||
| Option to add blank lines before the first class body declaration + | 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 | +||
| Possible value | +"<n>", where n is zero or a positive integer | ||
| Default value | -"0" | +||
| Default value | +"0" | ||
| Option to add blank lines before the imports declaration (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 | +||
| Possible value | +"<n>", where n is zero or a positive integer | ||
| Default value | -"0" | +||
| Default value | +"0" | ||
| Option to add blank lines before a member type declaration (Option to add blank lines before a member type declaration (FORMATTER_BLANK_LINES_BEFORE_MEMBER_TYPE) | |||
| Possible value | +|||
| Possible value | -"<n>", where n is zero or a positive integer | +"<n>", where n is zero or a positive integer | |
| Default value | -"0" | +||
| Default value | +"0" | ||
| Option to add blank lines before a method declaration (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 | +||
| Possible value | +"<n>", where n is zero or a positive integer | ||
| Default value | -"0" | +||
| Default value | +"0" | ||
| Option to add blank lines before a new chunk (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 | +||
| Possible value | +"<n>", where n is zero or a positive integer | ||
| Default value | -"0" | +||
| Default value | +"0" | ||
| Option to add blank lines before the package declaration (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 | +||
| Possible value | +"<n>", where n is zero or a positive integer | ||
| Default value | -"0" | +||
| Default value | +"0" | ||
| Option to add blank lines between import groups (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 | +||
| Possible value | +"<n>", where n is zero or a positive integer | ||
| Default value | -"1" | +||
| Default value | +"1" | ||
| Option to add blank lines between type declarations (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 | +||
| Possible value | +"<n>", where n is zero or a positive integer | ||
| Default value | -"0" | +||
| Default value | +"0" | ||
| Option to position the braces of an annotation type declaration (Option to position the braces of an annotation type declaration (FORMATTER_BRACE_POSITION_FOR_ANNOTATION_TYPE_DECLARATION) | |||
| Possible values | -+ | Possible values | +END_OF_LINE |
| + | NEXT_LINE | ||
| + | NEXT_LINE_SHIFTED | ||
| + | NEXT_LINE_ON_WRAP | ||
| Option to position the braces of an anonymous type declaration (Option to position the braces of an anonymous type declaration (FORMATTER_BRACE_POSITION_FOR_ANONYMOUS_TYPE_DECLARATION) | |||
| Possible values | -+ | Possible values | +END_OF_LINE |
| + | NEXT_LINE | ||
| + | NEXT_LINE_SHIFTED | ||
| + | NEXT_LINE_ON_WRAP | ||
| Option to position the braces of an array initializer (Option to position the braces of an array initializer (FORMATTER_BRACE_POSITION_FOR_ARRAY_INITIALIZER) | |||
| Possible values | -+ | Possible values | +END_OF_LINE |
| + | NEXT_LINE | ||
| + | NEXT_LINE_SHIFTED | ||
| + | NEXT_LINE_ON_WRAP | ||
| Option to position the braces of a block (Option to position the braces of a block (FORMATTER_BRACE_POSITION_FOR_BLOCK) | |||
| Possible values | -+ | 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 + | 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 | -+ | Possible values | +END_OF_LINE |
| + | NEXT_LINE | ||
| + | NEXT_LINE_SHIFTED | ||
| + | NEXT_LINE_ON_WRAP | ||
| Option to position the braces of a constructor declaration (Option to position the braces of a constructor declaration (FORMATTER_BRACE_POSITION_FOR_CONSTRUCTOR_DECLARATION) | |||
| Possible values | -+ | Possible values | +END_OF_LINE |
| + | NEXT_LINE | ||
| + | NEXT_LINE_SHIFTED | ||
| + | NEXT_LINE_ON_WRAP | ||
| Option to position the braces of an enum constant (Option to position the braces of an enum constant (FORMATTER_BRACE_POSITION_FOR_ENUM_CONSTANT) | |||
| Possible values | -+ | Possible values | +END_OF_LINE |
| + | NEXT_LINE | ||
| + | NEXT_LINE_SHIFTED | ||
| + | NEXT_LINE_ON_WRAP | ||
| Option to position the braces of an enum declaration (Option to position the braces of an enum declaration (FORMATTER_BRACE_POSITION_FOR_ENUM_DECLARATION) | |||
| Possible values | -+ | Possible values | +END_OF_LINE |
| + | NEXT_LINE | ||
| + | NEXT_LINE_SHIFTED | ||
| + | NEXT_LINE_ON_WRAP | ||
| Option to position the braces of a method declaration (Option to position the braces of a method declaration (FORMATTER_BRACE_POSITION_FOR_METHOD_DECLARATION) | |||
| Possible values | -+ | Possible values | +END_OF_LINE |
| + | NEXT_LINE | ||
| + | NEXT_LINE_SHIFTED | ||
| + | NEXT_LINE_ON_WRAP | ||
| Option to position the braces of a switch statement (Option to position the braces of a switch statement (FORMATTER_BRACE_POSITION_FOR_SWITCH) | |||
| Possible values | -+ | Possible values | +END_OF_LINE |
| + | NEXT_LINE | ||
| + | NEXT_LINE_SHIFTED | ||
| + | NEXT_LINE_ON_WRAP | ||
| Option to position the braces of a type declaration (Option to position the braces of a type declaration (FORMATTER_BRACE_POSITION_FOR_TYPE_DECLARATION) | |||
| Possible values | -+ | 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 + | Option to control whether blank lines are cleared inside block comments (FORMATTER_COMMENT_CLEAR_BLANK_LINES_IN_BLOCK_COMMENT) | ||
| Possible values | -+ | Possible values | +TRUE |
| + | FALSE | ||
| Option to control whether blank lines are cleared inside javadoc comments + | Option to control whether blank lines are cleared inside javadoc comments (FORMATTER_COMMENT_CLEAR_BLANK_LINES_IN_JAVADOC_COMMENT) | ||
| Possible values | -+ | Possible values | +TRUE |
| + | FALSE | ||
| Option to control whether multiple line comments are formatted (Option to control whether multiple line comments are formatted (FORMATTER_COMMENT_FORMAT_BLOCK_COMMENT) | |||
| Possible values | -+ | Possible values | +TRUE |
| + | FALSE | ||
| Option to control whether javadoc comments are formatted (Option to control whether javadoc comments are formatted (FORMATTER_COMMENT_FORMAT_JAVADOC_COMMENT) | |||
| Possible values | -+ | Possible values | +TRUE |
| + | FALSE | ||
| Option to control whether single line comments are formatted (Option to control whether single line comments are formatted (FORMATTER_COMMENT_FORMAT_LINE_COMMENT) | |||
| Possible values | -+ | Possible values | +TRUE |
| + | FALSE | ||
| Option to format line comments that start on the first column (Option to format line comments that start on the first column (FORMATTER_COMMENT_FORMAT_LINE_COMMENT_STARTING_ON_FIRST_COLUMN) | |||
| Possible values | -+ | Possible values | +TRUE |
| + | FALSE | ||
| Option to control whether the header comment of a Java source file is + | Option to control whether the header comment of a Java source file is formatted (FORMATTER_COMMENT_FORMAT_HEADER) | ||
| Possible values | -+ | Possible values | +TRUE |
| + | FALSE | ||
| Option to control whether HTML tags are formatted. (Option to control whether HTML tags are formatted. (FORMATTER_COMMENT_FORMAT_HTML) | |||
| Possible values | -+ | Possible values | +TRUE |
| + | FALSE | ||
| Option to control whether code snippets are formatted in comments + | Option to control whether code snippets are formatted in comments (FORMATTER_COMMENT_FORMAT_SOURCE) | ||
| Possible values | -+ | Possible values | +TRUE |
| + | FALSE | ||
| Option to control whether description of Javadoc parameters are indented + | Option to control whether description of Javadoc parameters are indented (FORMATTER_COMMENT_INDENT_PARAMETER_DESCRIPTION) | ||
| Possible values | -+ | Possible values | +TRUE |
| + | FALSE | ||
| Option to control whether Javadoc root tags are indented. (Option to control whether Javadoc root tags are indented. (FORMATTER_COMMENT_INDENT_ROOT_TAGS) | |||
| Possible values | -+ | Possible values | +TRUE |
| + | FALSE | ||
| Option to insert an empty line before the Javadoc root tag block + | Option to insert an empty line before the Javadoc root tag block (FORMATTER_COMMENT_INSERT_EMPTY_LINE_BEFORE_ROOT_TAGS) | ||
| Possible values | -+ | Possible values | +INSERT |
| + | DO_NOT_INSERT | ||
| Option to insert a new line after Javadoc root tag parameters (Option to insert a new line after Javadoc root tag parameters (FORMATTER_COMMENT_INSERT_NEW_LINE_FOR_PARAMETER) | |||
| Possible values | -+ | Possible values | +INSERT |
| + | DO_NOT_INSERT | ||
| Option to specify the line length for comments. (Option to specify the line length for comments. (FORMATTER_COMMENT_LINE_LENGTH) | |||
| Possible value | -"<n>", where n is zero or a positive integer | +||
| Possible value | +"<n>", where n is zero or a positive integer | ||
| Default value | -"80" | +||
| Default value | +"80" | ||
| Option to control whether block comments will have new lines at boundaries + | Option to control whether block comments will have new lines at boundaries (FORMATTER_COMMENT_NEW_LINES_AT_BLOCK_BOUNDARIES) | ||
| Possible values | +|||
| Possible values | -TRUE | ||
| + | FALSE | ||
| Option to control whether javadoc comments will have new lines at boundaries + | Option to control whether javadoc comments will have new lines at boundaries (FORMATTER_COMMENT_NEW_LINES_AT_JAVADOC_BOUNDARIES) | ||
| Possible values | +|||
| Possible values | -TRUE | ||
| + | FALSE | ||
| Option to preserve existing white space between code and line comments + | Option to preserve existing white space between code and line comments (FORMATTER_COMMENT_PRESERVE_WHITE_SPACE_BETWEEN_CODE_AND_LINE_COMMENT) | ||
| Possible values | -+ | Possible values | +TRUE |
| + | FALSE | ||
| Option to compact else/if (Option to compact else/if (FORMATTER_COMPACT_ELSE_IF) | |||
| Possible values | +|||
| Possible values | -TRUE | ||
| + | FALSE | ||
| Option to set the continuation indentation (Option to set the continuation indentation (FORMATTER_CONTINUATION_INDENTATION) | |||
| Possible value | +|||
| Possible value | -"<n>", where n is zero or a positive integer | +"<n>", where n is zero or a positive integer | |
| Default value | -"2" | +||
| Default value | +"2" | ||
| Option to set the continuation indentation inside array initializer + | 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 | +||
| Possible value | +"<n>", where n is zero or a positive integer | ||
| Default value | -"2" | +||
| Default value | +"2" | ||
| Option to use the disabling and enabling tags (Option to use the disabling and enabling tags (FORMATTER_USE_ON_OFF_TAGS) | |||
| Possible values | -+ | Possible values | +TRUE |
| + | FALSE | ||
| Option to define the tag to put in a comment to disable the formatting + | Option to define the tag to put in a comment to disable the formatting (FORMATTER_DISABLING_TAG) | ||
| Possible values | -String | +||
| Possible values | +String | ||
| Default value | -"@format:off" | +||
| Default value | +"@format:off" | ||
| Option to define the tag to put in a comment to re-enable the formatting after + | Option to define the tag to put in a comment to re-enable the formatting after it has been disabled (FORMATTER_ENABLING_TAG) | ||
| Possible values | -String | +||
| Possible values | +String | ||
| Default value | -"@format:on" | +||
| Default value | +"@format:on" | ||
| Option to indent body declarations compare to its enclosing annotation + | Option to indent body declarations compare to its enclosing annotation declaration header (FORMATTER_INDENT_BODY_DECLARATIONS_COMPARE_TO_ANNOTATION_DECLARATION_HEADER) | ||
| Possible values | -+ | Possible values | +TRUE |
| + | FALSE | ||
| Option to indent body declarations compare to its enclosing enum constant + | Option to indent body declarations compare to its enclosing enum constant header (FORMATTER_INDENT_BODY_DECLARATIONS_COMPARE_TO_ENUM_CONSTANT_HEADER) | ||
| Possible values | -+ | Possible values | +TRUE |
| + | FALSE | ||
| Option to indent body declarations compare to its enclosing enum declaration + | Option to indent body declarations compare to its enclosing enum declaration header (FORMATTER_INDENT_BODY_DECLARATIONS_COMPARE_TO_ENUM_DECLARATION_HEADER) | ||
| Possible values | -+ | Possible values | +TRUE |
| + | FALSE | ||
| Option to indent body declarations compare to its enclosing type header + | Option to indent body declarations compare to its enclosing type header (FORMATTER_INDENT_BODY_DECLARATIONS_COMPARE_TO_TYPE_HEADER) | ||
| Possible values | -+ | Possible values | +TRUE |
| + | FALSE | ||
| Option to indent breaks compare to cases (Option to indent breaks compare to cases (FORMATTER_INDENT_BREAKS_COMPARE_TO_CASES) | |||
| Possible values | -+ | Possible values | +TRUE |
| + | FALSE | ||
| Option to indent empty lines (Option to indent empty lines (FORMATTER_INDENT_EMPTY_LINES) | |||
| Possible values | -+ | Possible values | +TRUE |
| + | FALSE | ||
| Option to indent statements inside a block (Option to indent statements inside a block (FORMATTER_INDENT_STATEMENTS_COMPARE_TO_BLOCK) | |||
| Possible values | -+ | Possible values | +TRUE |
| + | FALSE | ||
| Option to indent statements inside the body of a method or a constructor + | Option to indent statements inside the body of a method or a constructor (FORMATTER_INDENT_STATEMENTS_COMPARE_TO_BODY) | ||
| Possible values | -+ | Possible values | +TRUE |
| + | FALSE | ||
| Option to indent switch statements compare to cases (Option to indent switch statements compare to cases (FORMATTER_INDENT_SWITCHSTATEMENTS_COMPARE_TO_CASES) | |||
| Possible values | -+ | Possible values | +TRUE |
| + | FALSE | ||
| Option to indent switch statements compare to switch (Option to indent switch statements compare to switch (FORMATTER_INDENT_SWITCHSTATEMENTS_COMPARE_TO_SWITCH) | |||
| Possible values | -+ | Possible values | +TRUE |
| + | FALSE | ||
| Option to specify the equivalent number of spaces that represents one + | 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 | +||
| Possible value | +"<n>", where n is zero or a positive integer | ||
| Default value | -"4" | +||
| Default value | +"4" | ||
| Option to insert a new line after an annotation on a parameter (Option to insert a new line after an annotation on a parameter (FORMATTER_INSERT_NEW_LINE_AFTER_ANNOTATION_ON_PARAMETER) | |||
| Possible values | -INSERT | +||
| Possible values | +INSERT | ||
| + | DO_NOT_INSERT | ||
| Option to insert a new line after an annotation on a field declaration (Option to insert a new line after an annotation on a field declaration (FORMATTER_INSERT_NEW_LINE_AFTER_ANNOTATION_ON_FIELD) | |||
| Possible values | -INSERT | +||
| Possible values | +INSERT | ||
| + | DO_NOT_INSERT | ||
| Option to insert a new line after an annotation on a method declaration (Option to insert a new line after an annotation on a method declaration (FORMATTER_INSERT_NEW_LINE_AFTER_ANNOTATION_ON_METHOD) | |||
| Possible values | -INSERT | +||
| Possible values | +INSERT | ||
| + | DO_NOT_INSERT | ||
| Option to insert a new line after an annotation on a package declaration (Option to insert a new line after an annotation on a package declaration (FORMATTER_INSERT_NEW_LINE_AFTER_ANNOTATION_ON_PACKAGE) | |||
| Possible values | -INSERT | +||
| Possible values | +INSERT | ||
| + | DO_NOT_INSERT | ||
| Option to insert a new line after an annotation on a type declaration (Option to insert a new line after an annotation on a type declaration (FORMATTER_INSERT_NEW_LINE_AFTER_ANNOTATION_ON_TYPE) | |||
| Possible values | -INSERT | +||
| Possible values | +INSERT | ||
| + | DO_NOT_INSERT | ||
| Option to insert a new line after an annotation on a local variable + | Option to insert a new line after an annotation on a local variable (FORMATTER_INSERT_NEW_LINE_AFTER_ANNOTATION_ON_LOCAL_VARIABLE) | ||
| Possible values | -+ | Possible values | +INSERT |
| + | DO_NOT_INSERT | ||
| Option to insert a new line after a label (Option to insert a new line after a label (FORMATTER_INSERT_NEW_LINE_AFTER_LABEL) | |||
| Possible values | -INSERT | +||
| Possible values | +INSERT | ||
| + | DO_NOT_INSERT | ||
| Option to insert a new line after the opening brace in an array initializer + | 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 | +||
| Possible values | +INSERT | ||
| + | DO_NOT_INSERT | ||
| Option to insert a new line at the end of the current file if missing + | 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 | +||
| Possible values | +INSERT | ||
| + | DO_NOT_INSERT | ||
| Option to insert a new line before the catch keyword in try statement + | 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 | +||
| Possible values | +INSERT | ||
| + | DO_NOT_INSERT | ||
| Option to insert a new line before the closing brace in an array initializer + | 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 | +||
| Possible values | +INSERT | ||
| + | DO_NOT_INSERT | ||
| Option to insert a new line before the else keyword in if statement + | 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 | +||
| Possible values | +INSERT | ||
| + | DO_NOT_INSERT | ||
| Option to insert a new line before the finally keyword in try statement + | 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 | +||
| Possible values | +INSERT | ||
| + | DO_NOT_INSERT | ||
| Option to insert a new line before while in do statement (Option to insert a new line before while in do statement (FORMATTER_INSERT_NEW_LINE_BEFORE_WHILE_IN_DO_STATEMENT) | |||
| Possible values | -INSERT | +||
| Possible values | +INSERT | ||
| + | DO_NOT_INSERT | ||
| Option to insert a new line in an empty annotation declaration (Option to insert a new line in an empty annotation declaration (FORMATTER_INSERT_NEW_LINE_IN_EMPTY_ANNOTATION_DECLARATION) | |||
| Possible values | -+ | Possible values | +INSERT |
| + | DO_NOT_INSERT | ||
| Option to insert a new line in an empty anonymous type declaration + | Option to insert a new line in an empty anonymous type declaration (FORMATTER_INSERT_NEW_LINE_IN_EMPTY_ANONYMOUS_TYPE_DECLARATION) | ||
| Possible values | -+ | Possible values | +INSERT |
| + | DO_NOT_INSERT | ||
| Option to insert a new line in an empty block (Option to insert a new line in an empty block (FORMATTER_INSERT_NEW_LINE_IN_EMPTY_BLOCK) | |||
| Possible values | -+ | Possible values | +INSERT |
| + | DO_NOT_INSERT | ||
| Option to insert a new line in an empty enum constant (Option to insert a new line in an empty enum constant (FORMATTER_INSERT_NEW_LINE_IN_EMPTY_ENUM_CONSTANT) | |||
| Possible values | -+ | Possible values | +INSERT |
| + | DO_NOT_INSERT | ||
| Option to insert a new line in an empty enum declaration (Option to insert a new line in an empty enum declaration (FORMATTER_INSERT_NEW_LINE_IN_EMPTY_ENUM_DECLARATION) | |||
| Possible values | -+ | Possible values | +INSERT |
| + | DO_NOT_INSERT | ||
| Option to insert a new line in an empty method body (Option to insert a new line in an empty method body (FORMATTER_INSERT_NEW_LINE_IN_EMPTY_METHOD_BODY) | |||
| Possible values | -+ | Possible values | +INSERT |
| + | DO_NOT_INSERT | ||
| Option to insert a new line in an empty type declaration (Option to insert a new line in an empty type declaration (FORMATTER_INSERT_NEW_LINE_IN_EMPTY_TYPE_DECLARATION) | |||
| Possible values | -+ | Possible values | +INSERT |
| + | DO_NOT_INSERT | ||
| Option to insert a space after and in wilcard (Option to insert a space after and in wilcard (FORMATTER_INSERT_SPACE_AFTER_AND_IN_TYPE_PARAMETER) | |||
| Possible values | -+ | Possible values | +INSERT |
| + | DO_NOT_INSERT | ||
| Option to insert a space after an assignment operator (Option to insert a space after an assignment operator (FORMATTER_INSERT_SPACE_AFTER_ASSIGNMENT_OPERATOR) | |||
| Possible values | -+ | Possible values | +INSERT |
| + | DO_NOT_INSERT | ||
| Option to insert a space after at in annotation (Option to insert a space after at in annotation (FORMATTER_INSERT_SPACE_AFTER_AT_IN_ANNOTATION) | |||
| Possible values | -+ | Possible values | +INSERT |
| + | DO_NOT_INSERT | ||
| Option to insert a space after at in annotation type declaration + | Option to insert a space after at in annotation type declaration (FORMATTER_INSERT_SPACE_AFTER_AT_IN_ANNOTATION_TYPE_DECLARATION) | ||
| Possible values | -INSERT | +||
| Possible values | +INSERT | ||
| + | DO_NOT_INSERT | ||
| Option to insert a space after a binary operator (Option to insert a space after a binary operator (FORMATTER_INSERT_SPACE_AFTER_BINARY_OPERATOR) | |||
| Possible values | -+ | Possible values | +INSERT |
| + | DO_NOT_INSERT | ||
| Option to insert a space after the closing angle bracket in type arguments + | 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 | -+ | Possible values | +INSERT |
| + | DO_NOT_INSERT | ||
| Option to insert a space after the closing angle bracket in type parameters + | 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 | -+ | Possible values | +INSERT |
| + | DO_NOT_INSERT | ||
| Option to insert a space after the closing brace of a block (Option to insert a space after the closing brace of a block (FORMATTER_INSERT_SPACE_AFTER_CLOSING_BRACE_IN_BLOCK) | |||
| Possible values | -+ | Possible values | +INSERT |
| + | DO_NOT_INSERT | ||
| Option to insert a space after the closing parenthesis of a cast expression + | Option to insert a space after the closing parenthesis of a cast expression (FORMATTER_INSERT_SPACE_AFTER_CLOSING_PAREN_IN_CAST) | ||
| Possible values | -+ | Possible values | +INSERT |
| + | DO_NOT_INSERT | ||
| Option to insert a space after the colon in an assert statement (Option to insert a space after the colon in an assert statement (FORMATTER_INSERT_SPACE_AFTER_COLON_IN_ASSERT) | |||
| Possible values | -+ | Possible values | +INSERT |
| + | DO_NOT_INSERT | ||
| Option to insert a space after colon in a case statement when a opening brace + | 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 | -+ | Possible values | +INSERT |
| + | DO_NOT_INSERT | ||
| Option to insert a space after the colon in a conditional expression + | Option to insert a space after the colon in a conditional expression (FORMATTER_INSERT_SPACE_AFTER_COLON_IN_CONDITIONAL) | ||
| Possible values | -+ | Possible values | +INSERT |
| + | DO_NOT_INSERT | ||
| Option to insert a space after colon in a for statement (Option to insert a space after colon in a for statement (FORMATTER_INSERT_SPACE_AFTER_COLON_IN_FOR) | |||
| Possible values | -+ | Possible values | +INSERT |
| + | DO_NOT_INSERT | ||
| Option to insert a space after the colon in a labeled statement (Option to insert a space after the colon in a labeled statement (FORMATTER_INSERT_SPACE_AFTER_COLON_IN_LABELED_STATEMENT) | |||
| Possible values | -+ | Possible values | +INSERT |
| + | DO_NOT_INSERT | ||
| Option to insert a space after the comma in an allocation expression + | Option to insert a space after the comma in an allocation expression (FORMATTER_INSERT_SPACE_AFTER_COMMA_IN_ALLOCATION_EXPRESSION) | ||
| Possible values | -+ | Possible values | +INSERT |
| + | DO_NOT_INSERT | ||
| Option to insert a space after the comma in annotation (Option to insert a space after the comma in annotation (FORMATTER_INSERT_SPACE_AFTER_COMMA_IN_ANNOTATION) | |||
| Possible values | -+ | Possible values | +INSERT |
| + | DO_NOT_INSERT | ||
| Option to insert a space after the comma in an array initializer + | Option to insert a space after the comma in an array initializer (FORMATTER_INSERT_SPACE_AFTER_COMMA_IN_ARRAY_INITIALIZER) | ||
| Possible values | -+ | Possible values | +INSERT |
| + | DO_NOT_INSERT | ||
| Option to insert a space after the comma in the parameters of a constructor + | 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 | -+ | Possible values | +INSERT |
| + | DO_NOT_INSERT | ||
| Option to insert a space after the comma in the exception names in a throws + | 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 | -+ | Possible values | +INSERT |
| + | DO_NOT_INSERT | ||
| Option to insert a space after the comma in the arguments of an enum + | 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 | -+ | Possible values | +INSERT |
| + | DO_NOT_INSERT | ||
| Option to insert a space after the comma in enum declarations (Option to insert a space after the comma in enum declarations (FORMATTER_INSERT_SPACE_AFTER_COMMA_IN_ENUM_DECLARATIONS) | |||
| Possible values | -+ | Possible values | +INSERT |
| + | DO_NOT_INSERT | ||
| Option to insert a space after the comma in the arguments of an explicit + | 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 | -+ | Possible values | +INSERT |
| + | DO_NOT_INSERT | ||
| Option to insert a space after the comma in the increments of a for + | 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 | -+ | Possible values | +INSERT |
| + | DO_NOT_INSERT | ||
| Option to insert a space after the comma in the initializations of a for + | 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 | -+ | Possible values | +INSERT |
| + | DO_NOT_INSERT | ||
| Option to insert a space after the comma in the parameters of a method + | 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 | -+ | Possible values | +INSERT |
| + | DO_NOT_INSERT | ||
| Option to insert a space after the comma in the exception names in a throws + | 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 | -+ | Possible values | +INSERT |
| + | DO_NOT_INSERT | ||
| Option to insert a space after the comma in the arguments of a method + | 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 | -+ | Possible values | +INSERT |
| + | DO_NOT_INSERT | ||
| Option to insert a space after the comma in multiple field declaration + | Option to insert a space after the comma in multiple field declaration (FORMATTER_INSERT_SPACE_AFTER_COMMA_IN_MULTIPLE_FIELD_DECLARATIONS) | ||
| Possible values | -+ | Possible values | +INSERT |
| + | DO_NOT_INSERT | ||
| Option to insert a space after the comma in multiple local declaration + | Option to insert a space after the comma in multiple local declaration (FORMATTER_INSERT_SPACE_AFTER_COMMA_IN_MULTIPLE_LOCAL_DECLARATIONS) | ||
| Possible values | -+ | Possible values | +INSERT |
| + | DO_NOT_INSERT | ||
| Option to insert a space after the comma in parameterized type reference + | Option to insert a space after the comma in parameterized type reference (FORMATTER_INSERT_SPACE_AFTER_COMMA_IN_PARAMETERIZED_TYPE_REFERENCE) | ||
| Possible values | -+ | Possible values | +INSERT |
| + | DO_NOT_INSERT | ||
| Option to insert a space after the comma in superinterfaces names of a type + | Option to insert a space after the comma in superinterfaces names of a type header (FORMATTER_INSERT_SPACE_AFTER_COMMA_IN_SUPERINTERFACES) | ||
| Possible values | -+ | Possible values | +INSERT |
| + | DO_NOT_INSERT | ||
| Option to insert a space after the comma in type arguments (Option to insert a space after the comma in type arguments (FORMATTER_INSERT_SPACE_AFTER_COMMA_IN_TYPE_ARGUMENTS) | |||
| Possible values | -+ | Possible values | +INSERT |
| + | DO_NOT_INSERT | ||
| Option to insert a space after the comma in type parameters (Option to insert a space after the comma in type parameters (FORMATTER_INSERT_SPACE_AFTER_COMMA_IN_TYPE_PARAMETERS) | |||
| Possible values | -+ | Possible values | +INSERT |
| + | DO_NOT_INSERT | ||
| Option to insert a space after ellipsis (Option to insert a space after ellipsis (FORMATTER_INSERT_SPACE_AFTER_ELLIPSIS) | |||
| Possible values | -+ | Possible values | +INSERT |
| + | DO_NOT_INSERT | ||
| Option to insert a space after the opening angle bracket in parameterized type + | 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 | +||
| Possible values | +INSERT | ||
| + | DO_NOT_INSERT | ||
| Option to insert a space after the opening angle bracket in type arguments + | 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 | +||
| Possible values | +INSERT | ||
| + | DO_NOT_INSERT | ||
| Option to insert a space after the opening angle bracket in type parameters + | 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 | +||
| Possible values | +INSERT | ||
| + | DO_NOT_INSERT | ||
| Option to insert a space after the opening brace in an array initializer + | 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 | +||
| Possible values | +INSERT | ||
| + | DO_NOT_INSERT | ||
| Option to insert a space after the opening bracket inside an array allocation + | 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 | +||
| Possible values | +INSERT | ||
| + | DO_NOT_INSERT | ||
| Option to insert a space after the opening bracket inside an array reference + | 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 | +||
| Possible values | +INSERT | ||
| + | DO_NOT_INSERT | ||
| Option to insert a space after the opening parenthesis in annotation + | Option to insert a space after the opening parenthesis in annotation (FORMATTER_INSERT_SPACE_AFTER_OPENING_PAREN_IN_ANNOTATION) | ||
| Possible values | -INSERT | +||
| Possible values | +INSERT | ||
| + | DO_NOT_INSERT | ||
| Option to insert a space after the opening parenthesis in a cast expression + | Option to insert a space after the opening parenthesis in a cast expression (FORMATTER_INSERT_SPACE_AFTER_OPENING_PAREN_IN_CAST) | ||
| Possible values | -INSERT | +||
| Possible values | +INSERT | ||
| + | DO_NOT_INSERT | ||
| Option to insert a space after the opening parenthesis in a catch + | Option to insert a space after the opening parenthesis in a catch (FORMATTER_INSERT_SPACE_AFTER_OPENING_PAREN_IN_CATCH) | ||
| Possible values | -INSERT | +||
| Possible values | +INSERT | ||
| + | DO_NOT_INSERT | ||
| Option to insert a space after the opening parenthesis in a constructor + | 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 | +||
| Possible values | +INSERT | ||
| + | DO_NOT_INSERT | ||
| Option to insert a space after the opening parenthesis in enum constant + | Option to insert a space after the opening parenthesis in enum constant (FORMATTER_INSERT_SPACE_AFTER_OPENING_PAREN_IN_ENUM_CONSTANT) | ||
| Possible values | -INSERT | +||
| Possible values | +INSERT | ||
| + | DO_NOT_INSERT | ||
| Option to insert a space after the opening parenthesis in a for statement + | Option to insert a space after the opening parenthesis in a for statement (FORMATTER_INSERT_SPACE_AFTER_OPENING_PAREN_IN_FOR) | ||
| Possible values | -INSERT | +||
| Possible values | +INSERT | ||
| + | DO_NOT_INSERT | ||
| Option to insert a space after the opening parenthesis in an if statement + | Option to insert a space after the opening parenthesis in an if statement (FORMATTER_INSERT_SPACE_AFTER_OPENING_PAREN_IN_IF) | ||
| Possible values | -INSERT | +||
| Possible values | +INSERT | ||
| + | DO_NOT_INSERT | ||
| Option to insert a space after the opening parenthesis in a method + | 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 | +||
| Possible values | +INSERT | ||
| + | DO_NOT_INSERT | ||
| Option to insert a space after the opening parenthesis in a method + | 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 | +||
| Possible values | +INSERT | ||
| + | DO_NOT_INSERT | ||
| Option to insert a space after the opening parenthesis in a parenthesized + | 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 | +||
| Possible values | +INSERT | ||
| + | DO_NOT_INSERT | ||
| Option to insert a space after the opening parenthesis in a switch statement + | Option to insert a space after the opening parenthesis in a switch statement (FORMATTER_INSERT_SPACE_AFTER_OPENING_PAREN_IN_SWITCH) | ||
| Possible values | -INSERT | +||
| Possible values | +INSERT | ||
| + | DO_NOT_INSERT | ||
| Option to insert a space after the opening parenthesis in a synchronized + | Option to insert a space after the opening parenthesis in a synchronized statement (FORMATTER_INSERT_SPACE_AFTER_OPENING_PAREN_IN_SYNCHRONIZED) | ||
| Possible values | -INSERT | +||
| Possible values | +INSERT | ||
| + | DO_NOT_INSERT | ||
| Option to insert a space after the opening parenthesis in a try with resources + | Option to insert a space after the opening parenthesis in a try with resources statement (FORMATTER_INSERT_SPACE_AFTER_OPENING_PAREN_IN_TRY) | ||
| Possible values | -INSERT | +||
| Possible values | +INSERT | ||
| + | DO_NOT_INSERT | ||
| Option to insert a space after the opening parenthesis in a while statement + | Option to insert a space after the opening parenthesis in a while statement (FORMATTER_INSERT_SPACE_AFTER_OPENING_PAREN_IN_WHILE) | ||
| Possible values | -INSERT | +||
| Possible values | +INSERT | ||
| + | DO_NOT_INSERT | ||
| Option to insert a space after a postfix operator (Option to insert a space after a postfix operator (FORMATTER_INSERT_SPACE_AFTER_POSTFIX_OPERATOR) | |||
| Possible values | -INSERT | +||
| Possible values | +INSERT | ||
| + | DO_NOT_INSERT | ||
| Option to insert a space after a prefix operator (Option to insert a space after a prefix operator (FORMATTER_INSERT_SPACE_AFTER_PREFIX_OPERATOR) | |||
| Possible values | -INSERT | +||
| Possible values | +INSERT | ||
| + | DO_NOT_INSERT | ||
| Option to insert a space after question mark in a conditional expression + | Option to insert a space after question mark in a conditional expression (FORMATTER_INSERT_SPACE_AFTER_QUESTION_IN_CONDITIONAL) | ||
| Possible values | -INSERT | +||
| Possible values | +INSERT | ||
| + | DO_NOT_INSERT | ||
| Option to insert a space after question mark in a wildcard (Option to insert a space after question mark in a wildcard (FORMATTER_INSERT_SPACE_AFTER_QUESTION_IN_WILDCARD) | |||
| Possible values | -INSERT | +||
| Possible values | +INSERT | ||
| + | DO_NOT_INSERT | ||
| Option to insert a space after semicolon in a for statement (Option to insert a space after semicolon in a for statement (FORMATTER_INSERT_SPACE_AFTER_SEMICOLON_IN_FOR) | |||
| Possible values | -+ | Possible values | +INSERT |
| + | DO_NOT_INSERT | ||
| Option to insert a space after each semicolon in a try with resources + | Option to insert a space after each semicolon in a try with resources statement (FORMATTER_INSERT_SPACE_AFTER_SEMICOLON_IN_TRY_RESOURCES) | ||
| Possible values | -INSERT | +||
| Possible values | +INSERT | ||
| + | DO_NOT_INSERT | ||
| Option to insert a space after an unary operator (Option to insert a space after an unary operator (FORMATTER_INSERT_SPACE_AFTER_UNARY_OPERATOR) | |||
| Possible values | -INSERT | +||
| Possible values | +INSERT | ||
| + | DO_NOT_INSERT | ||
| Option to insert a space before and in wildcard (Option to insert a space before and in wildcard (FORMATTER_INSERT_SPACE_BEFORE_AND_IN_TYPE_PARAMETER) | |||
| Possible values | -+ | Possible values | +INSERT |
| + | DO_NOT_INSERT | ||
| Option to insert a space before an assignment operator (Option to insert a space before an assignment operator (FORMATTER_INSERT_SPACE_BEFORE_ASSIGNMENT_OPERATOR) | |||
| Possible values | -+ | Possible values | +INSERT |
| + | DO_NOT_INSERT | ||
| Option to insert a space before at in annotation type declaration + | Option to insert a space before at in annotation type declaration (FORMATTER_INSERT_SPACE_BEFORE_AT_IN_ANNOTATION_TYPE_DECLARATION) | ||
| Possible values | -+ | Possible values | +INSERT |
| + | DO_NOT_INSERT | ||
| Option to insert a space before an binary operator (Option to insert a space before an binary operator (FORMATTER_INSERT_SPACE_BEFORE_BINARY_OPERATOR) | |||
| Possible values | -INSERT | +||
| Possible values | +INSERT | ||
| + | DO_NOT_INSERT | ||
| Option to insert a space before the closing angle bracket in parameterized type + | 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 | +||
| Possible values | +INSERT | ||
| + | DO_NOT_INSERT | ||
| Option to insert a space before the closing angle bracket in type arguments + | 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 | +||
| Possible values | +INSERT | ||
| + | DO_NOT_INSERT | ||
| Option to insert a space before the closing angle bracket in type parameters + | 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 | +||
| Possible values | +INSERT | ||
| + | DO_NOT_INSERT | ||
| Option to insert a space before the closing brace in an array initializer + | 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 | +||
| Possible values | +INSERT | ||
| + | DO_NOT_INSERT | ||
| Option to insert a space before the closing bracket in an array allocation + | 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 | +||
| Possible values | +INSERT | ||
| + | DO_NOT_INSERT | ||
| Option to insert a space before the closing bracket in an array reference + | 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 | +||
| Possible values | +INSERT | ||
| + | DO_NOT_INSERT | ||
| Option to insert a space before the closing parenthesis in annotation + | Option to insert a space before the closing parenthesis in annotation (FORMATTER_INSERT_SPACE_BEFORE_CLOSING_PAREN_IN_ANNOTATION) | ||
| Possible values | -INSERT | +||
| Possible values | +INSERT | ||
| + | DO_NOT_INSERT | ||
| Option to insert a space before the closing parenthesis in a cast expression + | Option to insert a space before the closing parenthesis in a cast expression (FORMATTER_INSERT_SPACE_BEFORE_CLOSING_PAREN_IN_CAST) | ||
| Possible values | -INSERT | +||
| Possible values | +INSERT | ||
| + | DO_NOT_INSERT | ||
| Option to insert a space before the closing parenthesis in a catch + | Option to insert a space before the closing parenthesis in a catch (FORMATTER_INSERT_SPACE_BEFORE_CLOSING_PAREN_IN_CATCH) | ||
| Possible values | -INSERT | +||
| Possible values | +INSERT | ||
| + | DO_NOT_INSERT | ||
| Option to insert a space before the closing parenthesis in a constructor + | 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 | +||
| Possible values | +INSERT | ||
| + | DO_NOT_INSERT | ||
| Option to insert a space before the closing parenthesis in enum constant + | Option to insert a space before the closing parenthesis in enum constant (FORMATTER_INSERT_SPACE_BEFORE_CLOSING_PAREN_IN_ENUM_CONSTANT) | ||
| Possible values | -INSERT | +||
| Possible values | +INSERT | ||
| + | DO_NOT_INSERT | ||
| Option to insert a space before the closing parenthesis in a for statement + | Option to insert a space before the closing parenthesis in a for statement (FORMATTER_INSERT_SPACE_BEFORE_CLOSING_PAREN_IN_FOR) | ||
| Possible values | -INSERT | +||
| Possible values | +INSERT | ||
| + | DO_NOT_INSERT | ||
| Option to insert a space before the closing parenthesis in an if statement + | Option to insert a space before the closing parenthesis in an if statement (FORMATTER_INSERT_SPACE_BEFORE_CLOSING_PAREN_IN_IF) | ||
| Possible values | -INSERT | +||
| Possible values | +INSERT | ||
| + | DO_NOT_INSERT | ||
| Option to insert a space before the closing parenthesis in a method + | 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 | +||
| Possible values | +INSERT | ||
| + | DO_NOT_INSERT | ||
| Option to insert a space before the closing parenthesis in a method + | 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 | +||
| Possible values | +INSERT | ||
| + | DO_NOT_INSERT | ||
| Option to insert a space before the closing parenthesis in a parenthesized + | 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 | +||
| Possible values | +INSERT | ||
| + | DO_NOT_INSERT | ||
| Option to insert a space before the closing parenthesis in a switch + | Option to insert a space before the closing parenthesis in a switch statement (FORMATTER_INSERT_SPACE_BEFORE_CLOSING_PAREN_IN_SWITCH) | ||
| Possible values | -INSERT | +||
| Possible values | +INSERT | ||
| + | DO_NOT_INSERT | ||
| Option to insert a space before the closing parenthesis in a synchronized + | Option to insert a space before the closing parenthesis in a synchronized statement (FORMATTER_INSERT_SPACE_BEFORE_CLOSING_PAREN_IN_SYNCHRONIZED) | ||
| Possible values | -INSERT | +||
| Possible values | +INSERT | ||
| + | DO_NOT_INSERT | ||
| Option to insert a space before closing paranthesis in a try with resources + | Option to insert a space before closing paranthesis in a try with resources statement (FORMATTER_INSERT_SPACE_BEFORE_CLOSING_PAREN_IN_TRY) | ||
| Possible values | -INSERT | +||
| Possible values | +INSERT | ||
| + | DO_NOT_INSERT | ||
| Option to insert a space before the closing parenthesis in a while statement + | Option to insert a space before the closing parenthesis in a while statement (FORMATTER_INSERT_SPACE_BEFORE_CLOSING_PAREN_IN_WHILE) | ||
| Possible values | -INSERT | +||
| Possible values | +INSERT | ||
| + | DO_NOT_INSERT | ||
| Option to insert a space before colon in an assert statement (Option to insert a space before colon in an assert statement (FORMATTER_INSERT_SPACE_BEFORE_COLON_IN_ASSERT) | |||
| Possible values | -+ | Possible values | +INSERT |
| + | DO_NOT_INSERT | ||
| Option to insert a space before colon in a case statement (Option to insert a space before colon in a case statement (FORMATTER_INSERT_SPACE_BEFORE_COLON_IN_CASE) | |||
| Possible values | -+ | Possible values | +INSERT |
| + | DO_NOT_INSERT | ||
| Option to insert a space before colon in a conditional expression + | Option to insert a space before colon in a conditional expression (FORMATTER_INSERT_SPACE_BEFORE_COLON_IN_CONDITIONAL) | ||
| Possible values | -+ | Possible values | +INSERT |
| + | DO_NOT_INSERT | ||
| Option to insert a space before colon in a default statement (Option to insert a space before colon in a default statement (FORMATTER_INSERT_SPACE_BEFORE_COLON_IN_DEFAULT) | |||
| Possible values | -+ | Possible values | +INSERT |
| + | DO_NOT_INSERT | ||
| Option to insert a space before colon in a for statement (Option to insert a space before colon in a for statement (FORMATTER_INSERT_SPACE_BEFORE_COLON_IN_FOR) | |||
| Possible values | -+ | Possible values | +INSERT |
| + | DO_NOT_INSERT | ||
| Option to insert a space before colon in a labeled statement (Option to insert a space before colon in a labeled statement (FORMATTER_INSERT_SPACE_BEFORE_COLON_IN_LABELED_STATEMENT) | |||
| Possible values | -+ | Possible values | +INSERT |
| + | DO_NOT_INSERT | ||
| Option to insert a space before comma in an allocation expression + | Option to insert a space before comma in an allocation expression (FORMATTER_INSERT_SPACE_BEFORE_COMMA_IN_ALLOCATION_EXPRESSION) | ||
| Possible values | -INSERT | +||
| Possible values | +INSERT | ||
| + | DO_NOT_INSERT | ||
| Option to insert a space before comma in annotation (Option to insert a space before comma in annotation (FORMATTER_INSERT_SPACE_BEFORE_COMMA_IN_ANNOTATION) | |||
| Possible values | -INSERT | +||
| Possible values | +INSERT | ||
| + | DO_NOT_INSERT | ||
| Option to insert a space before comma in an array initializer (Option to insert a space before comma in an array initializer (FORMATTER_INSERT_SPACE_BEFORE_COMMA_IN_ARRAY_INITIALIZER) | |||
| Possible values | -INSERT | +||
| Possible values | +INSERT | ||
| + | DO_NOT_INSERT | ||
| Option to insert a space before comma in the parameters of a constructor + | 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 | +||
| Possible values | +INSERT | ||
| + | DO_NOT_INSERT | ||
| Option to insert a space before comma in the exception names of the throws + | 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 | +||
| Possible values | +INSERT | ||
| + | DO_NOT_INSERT | ||
| Option to insert a space before comma in the arguments of enum constant + | 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 | +||
| Possible values | +INSERT | ||
| + | DO_NOT_INSERT | ||
| Option to insert a space before comma in enum declarations (Option to insert a space before comma in enum declarations (FORMATTER_INSERT_SPACE_BEFORE_COMMA_IN_ENUM_DECLARATIONS) | |||
| Possible values | -INSERT | +||
| Possible values | +INSERT | ||
| + | DO_NOT_INSERT | ||
| Option to insert a space before comma in the arguments of an explicit + | 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 | +||
| Possible values | +INSERT | ||
| + | DO_NOT_INSERT | ||
| Option to insert a space before comma in the increments of a for statement + | 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 | +||
| Possible values | +INSERT | ||
| + | DO_NOT_INSERT | ||
| Option to insert a space before comma in the initializations of a for + | 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 | +||
| Possible values | +INSERT | ||
| + | DO_NOT_INSERT | ||
| Option to insert a space before comma in the parameters of a method + | 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 | +||
| Possible values | +INSERT | ||
| + | DO_NOT_INSERT | ||
| Option to insert a space before comma in the exception names of the throws + | 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 | +||
| Possible values | +INSERT | ||
| + | DO_NOT_INSERT | ||
| Option to insert a space before comma in the arguments of a method + | 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 | +||
| Possible values | +INSERT | ||
| + | DO_NOT_INSERT | ||
| Option to insert a space before comma in a multiple field declaration + | Option to insert a space before comma in a multiple field declaration (FORMATTER_INSERT_SPACE_BEFORE_COMMA_IN_MULTIPLE_FIELD_DECLARATIONS) | ||
| Possible values | -INSERT | +||
| Possible values | +INSERT | ||
| + | DO_NOT_INSERT | ||
| Option to insert a space before comma in a multiple local declaration + | Option to insert a space before comma in a multiple local declaration (FORMATTER_INSERT_SPACE_BEFORE_COMMA_IN_MULTIPLE_LOCAL_DECLARATIONS) | ||
| Possible values | -INSERT | +||
| Possible values | +INSERT | ||
| + | DO_NOT_INSERT | ||
| Option to insert a space before comma in parameterized type reference + | Option to insert a space before comma in parameterized type reference (FORMATTER_INSERT_SPACE_BEFORE_COMMA_IN_PARAMETERIZED_TYPE_REFERENCE) | ||
| Possible values | -INSERT | +||
| Possible values | +INSERT | ||
| + | DO_NOT_INSERT | ||
| Option to insert a space before comma in the superinterfaces names in a type + | 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 | +||
| Possible values | +INSERT | ||
| + | DO_NOT_INSERT | ||
| Option to insert a space before comma in type arguments (Option to insert a space before comma in type arguments (FORMATTER_INSERT_SPACE_BEFORE_COMMA_IN_TYPE_ARGUMENTS) | |||
| Possible values | -INSERT | +||
| Possible values | +INSERT | ||
| + | DO_NOT_INSERT | ||
| Option to insert a space before comma in type parameters (Option to insert a space before comma in type parameters (FORMATTER_INSERT_SPACE_BEFORE_COMMA_IN_TYPE_PARAMETERS) | |||
| Possible values | -INSERT | +||
| Possible values | +INSERT | ||
| + | DO_NOT_INSERT | ||
| Option to insert a space before ellipsis (Option to insert a space before ellipsis (FORMATTER_INSERT_SPACE_BEFORE_ELLIPSIS) | |||
| Possible values | -INSERT | +||
| Possible values | +INSERT | ||
| + | DO_NOT_INSERT | ||
| Option to insert a space before the opening angle bracket in parameterized type + | 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 | +||
| Possible values | +INSERT | ||
| + | DO_NOT_INSERT | ||
| Option to insert a space before the opening angle bracket in type arguments + | 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 | +||
| Possible values | +INSERT | ||
| + | DO_NOT_INSERT | ||
| Option to insert a space before the opening angle bracket in type parameters + | 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 | +||
| Possible values | +INSERT | ||
| + | DO_NOT_INSERT | ||
| Option to insert a space before the opening brace in an annotation type + | 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 | -+ | Possible values | +INSERT |
| + | DO_NOT_INSERT | ||
| Option to insert a space before the opening brace in an anonymous type + | 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 | -+ | Possible values | +INSERT |
| + | DO_NOT_INSERT | ||
| Option to insert a space before the opening brace in an array initializer + | 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 | +||
| Possible values | +INSERT | ||
| + | DO_NOT_INSERT | ||
| Option to insert a space before the opening brace in a block (Option to insert a space before the opening brace in a block (FORMATTER_INSERT_SPACE_BEFORE_OPENING_BRACE_IN_BLOCK) | |||
| Possible values | -+ | Possible values | +INSERT |
| + | DO_NOT_INSERT | ||
| Option to insert a space before the opening brace in a constructor + | Option to insert a space before the opening brace in a constructor declaration (FORMATTER_INSERT_SPACE_BEFORE_OPENING_BRACE_IN_CONSTRUCTOR_DECLARATION) | ||
| Possible values | -+ | Possible values | +INSERT |
| + | DO_NOT_INSERT | ||
| Option to insert a space before the opening brace in an enum constant + | Option to insert a space before the opening brace in an enum constant (FORMATTER_INSERT_SPACE_BEFORE_OPENING_BRACE_IN_ENUM_CONSTANT) | ||
| Possible values | -+ | Possible values | +INSERT |
| + | DO_NOT_INSERT | ||
| Option to insert a space before the opening brace in an enum declaration + | Option to insert a space before the opening brace in an enum declaration (FORMATTER_INSERT_SPACE_BEFORE_OPENING_BRACE_IN_ENUM_DECLARATION) | ||
| Possible values | -+ | Possible values | +INSERT |
| + | DO_NOT_INSERT | ||
| Option to insert a space before the opening brace in a method declaration + | Option to insert a space before the opening brace in a method declaration (FORMATTER_INSERT_SPACE_BEFORE_OPENING_BRACE_IN_METHOD_DECLARATION) | ||
| Possible values | -+ | Possible values | +INSERT |
| + | DO_NOT_INSERT | ||
| Option to insert a space before the opening brace in a switch statement + | Option to insert a space before the opening brace in a switch statement (FORMATTER_INSERT_SPACE_BEFORE_OPENING_BRACE_IN_SWITCH) | ||
| Possible values | -+ | Possible values | +INSERT |
| + | DO_NOT_INSERT | ||
| Option to insert a space before the opening brace in a type declaration + | Option to insert a space before the opening brace in a type declaration (FORMATTER_INSERT_SPACE_BEFORE_OPENING_BRACE_IN_TYPE_DECLARATION) | ||
| Possible values | -+ | Possible values | +INSERT |
| + | DO_NOT_INSERT | ||
| Option to insert a space before the opening bracket in an array allocation + | 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 | +||
| Possible values | +INSERT | ||
| + | DO_NOT_INSERT | ||
| Option to insert a space before the opening bracket in an array reference + | 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 | +||
| Possible values | +INSERT | ||
| + | DO_NOT_INSERT | ||
| Option to insert a space before the opening bracket in an array type + | 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 | +||
| Possible values | +INSERT | ||
| + | DO_NOT_INSERT | ||
| Option to insert a space before the opening parenthesis in annotation + | Option to insert a space before the opening parenthesis in annotation (FORMATTER_INSERT_SPACE_BEFORE_OPENING_PAREN_IN_ANNOTATION) | ||
| Possible values | -INSERT | +||
| Possible values | +INSERT | ||
| + | DO_NOT_INSERT | ||
| Option to insert a space before the opening parenthesis in annotation type + | 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 | +||
| Possible values | +INSERT | ||
| + | DO_NOT_INSERT | ||
| Option to insert a space before the opening parenthesis in a catch + | Option to insert a space before the opening parenthesis in a catch (FORMATTER_INSERT_SPACE_BEFORE_OPENING_PAREN_IN_CATCH) | ||
| Possible values | -+ | Possible values | +INSERT |
| + | DO_NOT_INSERT | ||
| Option to insert a space before the opening parenthesis in a constructor + | 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 | +||
| Possible values | +INSERT | ||
| + | DO_NOT_INSERT | ||
| Option to insert a space before the opening parenthesis in enum constant + | Option to insert a space before the opening parenthesis in enum constant (FORMATTER_INSERT_SPACE_BEFORE_OPENING_PAREN_IN_ENUM_CONSTANT) | ||
| Possible values | -INSERT | +||
| Possible values | +INSERT | ||
| + | DO_NOT_INSERT | ||
| Option to insert a space before the opening parenthesis in a for statement + | Option to insert a space before the opening parenthesis in a for statement (FORMATTER_INSERT_SPACE_BEFORE_OPENING_PAREN_IN_FOR) | ||
| Possible values | -+ | Possible values | +INSERT |
| + | DO_NOT_INSERT | ||
| Option to insert a space before the opening parenthesis in an if statement + | Option to insert a space before the opening parenthesis in an if statement (FORMATTER_INSERT_SPACE_BEFORE_OPENING_PAREN_IN_IF) | ||
| Possible values | -+ | Possible values | +INSERT |
| + | DO_NOT_INSERT | ||
| Option to insert a space before the opening parenthesis in a method + | 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 | +||
| Possible values | +INSERT | ||
| + | DO_NOT_INSERT | ||
| Option to insert a space before the opening parenthesis in a method + | 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 | +||
| Possible values | +INSERT | ||
| + | DO_NOT_INSERT | ||
| Option to insert a space before the opening parenthesis in a parenthesized + | 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 | +||
| Possible values | +INSERT | ||
| + | DO_NOT_INSERT | ||
| Option to insert a space before the opening parenthesis in a switch + | Option to insert a space before the opening parenthesis in a switch statement (FORMATTER_INSERT_SPACE_BEFORE_OPENING_PAREN_IN_SWITCH) | ||
| Possible values | -+ | Possible values | +INSERT |
| + | DO_NOT_INSERT | ||
| Option to insert a space before the opening parenthesis in a synchronized + | Option to insert a space before the opening parenthesis in a synchronized statement (FORMATTER_INSERT_SPACE_BEFORE_OPENING_PAREN_IN_SYNCHRONIZED) | ||
| Possible values | -+ | Possible values | +INSERT |
| + | DO_NOT_INSERT | ||
| Option to insert a space before the opening parenthesis in a try with resources + | Option to insert a space before the opening parenthesis in a try with resources statement (FORMATTER_INSERT_SPACE_BEFORE_OPENING_PAREN_IN_TRY) | ||
| Possible values | -+ | Possible values | +INSERT |
| + | DO_NOT_INSERT | ||
| Option to insert a space before the opening parenthesis in a while statement + | Option to insert a space before the opening parenthesis in a while statement (FORMATTER_INSERT_SPACE_BEFORE_OPENING_PAREN_IN_WHILE) | ||
| Possible values | -+ | Possible values | +INSERT |
| + | DO_NOT_INSERT | ||
| Option to insert a space before parenthesized expression in return statement + | Option to insert a space before parenthesized expression in return statement (FORMATTER_INSERT_SPACE_BEFORE_PARENTHESIZED_EXPRESSION_IN_RETURN) | ||
| Possible values | -+ | Possible values | +INSERT |
| + | DO_NOT_INSERT | ||
| Option to insert a space before parenthesized expression in throw statement + | Option to insert a space before parenthesized expression in throw statement (FORMATTER_INSERT_SPACE_BEFORE_PARENTHESIZED_EXPRESSION_IN_THROW) | ||
| Possible values | -+ | Possible values | +INSERT |
| + | DO_NOT_INSERT | ||
| Option to insert a space before a postfix operator (Option to insert a space before a postfix operator (FORMATTER_INSERT_SPACE_BEFORE_POSTFIX_OPERATOR) | |||
| Possible values | -INSERT | +||
| Possible values | +INSERT | ||
| + | DO_NOT_INSERT | ||
| Option to insert a space before a prefix operator (Option to insert a space before a prefix operator (FORMATTER_INSERT_SPACE_BEFORE_PREFIX_OPERATOR) | |||
| Possible values | -INSERT | +||
| Possible values | +INSERT | ||
| + | DO_NOT_INSERT | ||
| Option to insert a space before question mark in a conditional expression + | Option to insert a space before question mark in a conditional expression (FORMATTER_INSERT_SPACE_BEFORE_QUESTION_IN_CONDITIONAL) | ||
| Possible values | -+ | Possible values | +INSERT |
| + | DO_NOT_INSERT | ||
| Option to insert a space before question mark in a wildcard (Option to insert a space before question mark in a wildcard (FORMATTER_INSERT_SPACE_BEFORE_QUESTION_IN_WILDCARD) | |||
| Possible values | -INSERT | +||
| Possible values | +INSERT | ||
| + | DO_NOT_INSERT | ||
| Option to insert a space before semicolon (Option to insert a space before semicolon (FORMATTER_INSERT_SPACE_BEFORE_SEMICOLON) | |||
| Possible values | -INSERT | +||
| Possible values | +INSERT | ||
| + | DO_NOT_INSERT | ||
| Option to insert a space before semicolon in for statement (Option to insert a space before semicolon in for statement (FORMATTER_INSERT_SPACE_BEFORE_SEMICOLON_IN_FOR) | |||
| Possible values | -INSERT | +||
| Possible values | +INSERT | ||
| + | DO_NOT_INSERT | ||
| Option to insert a space before each semicolon in try with resources statement (Option to insert a space before each semicolon in try with resources statement (FORMATTER_INSERT_SPACE_BEFORE_SEMICOLON_IN_TRY_RESOURCES) | |||
| Possible values | -INSERT | +||
| Possible values | +INSERT | ||
| + | DO_NOT_INSERT | ||
| Option to insert a space before unary operator (Option to insert a space before unary operator (FORMATTER_INSERT_SPACE_BEFORE_UNARY_OPERATOR) | |||
| Possible values | -INSERT | +||
| Possible values | +INSERT | ||
| + | DO_NOT_INSERT | ||
| Option to insert a space between brackets in an array type reference + | Option to insert a space between brackets in an array type reference (FORMATTER_INSERT_SPACE_BETWEEN_BRACKETS_IN_ARRAY_TYPE_REFERENCE) | ||
| Possible values | -INSERT | +||
| Possible values | +INSERT | ||
| + | DO_NOT_INSERT | ||
| Option to insert a space between empty braces in an array initializer + | Option to insert a space between empty braces in an array initializer (FORMATTER_INSERT_SPACE_BETWEEN_EMPTY_BRACES_IN_ARRAY_INITIALIZER) | ||
| Possible values | -INSERT | +||
| Possible values | +INSERT | ||
| + | DO_NOT_INSERT | ||
| Option to insert a space between empty brackets in an array allocation + | 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 | +||
| Possible values | +INSERT | ||
| + | DO_NOT_INSERT | ||
| Option to insert a space between empty parenthesis in an annotation type member + | 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 | +||
| Possible values | +INSERT | ||
| + | DO_NOT_INSERT | ||
| Option to insert a space between empty parenthesis in a constructor + | Option to insert a space between empty parenthesis in a constructor declaration (FORMATTER_INSERT_SPACE_BETWEEN_EMPTY_PARENS_IN_CONSTRUCTOR_DECLARATION) | ||
| Possible values | -INSERT | +||
| Possible values | +INSERT | ||
| + | DO_NOT_INSERT | ||
| Option to insert a space between empty parenthesis in enum constant + | Option to insert a space between empty parenthesis in enum constant (FORMATTER_INSERT_SPACE_BETWEEN_EMPTY_PARENS_IN_ENUM_CONSTANT) | ||
| Possible values | -INSERT | +||
| Possible values | +INSERT | ||
| + | DO_NOT_INSERT | ||
| Option to insert a space between empty parenthesis in a method declaration + | Option to insert a space between empty parenthesis in a method declaration (FORMATTER_INSERT_SPACE_BETWEEN_EMPTY_PARENS_IN_METHOD_DECLARATION) | ||
| Possible values | -INSERT | +||
| Possible values | +INSERT | ||
| + | DO_NOT_INSERT | ||
| Option to insert a space between empty parenthesis in a method invocation + | Option to insert a space between empty parenthesis in a method invocation (FORMATTER_INSERT_SPACE_BETWEEN_EMPTY_PARENS_IN_METHOD_INVOCATION) | ||
| Possible values | -INSERT | +||
| Possible values | +INSERT | ||
| + | DO_NOT_INSERT | ||
| Option to keep else statement on the same line (Option to keep else statement on the same line (FORMATTER_KEEP_ELSE_STATEMENT_ON_SAME_LINE) | |||
| Possible values | -+ | Possible values | +TRUE |
| + | FALSE | ||
| Option to keep empty array initializer one line (Option to keep empty array initializer one line (FORMATTER_KEEP_EMPTY_ARRAY_INITIALIZER_ON_ONE_LINE) | |||
| Possible values | -+ | Possible values | +TRUE |
| + | FALSE | ||
| Option to keep guardian clause on one line (Option to keep guardian clause on one line (FORMATTER_KEEP_GUARDIAN_CLAUSE_ON_ONE_LINE) | |||
| Possible values | -+ | Possible values | +TRUE |
| + | FALSE | ||
| Option to keep simple if statement on the one line (Option to keep simple if statement on the one line (FORMATTER_KEEP_SIMPLE_IF_ON_ONE_LINE) | |||
| Possible values | -+ | Possible values | +TRUE |
| + | FALSE | ||
| Option to keep then statement on the same line (Option to keep then statement on the same line (FORMATTER_KEEP_THEN_STATEMENT_ON_SAME_LINE) | |||
| Possible values | -+ | Possible values | +TRUE |
| + | FALSE | ||
| Option to specify the length of the page. Beyond this length, the formatter will + | 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 | +||
| Possible value | +"<n>", where n is zero or a positive integer | ||
| Default value | -"80" | +||
| Default value | +"80" | ||
| Option to indent block comments that start on the first column (Option to indent block comments that start on the first column (FORMATTER_NEVER_INDENT_BLOCK_COMMENTS_ON_FIRST_COLUMN) | |||
| Possible values | -+ | Possible values | +TRUE |
| + | FALSE | ||
| Option to indent line comments that start on the first column (Option to indent line comments that start on the first column (FORMATTER_NEVER_INDENT_LINE_COMMENTS_ON_FIRST_COLUMN) | |||
| Possible values | -+ | Possible values | +TRUE |
| + | FALSE | ||
| Option to specify the number of empty lines to preserve (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 | +||
| Possible value | +"<n>", where n is zero or a positive integer | ||
| Default value | -"0" | +||
| Default value | +"0" | ||
| Option to specify whether or not empty statement should be on a new line + | Option to specify whether or not empty statement should be on a new line (FORMATTER_PUT_EMPTY_STATEMENT_ON_NEW_LINE) | ||
| Possible values | -+ | Possible values | +TRUE |
| + | FALSE | ||
| Option to specify the tabulation size (Option to specify the tabulation size (FORMATTER_TAB_CHAR) | |||
| Possible values | -TAB | +||
| Possible values | +TAB | ||
| SPACE | +|||
| SPACE | |||
| + | MIXED | ||
| Option to specify the equivalent number of spaces that represents one + | 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 | +||
| Possible value | +"<n>", where n is zero or a positive integer | ||
| Default value | -"4" | +||
| Default value | +"4" | ||
| Option to use tabulations only for leading indentations (Option to use tabulations only for leading indentations (FORMATTER_USE_TABS_ONLY_FOR_LEADING_INDENTATIONS) | |||
| Possible values | -+ | Possible values | +TRUE |
| + | FALSE | ||
| Option to wrap before the binary operator (Option to wrap before the binary operator (FORMATTER_WRAP_BEFORE_BINARY_OPERATOR) | |||
| Possible values | -+ | Possible values | +TRUE |
| + | FALSE | ||
| Option to wrap before OR operator in a multi-catch expression (Option to wrap before OR operator in a multi-catch expression (FORMATTER_WRAP_BEFORE_OR_OPERATOR_MULTICATCH) | |||
| Possible values | -+ | Possible values | +TRUE |
| + | FALSE | ||
| Option to wrap outer expressions in nested expressions (Option to wrap outer expressions in nested expressions (FORMATTER_WRAP_OUTER_EXPRESSIONS_WHEN_NESTED) | |||
| Possible values | -+ | Possible values | +TRUE |
| + | FALSE | ||
| Description | +Description | -Values | +Values |
|---|---|---|---|
| Define the Prefixes for Argument Name (Define the Prefixes for Argument Name (CODEASSIST_ARGUMENT_PREFIXES) | |||
| When the prefixes is non empty, completion for argument name will begin with one of + | |||
| When the prefixes is non empty, completion for argument name will begin with one of the proposed prefixes. | -{<prefix>[,<prefix>]*}. + | {<prefix>[,<prefix>]*}. Default value is "" |
|
| Define the Suffixes for Argument Name (Define the Suffixes for Argument Name (CODEASSIST_ARGUMENT_SUFFIXES) | |||
| When the suffixes is non empty, completion for argument name will end with one of + | |||
| When the suffixes is non empty, completion for argument name will end with one of the proposed suffixes. | -{<suffix>[,<suffix>]*}. + | {<suffix>[,<suffix>]*}. Default value is "" |
|
| Activate Camel Case Sensitive Completion (Activate Camel Case Sensitive Completion (CODEASSIST_CAMEL_CASE_MATCH) | |||
| When enabled, completion shows proposals whose name match the CamelCase + | |||
| When enabled, completion shows proposals whose name match the CamelCase pattern. | -ENABLED | ||
| DISABLED | +|||
| DISABLED | |||
| Activate Substring Code Completion (Activate Substring Code Completion (CODEASSIST_SUBSTRING_MATCH) | |||
| When enabled, completion shows proposals in which the pattern can + | |||
| When enabled, completion shows proposals in which the pattern can be found as a substring in a case-insensitive way. | -ENABLED | ||
| DISABLED | +|||
| DISABLED | |||
| Activate Deprecation Sensitive Completion (Activate Deprecation Sensitive Completion (CODEASSIST_DEPRECATION_CHECK) | |||
| When enabled, completion doesn't propose deprecated members and types. | -ENABLED | +||
| When enabled, completion doesn't propose deprecated members and types. | +ENABLED | ||
| + | DISABLED | ||
| Activate Discouraged Reference Sensitive Completion (Activate Discouraged Reference Sensitive Completion (CODEASSIST_DISCOURAGED_REFERENCE_CHECK) | |||
| When enabled, completion doesn't propose elements which match a discouraged + | |||
| When enabled, completion doesn't propose elements which match a discouraged reference rule. | -ENABLED | +ENABLED | |
| + | DISABLED | ||
| Define the Prefixes for Field Name (Define the Prefixes for Field Name (CODEASSIST_FIELD_PREFIXES) | |||
| When the prefixes is non empty, completion for field name will begin with one of + | |||
| When the prefixes is non empty, completion for field name will begin with one of the proposed prefixes. | -{<prefix>[,<prefix>]*}. + | {<prefix>[,<prefix>]*}. Default value is "" |
|
| Define the Suffixes for Field Name (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 + | |||
| When the suffixes is non empty, completion for field name will end with one of the proposed suffixes. | -{<suffix>[,<suffix>]*}. + | {<suffix>[,<suffix>]*}. Default value is "" |
|
| Activate Forbidden Reference Sensitive Completion (Activate Forbidden Reference Sensitive Completion (CODEASSIST_FORBIDDEN_REFERENCE_CHECK) | |||
| When enabled, completion doesn't propose elements which match a forbidden reference + | |||
| When enabled, completion doesn't propose elements which match a forbidden reference rule. | -ENABLED | ||
| DISABLED | +|||
| DISABLED | |||
| Automatic Qualification of Implicit Members (Automatic Qualification of Implicit Members (CODEASSIST_IMPLICIT_QUALIFICATION) | |||
| When enabled, completion automatically qualifies completion on implicit field + | |||
| When enabled, completion automatically qualifies completion on implicit field references and message expressions. | -ENABLED | +ENABLED | |
| + | DISABLED | ||
| Define the Prefixes for Local Variable Name (Define the Prefixes for Local Variable Name (CODEASSIST_LOCAL_PREFIXES) | |||
| When the prefixes is non empty, completion for local variable name will begin with + | |||
| When the prefixes is non empty, completion for local variable name will begin with one of the proposed prefixes. | -{<prefix>[,<prefix>]*}. + | {<prefix>[,<prefix>]*}. Default value is "" |
|
| Define the Suffixes for Local Variable Name (Define the Suffixes for Local Variable Name (CODEASSIST_LOCAL_SUFFIXES) | |||
| When the suffixes is non empty, completion for local variable name will end with + | |||
| When the suffixes is non empty, completion for local variable name will end with one of the proposed suffixes. | -{<suffix>[,<suffix>]*}. + | {<suffix>[,<suffix>]*}. Default value is "" |
|
| Define the Prefixes for Static Field Name (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 + | |||
| When the prefixes is non empty, completion for static field name will begin with one of the proposed prefixes. | -{<prefix>[,<prefix>]*}. + | {<prefix>[,<prefix>]*}. Default value is "" |
|
| Define the Suffixes for Static Field Name (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 + | |||
| When the suffixes is non empty, completion for static field name will end with one of the proposed suffixes. | -{<suffix>[,<suffix>]*}. + | {<suffix>[,<suffix>]*}. Default value is "" |
|
| Activate Suggestion of Static Import (Activate Suggestion of Static Import (CODEASSIST_SUGGEST_STATIC_IMPORTS) | |||
| When enabled, completion proposals can contain static import pattern. | -+ | When enabled, completion proposals can contain static import pattern. | +ENABLED |
| DISABLED | +|||
| DISABLED | |||
| Activate Visibility Sensitive Completion (Activate Visibility Sensitive Completion (CODEASSIST_VISIBILITY_CHECK) | |||
| When enabled, completion doesn't propose elements that are not visible at the + | |||
| 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 | +ENABLED | |
| + | DISABLED | ||
The entry point for Java search is the SearchEngine class. You can search for particular patterns inside a Java element and scope the search to specific elements. Search patterns can be created using createPattern. A pattern is scoped using createJavaSearchScope. Once a pattern and scope are defined, +"../reference/api/org/eclipse/jdt/core/search/SearchEngine.html#createJavaSearchScope(org.eclipse.jdt.core.IJavaElement%5B%5D)">createJavaSearchScope. Once a pattern and scope are defined, the +"../reference/api/org/eclipse/jdt/core/search/SearchEngine.html#search(org.eclipse.jdt.core.search.SearchPattern,%20org.eclipse.jdt.core.search.SearchParticipant%5B%5D,%20org.eclipse.jdt.core.search.IJavaSearchScope,%20org.eclipse.jdt.core.search.SearchRequestor,%20org.eclipse.core.runtime.IProgressMonitor)"> search method is used to collect the results.
Search results are reported to a SearchRequestor which you must extend in order to access the results.
@@ -163,7 +161,7 @@If you are interested in search results in a given project or even in a given package, or if you know that search results can only be found in the hierarchy of a given type, you can create the appropriate search scope using createJavaSearchScope(IJavaElement[]) or createJavaSearchScope(IJavaElement[]) or createHierarchyScope(IType).
For example, creating a search scope on a given package is done as follows:
diff --git a/eclipse.platform.common/bundles/org.eclipse.jdt.doc.isv/guide/jdt_api_searchindex.htm b/eclipse.platform.common/bundles/org.eclipse.jdt.doc.isv/guide/jdt_api_searchindex.htm index e1e8771e192..c986133f53f 100644 --- a/eclipse.platform.common/bundles/org.eclipse.jdt.doc.isv/guide/jdt_api_searchindex.htm +++ b/eclipse.platform.common/bundles/org.eclipse.jdt.doc.isv/guide/jdt_api_searchindex.htm @@ -1,12 +1,10 @@ - - + + - - - + +Setting the Java build path diff --git a/eclipse.platform.common/bundles/org.eclipse.jdt.doc.isv/guide/jdt_api_utility.htm b/eclipse.platform.common/bundles/org.eclipse.jdt.doc.isv/guide/jdt_api_utility.htm index afa27616a1b..b92bbec5185 100644 --- a/eclipse.platform.common/bundles/org.eclipse.jdt.doc.isv/guide/jdt_api_utility.htm +++ b/eclipse.platform.common/bundles/org.eclipse.jdt.doc.isv/guide/jdt_api_utility.htm @@ -1,10 +1,9 @@ - + - - - - + + +JavaUI utilities diff --git a/eclipse.platform.common/bundles/org.eclipse.jdt.doc.isv/guide/jdt_api_wizards.htm b/eclipse.platform.common/bundles/org.eclipse.jdt.doc.isv/guide/jdt_api_wizards.htm index b45ff492ca6..706631bc549 100644 --- a/eclipse.platform.common/bundles/org.eclipse.jdt.doc.isv/guide/jdt_api_wizards.htm +++ b/eclipse.platform.common/bundles/org.eclipse.jdt.doc.isv/guide/jdt_api_wizards.htm @@ -1,12 +1,10 @@ - - + + - - - + +Java wizard pages diff --git a/eclipse.platform.common/bundles/org.eclipse.jdt.doc.isv/guide/jdt_api_write_jar_file.htm b/eclipse.platform.common/bundles/org.eclipse.jdt.doc.isv/guide/jdt_api_write_jar_file.htm index 62c4096fac8..2968de501fc 100644 --- a/eclipse.platform.common/bundles/org.eclipse.jdt.doc.isv/guide/jdt_api_write_jar_file.htm +++ b/eclipse.platform.common/bundles/org.eclipse.jdt.doc.isv/guide/jdt_api_write_jar_file.htm @@ -1,12 +1,10 @@ - - + + - - - + +Programmatically Writing a Jar file diff --git a/eclipse.platform.common/bundles/org.eclipse.jdt.doc.isv/guide/jdt_apt_building_with_apt.htm b/eclipse.platform.common/bundles/org.eclipse.jdt.doc.isv/guide/jdt_apt_building_with_apt.htm index 0eba065e25e..a86216d23a2 100644 --- a/eclipse.platform.common/bundles/org.eclipse.jdt.doc.isv/guide/jdt_apt_building_with_apt.htm +++ b/eclipse.platform.common/bundles/org.eclipse.jdt.doc.isv/guide/jdt_apt_building_with_apt.htm @@ -1,10 +1,9 @@ - - + + - - + +Headless Building with APT in Eclipse diff --git a/eclipse.platform.common/bundles/org.eclipse.jdt.doc.isv/guide/jdt_apt_getting_started.htm b/eclipse.platform.common/bundles/org.eclipse.jdt.doc.isv/guide/jdt_apt_getting_started.htm index c6c9d69cb9e..11c205913b6 100644 --- a/eclipse.platform.common/bundles/org.eclipse.jdt.doc.isv/guide/jdt_apt_getting_started.htm +++ b/eclipse.platform.common/bundles/org.eclipse.jdt.doc.isv/guide/jdt_apt_getting_started.htm @@ -1,10 +1,9 @@ - - + + - - + +Getting started with APT in Eclipse diff --git a/eclipse.platform.common/bundles/org.eclipse.jdt.doc.isv/guide/jdt_int.htm b/eclipse.platform.common/bundles/org.eclipse.jdt.doc.isv/guide/jdt_int.htm index 94f14def153..c8770ba4815 100644 --- a/eclipse.platform.common/bundles/org.eclipse.jdt.doc.isv/guide/jdt_int.htm +++ b/eclipse.platform.common/bundles/org.eclipse.jdt.doc.isv/guide/jdt_int.htm @@ -1,10 +1,9 @@ - + - - - - + + +JDT Programmer's Guide diff --git a/eclipse.platform.common/bundles/org.eclipse.jdt.doc.isv/guide/jdt_int_apt.htm b/eclipse.platform.common/bundles/org.eclipse.jdt.doc.isv/guide/jdt_int_apt.htm index 16602b34429..f9a67d62d6d 100644 --- a/eclipse.platform.common/bundles/org.eclipse.jdt.doc.isv/guide/jdt_int_apt.htm +++ b/eclipse.platform.common/bundles/org.eclipse.jdt.doc.isv/guide/jdt_int_apt.htm @@ -1,10 +1,9 @@ - + - - - - + + +JDT Core diff --git a/eclipse.platform.common/bundles/org.eclipse.jdt.doc.isv/guide/jdt_int_core.htm b/eclipse.platform.common/bundles/org.eclipse.jdt.doc.isv/guide/jdt_int_core.htm index e9d1a76100e..1906f047f7b 100644 --- a/eclipse.platform.common/bundles/org.eclipse.jdt.doc.isv/guide/jdt_int_core.htm +++ b/eclipse.platform.common/bundles/org.eclipse.jdt.doc.isv/guide/jdt_int_core.htm @@ -1,10 +1,9 @@ - + - - - - + + +JDT Core diff --git a/eclipse.platform.common/bundles/org.eclipse.jdt.doc.isv/guide/jdt_int_debug.htm b/eclipse.platform.common/bundles/org.eclipse.jdt.doc.isv/guide/jdt_int_debug.htm index 471028b0285..d592dbc1998 100644 --- a/eclipse.platform.common/bundles/org.eclipse.jdt.doc.isv/guide/jdt_int_debug.htm +++ b/eclipse.platform.common/bundles/org.eclipse.jdt.doc.isv/guide/jdt_int_debug.htm @@ -1,10 +1,9 @@ - + - - - - + + +JDT Debug diff --git a/eclipse.platform.common/bundles/org.eclipse.jdt.doc.isv/guide/jdt_int_junit.htm b/eclipse.platform.common/bundles/org.eclipse.jdt.doc.isv/guide/jdt_int_junit.htm index 8eaad168de9..15abf77db95 100644 --- a/eclipse.platform.common/bundles/org.eclipse.jdt.doc.isv/guide/jdt_int_junit.htm +++ b/eclipse.platform.common/bundles/org.eclipse.jdt.doc.isv/guide/jdt_int_junit.htm @@ -1,10 +1,9 @@ - + - - - - + + +JDT JUnit integration diff --git a/eclipse.platform.common/bundles/org.eclipse.jdt.doc.isv/guide/jdt_int_model.htm b/eclipse.platform.common/bundles/org.eclipse.jdt.doc.isv/guide/jdt_int_model.htm index 05624e100d6..e253615a309 100644 --- a/eclipse.platform.common/bundles/org.eclipse.jdt.doc.isv/guide/jdt_int_model.htm +++ b/eclipse.platform.common/bundles/org.eclipse.jdt.doc.isv/guide/jdt_int_model.htm @@ -1,12 +1,10 @@ - - + + - - - + +Java model @@ -31,7 +29,7 @@Java Elements
actually present in the workspace.The following table summarizes the different kinds of Java elements.
-
| Element | diff --git a/eclipse.platform.common/bundles/org.eclipse.jdt.doc.isv/guide/jdt_int_ui.htm b/eclipse.platform.common/bundles/org.eclipse.jdt.doc.isv/guide/jdt_int_ui.htm index d128b4cc855..ecb9c44700d 100644 --- a/eclipse.platform.common/bundles/org.eclipse.jdt.doc.isv/guide/jdt_int_ui.htm +++ b/eclipse.platform.common/bundles/org.eclipse.jdt.doc.isv/guide/jdt_int_ui.htm @@ -1,10 +1,9 @@ - + - - - - + + +
|---|