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 149490 Details for
Bug 241549
[spec] IType#getFields/Initializers/Methods() should define order from class file
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
Terms of Use
|
Copyright Agent
[patch]
Proposed Patch
patch_241549.txt (text/plain), 3.75 KB, created by
Jay Arthanareeswaran
on 2009-10-14 02:01:57 EDT
(
hide
)
Description:
Proposed Patch
Filename:
MIME Type:
Creator:
Jay Arthanareeswaran
Created:
2009-10-14 02:01:57 EDT
Size:
3.75 KB
patch
obsolete
>### Eclipse Workspace Patch 1.0 >#P org.eclipse.jdt.core >Index: model/org/eclipse/jdt/core/IType.java >=================================================================== >RCS file: /cvsroot/eclipse/org.eclipse.jdt.core/model/org/eclipse/jdt/core/IType.java,v >retrieving revision 1.67 >diff -u -r1.67 IType.java >--- model/org/eclipse/jdt/core/IType.java 7 Mar 2009 00:59:02 -0000 1.67 >+++ model/org/eclipse/jdt/core/IType.java 14 Oct 2009 05:53:53 -0000 >@@ -472,6 +472,10 @@ > * Returns the children of this type that have the given category as a <code>@category</code> tag. > * Returns an empty array if no children with this category exist. > * >+ * <p> >+ * The results are listed in the order in which they appear in the source or class file. >+ * </p> >+ * > * @return the children for the given category. > * @exception JavaModelException if this element does not exist or if an > * exception occurs while accessing its corresponding resource. >@@ -498,10 +502,8 @@ > IField getField(String name); > > /** >- * Returns the fields declared by this type. >- * If this is a source type, the results are listed in the order >- * in which they appear in the source, otherwise, the results are >- * in no particular order. For binary types, this includes synthetic fields. >+ * Returns the fields declared by this type in the order in which they appear >+ * in the source or class file. For binary types, this includes synthetic fields. > * > * @exception JavaModelException if this element does not exist or if an > * exception occurs while accessing its corresponding resource. >@@ -580,10 +582,9 @@ > IInitializer getInitializer(int occurrenceCount); > > /** >- * Returns the initializers declared by this type. >- * For binary types this is an empty collection. >- * If this is a source type, the results are listed in the order >- * in which they appear in the source. >+ * Returns the initializers declared by this type. For binary types this is an >+ * empty collection. For source types, the results are listed in the order in >+ * which they appear in the source. > * > * @exception JavaModelException if this element does not exist or if an > * exception occurs while accessing its corresponding resource. >@@ -623,11 +624,11 @@ > > /** > * Returns the methods and constructors declared by this type. >- * For binary types, this may include the special <code><clinit></code>; method >+ * For binary types, this may include the special <code><clinit></code> method > * and synthetic methods. >- * If this is a source type, the results are listed in the order >- * in which they appear in the source, otherwise, the results are >- * in no particular order. >+ * <p> >+ * The results are listed in the order in which they appear in the source or class file. >+ * </p> > * > * @exception JavaModelException if this element does not exist or if an > * exception occurs while accessing its corresponding resource. >Index: model/org/eclipse/jdt/core/IMember.java >=================================================================== >RCS file: /cvsroot/eclipse/org.eclipse.jdt.core/model/org/eclipse/jdt/core/IMember.java,v >retrieving revision 1.27 >diff -u -r1.27 IMember.java >--- model/org/eclipse/jdt/core/IMember.java 27 Jun 2008 16:04:01 -0000 1.27 >+++ model/org/eclipse/jdt/core/IMember.java 14 Oct 2009 05:53:52 -0000 >@@ -14,6 +14,9 @@ > * Common protocol for Java elements that can be members of types. > * This set consists of <code>IType</code>, <code>IMethod</code>, > * <code>IField</code>, and <code>IInitializer</code>. >+ * <p> >+ * The children are listed in the order in which they appear in the source or class file. >+ * </p> > * > * @noimplement This interface is not intended to be implemented by clients. > */
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
Flags:
Olivier_Thomann
:
iplog+
Actions:
View
|
Diff
Attachments on
bug 241549
: 149490