diff --git a/org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/buildpath/ClasspathModifier.java b/org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/buildpath/ClasspathModifier.java
index 182fad83cfa..6a930f35124 100644
--- a/org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/buildpath/ClasspathModifier.java
+++ b/org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/buildpath/ClasspathModifier.java
@@ -857,7 +857,7 @@ public static void exclude(IPath path, Listnull
*
- * @return the resulting IResource
+ * @return the resulting
IResource
*/
public static IResource exclude(IJavaElement javaElement, CPListElement entry, IJavaProject project, IProgressMonitor monitor) {
if (monitor == null)
@@ -1031,8 +1031,10 @@ public static void commitClassPath(CPJavaProject cpProject, IProgressMonitor mon
*
* @param entries a list of entries to find an appropriate representation
* for. The list can contain elements of two types:
+ *
*
* @param project the Java project
* @return a list of elements corresponding to the passed entries.
*/
diff --git a/org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/template/java/JavaContextType.java b/org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/template/java/JavaContextType.java
index 45868ae127c..62e8ffe03f4 100644
--- a/org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/template/java/JavaContextType.java
+++ b/org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/template/java/JavaContextType.java
@@ -18,12 +18,12 @@
/**
* The context type for templates inside Java code.
* The same class is used for several context types:
- * IResource
IJavaElement
+ *
+ *
*/
public class JavaContextType extends AbstractJavaContextType {
diff --git a/org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/template/java/SWTContextType.java b/org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/template/java/SWTContextType.java
index 61374014bca..30427804e9e 100644
--- a/org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/template/java/SWTContextType.java
+++ b/org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/template/java/SWTContextType.java
@@ -18,11 +18,11 @@
/**
* The context type for templates inside SWT code.
* The same class is used for several context types:
- *
*
+ *
+ *
* @since 3.4
*/
public class SWTContextType extends AbstractJavaContextType {
diff --git a/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/actions/FoldingActionGroup.java b/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/actions/FoldingActionGroup.java
index 38cc3ac8525..3e43d3ca4a0 100644
--- a/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/actions/FoldingActionGroup.java
+++ b/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/actions/FoldingActionGroup.java
@@ -198,7 +198,7 @@ public void run() {
/**
* Returns
*
true
if the group is enabled.
*
- * Invariant: isEnabled() <=> fViewer and all actions are != null.
+ * Invariant: isEnabled() == fViewer and all actions are != null.
*
*
* @return true
if the group is enabled
diff --git a/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/commands/JavaElementReferenceConverter.java b/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/commands/JavaElementReferenceConverter.java
index 3f0f8f2bd26..ccac855b498 100644
--- a/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/commands/JavaElementReferenceConverter.java
+++ b/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/commands/JavaElementReferenceConverter.java
@@ -52,7 +52,6 @@
*
* where parameterSignatures
uses the signature format documented
* in the {@link org.eclipse.jdt.core.Signature Signature} class.
- *
setFeedbackEnabled
method can be called to turn on and off
* visual insertion feedback (on by default).
- *
*
* THIS IS (ALMOST) A ONE-TO-ONE COPY OF PLATFORMS ViewerDropAdapter
* REFERE THERE FIRST IF YOU NEED TO FIX SOMETHING.
diff --git a/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/dnd/ResourceTransferDragAdapter.java b/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/dnd/ResourceTransferDragAdapter.java
index 62222dc09ec..cbf97f5dcea 100644
--- a/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/dnd/ResourceTransferDragAdapter.java
+++ b/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/dnd/ResourceTransferDragAdapter.java
@@ -48,10 +48,9 @@
import org.eclipse.jdt.internal.ui.util.SWTUtil;
/**
- * A drag adapter that transfers the current selection as
- * IResource. Only those elements in the selection are part
- * of the transfer which can be converted into an IResource
- *
.
+ * A drag adapter that transfers the current selection as IResource
. Only those
+ * elements in the selection are part of the transfer which can be converted into an
+ * IResource
.
*/
public class ResourceTransferDragAdapter extends DragSourceAdapter implements TransferDragSourceListener {
diff --git a/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/fix/ConstantsForSystemPropertyCleanUp.java b/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/fix/ConstantsForSystemPropertyCleanUp.java
index fb326f3594b..044c769a9e3 100644
--- a/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/fix/ConstantsForSystemPropertyCleanUp.java
+++ b/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/fix/ConstantsForSystemPropertyCleanUp.java
@@ -19,14 +19,13 @@
/**
* A fix that replaces System.getProperty(xxx)
by Java methods:
*
+ **/ public class OperandFactorizationCleanUp extends AbstractMultiFix { public OperandFactorizationCleanUp() { diff --git a/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/fix/RedundantModifiersCleanUp.java b/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/fix/RedundantModifiersCleanUp.java index 31291a9e069..34e55698093 100644 --- a/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/fix/RedundantModifiersCleanUp.java +++ b/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/fix/RedundantModifiersCleanUp.java @@ -52,7 +52,7 @@ *{@code ------------------------------------------------------------------------------------------- | a | b | c | (a && b) || (a && c) | a && (b || c) | (a || b) && (a || c) | a || (b && c) | | 0 | 0 | 0 | 0 | 0 | 0 | 0 | @@ -66,7 +66,7 @@ | 1 | 1 | 0 | 1 | 1 | 1 | 1 | | 1 | 1 | 1 | 1 | 1 | 1 | 1 | ------------------------------------------------------------------------------------------- -+ }
public
, static
and final
* are redundant for field declarations.public
and
- * abstract
+ * abstract
are redundant for method declarations.final
modifier is redundant for method
* declarations.static
modifier is redundant.(X && !Y) || (!X && Y)
by X ^ Y
:
+ * A fix that replaces <@code (X && !Y) || (!X && Y)} by <@code X ^ Y}:
* (X && Y) || (!X && Z)
by X ? Y : Z
:
+ * A fix that replaces <@code (X && Y) || (!X && Z)} by <@code X ? Y : Z}:
* open
returns.
- *
*
* @since 3.2
*/
diff --git a/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/jarpackager/JarPackageWizard.java b/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/jarpackager/JarPackageWizard.java
index 600ba2897d3..3ea48e28a1f 100644
--- a/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/jarpackager/JarPackageWizard.java
+++ b/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/jarpackager/JarPackageWizard.java
@@ -70,7 +70,6 @@
* user. When the user hits Finish, the user-selected workspace resources
* are exported to the user-specified zip file, the dialog closes, and the call
* to open
returns.
- *
*/
public class JarPackageWizard extends Wizard implements IExportWizard {
diff --git a/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/JavaEditor.java b/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/JavaEditor.java
index 38ae06ef1a2..1372bf69f47 100644
--- a/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/JavaEditor.java
+++ b/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/JavaEditor.java
@@ -1118,7 +1118,7 @@ protected void setCaretPosition(final int position) {
* not its enclosing Java element.
* + *
- * The result might be outdated if queried from a non-UI thread.
+ * The result might be outdated if queried from a non-UI thread. * * @return the caret offset in the master document * @see ITextViewer#getSelectedRange() diff --git a/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/JavaSelectAnnotationRulerAction.java b/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/JavaSelectAnnotationRulerAction.java index bbd73438b44..b21c4e01caf 100644 --- a/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/JavaSelectAnnotationRulerAction.java +++ b/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/JavaSelectAnnotationRulerAction.java @@ -50,7 +50,7 @@ * Action which gets triggered when selecting (annotations) in the vertical ruler. * *
- * Was originally called >code>JavaSelectMarkerRulerAction.
+ * Was originally called JavaSelectMarkerRulerAction
.
*
compilationUnit
is savedfalse
.
+ * or null if requiresChangedRegions
did return false
.
* The changed regions do not include changes introduced by other save participants.
* @param monitor
* the progress monitor for reporting progress
diff --git a/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/saveparticipant/ISaveParticipantPreferenceConfiguration.java b/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/saveparticipant/ISaveParticipantPreferenceConfiguration.java
index 0e08038c80f..02d432bfc8b 100644
--- a/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/saveparticipant/ISaveParticipantPreferenceConfiguration.java
+++ b/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/saveparticipant/ISaveParticipantPreferenceConfiguration.java
@@ -89,7 +89,7 @@ public interface ISaveParticipantPreferenceConfiguration {
/**
* Called when a compilation unit is saved.
- * + * * @param context the context in which the compilation unit is saved * @return true if the corresponding {@link IPostSaveListener} needs to be informed */ diff --git a/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/FilteredPreferenceTree.java b/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/FilteredPreferenceTree.java index ba82b65e75b..a14c6fac0e5 100644 --- a/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/FilteredPreferenceTree.java +++ b/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/FilteredPreferenceTree.java @@ -68,7 +68,6 @@ *
javaCompletionProposalComputer
extension point.
* - *
* The returned list is read-only and is sorted in the order that the extensions were read in. * There are no duplicate elements in the returned list. The returned list may change if * plug-ins are loaded or unloaded while the application is running. diff --git a/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/java/ContentAssistProcessor.java b/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/java/ContentAssistProcessor.java index 6ce0d6c80f3..df7b1876744 100644 --- a/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/java/ContentAssistProcessor.java +++ b/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/java/ContentAssistProcessor.java @@ -93,7 +93,6 @@ * contexts are provided) *
getErrorMessage
to change error reporting* This collector is used when * {@link PreferenceConstants#CODEASSIST_FILL_ARGUMENT_NAMES} is enabled. - *
*/ public final class FillArgumentNamesCompletionProposalCollector extends CompletionProposalCollector { diff --git a/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/spelling/PropertiesFileSpellCheckIterator.java b/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/spelling/PropertiesFileSpellCheckIterator.java index f3d59f31cac..a770afbb1b4 100644 --- a/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/spelling/PropertiesFileSpellCheckIterator.java +++ b/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/spelling/PropertiesFileSpellCheckIterator.java @@ -13,9 +13,8 @@ *******************************************************************************/ package org.eclipse.jdt.internal.ui.text.spelling; -import java.util.Locale; - import java.text.BreakIterator; +import java.util.Locale; import org.eclipse.core.runtime.IProgressMonitor; @@ -25,7 +24,7 @@ /** * Iterator to spell check Java properties files - * where '&' is ignored. + * where {@code '&'} is ignored. * * @since 3.3 */ diff --git a/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/spelling/WordCompletionProposalComputer.java b/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/spelling/WordCompletionProposalComputer.java index da4a59a3be2..e8b4d8e34a7 100644 --- a/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/spelling/WordCompletionProposalComputer.java +++ b/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/spelling/WordCompletionProposalComputer.java @@ -43,10 +43,7 @@ * Note: This is currently not supported because the spelling engine * cannot return word proposals but only correction proposals. *
- * If we enable this again we must register the computer in plugin.xml
:
- *
- *- * + * If we enable this again we must register the computer in
plugin.xml
*
* @since 3.0
*/
diff --git a/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/spelling/engine/DefaultPhoneticHashProvider.java b/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/spelling/engine/DefaultPhoneticHashProvider.java
index 989db8adeb0..e70756d9e27 100644
--- a/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/spelling/engine/DefaultPhoneticHashProvider.java
+++ b/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/spelling/engine/DefaultPhoneticHashProvider.java
@@ -21,7 +21,6 @@
* * This algorithm uses an adapted version double metaphone algorithm by * Lawrence Philips. - *
* * @since 3.0 */ diff --git a/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/spelling/engine/package.html b/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/spelling/engine/package.html index 6ecebe09e10..036be974965 100644 --- a/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/spelling/engine/package.html +++ b/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/spelling/engine/package.html @@ -16,59 +16,59 @@
ISpellCheckEngine
.
Implementations of this interface provide support for life-cycle management, registering and unregistering
dictionaries, changing the locale of the engine and creating a spell-checker for a specific language.
The following steps are needed to obtain a spell-checker for a specific language:
ISpellCheckEngine
. In this package, no default implementation is provided,
since the management of the dictionary registering and loading is application dependent. Usually, instances
-of ISpellCheckEngine are implemented as singletons.ISpellCheckEngine
are implemented as singletons.
ISpellCheckEngine
must implement the interface ISpellCheckDictionary
.
+For this interface, an abstract implementation is provided in the class AbstractSpellDictionary
.
Depending on the language of the words contained in this dictionary, custom algorithms for the phonetic hash
- (IPhoneticHashProvider) and the edit distance (IPhoneticDistanceAlgorithm) should be implemented
+ (IPhoneticHashProvider
) and the edit distance (IPhoneticDistanceAlgorithm
) should be implemented
and registered with the dictionary.createSpellChecker(Locale)
, where the locale
denotes the language that the spell-checker should use while executing.createSpellChecker(Locale)
, the spell-checker is
reconfigured with the new dictionaries. More concretely, the old dictionary is unregistered and a new one registered for the
desired locale is associated with the spell-checker. If no such dictionary is available, no spell-checker is returned and
the locale of the engine is reset to its default locale.
ISpellDictionary
. It provides support for life-cycle management as well as the facility to query
words from the list, add words to the list and get correction proposals for incorrectly spelt words.
-This package provides a default implementation of a dictionary (AbstractSpellDictionary) that uses algorithms
+This package provides a default implementation of a dictionary (AbstractSpellDictionary
) that uses algorithms
convenient for english languages.
Every dictionary needs two kinds of algorithms to be plugged in:
IPhoneticDistanceAlgorithm
. The algorithm
+is used to determine the similarity between two words. This package provides a default implementation for languages using the latin alphabet (DefaultPhoneticDistanceAlgorithm
).
The default algorithm uses the Levenshtein text edit distance.IPhoneticHashProvider
. The purpose of
phonetic hashes is to have a representation of words which allows comparing it to other, similar words. This package provides a default
implementation which is convenient for slavic and english languages. It uses the double metaphone algorithm by published
Lawrence Philips.AbstractSpellDictionary
can
be customized to specified languages and alphabets.
ISpellChecker
are usually language-, locale- and medium independent implementations and therefore need an input provider. The
+interface ISpellCheckIterator
serves this purpose by abstracting the tokenizing of text media to a simple iteration. The actual spell-check process
+is launched by calling ISpellChecker#execute(ISpellCheckIterator)
. This method uses the indicated spell-check iterator to determine the
words that are to be spell-checked. This package provides no default implementation of a spell-check iterator.
+the interface ISpellEventListener
and register with the spell-checker before the spell-check process starts.
A spell event contains the following information:
SpellCheckEngine
is the default implementation of the interface ISpellCheckEngine
.
It provides a facade for dealing with the setup of a spell-checker. This class provides methods
to retrieve the available dictionaries and is responsible for the registration of those with the spell-checker.
-SpellCheckEngine also has support for life-cycle management. Single dictionaries can be temporarily
+SpellCheckEngine
also has support for life-cycle management. Single dictionaries can be temporarily
unloaded from memory or unregistered.createSpellChecker(Locale)
.
This is the central point to working with the spell-checker. When requesting a spell-checker for a specified locale, the
engine looks up the corresponding dictionary and registers it with the spell-checker. Note that the dictionaries
are lazily loaded and can be further optimized by prefiltering the queried words.
diff --git a/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/util/ElementValidator.java b/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/util/ElementValidator.java
index 70f952e6873..7355c2f3ee7 100644
--- a/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/util/ElementValidator.java
+++ b/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/util/ElementValidator.java
@@ -37,7 +37,7 @@
import org.eclipse.jdt.internal.ui.JavaUIMessages;
/**
- * Helper class to check if a set of IJavaElement objects can be
+ * Helper class to check if a set of IJavaElement
objects can be
* modified by an operation.
*
* @since 2.1
diff --git a/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/util/PatternMatcher.java b/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/util/PatternMatcher.java
index f403248d5ff..7322e0eb7fd 100644
--- a/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/util/PatternMatcher.java
+++ b/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/util/PatternMatcher.java
@@ -15,12 +15,12 @@
import org.eclipse.jdt.core.search.SearchPattern;
-import org.eclipse.jdt.internal.corext.util.SearchUtils;
import org.eclipse.jdt.internal.core.manipulation.util.Strings;
+import org.eclipse.jdt.internal.corext.util.SearchUtils;
/**
* A pattern matcher can match strings against various kinds of patterns supported by {@link SearchPattern}:
- * Prefix, "*" and "?" patterns, camelCase, exact match with " " or "<" at the end of the pattern.
+ * Prefix, "*" and "?" patterns, camelCase, exact match with " " or {@code "<"} at the end of the pattern.
*
* @since 3.8
*/
diff --git a/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/util/ViewerPane.java b/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/util/ViewerPane.java
index 101d3a69e7e..44999f5e0ed 100644
--- a/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/util/ViewerPane.java
+++ b/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/util/ViewerPane.java
@@ -25,7 +25,6 @@
/**
* A ViewerPane
is a convenience class which installs a
* CLabel
and a Toolbar
in a ViewForm
.
- * */ public class ViewerPane extends ViewForm { diff --git a/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/NewTypeDropDownAction.java b/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/NewTypeDropDownAction.java index 0fbb50de906..c989e521fbe 100644 --- a/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/NewTypeDropDownAction.java +++ b/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/NewTypeDropDownAction.java @@ -49,6 +49,7 @@ /** * A type wizard is added to the type drop down if it has a paramater 'javatype': + *
{@code **/ public class NewTypeDropDownAction extends Action implements IMenuCreator, IWorkbenchWindowPulldownDelegate2 { diff --git a/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/buildpaths/newsourcepage/ClasspathModifierQueries.java b/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/buildpaths/newsourcepage/ClasspathModifierQueries.java index 1d97f8902ef..39883bce8cb 100644 --- a/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/buildpaths/newsourcepage/ClasspathModifierQueries.java +++ b/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/buildpaths/newsourcepage/ClasspathModifierQueries.java @@ -33,13 +33,13 @@ import org.eclipse.jdt.core.IJavaProject; import org.eclipse.jdt.core.JavaModelException; +import org.eclipse.jdt.internal.core.manipulation.util.BasicElementLabels; import org.eclipse.jdt.internal.corext.util.Messages; import org.eclipse.jdt.ui.PreferenceConstants; import org.eclipse.jdt.ui.wizards.BuildPathDialogAccess; import org.eclipse.jdt.internal.ui.JavaPlugin; -import org.eclipse.jdt.internal.core.manipulation.util.BasicElementLabels; import org.eclipse.jdt.internal.ui.wizards.NewWizardMessages; import org.eclipse.jdt.internal.ui.wizards.buildpaths.CPListElement; import org.eclipse.jdt.internal.ui.wizards.buildpaths.ExclusionInclusionDialog; @@ -65,9 +65,11 @@ public static abstract class OutputFolderValidator { * * @param newElements a list of elements that will be added * to the buildpath. The list's items can be of type: + ** + * }
IJavaProject
IPackageFragment
IFolder