From 8133c176174345359ef8fe0b96cd25d0636c034e Mon Sep 17 00:00:00 2001 From: Rob Stryker Date: Fri, 9 Feb 2024 18:38:35 -0500 Subject: [PATCH] Incremental delete of duplicate interfaces (IMultiFixCore & ILinkedFixCore) - Delete internal interface IMultiFixCore & ILinkedFixCore, plus small cleanup Signed-off-by: Rob Stryker --- .../core/manipulation/CleanUpContextCore.java | 2 + .../core/manipulation/CleanUpOptionsCore.java | 2 + .../manipulation/CleanUpRequirementsCore.java | 2 + .../core/manipulation/ICleanUpFixCore.java | 2 + .../jdt/internal/ui/fix/IMultiFixCore.java | 69 -- .../ui/fix/MapCleanUpOptionsCore.java | 65 -- .../jdt/ui/cleanup/CleanUpContext.java | 1 + .../jdt/ui/cleanup/CleanUpOptions.java | 1 + .../eclipse/jdt/ui/cleanup/ICleanUpFix.java | 1 + .../internal/corext/fix/AbstractFixCore.java | 4 +- .../internal/corext/fix/CleanUpConstants.java | 607 +++++++++--------- ...mpilationUnitRewriteOperationsFixCore.java | 2 +- .../jdt/internal/corext/fix/ILinkedFix.java | 0 .../internal/corext/fix/ILinkedFixCore.java | 31 - .../corext/fix/UnusedCodeFixCore.java | 18 +- .../correction/SerialVersionProposalCore.java | 9 +- .../AssignToVariableAssistProposalCore.java | 9 +- .../proposals/FixCorrectionProposalCore.java | 6 +- .../jdt/ui/tests/quickfix/CleanUpTest.java | 3 +- .../CompilationUnitRewriteOperationsFix.java | 4 +- 20 files changed, 342 insertions(+), 496 deletions(-) delete mode 100644 org.eclipse.jdt.core.manipulation/common/org/eclipse/jdt/internal/ui/fix/IMultiFixCore.java delete mode 100644 org.eclipse.jdt.core.manipulation/common/org/eclipse/jdt/internal/ui/fix/MapCleanUpOptionsCore.java rename {org.eclipse.jdt.ui => org.eclipse.jdt.core.manipulation}/core extension/org/eclipse/jdt/internal/corext/fix/ILinkedFix.java (100%) delete mode 100644 org.eclipse.jdt.core.manipulation/core extension/org/eclipse/jdt/internal/corext/fix/ILinkedFixCore.java diff --git a/org.eclipse.jdt.core.manipulation/common/org/eclipse/jdt/core/manipulation/CleanUpContextCore.java b/org.eclipse.jdt.core.manipulation/common/org/eclipse/jdt/core/manipulation/CleanUpContextCore.java index 7b4329a3dba..532a7c2d6da 100644 --- a/org.eclipse.jdt.core.manipulation/common/org/eclipse/jdt/core/manipulation/CleanUpContextCore.java +++ b/org.eclipse.jdt.core.manipulation/common/org/eclipse/jdt/core/manipulation/CleanUpContextCore.java @@ -24,7 +24,9 @@ * The context that contains all information required by a clean up to create a fix. * * @since 1.12 + * @deprecated Please use CleanUpContext in the future */ +@Deprecated public class CleanUpContextCore { private final ICompilationUnit fUnit; diff --git a/org.eclipse.jdt.core.manipulation/common/org/eclipse/jdt/core/manipulation/CleanUpOptionsCore.java b/org.eclipse.jdt.core.manipulation/common/org/eclipse/jdt/core/manipulation/CleanUpOptionsCore.java index 11fb06d3c9c..5aceb8389c9 100644 --- a/org.eclipse.jdt.core.manipulation/common/org/eclipse/jdt/core/manipulation/CleanUpOptionsCore.java +++ b/org.eclipse.jdt.core.manipulation/common/org/eclipse/jdt/core/manipulation/CleanUpOptionsCore.java @@ -28,8 +28,10 @@ * Allows to set and retrieve clean up settings for given options keys. * * @since 1.12 + * @deprecated Please use CleanUpOptions in the future * This class is not intended to be subclassed by clients. */ +@Deprecated public class CleanUpOptionsCore { private final Map fOptions; diff --git a/org.eclipse.jdt.core.manipulation/common/org/eclipse/jdt/core/manipulation/CleanUpRequirementsCore.java b/org.eclipse.jdt.core.manipulation/common/org/eclipse/jdt/core/manipulation/CleanUpRequirementsCore.java index dfa8641a627..253adf32194 100644 --- a/org.eclipse.jdt.core.manipulation/common/org/eclipse/jdt/core/manipulation/CleanUpRequirementsCore.java +++ b/org.eclipse.jdt.core.manipulation/common/org/eclipse/jdt/core/manipulation/CleanUpRequirementsCore.java @@ -25,7 +25,9 @@ * Specifies the requirements of a clean up. * * @since 1.12 + * @deprecated Please use CleanUpRequirements in the future */ +@Deprecated final public class CleanUpRequirementsCore { protected final boolean fRequiresAST; diff --git a/org.eclipse.jdt.core.manipulation/common/org/eclipse/jdt/core/manipulation/ICleanUpFixCore.java b/org.eclipse.jdt.core.manipulation/common/org/eclipse/jdt/core/manipulation/ICleanUpFixCore.java index 2469d25d011..69a0f3118a8 100644 --- a/org.eclipse.jdt.core.manipulation/common/org/eclipse/jdt/core/manipulation/ICleanUpFixCore.java +++ b/org.eclipse.jdt.core.manipulation/common/org/eclipse/jdt/core/manipulation/ICleanUpFixCore.java @@ -25,7 +25,9 @@ * fix one or more problems in a compilation unit. * * @since 1.12 + * @deprecated Please use ICleanUpFix in the future */ +@Deprecated public interface ICleanUpFixCore { /** diff --git a/org.eclipse.jdt.core.manipulation/common/org/eclipse/jdt/internal/ui/fix/IMultiFixCore.java b/org.eclipse.jdt.core.manipulation/common/org/eclipse/jdt/internal/ui/fix/IMultiFixCore.java deleted file mode 100644 index 4a9be550086..00000000000 --- a/org.eclipse.jdt.core.manipulation/common/org/eclipse/jdt/internal/ui/fix/IMultiFixCore.java +++ /dev/null @@ -1,69 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2019 IBM Corporation and others. - * - * This program and the accompanying materials - * are made available under the terms of the Eclipse Public License 2.0 - * which accompanies this distribution, and is available at - * https://www.eclipse.org/legal/epl-2.0/ - * - * SPDX-License-Identifier: EPL-2.0 - * - * Contributors: - * IBM Corporation - initial API and implementation - * Red Hat Inc. - copied from IMultiFix and modified for use in jdt.core.manipulation - *******************************************************************************/ -package org.eclipse.jdt.internal.ui.fix; - - -import org.eclipse.jdt.core.ICompilationUnit; -import org.eclipse.jdt.core.dom.CompilationUnit; - -import org.eclipse.jdt.ui.cleanup.CleanUpContext; -import org.eclipse.jdt.ui.cleanup.ICleanUp; -import org.eclipse.jdt.ui.text.java.IProblemLocation; - -public interface IMultiFixCore extends ICleanUp { - - public static class MultiFixContext extends CleanUpContext { - - private final IProblemLocation[] fLocations; - - public MultiFixContext(ICompilationUnit unit, CompilationUnit ast, IProblemLocation[] locations) { - super(unit, ast); - fLocations= locations; - } - - /** - * @return locations of problems to fix. - */ - public IProblemLocation[] getProblemLocations() { - return fLocations; - } - } - - /** - * True if problem in ICompilationUnit can be - * fixed by this CleanUp. - *

- * This must be a fast operation, the result can be a guess. - *

- * - * @param compilationUnit - * The compilation unit to fix not null - * @param problem - * The location of the problem to fix - * @return True if problem can be fixed - */ - boolean canFix(ICompilationUnit compilationUnit, IProblemLocation problem); - - /** - * Maximal number of problems this clean up will fix in compilation unit. - * There may be less then the returned number but never more. - * - * @param compilationUnit - * The compilation unit to fix, not null - * @return The maximal number of fixes or -1 if unknown. - */ - int computeNumberOfFixes(CompilationUnit compilationUnit); - -} diff --git a/org.eclipse.jdt.core.manipulation/common/org/eclipse/jdt/internal/ui/fix/MapCleanUpOptionsCore.java b/org.eclipse.jdt.core.manipulation/common/org/eclipse/jdt/internal/ui/fix/MapCleanUpOptionsCore.java deleted file mode 100644 index e70df8c99e1..00000000000 --- a/org.eclipse.jdt.core.manipulation/common/org/eclipse/jdt/internal/ui/fix/MapCleanUpOptionsCore.java +++ /dev/null @@ -1,65 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2019 IBM Corporation and others. - * - * This program and the accompanying materials - * are made available under the terms of the Eclipse Public License 2.0 - * which accompanies this distribution, and is available at - * https://www.eclipse.org/legal/epl-2.0/ - * - * SPDX-License-Identifier: EPL-2.0 - * - * Contributors: - * IBM Corporation - initial API and implementation - * Red Hat Inc. - modified and renamed for use in jdt.core.manipulation - *******************************************************************************/ -package org.eclipse.jdt.internal.ui.fix; - -import java.util.Hashtable; -import java.util.Map; - -import org.eclipse.jdt.core.manipulation.CleanUpOptionsCore; - -import org.eclipse.jdt.internal.corext.fix.CleanUpConstants; - -public class MapCleanUpOptionsCore extends CleanUpOptionsCore { - - private final Map fOptions; - - /** - * Create new CleanUpOptions instance. options - * maps named clean ups keys to {@link CleanUpOptionsCore#TRUE}, - * {@link CleanUpOptionsCore#FALSE} or any String value - * - * @param options map from String to String - * @see CleanUpConstants - */ - public MapCleanUpOptionsCore(Map options) { - super(options); - fOptions= options; - } - - public MapCleanUpOptionsCore() { - this(new Hashtable<>()); - } - - /** - * @return all options as map, modifying the map modifies this object - */ - public Map getMap() { - return fOptions; - } - - /** - * @param options the options to add to this options - */ - public void addAll(CleanUpOptionsCore options) { - if (options instanceof MapCleanUpOptionsCore) { - fOptions.putAll(((MapCleanUpOptionsCore)options).getMap()); - } else { - for (String key : options.getKeys()) { - fOptions.put(key, options.getValue(key)); - } - } - } - -} diff --git a/org.eclipse.jdt.core.manipulation/common/org/eclipse/jdt/ui/cleanup/CleanUpContext.java b/org.eclipse.jdt.core.manipulation/common/org/eclipse/jdt/ui/cleanup/CleanUpContext.java index dba1e8dfb46..d8460814d68 100644 --- a/org.eclipse.jdt.core.manipulation/common/org/eclipse/jdt/ui/cleanup/CleanUpContext.java +++ b/org.eclipse.jdt.core.manipulation/common/org/eclipse/jdt/ui/cleanup/CleanUpContext.java @@ -25,6 +25,7 @@ * * @since 1.21 */ +@SuppressWarnings("deprecation") public class CleanUpContext extends CleanUpContextCore { /** diff --git a/org.eclipse.jdt.core.manipulation/common/org/eclipse/jdt/ui/cleanup/CleanUpOptions.java b/org.eclipse.jdt.core.manipulation/common/org/eclipse/jdt/ui/cleanup/CleanUpOptions.java index 8798591e861..e34b5321c6b 100644 --- a/org.eclipse.jdt.core.manipulation/common/org/eclipse/jdt/ui/cleanup/CleanUpOptions.java +++ b/org.eclipse.jdt.core.manipulation/common/org/eclipse/jdt/ui/cleanup/CleanUpOptions.java @@ -27,6 +27,7 @@ * @since 1.21 * @noextend This class is not intended to be subclassed by clients. */ +@SuppressWarnings("deprecation") public class CleanUpOptions extends CleanUpOptionsCore { /** diff --git a/org.eclipse.jdt.core.manipulation/common/org/eclipse/jdt/ui/cleanup/ICleanUpFix.java b/org.eclipse.jdt.core.manipulation/common/org/eclipse/jdt/ui/cleanup/ICleanUpFix.java index 199ded9e439..e9094c682f3 100644 --- a/org.eclipse.jdt.core.manipulation/common/org/eclipse/jdt/ui/cleanup/ICleanUpFix.java +++ b/org.eclipse.jdt.core.manipulation/common/org/eclipse/jdt/ui/cleanup/ICleanUpFix.java @@ -26,6 +26,7 @@ * * @since 1.21 */ +@SuppressWarnings("deprecation") public interface ICleanUpFix extends ICleanUpFixCore { /** diff --git a/org.eclipse.jdt.core.manipulation/core extension/org/eclipse/jdt/internal/corext/fix/AbstractFixCore.java b/org.eclipse.jdt.core.manipulation/core extension/org/eclipse/jdt/internal/corext/fix/AbstractFixCore.java index 81315acf5d0..683dcbdda55 100644 --- a/org.eclipse.jdt.core.manipulation/core extension/org/eclipse/jdt/internal/corext/fix/AbstractFixCore.java +++ b/org.eclipse.jdt.core.manipulation/core extension/org/eclipse/jdt/internal/corext/fix/AbstractFixCore.java @@ -17,7 +17,7 @@ import org.eclipse.core.runtime.IStatus; -public abstract class AbstractFixCore implements IProposableFix, ILinkedFixCore { +public abstract class AbstractFixCore implements IProposableFix, ILinkedFix { private final String fDisplayString; @@ -36,7 +36,7 @@ public String getDisplayString() { } @Override - public LinkedProposalModelCore getLinkedPositionsCore() { + public LinkedProposalModelCore getLinkedPositions() { return null; } diff --git a/org.eclipse.jdt.core.manipulation/core extension/org/eclipse/jdt/internal/corext/fix/CleanUpConstants.java b/org.eclipse.jdt.core.manipulation/core extension/org/eclipse/jdt/internal/corext/fix/CleanUpConstants.java index 1c04a06edb0..17777770d5a 100644 --- a/org.eclipse.jdt.core.manipulation/core extension/org/eclipse/jdt/internal/corext/fix/CleanUpConstants.java +++ b/org.eclipse.jdt.core.manipulation/core extension/org/eclipse/jdt/internal/corext/fix/CleanUpConstants.java @@ -16,7 +16,8 @@ package org.eclipse.jdt.internal.corext.fix; import org.eclipse.jdt.core.formatter.DefaultCodeFormatterConstants; -import org.eclipse.jdt.core.manipulation.CleanUpOptionsCore; + +import org.eclipse.jdt.ui.cleanup.CleanUpOptions; public class CleanUpConstants { /** @@ -35,8 +36,8 @@ public class CleanUpConstants { * Possible values: {TRUE, FALSE}
*
* - * @see CleanUpOptionsCore#TRUE - * @see CleanUpOptionsCore#FALSE + * @see CleanUpOptions#TRUE + * @see CleanUpOptions#FALSE * @since 3.3 */ public static final String FORMAT_SOURCE_CODE= "cleanup.format_source_code"; //$NON-NLS-1$ @@ -50,8 +51,8 @@ public class CleanUpConstants { * *
* - * @see CleanUpOptionsCore#TRUE - * @see CleanUpOptionsCore#FALSE + * @see CleanUpOptions#TRUE + * @see CleanUpOptions#FALSE * @since 3.4 */ public static final String FORMAT_SOURCE_CODE_CHANGES_ONLY= "cleanup.format_source_code_changes_only"; //$NON-NLS-1$ @@ -64,8 +65,8 @@ public class CleanUpConstants { * *
* - * @see CleanUpOptionsCore#TRUE - * @see CleanUpOptionsCore#FALSE + * @see CleanUpOptions#TRUE + * @see CleanUpOptions#FALSE * @since 3.3 * @deprecated replaced by {@link #FORMAT_SOURCE_CODE} */ @@ -79,8 +80,8 @@ public class CleanUpConstants { * *
* - * @see CleanUpOptionsCore#TRUE - * @see CleanUpOptionsCore#FALSE + * @see CleanUpOptions#TRUE + * @see CleanUpOptions#FALSE * @since 3.3 * @deprecated replaced by * {@link DefaultCodeFormatterConstants#FORMATTER_COMMENT_FORMAT_LINE_COMMENT} @@ -95,8 +96,8 @@ public class CleanUpConstants { * *
* - * @see CleanUpOptionsCore#TRUE - * @see CleanUpOptionsCore#FALSE + * @see CleanUpOptions#TRUE + * @see CleanUpOptions#FALSE * @since 3.3 * @deprecated replaced by * {@link DefaultCodeFormatterConstants#FORMATTER_COMMENT_FORMAT_BLOCK_COMMENT} @@ -111,8 +112,8 @@ public class CleanUpConstants { * *
* - * @see CleanUpOptionsCore#TRUE - * @see CleanUpOptionsCore#FALSE + * @see CleanUpOptions#TRUE + * @see CleanUpOptions#FALSE * @since 3.3 * @deprecated replaced by * {@link DefaultCodeFormatterConstants#FORMATTER_COMMENT_FORMAT_JAVADOC_COMMENT} @@ -127,8 +128,8 @@ public class CleanUpConstants { * *
* - * @see CleanUpOptionsCore#TRUE - * @see CleanUpOptionsCore#FALSE + * @see CleanUpOptions#TRUE + * @see CleanUpOptions#FALSE * @since 3.3 */ public static final String FORMAT_REMOVE_TRAILING_WHITESPACES= "cleanup.remove_trailing_whitespaces"; //$NON-NLS-1$ @@ -141,8 +142,8 @@ public class CleanUpConstants { * *
* - * @see CleanUpOptionsCore#TRUE - * @see CleanUpOptionsCore#FALSE + * @see CleanUpOptions#TRUE + * @see CleanUpOptions#FALSE * @since 3.3 */ public static final String FORMAT_REMOVE_TRAILING_WHITESPACES_ALL= "cleanup.remove_trailing_whitespaces_all"; //$NON-NLS-1$ @@ -156,8 +157,8 @@ public class CleanUpConstants { * *
* - * @see CleanUpOptionsCore#TRUE - * @see CleanUpOptionsCore#FALSE + * @see CleanUpOptions#TRUE + * @see CleanUpOptions#FALSE * @since 3.3 */ public static final String FORMAT_REMOVE_TRAILING_WHITESPACES_IGNORE_EMPTY= "cleanup.remove_trailing_whitespaces_ignore_empty"; //$NON-NLS-1$ @@ -169,8 +170,8 @@ public class CleanUpConstants { * *
* - * @see CleanUpOptionsCore#TRUE - * @see CleanUpOptionsCore#FALSE + * @see CleanUpOptions#TRUE + * @see CleanUpOptions#FALSE * @since 3.4 */ public static final String FORMAT_CORRECT_INDENTATION= "cleanup.correct_indentation"; //$NON-NLS-1$ @@ -184,8 +185,8 @@ public class CleanUpConstants { * *
* - * @see CleanUpOptionsCore#TRUE - * @see CleanUpOptionsCore#FALSE + * @see CleanUpOptions#TRUE + * @see CleanUpOptions#FALSE * @since 3.3 */ public static final String MEMBER_ACCESSES_NON_STATIC_FIELD_USE_THIS= "cleanup.use_this_for_non_static_field_access"; //$NON-NLS-1$ @@ -206,8 +207,8 @@ public class CleanUpConstants { * *
* - * @see CleanUpOptionsCore#TRUE - * @see CleanUpOptionsCore#FALSE + * @see CleanUpOptions#TRUE + * @see CleanUpOptions#FALSE * @since 3.3 */ public static final String MEMBER_ACCESSES_NON_STATIC_FIELD_USE_THIS_ALWAYS= "cleanup.always_use_this_for_non_static_field_access"; //$NON-NLS-1$ @@ -228,8 +229,8 @@ public class CleanUpConstants { * *
* - * @see CleanUpOptionsCore#TRUE - * @see CleanUpOptionsCore#FALSE + * @see CleanUpOptions#TRUE + * @see CleanUpOptions#FALSE * @since 3.3 */ public static final String MEMBER_ACCESSES_NON_STATIC_FIELD_USE_THIS_IF_NECESSARY= "cleanup.use_this_for_non_static_field_access_only_if_necessary"; //$NON-NLS-1$ @@ -243,8 +244,8 @@ public class CleanUpConstants { * *
* - * @see CleanUpOptionsCore#TRUE - * @see CleanUpOptionsCore#FALSE + * @see CleanUpOptions#TRUE + * @see CleanUpOptions#FALSE * @since 3.3 */ public static final String MEMBER_ACCESSES_NON_STATIC_METHOD_USE_THIS= "cleanup.use_this_for_non_static_method_access"; //$NON-NLS-1$ @@ -265,8 +266,8 @@ public class CleanUpConstants { * *
* - * @see CleanUpOptionsCore#TRUE - * @see CleanUpOptionsCore#FALSE + * @see CleanUpOptions#TRUE + * @see CleanUpOptions#FALSE * @since 3.3 */ public static final String MEMBER_ACCESSES_NON_STATIC_METHOD_USE_THIS_ALWAYS= "cleanup.always_use_this_for_non_static_method_access"; //$NON-NLS-1$ @@ -287,8 +288,8 @@ public class CleanUpConstants { * *
* - * @see CleanUpOptionsCore#TRUE - * @see CleanUpOptionsCore#FALSE + * @see CleanUpOptions#TRUE + * @see CleanUpOptions#FALSE * @since 3.3 */ public static final String MEMBER_ACCESSES_NON_STATIC_METHOD_USE_THIS_IF_NECESSARY= "cleanup.use_this_for_non_static_method_access_only_if_necessary"; //$NON-NLS-1$ @@ -304,8 +305,8 @@ public class CleanUpConstants { * *
* - * @see CleanUpOptionsCore#TRUE - * @see CleanUpOptionsCore#FALSE + * @see CleanUpOptions#TRUE + * @see CleanUpOptions#FALSE * @since 3.3 */ public static final String MEMBER_ACCESSES_STATIC_QUALIFY_WITH_DECLARING_CLASS= "cleanup.qualify_static_member_accesses_with_declaring_class"; //$NON-NLS-1$ @@ -329,8 +330,8 @@ public class CleanUpConstants { * *
* - * @see CleanUpOptionsCore#TRUE - * @see CleanUpOptionsCore#FALSE + * @see CleanUpOptions#TRUE + * @see CleanUpOptions#FALSE * @since 3.3 */ public static final String MEMBER_ACCESSES_STATIC_QUALIFY_WITH_DECLARING_CLASS_FIELD= "cleanup.qualify_static_field_accesses_with_declaring_class"; //$NON-NLS-1$ @@ -353,8 +354,8 @@ public class CleanUpConstants { * *
* - * @see CleanUpOptionsCore#TRUE - * @see CleanUpOptionsCore#FALSE + * @see CleanUpOptions#TRUE + * @see CleanUpOptions#FALSE * @since 3.3 */ public static final String MEMBER_ACCESSES_STATIC_QUALIFY_WITH_DECLARING_CLASS_METHOD= "cleanup.qualify_static_method_accesses_with_declaring_class"; //$NON-NLS-1$ @@ -377,8 +378,8 @@ public class CleanUpConstants { * *
* - * @see CleanUpOptionsCore#TRUE - * @see CleanUpOptionsCore#FALSE + * @see CleanUpOptions#TRUE + * @see CleanUpOptions#FALSE * @since 3.3 */ public static final String MEMBER_ACCESSES_STATIC_QUALIFY_WITH_DECLARING_CLASS_SUBTYPE_ACCESS= "cleanup.qualify_static_member_accesses_through_subtypes_with_declaring_class"; //$NON-NLS-1$ @@ -401,8 +402,8 @@ public class CleanUpConstants { * *
* - * @see CleanUpOptionsCore#TRUE - * @see CleanUpOptionsCore#FALSE + * @see CleanUpOptions#TRUE + * @see CleanUpOptions#FALSE * @since 3.3 */ public static final String MEMBER_ACCESSES_STATIC_QUALIFY_WITH_DECLARING_CLASS_INSTANCE_ACCESS= "cleanup.qualify_static_member_accesses_through_instances_with_declaring_class"; //$NON-NLS-1$ @@ -416,8 +417,8 @@ public class CleanUpConstants { * *
* - * @see CleanUpOptionsCore#TRUE - * @see CleanUpOptionsCore#FALSE + * @see CleanUpOptions#TRUE + * @see CleanUpOptions#FALSE * @since 3.3 */ public static final String CONTROL_STATEMENTS_USE_BLOCKS= "cleanup.use_blocks"; //$NON-NLS-1$ @@ -437,8 +438,8 @@ public class CleanUpConstants { * *
* - * @see CleanUpOptionsCore#TRUE - * @see CleanUpOptionsCore#FALSE + * @see CleanUpOptions#TRUE + * @see CleanUpOptions#FALSE * @since 4.18 */ public static final String CONTROL_STATEMENTS_USE_BLOCKS_ALWAYS= "cleanup.always_use_blocks"; //$NON-NLS-1$ @@ -458,8 +459,8 @@ public class CleanUpConstants { * *
* - * @see CleanUpOptionsCore#TRUE - * @see CleanUpOptionsCore#FALSE + * @see CleanUpOptions#TRUE + * @see CleanUpOptions#FALSE * @since 3.3 * @deprecated Use {@link #CONTROL_STATEMENTS_USE_BLOCKS_ALWAYS} instead */ @@ -482,8 +483,8 @@ public class CleanUpConstants { * *
* - * @see CleanUpOptionsCore#TRUE - * @see CleanUpOptionsCore#FALSE + * @see CleanUpOptions#TRUE + * @see CleanUpOptions#FALSE * @since 4.18 */ public static final String CONTROL_STATEMENTS_USE_BLOCKS_NO_FOR_RETURN_AND_THROW= "cleanup.use_blocks_only_for_return_and_throw"; //$NON-NLS-1$ @@ -505,8 +506,8 @@ public class CleanUpConstants { * *
* - * @see CleanUpOptionsCore#TRUE - * @see CleanUpOptionsCore#FALSE + * @see CleanUpOptions#TRUE + * @see CleanUpOptions#FALSE * @since 3.3 * @deprecated Use {@link #CONTROL_STATEMENTS_USE_BLOCKS_NO_FOR_RETURN_AND_THROW} instead */ @@ -528,8 +529,8 @@ public class CleanUpConstants { * *
* - * @see CleanUpOptionsCore#TRUE - * @see CleanUpOptionsCore#FALSE + * @see CleanUpOptions#TRUE + * @see CleanUpOptions#FALSE * @since 4.18 */ public static final String CONTROL_STATEMENTS_USE_BLOCKS_NEVER= "cleanup.never_use_blocks"; //$NON-NLS-1$ @@ -549,8 +550,8 @@ public class CleanUpConstants { * *
* - * @see CleanUpOptionsCore#TRUE - * @see CleanUpOptionsCore#FALSE + * @see CleanUpOptions#TRUE + * @see CleanUpOptions#FALSE * @since 3.3 * @deprecated Use {@link #CONTROL_STATEMENTS_USE_BLOCKS_NEVER} instead */ @@ -571,8 +572,8 @@ public class CleanUpConstants { * *
* - * @see CleanUpOptionsCore#TRUE - * @see CleanUpOptionsCore#FALSE + * @see CleanUpOptions#TRUE + * @see CleanUpOptions#FALSE * @since 4.18 */ public static final String CONTROL_STATEMENTS_CONVERT_FOR_LOOP_TO_ENHANCED= "cleanup.convert_to_enhanced_for_loop"; //$NON-NLS-1$ @@ -591,8 +592,8 @@ public class CleanUpConstants { * *
* - * @see CleanUpOptionsCore#TRUE - * @see CleanUpOptionsCore#FALSE + * @see CleanUpOptions#TRUE + * @see CleanUpOptions#FALSE * @since 3.3 * @deprecated Use {@link #CONTROL_STATEMENTS_CONVERT_FOR_LOOP_TO_ENHANCED} instead */ @@ -614,8 +615,8 @@ public class CleanUpConstants { * *
* - * @see CleanUpOptionsCore#TRUE - * @see CleanUpOptionsCore#FALSE + * @see CleanUpOptions#TRUE + * @see CleanUpOptions#FALSE * @since 4.18 */ public static final String CONTROL_STATEMENTS_CONVERT_FOR_LOOP_ONLY_IF_LOOP_VAR_USED= "cleanup.convert_to_enhanced_for_loop_if_loop_var_used"; //$NON-NLS-1$ @@ -635,8 +636,8 @@ public class CleanUpConstants { * *
* - * @see CleanUpOptionsCore#TRUE - * @see CleanUpOptionsCore#FALSE + * @see CleanUpOptions#TRUE + * @see CleanUpOptions#FALSE * @since 4.16 * @deprecated Use {@link #CONTROL_STATEMENTS_CONVERT_FOR_LOOP_ONLY_IF_LOOP_VAR_USED} */ @@ -649,8 +650,8 @@ public class CleanUpConstants { * Possible values: {TRUE, FALSE} *

* - * @see CleanUpOptionsCore#TRUE - * @see CleanUpOptionsCore#FALSE + * @see CleanUpOptions#TRUE + * @see CleanUpOptions#FALSE * @since 4.18 */ public static final String USE_SWITCH= "cleanup.switch"; //$NON-NLS-1$ @@ -682,8 +683,8 @@ public class CleanUpConstants { * *
* - * @see CleanUpOptionsCore#TRUE - * @see CleanUpOptionsCore#FALSE + * @see CleanUpOptions#TRUE + * @see CleanUpOptions#FALSE * @since 4.18 */ public static final String CONTROL_STATEMENTS_CONVERT_TO_SWITCH_EXPRESSIONS= "cleanup.convert_to_switch_expressions"; //$NON-NLS-1$ @@ -697,8 +698,8 @@ public class CleanUpConstants { * *
* - * @see CleanUpOptionsCore#TRUE - * @see CleanUpOptionsCore#FALSE + * @see CleanUpOptions#TRUE + * @see CleanUpOptions#FALSE * @since 3.3 */ public static final String EXPRESSIONS_USE_PARENTHESES= "cleanup.use_parentheses_in_expressions"; //$NON-NLS-1$ @@ -720,8 +721,8 @@ public class CleanUpConstants { * *
* - * @see CleanUpOptionsCore#TRUE - * @see CleanUpOptionsCore#FALSE + * @see CleanUpOptions#TRUE + * @see CleanUpOptions#FALSE * @since 3.3 */ public static final String EXPRESSIONS_USE_PARENTHESES_ALWAYS= "cleanup.always_use_parentheses_in_expressions"; //$NON-NLS-1$ @@ -743,8 +744,8 @@ public class CleanUpConstants { * *
* - * @see CleanUpOptionsCore#TRUE - * @see CleanUpOptionsCore#FALSE + * @see CleanUpOptions#TRUE + * @see CleanUpOptions#FALSE * @since 3.3 */ public static final String EXPRESSIONS_USE_PARENTHESES_NEVER= "cleanup.never_use_parentheses_in_expressions"; //$NON-NLS-1$ @@ -755,8 +756,8 @@ public class CleanUpConstants { * Possible values: {TRUE, FALSE}
*
* - * @see CleanUpOptionsCore#TRUE - * @see CleanUpOptionsCore#FALSE + * @see CleanUpOptions#TRUE + * @see CleanUpOptions#FALSE * @since 4.15 */ public static final String USE_LAZY_LOGICAL_OPERATOR= "cleanup.lazy_logical_operator"; //$NON-NLS-1$ @@ -767,8 +768,8 @@ public class CleanUpConstants { * Possible values: {TRUE, FALSE} *

* - * @see CleanUpOptionsCore#TRUE - * @see CleanUpOptionsCore#FALSE + * @see CleanUpOptions#TRUE + * @see CleanUpOptions#FALSE * @since 4.20 */ public static final String VALUEOF_RATHER_THAN_INSTANTIATION= "cleanup.valueof_rather_than_instantiation"; //$NON-NLS-1$ @@ -779,8 +780,8 @@ public class CleanUpConstants { * Possible values: {TRUE, FALSE} *

* - * @see CleanUpOptionsCore#TRUE - * @see CleanUpOptionsCore#FALSE + * @see CleanUpOptions#TRUE + * @see CleanUpOptions#FALSE * @since 4.19 */ public static final String PRIMITIVE_COMPARISON= "cleanup.primitive_comparison"; //$NON-NLS-1$ @@ -791,8 +792,8 @@ public class CleanUpConstants { * Possible values: {TRUE, FALSE} *

* - * @see CleanUpOptionsCore#TRUE - * @see CleanUpOptionsCore#FALSE + * @see CleanUpOptions#TRUE + * @see CleanUpOptions#FALSE * @since 4.19 */ public static final String PRIMITIVE_PARSING= "cleanup.primitive_parsing"; //$NON-NLS-1$ @@ -803,8 +804,8 @@ public class CleanUpConstants { * Possible values: {TRUE, FALSE} *

* - * @see CleanUpOptionsCore#TRUE - * @see CleanUpOptionsCore#FALSE + * @see CleanUpOptions#TRUE + * @see CleanUpOptions#FALSE * @since 4.18 */ public static final String PRIMITIVE_SERIALIZATION= "cleanup.primitive_serialization"; //$NON-NLS-1$ @@ -815,8 +816,8 @@ public class CleanUpConstants { * Possible values: {TRUE, FALSE} *

* - * @see CleanUpOptionsCore#TRUE - * @see CleanUpOptionsCore#FALSE + * @see CleanUpOptions#TRUE + * @see CleanUpOptions#FALSE * @since 4.20 */ public static final String PRIMITIVE_RATHER_THAN_WRAPPER= "cleanup.primitive_rather_than_wrapper"; //$NON-NLS-1$ @@ -832,8 +833,8 @@ public class CleanUpConstants { * *
* - * @see CleanUpOptionsCore#TRUE - * @see CleanUpOptionsCore#FALSE + * @see CleanUpOptions#TRUE + * @see CleanUpOptions#FALSE * @since 3.3 */ public static final String VARIABLE_DECLARATIONS_USE_FINAL= "cleanup.make_variable_declarations_final"; //$NON-NLS-1$ @@ -851,8 +852,8 @@ public class CleanUpConstants { * *
* - * @see CleanUpOptionsCore#TRUE - * @see CleanUpOptionsCore#FALSE + * @see CleanUpOptions#TRUE + * @see CleanUpOptions#FALSE * @since 3.3 */ public static final String VARIABLE_DECLARATIONS_USE_FINAL_PRIVATE_FIELDS= "cleanup.make_private_fields_final"; //$NON-NLS-1$ @@ -870,8 +871,8 @@ public class CleanUpConstants { * *
* - * @see CleanUpOptionsCore#TRUE - * @see CleanUpOptionsCore#FALSE + * @see CleanUpOptions#TRUE + * @see CleanUpOptions#FALSE * @since 3.3 */ public static final String VARIABLE_DECLARATIONS_USE_FINAL_PARAMETERS= "cleanup.make_parameters_final"; //$NON-NLS-1$ @@ -889,8 +890,8 @@ public class CleanUpConstants { * *
* - * @see CleanUpOptionsCore#TRUE - * @see CleanUpOptionsCore#FALSE + * @see CleanUpOptions#TRUE + * @see CleanUpOptions#FALSE * @since 3.3 */ public static final String VARIABLE_DECLARATIONS_USE_FINAL_LOCAL_VARIABLES= "cleanup.make_local_variable_final"; //$NON-NLS-1$ @@ -900,8 +901,8 @@ public class CleanUpConstants { *

* Possible values: {TRUE, FALSE} * - * @see CleanUpOptionsCore#TRUE - * @see CleanUpOptionsCore#FALSE + * @see CleanUpOptions#TRUE + * @see CleanUpOptions#FALSE * @since 4.15 */ public static final String USE_VAR= "cleanup.use_var"; //$NON-NLS-1$ @@ -912,8 +913,8 @@ public class CleanUpConstants { * Possible values: {TRUE, FALSE} *

* - * @see CleanUpOptionsCore#TRUE - * @see CleanUpOptionsCore#FALSE + * @see CleanUpOptions#TRUE + * @see CleanUpOptions#FALSE * @since 4.17 */ public static final String USE_PATTERN_MATCHING_FOR_INSTANCEOF= "cleanup.instanceof"; //$NON-NLS-1$ @@ -924,8 +925,8 @@ public class CleanUpConstants { *

* Possible values: {TRUE, FALSE} * - * @see CleanUpOptionsCore#TRUE - * @see CleanUpOptionsCore#FALSE + * @see CleanUpOptions#TRUE + * @see CleanUpOptions#FALSE * @since 3.3 */ public static final String CONVERT_FUNCTIONAL_INTERFACES= "cleanup.convert_functional_interfaces"; //$NON-NLS-1$ @@ -937,8 +938,8 @@ public class CleanUpConstants { *

* Only has an effect if {@link #CONVERT_FUNCTIONAL_INTERFACES} is TRUE. * - * @see CleanUpOptionsCore#TRUE - * @see CleanUpOptionsCore#FALSE + * @see CleanUpOptions#TRUE + * @see CleanUpOptions#FALSE * @since 3.10 */ public static final String USE_LAMBDA= "cleanup.use_lambda"; //$NON-NLS-1$ @@ -950,8 +951,8 @@ public class CleanUpConstants { *

* Only has an effect if {@link #CONVERT_FUNCTIONAL_INTERFACES} is TRUE. * - * @see CleanUpOptionsCore#TRUE - * @see CleanUpOptionsCore#FALSE + * @see CleanUpOptions#TRUE + * @see CleanUpOptions#FALSE * @since 3.10 */ public static final String USE_ANONYMOUS_CLASS_CREATION= "cleanup.use_anonymous_class_creation"; //$NON-NLS-1$ @@ -963,8 +964,8 @@ public class CleanUpConstants { *

* Only has an effect if {@link #USE_LAMBDA} is TRUE. * - * @see CleanUpOptionsCore#TRUE - * @see CleanUpOptionsCore#FALSE + * @see CleanUpOptions#TRUE + * @see CleanUpOptions#FALSE * @since 4.29 */ public static final String ALSO_SIMPLIFY_LAMBDA= "cleanup.also_simplify_lambda"; //$NON-NLS-1$ @@ -976,8 +977,8 @@ public class CleanUpConstants { * Possible values: {TRUE, FALSE} *

* - * @see CleanUpOptionsCore#TRUE - * @see CleanUpOptionsCore#FALSE + * @see CleanUpOptions#TRUE + * @see CleanUpOptions#FALSE * @since 4.15 */ public static final String SIMPLIFY_LAMBDA_EXPRESSION_AND_METHOD_REF= "cleanup.simplify_lambda_expression_and_method_ref"; //$NON-NLS-1$ @@ -988,8 +989,8 @@ public class CleanUpConstants { * Possible values: {TRUE, FALSE} *

* - * @see CleanUpOptionsCore#TRUE - * @see CleanUpOptionsCore#FALSE + * @see CleanUpOptions#TRUE + * @see CleanUpOptions#FALSE * @since 4.19 */ public static final String COMPARING_ON_CRITERIA= "cleanup.comparing_on_criteria"; //$NON-NLS-1$ @@ -1000,8 +1001,8 @@ public class CleanUpConstants { * Possible values: {TRUE, FALSE} *

* - * @see CleanUpOptionsCore#TRUE - * @see CleanUpOptionsCore#FALSE + * @see CleanUpOptions#TRUE + * @see CleanUpOptions#FALSE * @since 4.17 */ public static final String PRECOMPILE_REGEX= "cleanup.precompile_regex"; //$NON-NLS-1$ @@ -1012,8 +1013,8 @@ public class CleanUpConstants { * Possible values: {TRUE, FALSE} *

* - * @see CleanUpOptionsCore#TRUE - * @see CleanUpOptionsCore#FALSE + * @see CleanUpOptions#TRUE + * @see CleanUpOptions#FALSE * @since 4.19 */ public static final String INVERT_EQUALS= "cleanup.invert_equals"; //$NON-NLS-1$ @@ -1024,8 +1025,8 @@ public class CleanUpConstants { * Possible values: {TRUE, FALSE} *

* - * @see CleanUpOptionsCore#TRUE - * @see CleanUpOptionsCore#FALSE + * @see CleanUpOptions#TRUE + * @see CleanUpOptions#FALSE * @since 4.18 */ public static final String CHECK_SIGN_OF_BITWISE_OPERATION= "cleanup.bitwise_conditional_expression"; //$NON-NLS-1$ @@ -1036,8 +1037,8 @@ public class CleanUpConstants { * Possible values: {TRUE, FALSE} *

* - * @see CleanUpOptionsCore#TRUE - * @see CleanUpOptionsCore#FALSE + * @see CleanUpOptions#TRUE + * @see CleanUpOptions#FALSE * @since 4.19 */ public static final String STANDARD_COMPARISON= "cleanup.standard_comparison"; //$NON-NLS-1$ @@ -1048,8 +1049,8 @@ public class CleanUpConstants { * Possible values: {TRUE, FALSE} *

* - * @see CleanUpOptionsCore#TRUE - * @see CleanUpOptionsCore#FALSE + * @see CleanUpOptions#TRUE + * @see CleanUpOptions#FALSE * @since 4.18 */ public static final String NO_STRING_CREATION= "cleanup.no_string_creation"; //$NON-NLS-1$ @@ -1060,8 +1061,8 @@ public class CleanUpConstants { * Possible values: {TRUE, FALSE} *

* - * @see CleanUpOptionsCore#TRUE - * @see CleanUpOptionsCore#FALSE + * @see CleanUpOptions#TRUE + * @see CleanUpOptions#FALSE * @since 4.20 */ public static final String CONSTANTS_FOR_SYSTEM_PROPERTY= "cleanup.system_property"; //$NON-NLS-1$ @@ -1077,8 +1078,8 @@ public class CleanUpConstants { * Possible values: {TRUE, FALSE} *

* - * @see CleanUpOptionsCore#TRUE - * @see CleanUpOptionsCore#FALSE + * @see CleanUpOptions#TRUE + * @see CleanUpOptions#FALSE * @since 4.20 */ public static final String CONSTANTS_FOR_SYSTEM_PROPERTY_FILE_SEPARATOR= "cleanup.system_property_file_separator"; //$NON-NLS-1$ @@ -1090,8 +1091,8 @@ public class CleanUpConstants { * Possible values: {TRUE, FALSE} *

* - * @see CleanUpOptionsCore#TRUE - * @see CleanUpOptionsCore#FALSE + * @see CleanUpOptions#TRUE + * @see CleanUpOptions#FALSE * @since 4.20 */ public static final String CONSTANTS_FOR_SYSTEM_PROPERTY_FILE_ENCODING= "cleanup.system_property_file_encoding"; //$NON-NLS-1$ @@ -1103,8 +1104,8 @@ public class CleanUpConstants { * Possible values: {TRUE, FALSE} *

* - * @see CleanUpOptionsCore#TRUE - * @see CleanUpOptionsCore#FALSE + * @see CleanUpOptions#TRUE + * @see CleanUpOptions#FALSE * @since 4.20 */ public static final String CONSTANTS_FOR_SYSTEM_PROPERTY_PATH_SEPARATOR= "cleanup.system_property_path_separator"; //$NON-NLS-1$ @@ -1116,8 +1117,8 @@ public class CleanUpConstants { * Possible values: {TRUE, FALSE} *

* - * @see CleanUpOptionsCore#TRUE - * @see CleanUpOptionsCore#FALSE + * @see CleanUpOptions#TRUE + * @see CleanUpOptions#FALSE * @since 4.20 */ public static final String CONSTANTS_FOR_SYSTEM_PROPERTY_LINE_SEPARATOR= "cleanup.system_property_line_separator"; //$NON-NLS-1$ @@ -1130,8 +1131,8 @@ public class CleanUpConstants { * Possible values: {TRUE, FALSE} *

* - * @see CleanUpOptionsCore#TRUE - * @see CleanUpOptionsCore#FALSE + * @see CleanUpOptions#TRUE + * @see CleanUpOptions#FALSE * @since 4.20 */ public static final String CONSTANTS_FOR_SYSTEM_PROPERTY_BOXED= "cleanup.system_property_boolean"; //$NON-NLS-1$ @@ -1142,8 +1143,8 @@ public class CleanUpConstants { * Possible values: {TRUE, FALSE} *

* - * @see CleanUpOptionsCore#TRUE - * @see CleanUpOptionsCore#FALSE + * @see CleanUpOptions#TRUE + * @see CleanUpOptions#FALSE * @since 4.18 */ public static final String PREFER_BOOLEAN_LITERAL= "cleanup.boolean_literal"; //$NON-NLS-1$ @@ -1159,8 +1160,8 @@ public class CleanUpConstants { * * Possible values: {TRUE, FALSE} * - * @see CleanUpOptionsCore#TRUE - * @see CleanUpOptionsCore#FALSE + * @see CleanUpOptions#TRUE + * @see CleanUpOptions#FALSE * @since 3.3 */ public static final String VARIABLE_DECLARATION_USE_TYPE_ARGUMENTS_FOR_RAW_TYPE_REFERENCES= "cleanup.use_arguments_for_raw_type_references"; //$NON-NLS-1$ @@ -1171,8 +1172,8 @@ public class CleanUpConstants { * Possible values: {TRUE, FALSE} *

* - * @see CleanUpOptionsCore#TRUE - * @see CleanUpOptionsCore#FALSE + * @see CleanUpOptions#TRUE + * @see CleanUpOptions#FALSE * @since 4.19 */ public static final String SINGLE_USED_FIELD= "cleanup.single_used_field"; //$NON-NLS-1$ @@ -1183,8 +1184,8 @@ public class CleanUpConstants { * Possible values: {TRUE, FALSE} *

* - * @see CleanUpOptionsCore#TRUE - * @see CleanUpOptionsCore#FALSE + * @see CleanUpOptions#TRUE + * @see CleanUpOptions#FALSE * @since 4.18 */ public static final String BREAK_LOOP= "cleanup.break_loop"; //$NON-NLS-1$ @@ -1195,8 +1196,8 @@ public class CleanUpConstants { * Possible values: {TRUE, FALSE} *

* - * @see CleanUpOptionsCore#TRUE - * @see CleanUpOptionsCore#FALSE + * @see CleanUpOptions#TRUE + * @see CleanUpOptions#FALSE * @since 4.20 */ public static final String DO_WHILE_RATHER_THAN_WHILE= "cleanup.do_while_rather_than_while"; //$NON-NLS-1$ @@ -1207,8 +1208,8 @@ public class CleanUpConstants { * Possible values: {TRUE, FALSE} *

* - * @see CleanUpOptionsCore#TRUE - * @see CleanUpOptionsCore#FALSE + * @see CleanUpOptions#TRUE + * @see CleanUpOptions#FALSE * @since 4.19 */ public static final String STATIC_INNER_CLASS= "cleanup.static_inner_class"; //$NON-NLS-1$ @@ -1219,8 +1220,8 @@ public class CleanUpConstants { * Possible values: {TRUE, FALSE} *

* - * @see CleanUpOptionsCore#TRUE - * @see CleanUpOptionsCore#FALSE + * @see CleanUpOptions#TRUE + * @see CleanUpOptions#FALSE * @since 4.18 */ public static final String STRINGBUILDER= "cleanup.stringbuilder"; //$NON-NLS-1$ @@ -1234,8 +1235,8 @@ public class CleanUpConstants { * Possible values: {TRUE, FALSE} *

* - * @see CleanUpOptionsCore#TRUE - * @see CleanUpOptionsCore#FALSE + * @see CleanUpOptions#TRUE + * @see CleanUpOptions#FALSE * @since 4.21 */ public static final String STRINGBUFFER_TO_STRINGBUILDER= "cleanup.stringbuffer_to_stringbuilder"; //$NON-NLS-1$ @@ -1243,8 +1244,8 @@ public class CleanUpConstants { /** * Replaces String concatenation by Text Block for Java 15 and higher. * - * @see CleanUpOptionsCore#TRUE - * @see CleanUpOptionsCore#FALSE + * @see CleanUpOptions#TRUE + * @see CleanUpOptions#FALSE * @since 4.22 */ @@ -1270,8 +1271,8 @@ public class CleanUpConstants { * *
* - * @see CleanUpOptionsCore#TRUE - * @see CleanUpOptionsCore#FALSE + * @see CleanUpOptions#TRUE + * @see CleanUpOptions#FALSE * @since 4.28 */ public static String STRINGCONCAT_STRINGBUFFER_STRINGBUILDER= "cleanup.stringconcat_stringbuffer_stringbuilder"; //$NON-NLS-1$ @@ -1279,8 +1280,8 @@ public class CleanUpConstants { /** * Only replace local var StringBuffer uses with StringBuilder. * - * @see CleanUpOptionsCore#TRUE - * @see CleanUpOptionsCore#FALSE + * @see CleanUpOptions#TRUE + * @see CleanUpOptions#FALSE * @since 4.21 */ public static final String STRINGBUFFER_TO_STRINGBUILDER_FOR_LOCALS= "cleanup.stringbuilder_for_local_vars"; //$NON-NLS-1$ @@ -1291,8 +1292,8 @@ public class CleanUpConstants { * Possible values: {TRUE, FALSE} *

* - * @see CleanUpOptionsCore#TRUE - * @see CleanUpOptionsCore#FALSE + * @see CleanUpOptions#TRUE + * @see CleanUpOptions#FALSE * @since 4.30 */ public static final String REPLACE_DEPRECATED_CALLS= "cleanup.replace_deprecated_calls"; //$NON-NLS-1$ @@ -1303,8 +1304,8 @@ public class CleanUpConstants { * Possible values: {TRUE, FALSE} *

* - * @see CleanUpOptionsCore#TRUE - * @see CleanUpOptionsCore#FALSE + * @see CleanUpOptions#TRUE + * @see CleanUpOptions#FALSE * @since 4.19 */ public static final String PLAIN_REPLACEMENT= "cleanup.plain_replacement"; //$NON-NLS-1$ @@ -1318,8 +1319,8 @@ public class CleanUpConstants { * Possible values: {TRUE, FALSE} *

* - * @see CleanUpOptionsCore#TRUE - * @see CleanUpOptionsCore#FALSE + * @see CleanUpOptions#TRUE + * @see CleanUpOptions#FALSE * @since 4.20 */ public static final String USE_STRING_IS_BLANK= "cleanup.use_string_is_blank"; //$NON-NLS-1$ @@ -1331,8 +1332,8 @@ public class CleanUpConstants { * *
* - * @see CleanUpOptionsCore#TRUE - * @see CleanUpOptionsCore#FALSE + * @see CleanUpOptions#TRUE + * @see CleanUpOptions#FALSE * @since 3.3 */ public static final String REMOVE_UNUSED_CODE_IMPORTS= "cleanup.remove_unused_imports"; //$NON-NLS-1$ @@ -1346,8 +1347,8 @@ public class CleanUpConstants { * *
* - * @see CleanUpOptionsCore#TRUE - * @see CleanUpOptionsCore#FALSE + * @see CleanUpOptions#TRUE + * @see CleanUpOptions#FALSE * @since 3.3 */ public static final String REMOVE_UNUSED_CODE_PRIVATE_MEMBERS= "cleanup.remove_unused_private_members"; //$NON-NLS-1$ @@ -1360,8 +1361,8 @@ public class CleanUpConstants { * *
* - * @see CleanUpOptionsCore#TRUE - * @see CleanUpOptionsCore#FALSE + * @see CleanUpOptions#TRUE + * @see CleanUpOptions#FALSE * @since 3.3 */ public static final String REMOVE_UNUSED_CODE_PRIVATE_TYPES= "cleanup.remove_unused_private_types"; //$NON-NLS-1$ @@ -1374,8 +1375,8 @@ public class CleanUpConstants { * *
* - * @see CleanUpOptionsCore#TRUE - * @see CleanUpOptionsCore#FALSE + * @see CleanUpOptions#TRUE + * @see CleanUpOptions#FALSE * @since 3.3 */ public static final String REMOVE_UNUSED_CODE_PRIVATE_CONSTRUCTORS= "cleanup.remove_private_constructors"; //$NON-NLS-1$ @@ -1388,8 +1389,8 @@ public class CleanUpConstants { * *
* - * @see CleanUpOptionsCore#TRUE - * @see CleanUpOptionsCore#FALSE + * @see CleanUpOptions#TRUE + * @see CleanUpOptions#FALSE * @since 3.3 */ public static final String REMOVE_UNUSED_CODE_PRIVATE_FELDS= "cleanup.remove_unused_private_fields"; //$NON-NLS-1$ @@ -1402,8 +1403,8 @@ public class CleanUpConstants { * *
* - * @see CleanUpOptionsCore#TRUE - * @see CleanUpOptionsCore#FALSE + * @see CleanUpOptions#TRUE + * @see CleanUpOptions#FALSE * @since 3.3 */ public static final String REMOVE_UNUSED_CODE_PRIVATE_METHODS= "cleanup.remove_unused_private_methods"; //$NON-NLS-1$ @@ -1416,8 +1417,8 @@ public class CleanUpConstants { * *
* - * @see CleanUpOptionsCore#TRUE - * @see CleanUpOptionsCore#FALSE + * @see CleanUpOptions#TRUE + * @see CleanUpOptions#FALSE * @since 3.3 */ public static final String REMOVE_UNUSED_CODE_METHOD_PARAMETERS= "cleanup.remove_unused_method_parameters"; //$NON-NLS-1$ @@ -1430,8 +1431,8 @@ public class CleanUpConstants { * *
* - * @see CleanUpOptionsCore#TRUE - * @see CleanUpOptionsCore#FALSE + * @see CleanUpOptions#TRUE + * @see CleanUpOptions#FALSE * @since 3.3 */ public static final String REMOVE_UNUSED_CODE_LOCAL_VARIABLES= "cleanup.remove_unused_local_variables"; //$NON-NLS-1$ @@ -1443,8 +1444,8 @@ public class CleanUpConstants { * *
* - * @see CleanUpOptionsCore#TRUE - * @see CleanUpOptionsCore#FALSE + * @see CleanUpOptions#TRUE + * @see CleanUpOptions#FALSE * @since 3.3 */ public static final String REMOVE_UNNECESSARY_CASTS= "cleanup.remove_unnecessary_casts"; //$NON-NLS-1$ @@ -1464,8 +1465,8 @@ public class CleanUpConstants { * *
* - * @see CleanUpOptionsCore#TRUE - * @see CleanUpOptionsCore#FALSE + * @see CleanUpOptions#TRUE + * @see CleanUpOptions#FALSE * @since 3.3 */ public static final String REMOVE_UNNECESSARY_NLS_TAGS= "cleanup.remove_unnecessary_nls_tags"; //$NON-NLS-1$ @@ -1476,8 +1477,8 @@ public class CleanUpConstants { * Possible values: {TRUE, FALSE}
*
* - * @see CleanUpOptionsCore#TRUE - * @see CleanUpOptionsCore#FALSE + * @see CleanUpOptions#TRUE + * @see CleanUpOptions#FALSE * @since 3.10 */ public static final String INSERT_INFERRED_TYPE_ARGUMENTS= "cleanup.insert_inferred_type_arguments"; //$NON-NLS-1$ @@ -1488,8 +1489,8 @@ public class CleanUpConstants { * Possible values: {TRUE, FALSE}
*
* - * @see CleanUpOptionsCore#TRUE - * @see CleanUpOptionsCore#FALSE + * @see CleanUpOptions#TRUE + * @see CleanUpOptions#FALSE * @since 3.10 */ public static final String REMOVE_REDUNDANT_TYPE_ARGUMENTS= "cleanup.remove_redundant_type_arguments"; //$NON-NLS-1$ @@ -1500,8 +1501,8 @@ public class CleanUpConstants { * Possible values: {TRUE, FALSE} *

* - * @see CleanUpOptionsCore#TRUE - * @see CleanUpOptionsCore#FALSE + * @see CleanUpOptions#TRUE + * @see CleanUpOptions#FALSE * @since 4.18 */ public static final String MODERNIZE_HASH= "cleanup.hash"; //$NON-NLS-1$ @@ -1512,8 +1513,8 @@ public class CleanUpConstants { * Possible values: {TRUE, FALSE}
*
* - * @see CleanUpOptionsCore#TRUE - * @see CleanUpOptionsCore#FALSE + * @see CleanUpOptions#TRUE + * @see CleanUpOptions#FALSE * @since 3.14 */ public static final String REMOVE_REDUNDANT_MODIFIERS= "cleanup.remove_redundant_modifiers"; //$NON-NLS-1$ @@ -1524,8 +1525,8 @@ public class CleanUpConstants { * Possible values: {TRUE, FALSE} *

* - * @see CleanUpOptionsCore#TRUE - * @see CleanUpOptionsCore#FALSE + * @see CleanUpOptions#TRUE + * @see CleanUpOptions#FALSE * @since 4.19 */ public static final String SUBSTRING= "cleanup.substring"; //$NON-NLS-1$ @@ -1536,8 +1537,8 @@ public class CleanUpConstants { * Possible values: {TRUE, FALSE} *

* - * @see CleanUpOptionsCore#TRUE - * @see CleanUpOptionsCore#FALSE + * @see CleanUpOptions#TRUE + * @see CleanUpOptions#FALSE * @since 4.18 */ public static final String JOIN= "cleanup.join"; //$NON-NLS-1$ @@ -1548,8 +1549,8 @@ public class CleanUpConstants { * Possible values: {TRUE, FALSE} *

* - * @see CleanUpOptionsCore#TRUE - * @see CleanUpOptionsCore#FALSE + * @see CleanUpOptions#TRUE + * @see CleanUpOptions#FALSE * @since 4.18 */ public static final String ARRAYS_FILL= "cleanup.arrays_fill"; //$NON-NLS-1$ @@ -1560,8 +1561,8 @@ public class CleanUpConstants { * Possible values: {TRUE, FALSE} *

* - * @see CleanUpOptionsCore#TRUE - * @see CleanUpOptionsCore#FALSE + * @see CleanUpOptions#TRUE + * @see CleanUpOptions#FALSE * @since 4.18 */ public static final String EVALUATE_NULLABLE= "cleanup.evaluate_nullable"; //$NON-NLS-1$ @@ -1572,8 +1573,8 @@ public class CleanUpConstants { * Possible values: {TRUE, FALSE} *

* - * @see CleanUpOptionsCore#TRUE - * @see CleanUpOptionsCore#FALSE + * @see CleanUpOptions#TRUE + * @see CleanUpOptions#FALSE * @since 4.18 */ public static final String RAISE_EMBEDDED_IF= "cleanup.embedded_if"; //$NON-NLS-1$ @@ -1584,8 +1585,8 @@ public class CleanUpConstants { * Possible values: {TRUE, FALSE}
*
* - * @see CleanUpOptionsCore#TRUE - * @see CleanUpOptionsCore#FALSE + * @see CleanUpOptions#TRUE + * @see CleanUpOptions#FALSE * @since 4.13 */ public static final String USE_AUTOBOXING= "cleanup.use_autoboxing"; //$NON-NLS-1$ @@ -1596,8 +1597,8 @@ public class CleanUpConstants { * Possible values: {TRUE, FALSE}
*
* - * @see CleanUpOptionsCore#TRUE - * @see CleanUpOptionsCore#FALSE + * @see CleanUpOptions#TRUE + * @see CleanUpOptions#FALSE * @since 4.13 */ public static final String USE_UNBOXING= "cleanup.use_unboxing"; //$NON-NLS-1$ @@ -1608,8 +1609,8 @@ public class CleanUpConstants { * Possible values: {TRUE, FALSE}
*
* - * @see CleanUpOptionsCore#TRUE - * @see CleanUpOptionsCore#FALSE + * @see CleanUpOptions#TRUE + * @see CleanUpOptions#FALSE * @since 4.13 */ public static final String PUSH_DOWN_NEGATION= "cleanup.push_down_negation"; //$NON-NLS-1$ @@ -1620,8 +1621,8 @@ public class CleanUpConstants { * Possible values: {TRUE, FALSE} *

* - * @see CleanUpOptionsCore#TRUE - * @see CleanUpOptionsCore#FALSE + * @see CleanUpOptions#TRUE + * @see CleanUpOptions#FALSE * @since 4.20 */ public static final String BOOLEAN_VALUE_RATHER_THAN_COMPARISON= "cleanup.boolean_value_rather_than_comparison"; //$NON-NLS-1$ @@ -1632,8 +1633,8 @@ public class CleanUpConstants { * Possible values: {TRUE, FALSE} *

* - * @see CleanUpOptionsCore#TRUE - * @see CleanUpOptionsCore#FALSE + * @see CleanUpOptions#TRUE + * @see CleanUpOptions#FALSE * @since 4.18 */ public static final String DOUBLE_NEGATION= "cleanup.double_negation"; //$NON-NLS-1$ @@ -1644,8 +1645,8 @@ public class CleanUpConstants { * Possible values: {TRUE, FALSE} *

* - * @see CleanUpOptionsCore#TRUE - * @see CleanUpOptionsCore#FALSE + * @see CleanUpOptions#TRUE + * @see CleanUpOptions#FALSE * @since 4.18 */ public static final String REMOVE_REDUNDANT_COMPARISON_STATEMENT= "cleanup.comparison_statement"; //$NON-NLS-1$ @@ -1656,8 +1657,8 @@ public class CleanUpConstants { * Possible values: {TRUE, FALSE} *

* - * @see CleanUpOptionsCore#TRUE - * @see CleanUpOptionsCore#FALSE + * @see CleanUpOptions#TRUE + * @see CleanUpOptions#FALSE * @since 4.18 */ public static final String REDUNDANT_SUPER_CALL= "cleanup.no_super"; //$NON-NLS-1$ @@ -1668,8 +1669,8 @@ public class CleanUpConstants { * Possible values: {TRUE, FALSE} *

* - * @see CleanUpOptionsCore#TRUE - * @see CleanUpOptionsCore#FALSE + * @see CleanUpOptions#TRUE + * @see CleanUpOptions#FALSE * @since 4.19 */ public static final String UNREACHABLE_BLOCK= "cleanup.unreachable_block"; //$NON-NLS-1$ @@ -1680,8 +1681,8 @@ public class CleanUpConstants { * Possible values: {TRUE, FALSE} *

* - * @see CleanUpOptionsCore#TRUE - * @see CleanUpOptionsCore#FALSE + * @see CleanUpOptions#TRUE + * @see CleanUpOptions#FALSE * @since 4.19 */ public static final String OPERAND_FACTORIZATION= "cleanup.operand_factorization"; //$NON-NLS-1$ @@ -1692,8 +1693,8 @@ public class CleanUpConstants { * Possible values: {TRUE, FALSE} *

* - * @see CleanUpOptionsCore#TRUE - * @see CleanUpOptionsCore#FALSE + * @see CleanUpOptions#TRUE + * @see CleanUpOptions#FALSE * @since 4.18 */ public static final String TERNARY_OPERATOR= "cleanup.ternary_operator"; //$NON-NLS-1$ @@ -1705,8 +1706,8 @@ public class CleanUpConstants { * Possible values: {TRUE, FALSE} *

* - * @see CleanUpOptionsCore#TRUE - * @see CleanUpOptionsCore#FALSE + * @see CleanUpOptions#TRUE + * @see CleanUpOptions#FALSE * @since 4.18 */ public static final String STRICTLY_EQUAL_OR_DIFFERENT= "cleanup.strictly_equal_or_different"; //$NON-NLS-1$ @@ -1717,8 +1718,8 @@ public class CleanUpConstants { * Possible values: {TRUE, FALSE} *

* - * @see CleanUpOptionsCore#TRUE - * @see CleanUpOptionsCore#FALSE + * @see CleanUpOptions#TRUE + * @see CleanUpOptions#FALSE * @since 4.16 */ public static final String MERGE_CONDITIONAL_BLOCKS= "cleanup.merge_conditional_blocks"; //$NON-NLS-1$ @@ -1730,8 +1731,8 @@ public class CleanUpConstants { * Possible values: {TRUE, FALSE} *

* - * @see CleanUpOptionsCore#TRUE - * @see CleanUpOptionsCore#FALSE + * @see CleanUpOptions#TRUE + * @see CleanUpOptions#FALSE * @since 4.19 */ public static final String CONTROLFLOW_MERGE= "cleanup.controlflow_merge"; //$NON-NLS-1$ @@ -1742,8 +1743,8 @@ public class CleanUpConstants { * Possible values: {TRUE, FALSE} *

* - * @see CleanUpOptionsCore#TRUE - * @see CleanUpOptionsCore#FALSE + * @see CleanUpOptions#TRUE + * @see CleanUpOptions#FALSE * @since 4.20 */ public static final String ONE_IF_RATHER_THAN_DUPLICATE_BLOCKS_THAT_FALL_THROUGH= "cleanup.one_if_rather_than_duplicate_blocks_that_fall_through"; //$NON-NLS-1$ @@ -1754,8 +1755,8 @@ public class CleanUpConstants { * Possible values: {TRUE, FALSE} *

* - * @see CleanUpOptionsCore#TRUE - * @see CleanUpOptionsCore#FALSE + * @see CleanUpOptions#TRUE + * @see CleanUpOptions#FALSE * @since 4.21 */ public static final String PULL_OUT_IF_FROM_IF_ELSE= "cleanup.pull_out_if_from_if_else"; //$NON-NLS-1$ @@ -1766,8 +1767,8 @@ public class CleanUpConstants { * Possible values: {TRUE, FALSE} *

* - * @see CleanUpOptionsCore#TRUE - * @see CleanUpOptionsCore#FALSE + * @see CleanUpOptions#TRUE + * @see CleanUpOptions#FALSE * @since 4.18 */ public static final String REDUNDANT_FALLING_THROUGH_BLOCK_END= "cleanup.redundant_falling_through_block_end"; //$NON-NLS-1$ @@ -1778,8 +1779,8 @@ public class CleanUpConstants { * Possible values: {TRUE, FALSE} *

* - * @see CleanUpOptionsCore#TRUE - * @see CleanUpOptionsCore#FALSE + * @see CleanUpOptions#TRUE + * @see CleanUpOptions#FALSE * @since 4.18 */ public static final String REDUNDANT_IF_CONDITION= "cleanup.if_condition"; //$NON-NLS-1$ @@ -1790,8 +1791,8 @@ public class CleanUpConstants { * Possible values: {TRUE, FALSE}
*
* - * @see CleanUpOptionsCore#TRUE - * @see CleanUpOptionsCore#FALSE + * @see CleanUpOptions#TRUE + * @see CleanUpOptions#FALSE * @since 4.14 */ public static final String USE_DIRECTLY_MAP_METHOD= "cleanup.use_directly_map_method"; //$NON-NLS-1$ @@ -1802,8 +1803,8 @@ public class CleanUpConstants { * Possible values: {TRUE, FALSE} *

* - * @see CleanUpOptionsCore#TRUE - * @see CleanUpOptionsCore#FALSE + * @see CleanUpOptions#TRUE + * @see CleanUpOptions#FALSE * @since 4.18 */ public static final String COLLECTION_CLONING= "cleanup.collection_cloning"; //$NON-NLS-1$ @@ -1814,8 +1815,8 @@ public class CleanUpConstants { * Possible values: {TRUE, FALSE} *

* - * @see CleanUpOptionsCore#TRUE - * @see CleanUpOptionsCore#FALSE + * @see CleanUpOptions#TRUE + * @see CleanUpOptions#FALSE * @since 4.18 */ public static final String MAP_CLONING= "cleanup.map_cloning"; //$NON-NLS-1$ @@ -1826,8 +1827,8 @@ public class CleanUpConstants { * Possible values: {TRUE, FALSE} *

* - * @see CleanUpOptionsCore#TRUE - * @see CleanUpOptionsCore#FALSE + * @see CleanUpOptions#TRUE + * @see CleanUpOptions#FALSE * @since 4.18 */ public static final String OVERRIDDEN_ASSIGNMENT= "cleanup.overridden_assignment"; //$NON-NLS-1$ @@ -1839,8 +1840,8 @@ public class CleanUpConstants { * Possible values: {TRUE, FALSE} *

* - * @see CleanUpOptionsCore#TRUE - * @see CleanUpOptionsCore#FALSE + * @see CleanUpOptions#TRUE + * @see CleanUpOptions#FALSE * @since 4.18 */ public static final String OVERRIDDEN_ASSIGNMENT_MOVE_DECL= "cleanup.overridden_assignment_move_decl"; //$NON-NLS-1$ @@ -1851,8 +1852,8 @@ public class CleanUpConstants { * Possible values: {TRUE, FALSE}
*
* - * @see CleanUpOptionsCore#TRUE - * @see CleanUpOptionsCore#FALSE + * @see CleanUpOptions#TRUE + * @see CleanUpOptions#FALSE * @since 3.14 */ public static final String REMOVE_REDUNDANT_SEMICOLONS= "cleanup.remove_redundant_semicolons"; //$NON-NLS-1$ @@ -1863,8 +1864,8 @@ public class CleanUpConstants { * Possible values: {TRUE, FALSE} *

* - * @see CleanUpOptionsCore#TRUE - * @see CleanUpOptionsCore#FALSE + * @see CleanUpOptions#TRUE + * @see CleanUpOptions#FALSE * @since 4.20 */ public static final String REDUNDANT_COMPARATOR= "cleanup.redundant_comparator"; //$NON-NLS-1$ @@ -1875,8 +1876,8 @@ public class CleanUpConstants { * Possible values: {TRUE, FALSE}
*
* - * @see CleanUpOptionsCore#TRUE - * @see CleanUpOptionsCore#FALSE + * @see CleanUpOptions#TRUE + * @see CleanUpOptions#FALSE * @since 3.19 */ public static final String REMOVE_UNNECESSARY_ARRAY_CREATION= "cleanup.remove_unnecessary_array_creation"; //$NON-NLS-1$ @@ -1887,8 +1888,8 @@ public class CleanUpConstants { * Possible values: {TRUE, FALSE} *

* - * @see CleanUpOptionsCore#TRUE - * @see CleanUpOptionsCore#FALSE + * @see CleanUpOptions#TRUE + * @see CleanUpOptions#FALSE * @since 4.20 */ public static final String ARRAY_WITH_CURLY= "cleanup.array_with_curly"; //$NON-NLS-1$ @@ -1899,8 +1900,8 @@ public class CleanUpConstants { * Possible values: {TRUE, FALSE} *

* - * @see CleanUpOptionsCore#TRUE - * @see CleanUpOptionsCore#FALSE + * @see CleanUpOptions#TRUE + * @see CleanUpOptions#FALSE * @since 4.20 */ public static final String RETURN_EXPRESSION= "cleanup.return_expression"; //$NON-NLS-1$ @@ -1911,8 +1912,8 @@ public class CleanUpConstants { * Possible values: {TRUE, FALSE} *

* - * @see CleanUpOptionsCore#TRUE - * @see CleanUpOptionsCore#FALSE + * @see CleanUpOptions#TRUE + * @see CleanUpOptions#FALSE * @since 4.18 */ public static final String REMOVE_USELESS_RETURN= "cleanup.useless_return"; //$NON-NLS-1$ @@ -1923,8 +1924,8 @@ public class CleanUpConstants { * Possible values: {TRUE, FALSE} *

* - * @see CleanUpOptionsCore#TRUE - * @see CleanUpOptionsCore#FALSE + * @see CleanUpOptions#TRUE + * @see CleanUpOptions#FALSE * @since 4.18 */ public static final String REMOVE_USELESS_CONTINUE= "cleanup.useless_continue"; //$NON-NLS-1$ @@ -1935,8 +1936,8 @@ public class CleanUpConstants { * Possible values: {TRUE, FALSE} *

* - * @see CleanUpOptionsCore#TRUE - * @see CleanUpOptionsCore#FALSE + * @see CleanUpOptions#TRUE + * @see CleanUpOptions#FALSE * @since 4.19 */ public static final String UNLOOPED_WHILE= "cleanup.unlooped_while"; //$NON-NLS-1$ @@ -1947,8 +1948,8 @@ public class CleanUpConstants { * Possible values: {TRUE, FALSE} *

* - * @see CleanUpOptionsCore#TRUE - * @see CleanUpOptionsCore#FALSE + * @see CleanUpOptions#TRUE + * @see CleanUpOptions#FALSE * @since 4.18 */ public static final String CONTROL_STATEMENTS_USE_ADD_ALL= "cleanup.add_all"; //$NON-NLS-1$ @@ -1959,8 +1960,8 @@ public class CleanUpConstants { * Possible values: {TRUE, FALSE} *

* - * @see CleanUpOptionsCore#TRUE - * @see CleanUpOptionsCore#FALSE + * @see CleanUpOptions#TRUE + * @see CleanUpOptions#FALSE * @since 4.17 */ public static final String USE_OBJECTS_EQUALS= "cleanup.objects_equals"; //$NON-NLS-1$ @@ -1973,8 +1974,8 @@ public class CleanUpConstants { * *
* - * @see CleanUpOptionsCore#TRUE - * @see CleanUpOptionsCore#FALSE + * @see CleanUpOptions#TRUE + * @see CleanUpOptions#FALSE * @since 3.3 */ public static final String ADD_MISSING_ANNOTATIONS= "cleanup.add_missing_annotations"; //$NON-NLS-1$ @@ -1997,8 +1998,8 @@ public class CleanUpConstants { * *
* - * @see CleanUpOptionsCore#TRUE - * @see CleanUpOptionsCore#FALSE + * @see CleanUpOptions#TRUE + * @see CleanUpOptions#FALSE * @since 3.3 */ public static final String ADD_MISSING_ANNOTATIONS_OVERRIDE= "cleanup.add_missing_override_annotations"; //$NON-NLS-1$ @@ -2022,8 +2023,8 @@ public class CleanUpConstants { * *
* - * @see CleanUpOptionsCore#TRUE - * @see CleanUpOptionsCore#FALSE + * @see CleanUpOptions#TRUE + * @see CleanUpOptions#FALSE * @since 3.6 */ public static final String ADD_MISSING_ANNOTATIONS_OVERRIDE_FOR_INTERFACE_METHOD_IMPLEMENTATION= "cleanup.add_missing_override_annotations_interface_methods"; //$NON-NLS-1$ @@ -2048,8 +2049,8 @@ public class CleanUpConstants { * *
* - * @see CleanUpOptionsCore#TRUE - * @see CleanUpOptionsCore#FALSE + * @see CleanUpOptions#TRUE + * @see CleanUpOptions#FALSE * @since 3.3 */ public static final String ADD_MISSING_ANNOTATIONS_DEPRECATED= "cleanup.add_missing_deprecated_annotations"; //$NON-NLS-1$ @@ -2063,8 +2064,8 @@ public class CleanUpConstants { * *
* - * @see CleanUpOptionsCore#TRUE - * @see CleanUpOptionsCore#FALSE + * @see CleanUpOptions#TRUE + * @see CleanUpOptions#FALSE * @since 3.3 */ public static final String ADD_MISSING_SERIAL_VERSION_ID= "cleanup.add_serial_version_id"; //$NON-NLS-1$ @@ -2081,8 +2082,8 @@ public class CleanUpConstants { * *
* - * @see CleanUpOptionsCore#TRUE - * @see CleanUpOptionsCore#FALSE + * @see CleanUpOptions#TRUE + * @see CleanUpOptions#FALSE * @since 3.3 */ public static final String ADD_MISSING_SERIAL_VERSION_ID_GENERATED= "cleanup.add_generated_serial_version_id"; //$NON-NLS-1$ @@ -2099,8 +2100,8 @@ public class CleanUpConstants { * *
* - * @see CleanUpOptionsCore#TRUE - * @see CleanUpOptionsCore#FALSE + * @see CleanUpOptions#TRUE + * @see CleanUpOptions#FALSE * @since 3.3 */ public static final String ADD_MISSING_SERIAL_VERSION_ID_DEFAULT= "cleanup.add_default_serial_version_id"; //$NON-NLS-1$ @@ -2111,8 +2112,8 @@ public class CleanUpConstants { * Possible values: {TRUE, FALSE} *

* - * @see CleanUpOptionsCore#TRUE - * @see CleanUpOptionsCore#FALSE + * @see CleanUpOptions#TRUE + * @see CleanUpOptions#FALSE * @since 4.19 */ public static final String EXTRACT_INCREMENT= "cleanup.extract_increment"; //$NON-NLS-1$ @@ -2123,8 +2124,8 @@ public class CleanUpConstants { * Possible values: {TRUE, FALSE} *

* - * @see CleanUpOptionsCore#TRUE - * @see CleanUpOptionsCore#FALSE + * @see CleanUpOptions#TRUE + * @see CleanUpOptions#FALSE * @since 4.18 */ public static final String PULL_UP_ASSIGNMENT= "cleanup.pull_up_assignment"; //$NON-NLS-1$ @@ -2135,8 +2136,8 @@ public class CleanUpConstants { * Possible values: {TRUE, FALSE} *

* - * @see CleanUpOptionsCore#TRUE - * @see CleanUpOptionsCore#FALSE + * @see CleanUpOptions#TRUE + * @see CleanUpOptions#FALSE * @since 4.18 */ public static final String ELSE_IF= "cleanup.else_if"; //$NON-NLS-1$ @@ -2147,8 +2148,8 @@ public class CleanUpConstants { * Possible values: {TRUE, FALSE} *

* - * @see CleanUpOptionsCore#TRUE - * @see CleanUpOptionsCore#FALSE + * @see CleanUpOptions#TRUE + * @see CleanUpOptions#FALSE * @since 4.19 */ public static final String REDUCE_INDENTATION= "cleanup.reduce_indentation"; //$NON-NLS-1$ @@ -2159,8 +2160,8 @@ public class CleanUpConstants { * Possible values: {TRUE, FALSE} *

* - * @see CleanUpOptionsCore#TRUE - * @see CleanUpOptionsCore#FALSE + * @see CleanUpOptions#TRUE + * @see CleanUpOptions#FALSE * @since 4.19 */ public static final String INSTANCEOF= "cleanup.instanceof_keyword"; //$NON-NLS-1$ @@ -2172,8 +2173,8 @@ public class CleanUpConstants { * *
* - * @see CleanUpOptionsCore#TRUE - * @see CleanUpOptionsCore#FALSE + * @see CleanUpOptions#TRUE + * @see CleanUpOptions#FALSE * @since 4.13 */ public static final String NUMBER_SUFFIX= "cleanup.number_suffix"; //$NON-NLS-1$ @@ -2193,8 +2194,8 @@ public class CleanUpConstants { * *
* - * @see CleanUpOptionsCore#TRUE - * @see CleanUpOptionsCore#FALSE + * @see CleanUpOptions#TRUE + * @see CleanUpOptions#FALSE * @since 3.3 */ public static final String ADD_MISSING_NLS_TAGS= "cleanup.add_missing_nls_tags"; //$NON-NLS-1$ @@ -2206,8 +2207,8 @@ public class CleanUpConstants { * *
* - * @see CleanUpOptionsCore#TRUE - * @see CleanUpOptionsCore#FALSE + * @see CleanUpOptions#TRUE + * @see CleanUpOptions#FALSE * @since 3.3 */ public static final String ORGANIZE_IMPORTS= "cleanup.organize_imports"; //$NON-NLS-1$ @@ -2220,8 +2221,8 @@ public class CleanUpConstants { *
* * @see #SORT_MEMBERS_ALL - * @see CleanUpOptionsCore#TRUE - * @see CleanUpOptionsCore#FALSE + * @see CleanUpOptions#TRUE + * @see CleanUpOptions#FALSE * @since 3.3 */ public static final String SORT_MEMBERS= "cleanup.sort_members"; //$NON-NLS-1$ @@ -2235,8 +2236,8 @@ public class CleanUpConstants { *
* * @see #SORT_MEMBERS - * @see CleanUpOptionsCore#TRUE - * @see CleanUpOptionsCore#FALSE + * @see CleanUpOptions#TRUE + * @see CleanUpOptions#FALSE * @since 3.3 */ public static final String SORT_MEMBERS_ALL= "cleanup.sort_members_all"; //$NON-NLS-1$ @@ -2248,8 +2249,8 @@ public class CleanUpConstants { * *
* - * @see CleanUpOptionsCore#TRUE - * @see CleanUpOptionsCore#FALSE + * @see CleanUpOptions#TRUE + * @see CleanUpOptions#FALSE * @since 3.4 */ public static final String ADD_MISSING_METHODES= "cleanup.add_missing_methods"; //$NON-NLS-1$ @@ -2260,8 +2261,8 @@ public class CleanUpConstants { * Possible values: {TRUE, FALSE} *

* - * @see CleanUpOptionsCore#TRUE - * @see CleanUpOptionsCore#FALSE + * @see CleanUpOptions#TRUE + * @see CleanUpOptions#FALSE * @since 4.18 */ public static final String TRY_WITH_RESOURCE= "cleanup.try_with_resource"; //$NON-NLS-1$ @@ -2272,8 +2273,8 @@ public class CleanUpConstants { * Possible values: {TRUE, FALSE} *

* - * @see CleanUpOptionsCore#TRUE - * @see CleanUpOptionsCore#FALSE + * @see CleanUpOptions#TRUE + * @see CleanUpOptions#FALSE * @since 4.19 */ public static final String MULTI_CATCH= "cleanup.multi_catch"; //$NON-NLS-1$ diff --git a/org.eclipse.jdt.core.manipulation/core extension/org/eclipse/jdt/internal/corext/fix/CompilationUnitRewriteOperationsFixCore.java b/org.eclipse.jdt.core.manipulation/core extension/org/eclipse/jdt/internal/corext/fix/CompilationUnitRewriteOperationsFixCore.java index 99d4e4759d5..dfe519736a6 100644 --- a/org.eclipse.jdt.core.manipulation/core extension/org/eclipse/jdt/internal/corext/fix/CompilationUnitRewriteOperationsFixCore.java +++ b/org.eclipse.jdt.core.manipulation/core extension/org/eclipse/jdt/internal/corext/fix/CompilationUnitRewriteOperationsFixCore.java @@ -107,7 +107,7 @@ public CompilationUnitRewriteOperationsFixCore(String name, CompilationUnit comp } @Override - public LinkedProposalModelCore getLinkedPositionsCore() { + public LinkedProposalModelCore getLinkedPositions() { if (!fLinkedProposalModel.hasLinkedPositions()) return null; diff --git a/org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/fix/ILinkedFix.java b/org.eclipse.jdt.core.manipulation/core extension/org/eclipse/jdt/internal/corext/fix/ILinkedFix.java similarity index 100% rename from org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/fix/ILinkedFix.java rename to org.eclipse.jdt.core.manipulation/core extension/org/eclipse/jdt/internal/corext/fix/ILinkedFix.java diff --git a/org.eclipse.jdt.core.manipulation/core extension/org/eclipse/jdt/internal/corext/fix/ILinkedFixCore.java b/org.eclipse.jdt.core.manipulation/core extension/org/eclipse/jdt/internal/corext/fix/ILinkedFixCore.java deleted file mode 100644 index 419023f63ad..00000000000 --- a/org.eclipse.jdt.core.manipulation/core extension/org/eclipse/jdt/internal/corext/fix/ILinkedFixCore.java +++ /dev/null @@ -1,31 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2018 IBM Corporation and others. - * - * This program and the accompanying materials - * are made available under the terms of the Eclipse Public License 2.0 - * which accompanies this distribution, and is available at - * https://www.eclipse.org/legal/epl-2.0/ - * - * SPDX-License-Identifier: EPL-2.0 - * - * Contributors: - * IBM Corporation - initial API and implementation - * Red Hat Inc. - modified and renamed to ILinkedFixCore - *******************************************************************************/ -package org.eclipse.jdt.internal.corext.fix; - -import org.eclipse.jdt.ui.cleanup.ICleanUpFix; - -/** - * A fix which when executed can set up a linked mode model - * and put an editor into linked mode. - * - * @since 1.10 - */ -public interface ILinkedFixCore extends ICleanUpFix { - - /** - * @return the linked proposal model to use to set up linked positions or null - */ - LinkedProposalModelCore getLinkedPositionsCore(); -} diff --git a/org.eclipse.jdt.core.manipulation/core extension/org/eclipse/jdt/internal/corext/fix/UnusedCodeFixCore.java b/org.eclipse.jdt.core.manipulation/core extension/org/eclipse/jdt/internal/corext/fix/UnusedCodeFixCore.java index 54738c01dff..03a967b184e 100644 --- a/org.eclipse.jdt.core.manipulation/core extension/org/eclipse/jdt/internal/corext/fix/UnusedCodeFixCore.java +++ b/org.eclipse.jdt.core.manipulation/core extension/org/eclipse/jdt/internal/corext/fix/UnusedCodeFixCore.java @@ -81,7 +81,6 @@ import org.eclipse.jdt.core.dom.VariableDeclarationStatement; import org.eclipse.jdt.core.dom.rewrite.ASTRewrite; import org.eclipse.jdt.core.dom.rewrite.ListRewrite; -import org.eclipse.jdt.core.manipulation.CleanUpOptionsCore; import org.eclipse.jdt.internal.core.manipulation.dom.NecessaryParenthesesChecker; import org.eclipse.jdt.internal.core.manipulation.util.BasicElementLabels; @@ -92,6 +91,7 @@ import org.eclipse.jdt.internal.corext.refactoring.structure.CompilationUnitRewrite; import org.eclipse.jdt.internal.corext.util.Messages; +import org.eclipse.jdt.ui.cleanup.CleanUpOptions; import org.eclipse.jdt.ui.cleanup.ICleanUpFix; import org.eclipse.jdt.ui.text.java.IProblemLocation; @@ -714,7 +714,7 @@ public static UnusedCodeFixCore createRemoveUnusedImportFix(CompilationUnit comp String label= FixMessages.UnusedCodeFix_RemoveImport_description; RemoveImportOperation operation= new RemoveImportOperation(node); Map options= new Hashtable<>(); - options.put(CleanUpConstants.REMOVE_UNUSED_CODE_IMPORTS, CleanUpOptionsCore.TRUE); + options.put(CleanUpConstants.REMOVE_UNUSED_CODE_IMPORTS, CleanUpOptions.TRUE); return new UnusedCodeFixCore(label, compilationUnit, new CompilationUnitRewriteOperation[] { operation }, options); } } @@ -1125,25 +1125,25 @@ public static String getDisplayString(SimpleName simpleName, IBinding binding, b public static Map getCleanUpOptions(IBinding binding, boolean removeAll) { Map result= new Hashtable<>(); - result.put(CleanUpConstants.REMOVE_UNUSED_CODE_PRIVATE_MEMBERS, CleanUpOptionsCore.TRUE); + result.put(CleanUpConstants.REMOVE_UNUSED_CODE_PRIVATE_MEMBERS, CleanUpOptions.TRUE); switch (binding.getKind()) { case IBinding.TYPE: - result.put(CleanUpConstants.REMOVE_UNUSED_CODE_PRIVATE_TYPES, CleanUpOptionsCore.TRUE); + result.put(CleanUpConstants.REMOVE_UNUSED_CODE_PRIVATE_TYPES, CleanUpOptions.TRUE); break; case IBinding.METHOD: if (((IMethodBinding) binding).isConstructor()) { - result.put(CleanUpConstants.REMOVE_UNUSED_CODE_PRIVATE_CONSTRUCTORS, CleanUpOptionsCore.TRUE); + result.put(CleanUpConstants.REMOVE_UNUSED_CODE_PRIVATE_CONSTRUCTORS, CleanUpOptions.TRUE); } else { - result.put(CleanUpConstants.REMOVE_UNUSED_CODE_PRIVATE_METHODS, CleanUpOptionsCore.TRUE); + result.put(CleanUpConstants.REMOVE_UNUSED_CODE_PRIVATE_METHODS, CleanUpOptions.TRUE); } break; case IBinding.VARIABLE: if (removeAll) return null; - result.put(CleanUpConstants.REMOVE_UNUSED_CODE_PRIVATE_FELDS, CleanUpOptionsCore.TRUE); - result.put(CleanUpConstants.REMOVE_UNUSED_CODE_LOCAL_VARIABLES, CleanUpOptionsCore.TRUE); - result.put(CleanUpConstants.REMOVE_UNUSED_CODE_METHOD_PARAMETERS, CleanUpOptionsCore.TRUE); + result.put(CleanUpConstants.REMOVE_UNUSED_CODE_PRIVATE_FELDS, CleanUpOptions.TRUE); + result.put(CleanUpConstants.REMOVE_UNUSED_CODE_LOCAL_VARIABLES, CleanUpOptions.TRUE); + result.put(CleanUpConstants.REMOVE_UNUSED_CODE_METHOD_PARAMETERS, CleanUpOptions.TRUE); break; default: break; diff --git a/org.eclipse.jdt.core.manipulation/proposals/org/eclipse/jdt/internal/ui/text/correction/SerialVersionProposalCore.java b/org.eclipse.jdt.core.manipulation/proposals/org/eclipse/jdt/internal/ui/text/correction/SerialVersionProposalCore.java index 755a6b20db5..8b37b9c6f9b 100644 --- a/org.eclipse.jdt.core.manipulation/proposals/org/eclipse/jdt/internal/ui/text/correction/SerialVersionProposalCore.java +++ b/org.eclipse.jdt.core.manipulation/proposals/org/eclipse/jdt/internal/ui/text/correction/SerialVersionProposalCore.java @@ -19,11 +19,10 @@ import org.eclipse.core.runtime.IProgressMonitor; -import org.eclipse.jdt.core.manipulation.CleanUpOptionsCore; - import org.eclipse.jdt.internal.corext.fix.CleanUpConstants; import org.eclipse.jdt.internal.corext.fix.IProposableFix; +import org.eclipse.jdt.ui.cleanup.CleanUpOptions; import org.eclipse.jdt.ui.cleanup.ICleanUp; import org.eclipse.jdt.ui.text.java.IInvocationContext; @@ -39,11 +38,11 @@ public SerialVersionProposalCore(IProposableFix fix, int relevance, IInvocationC private static ICleanUp createCleanUp(boolean isDefault) { Map options= new Hashtable<>(); - options.put(CleanUpConstants.ADD_MISSING_SERIAL_VERSION_ID, CleanUpOptionsCore.TRUE); + options.put(CleanUpConstants.ADD_MISSING_SERIAL_VERSION_ID, CleanUpOptions.TRUE); if (isDefault) { - options.put(CleanUpConstants.ADD_MISSING_SERIAL_VERSION_ID_DEFAULT, CleanUpOptionsCore.TRUE); + options.put(CleanUpConstants.ADD_MISSING_SERIAL_VERSION_ID_DEFAULT, CleanUpOptions.TRUE); } else { - options.put(CleanUpConstants.ADD_MISSING_SERIAL_VERSION_ID_GENERATED, CleanUpOptionsCore.TRUE); + options.put(CleanUpConstants.ADD_MISSING_SERIAL_VERSION_ID_GENERATED, CleanUpOptions.TRUE); } return new PotentialProgrammingProblemsCleanUpCore(options); } diff --git a/org.eclipse.jdt.core.manipulation/proposals/org/eclipse/jdt/internal/ui/text/correction/proposals/AssignToVariableAssistProposalCore.java b/org.eclipse.jdt.core.manipulation/proposals/org/eclipse/jdt/internal/ui/text/correction/proposals/AssignToVariableAssistProposalCore.java index d5d22be6a93..a8bfe447010 100644 --- a/org.eclipse.jdt.core.manipulation/proposals/org/eclipse/jdt/internal/ui/text/correction/proposals/AssignToVariableAssistProposalCore.java +++ b/org.eclipse.jdt.core.manipulation/proposals/org/eclipse/jdt/internal/ui/text/correction/proposals/AssignToVariableAssistProposalCore.java @@ -66,7 +66,6 @@ import org.eclipse.jdt.core.dom.rewrite.ImportRewrite.ImportRewriteContext; import org.eclipse.jdt.core.dom.rewrite.ImportRewrite.TypeLocation; import org.eclipse.jdt.core.dom.rewrite.ListRewrite; -import org.eclipse.jdt.core.manipulation.CleanUpOptionsCore; import org.eclipse.jdt.core.manipulation.JavaManipulation; import org.eclipse.jdt.internal.core.manipulation.StubUtility; @@ -89,6 +88,8 @@ import org.eclipse.jdt.internal.corext.util.JavaModelUtil; import org.eclipse.jdt.internal.corext.util.Messages; +import org.eclipse.jdt.ui.cleanup.CleanUpOptions; + import org.eclipse.jdt.internal.ui.javaeditor.saveparticipant.SaveParticipantPreferenceConfigurationConstants; import org.eclipse.jdt.internal.ui.text.correction.CorrectionMessages; import org.eclipse.jdt.internal.ui.text.correction.ModifierCorrectionSubProcessorCore; @@ -396,9 +397,9 @@ private ASTRewrite doAddField(ASTRewrite rewrite, ASTNode nodeToAssign, ITypeBin boolean safeActionsEnabled= Platform.getPreferencesService().getBoolean(JavaManipulation.getPreferenceNodeId(), saveActionsKey, false, scopes); String prefix = CleanUpPreferenceUtilCore.SAVE_PARTICIPANT_KEY_PREFIX; if (safeActionsEnabled - && CleanUpOptionsCore.TRUE.equals(JavaManipulation.getPreference(prefix + CleanUpConstants.CLEANUP_ON_SAVE_ADDITIONAL_OPTIONS, project)) - && CleanUpOptionsCore.TRUE.equals(JavaManipulation.getPreference(prefix + CleanUpConstants.VARIABLE_DECLARATIONS_USE_FINAL, project)) - && CleanUpOptionsCore.TRUE.equals(JavaManipulation.getPreference(prefix + CleanUpConstants.VARIABLE_DECLARATIONS_USE_FINAL_PRIVATE_FIELDS, project)) + && CleanUpOptions.TRUE.equals(JavaManipulation.getPreference(prefix + CleanUpConstants.CLEANUP_ON_SAVE_ADDITIONAL_OPTIONS, project)) + && CleanUpOptions.TRUE.equals(JavaManipulation.getPreference(prefix + CleanUpConstants.VARIABLE_DECLARATIONS_USE_FINAL, project)) + && CleanUpOptions.TRUE.equals(JavaManipulation.getPreference(prefix + CleanUpConstants.VARIABLE_DECLARATIONS_USE_FINAL_PRIVATE_FIELDS, project)) ) { int constructors= 0; if (newTypeDecl instanceof AbstractTypeDeclaration) { diff --git a/org.eclipse.jdt.core.manipulation/proposals/org/eclipse/jdt/internal/ui/text/correction/proposals/FixCorrectionProposalCore.java b/org.eclipse.jdt.core.manipulation/proposals/org/eclipse/jdt/internal/ui/text/correction/proposals/FixCorrectionProposalCore.java index c884982606b..761994ad793 100644 --- a/org.eclipse.jdt.core.manipulation/proposals/org/eclipse/jdt/internal/ui/text/correction/proposals/FixCorrectionProposalCore.java +++ b/org.eclipse.jdt.core.manipulation/proposals/org/eclipse/jdt/internal/ui/text/correction/proposals/FixCorrectionProposalCore.java @@ -24,7 +24,7 @@ import org.eclipse.jdt.core.dom.CompilationUnit; import org.eclipse.jdt.core.refactoring.CompilationUnitChange; -import org.eclipse.jdt.internal.corext.fix.ILinkedFixCore; +import org.eclipse.jdt.internal.corext.fix.ILinkedFix; import org.eclipse.jdt.internal.corext.fix.IProposableFix; import org.eclipse.jdt.ui.cleanup.ICleanUp; @@ -97,8 +97,8 @@ public TextChange createTextChange() throws CoreException { CompilationUnitChange createChange= fFix.createChange(null); createChange.setSaveMode(TextFileChange.LEAVE_DIRTY); - if (fFix instanceof ILinkedFixCore) { - setLinkedProposalModel(((ILinkedFixCore) fFix).getLinkedPositionsCore()); + if (fFix instanceof ILinkedFix) { + setLinkedProposalModel(((ILinkedFix) fFix).getLinkedPositions()); } return createChange; diff --git a/org.eclipse.jdt.ui.tests/ui/org/eclipse/jdt/ui/tests/quickfix/CleanUpTest.java b/org.eclipse.jdt.ui.tests/ui/org/eclipse/jdt/ui/tests/quickfix/CleanUpTest.java index cf99a4ae96a..cb0b68a8617 100644 --- a/org.eclipse.jdt.ui.tests/ui/org/eclipse/jdt/ui/tests/quickfix/CleanUpTest.java +++ b/org.eclipse.jdt.ui.tests/ui/org/eclipse/jdt/ui/tests/quickfix/CleanUpTest.java @@ -57,7 +57,6 @@ import org.eclipse.jdt.core.dom.ASTRequestor; import org.eclipse.jdt.core.dom.CompilationUnit; import org.eclipse.jdt.core.formatter.DefaultCodeFormatterConstants; -import org.eclipse.jdt.core.manipulation.CleanUpOptionsCore; import org.eclipse.jdt.internal.corext.dom.IASTSharedValues; import org.eclipse.jdt.internal.corext.fix.CleanUpConstants; @@ -28920,7 +28919,7 @@ public void testDoNotTouchCleanedModifiers() throws Exception { parser.setResolveBindings(true); CompilationUnit unit= (CompilationUnit) parser.createAST(null); Map options= new HashMap<>(); - options.put(CleanUpConstants.REMOVE_REDUNDANT_MODIFIERS, CleanUpOptionsCore.TRUE); + options.put(CleanUpConstants.REMOVE_REDUNDANT_MODIFIERS, CleanUpOptions.TRUE); NoChangeRedundantModifiersCleanUp cleanup= new NoChangeRedundantModifiersCleanUp(options); ICleanUpFix fix= cleanup.createFix(unit); diff --git a/org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/fix/CompilationUnitRewriteOperationsFix.java b/org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/fix/CompilationUnitRewriteOperationsFix.java index 6384c6fed03..ef2f24d0fcb 100644 --- a/org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/fix/CompilationUnitRewriteOperationsFix.java +++ b/org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/fix/CompilationUnitRewriteOperationsFix.java @@ -18,7 +18,7 @@ import org.eclipse.jdt.core.dom.CompilationUnit; -public class CompilationUnitRewriteOperationsFix extends CompilationUnitRewriteOperationsFixCore implements ILinkedFix { +public class CompilationUnitRewriteOperationsFix extends CompilationUnitRewriteOperationsFixCore { public static final String UNTOUCH_COMMENT= CompilationUnitRewriteOperationsFixCore.UNTOUCH_COMMENT_PROPERTY; /** @@ -49,6 +49,6 @@ public CompilationUnitRewriteOperationsFix(String name, CompilationUnit compilat @Override public LinkedProposalModelCore getLinkedPositions() { - return super.getLinkedPositionsCore(); + return super.getLinkedPositions(); } }