Download
Getting Started
Members
Projects
Community
Marketplace
Events
Planet Eclipse
Newsletter
Videos
Participate
Report a Bug
Forums
Mailing Lists
Wiki
IRC
How to Contribute
Working Groups
Automotive
Internet of Things
LocationTech
Long-Term Support
PolarSys
Science
OpenMDM
More
Community
Marketplace
Events
Planet Eclipse
Newsletter
Videos
Participate
Report a Bug
Forums
Mailing Lists
Wiki
IRC
How to Contribute
Working Groups
Automotive
Internet of Things
LocationTech
Long-Term Support
PolarSys
Science
OpenMDM
Toggle navigation
Bugzilla – Attachment 60833 Details for
Bug 177386
Wording in Javadoc of TypeNameMatch and -Requestor
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
Terms of Use
|
Copyright Agent
[patch]
Patch
TypeNameMatch_patch.txt (text/plain), 4.08 KB, created by
Markus Keller
on 2007-03-14 13:51:46 EDT
(
hide
)
Description:
Patch
Filename:
MIME Type:
Creator:
Markus Keller
Created:
2007-03-14 13:51:46 EDT
Size:
4.08 KB
patch
obsolete
>### 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. > * <p> >- * 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. >+ * </p> > * <p> > * This class may be subclassed by clients. > * </p> >@@ -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. >- * <p> >- * The default implementation of this method does nothing. >- * Subclasses should override. >- * </p> > * >- * @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}. > * <p> >- * User can get type from this match using {@link #getType()} method. >+ * The type of this match is available from {@link #getType()}. > * </p> > * <p> >- * This class is intented to be overridden by clients. >+ * This class is intended to be overridden by clients. > * </p> > * > * @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 <code> null</code> >- * @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 <code> null</code> >- * @return Fully qualified type name of the type >+ * @return fully qualified type name of the type > */ > public String getTypeQualifiedName() { > return getType().getTypeQualifiedName('.');
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 177386
: 60833