### Eclipse Workspace Patch 1.0 #P org.eclipse.jdt.core Index: search/org/eclipse/jdt/core/search/TypeNameMatchRequestor.java =================================================================== RCS file: /cvsroot/eclipse/org.eclipse.jdt.core/search/org/eclipse/jdt/core/search/TypeNameMatchRequestor.java,v retrieving revision 1.2 diff -u -r1.2 TypeNameMatchRequestor.java --- search/org/eclipse/jdt/core/search/TypeNameMatchRequestor.java 6 Mar 2007 02:38:51 -0000 1.2 +++ search/org/eclipse/jdt/core/search/TypeNameMatchRequestor.java 14 Mar 2007 17:50:11 -0000 @@ -25,8 +25,10 @@ * org.eclipse.core.runtime.IProgressMonitor monitor)} method. * Only top-level and member types are reported. Local types are not reported. *

- * Although {@link TypeNameRequestor} only reports type names information (e.g. package, enclosing types, simple name, modifiers, etc.), - * this one reports {@link TypeNameMatch} objects instead which stored these information. + * While {@link TypeNameRequestor} only reports type names information (e.g. package, enclosing types, simple name, modifiers, etc.), + * this class reports {@link TypeNameMatch} objects instead, which store this information and can return + * an {@link org.eclipse.jdt.core.IType} handle. + *

*

* This class may be subclassed by clients. *

@@ -39,12 +41,8 @@ /** * Accepts a type name match ({@link TypeNameMatch}) which contains top-level or a member type * information as package name, enclosing types names, simple type name, modifiers, etc. - *

- * The default implementation of this method does nothing. - * Subclasses should override. - *

* - * @param match the match which contains all type information. + * @param match the match which contains all type information */ public abstract void acceptTypeNameMatch(TypeNameMatch match); } Index: search/org/eclipse/jdt/core/search/TypeNameMatch.java =================================================================== RCS file: /cvsroot/eclipse/org.eclipse.jdt.core/search/org/eclipse/jdt/core/search/TypeNameMatch.java,v retrieving revision 1.8 diff -u -r1.8 TypeNameMatch.java --- search/org/eclipse/jdt/core/search/TypeNameMatch.java 6 Mar 2007 02:38:51 -0000 1.8 +++ search/org/eclipse/jdt/core/search/TypeNameMatch.java 14 Mar 2007 17:50:11 -0000 @@ -13,13 +13,13 @@ import org.eclipse.jdt.core.*; /** - * A match collected while searching for {@link SearchEngine} + * A match collected while {@link SearchEngine searching} for * all type names methods using a {@link TypeNameRequestor requestor}. *

- * User can get type from this match using {@link #getType()} method. + * The type of this match is available from {@link #getType()}. *

*

- * This class is intented to be overridden by clients. + * This class is intended to be overridden by clients. *

* * @see TypeNameMatchRequestor @@ -30,7 +30,7 @@ public abstract class TypeNameMatch { /** - * Returns the matched type fully qualified name using '.' character + * Returns the matched type's fully qualified name using '.' character * as separator (e.g. package name + '.' enclosing type names + '.' simple name). * * @see #getType() @@ -114,7 +114,7 @@ * @see IMember#getDeclaringType() * * @throws NullPointerException if matched type is null - * @return Name of the type container + * @return name of the type container */ public String getTypeContainerName() { IType outerType = getType().getDeclaringType(); @@ -126,14 +126,14 @@ } /** - * Returns the matched type qualified name using '.' character + * Returns the matched type's type qualified name using '.' character * as separator (e.g. enclosing type names + '.' + simple name). * * @see #getType() * @see IType#getTypeQualifiedName(char) * * @throws NullPointerException if matched type is null - * @return Fully qualified type name of the type + * @return fully qualified type name of the type */ public String getTypeQualifiedName() { return getType().getTypeQualifiedName('.');