summaryrefslogtreecommitdiffstatsabout
diff options
context:
space:
mode:
authorThomasz Zarna2012-06-28 05:07:09 (EDT)
committer Jayaprakash Arthanareeswaran2012-08-10 02:48:36 (EDT)
commit48005818d4dcf84d018a5b2c8db182b539a1e32e (patch)
tree24a96d9783220aab5c9245dc29552eec606f3f66
parent29b2c218438398769d94ba99ef040852b0acf110 (diff)
downloadeclipse.jdt.core-48005818d4dcf84d018a5b2c8db182b539a1e32e.zip
eclipse.jdt.core-48005818d4dcf84d018a5b2c8db182b539a1e32e.tar.gz
eclipse.jdt.core-48005818d4dcf84d018a5b2c8db182b539a1e32e.tar.bz2
Fixed bug 382836: In IJavaSearchScope do not suggest to use deprecated
method
-rw-r--r--org.eclipse.jdt.core/search/org/eclipse/jdt/core/search/IJavaSearchScope.java11
1 files changed, 6 insertions, 5 deletions
diff --git a/org.eclipse.jdt.core/search/org/eclipse/jdt/core/search/IJavaSearchScope.java b/org.eclipse.jdt.core/search/org/eclipse/jdt/core/search/IJavaSearchScope.java
index 70a6490..64776ec 100644
--- a/org.eclipse.jdt.core/search/org/eclipse/jdt/core/search/IJavaSearchScope.java
+++ b/org.eclipse.jdt.core/search/org/eclipse/jdt/core/search/IJavaSearchScope.java
@@ -1,5 +1,5 @@
/*******************************************************************************
- * Copyright (c) 2000, 2009 IBM Corporation and others.
+ * Copyright (c) 2000, 2012 IBM Corporation and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
@@ -12,14 +12,15 @@ package org.eclipse.jdt.core.search;
import org.eclipse.core.runtime.IPath;
import org.eclipse.jdt.core.IJavaElement;
+import org.eclipse.jdt.core.IType;
/**
* An <code>IJavaSearchScope</code> defines where search result should be found by a
* <code>SearchEngine</code>. Clients must pass an instance of this interface
- * to the <code>search(...)</code> methods. Such an instance can be created using the
- * following factory methods on <code>SearchEngine</code>: <code>createHierarchyScope(IType)</code>,
- * <code>createJavaSearchScope(IResource[])</code>, <code>createWorkspaceScope()</code>, or
- * clients may choose to implement this interface.
+ * to the <code>search(...)</code> methods. Such an instance can be created
+ * using the following factory methods: {@link SearchEngine#createHierarchyScope(IType)},
+ * {@link SearchEngine#createJavaSearchScope(IJavaElement[])}, {@link SearchEngine#createWorkspaceScope()} or clients
+ * may choose to implement this interface.
*/
public interface IJavaSearchScope {
/**