### Eclipse Workspace Patch 1.0 #P org.eclipse.jdt.core Index: search/org/eclipse/jdt/core/search/SearchEngine.java =================================================================== RCS file: /cvsroot/eclipse/org.eclipse.jdt.core/search/org/eclipse/jdt/core/search/SearchEngine.java,v retrieving revision 1.149 diff -u -r1.149 SearchEngine.java --- search/org/eclipse/jdt/core/search/SearchEngine.java 13 Jan 2010 17:38:20 -0000 1.149 +++ search/org/eclipse/jdt/core/search/SearchEngine.java 13 Mar 2010 00:15:57 -0000 @@ -190,37 +190,6 @@ /** * Returns a Java search scope limited to the hierarchy of the given type and to a given project. - * The Java elements resulting from a search with this scope will be types in this hierarchy, - * or members or enclosing types of the types in this hierarchy. - *

- * By default, hierarchy scopes include all direct and indirect supertypes and subtypes of the - * focus type. This method, however, allows to restrict the hierarchy to true subtypes, - * neither including supertypes nor the focus type itself. - *

- *

- * By default, hierarchy scopes include also member types and enclosing types of those types - * that actually span the hierarchy. This method, however, allows to inhibit this behavior, - * by passing true to the parameter noMemberTypes. - *

- * - * @param project the project to which to constrain the search, or null if - * search should consider all types in the workspace - * @param type the focus of the hierarchy scope - * @param onlySubtypes if true only subtypes of type are considered - * @param noMemberTypes if true do not consider member or enclosing types of types in the given type hiearchy - * @param owner the owner of working copies that take precedence over original compilation units, - * or null if the primary working copy owner should be used - * @return a new hierarchy scope - * @exception JavaModelException if the hierarchy could not be computed on the given type - * @deprecated Will be removed shortly before 3.6M5. Use {@link #createStrictHierarchyScope(IJavaProject, IType, boolean, boolean, WorkingCopyOwner)} instead. - * @since 3.6 - */ - public static IJavaSearchScope createHierarchyScope(IJavaProject project, IType type, boolean onlySubtypes, boolean noMemberTypes, WorkingCopyOwner owner) throws JavaModelException { - return BasicSearchEngine.createHierarchyScope(project, type, onlySubtypes, noMemberTypes, owner); - } - - /** - * Returns a Java search scope limited to the hierarchy of the given type and to a given project. * The Java elements resulting from a search with this scope will be types in this hierarchy. *

* Unlike the createHierarchyScope methods, this method creates strict