Index: search/org/eclipse/jdt/core/search/SearchEngine.java =================================================================== RCS file: /home/eclipse/org.eclipse.jdt.core/search/org/eclipse/jdt/core/search/SearchEngine.java,v retrieving revision 1.124 diff -u -r1.124 SearchEngine.java --- search/org/eclipse/jdt/core/search/SearchEngine.java 19 Mar 2005 09:23:12 -0000 1.124 +++ search/org/eclipse/jdt/core/search/SearchEngine.java 26 Apr 2005 15:28:33 -0000 @@ -19,12 +19,12 @@ import org.eclipse.jdt.internal.core.search.matching.*; /** - * A SearchEngine searches for Java elements following a search pattern. + * A {@link SearchEngine} searches for Java elements following a search pattern. * The search can be limited to a search scope. *

* Various search patterns can be created using the factory methods - * createSearchPattern(String, int, int, boolean), createSearchPattern(IJavaElement, int), - * createOrSearchPattern(ISearchPattern, ISearchPattern). + * {@link SearchPattern#createPattern(String, int, int, int)}, {@link SearchPattern#createPattern(IJavaElement, int)}, + * {@link SearchPattern#createOrPattern(SearchPattern, SearchPattern)}. *

*

For example, one can search for references to a method in the hierarchy of a type, * or one can search for the declarations of types starting with "Abstract" in a project. @@ -324,26 +324,26 @@ * @param stringPattern the given pattern * @param searchFor determines the nature of the searched elements *

* @param limitTo determines the nature of the expected matches * * * @param isCaseSensitive indicates whether the search is case sensitive or not. @@ -365,16 +365,16 @@ * @param element the Java element the search pattern is based on * @param limitTo determines the nature of the expected matches * * @return a search pattern for a Java element or null if the given element is ill-formed * @deprecated Use {@link SearchPattern#createPattern(IJavaElement, int)} instead. @@ -413,16 +413,16 @@ * @param workspace the workspace * @param patternString the pattern to be searched for * @param searchFor a hint what kind of Java element the string pattern represents. - * Look into IJavaSearchConstants for valid values + * Look into {@link IJavaSearchConstants} for valid values * @param limitTo one of the following values: * @@ -459,13 +459,13 @@ * @param element the Java element to be searched for * @param limitTo one of the following values: * @@ -544,29 +544,33 @@ * for this type, or a wild-carded string for this type. * @param matchRule one of * - * combined with SearchPattern.R_CASE_SENSITIVE, - * e.g. R_EXACT_MATCH | R_CASE_SENSITIVE if an exact and case sensitive match is requested, - * or R_PREFIX_MATCH if a prefix non case sensitive match is requested. - * @param searchFor one of - * + * combined with {@link SearchPattern#R_CASE_SENSITIVE}, + * e.g. {@link SearchPattern#R_EXACT_MATCH} | {@link SearchPattern#R_CASE_SENSITIVE} if an exact and case sensitive match is requested, + * or {@link SearchPattern#R_PREFIX_MATCH} if a prefix non case sensitive match is requested. + * @param searchFor determines the nature of the searched elements + * * @param scope the scope to search in * @param nameRequestor the requestor that collects the results of the search * @param waitingPolicy one of * * @param progressMonitor the progress monitor to report progress to, or null if no progress @@ -601,10 +605,10 @@ * @param nameRequestor the requestor that collects the results of the search * @param waitingPolicy one of * * @param progressMonitor the progress monitor to report progress to, or null if no progress @@ -647,29 +651,29 @@ * for this type, or a wild-carded string for this type. * @param matchRule one of * - * combined with SearchPattern.R_CASE_SENSITIVE, - * e.g. R_EXACT_MATCH | R_CASE_SENSITIVE if an exact and case sensitive match is requested, - * or R_PREFIX_MATCH if a prefix non case sensitive match is requested. + * combined with {@link SearchPattern#R_CASE_SENSITIVE}, + * e.g. {@link SearchPattern#R_EXACT_MATCH} | {@link SearchPattern#R_CASE_SENSITIVE} if an exact and case sensitive match is requested, + * or {@link SearchPattern#R_PREFIX_MATCH} if a prefix non case sensitive match is requested. * @param searchFor one of * * @param scope the scope to search in * @param nameRequestor the requestor that collects the results of the search * @param waitingPolicy one of * * @param progressMonitor the progress monitor to report progress to, or null if no progress @@ -707,27 +711,27 @@ * for this type, or a wild-carded string for this type. * @param matchMode one of * * @param isCaseSensitive whether the search should be case sensitive * @param searchFor one of * * @param scope the scope to search in * @param nameRequestor the requestor that collects the results of the search * @param waitingPolicy one of * * @param progressMonitor the progress monitor to report progress to, or null if no progress Index: search/org/eclipse/jdt/core/search/SearchPattern.java =================================================================== RCS file: /home/eclipse/org.eclipse.jdt.core/search/org/eclipse/jdt/core/search/SearchPattern.java,v retrieving revision 1.40 diff -u -r1.40 SearchPattern.java --- search/org/eclipse/jdt/core/search/SearchPattern.java 11 Apr 2005 07:21:19 -0000 1.40 +++ search/org/eclipse/jdt/core/search/SearchPattern.java 26 Apr 2005 15:28:35 -0000 @@ -339,7 +339,7 @@ *
  • <Exception>Sample(Exception)
  • * * Type arguments have the same pattern that for type patterns - * @see #createTypePattern(String,int,int) + * @see #createTypePattern(String,int,int,char) */ private static SearchPattern createMethodOrConstructorPattern(String patternString, int limitTo, int matchRule, boolean isConstructor) { @@ -767,7 +767,11 @@ *