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 190889 Details for
Bug 339337
isLocal() in IType returns true for anonymous types
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
Terms of Use
|
Copyright Agent
[patch]
Proposed patch
bug_339337.txt (text/plain), 1.19 KB, created by
Jay Arthanareeswaran
on 2011-03-10 13:03:46 EST
(
hide
)
Description:
Proposed patch
Filename:
MIME Type:
Creator:
Jay Arthanareeswaran
Created:
2011-03-10 13:03:46 EST
Size:
1.19 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.71 >diff -u -r1.71 IType.java >--- model/org/eclipse/jdt/core/IType.java 17 Dec 2010 14:10:57 -0000 1.71 >+++ model/org/eclipse/jdt/core/IType.java 10 Mar 2011 17:45:15 -0000 >@@ -906,11 +906,17 @@ > boolean isAnnotation() throws JavaModelException; > > /** >- * Returns whether this type represents a local type. >+ * Returns whether this type represents a local type. For an anonymous type, >+ * this method returns true. >+ * <p> >+ * NOTE: As per JLS3 14.3, anonymous inner classes are not considered local >+ * types since they do not have a name. >+ * </p> > * > * @exception JavaModelException if this element does not exist or if an > * exception occurs while accessing its corresponding resource. > * @return true if this type represents a local type, false otherwise >+ * @see org.eclipse.jdt.core.dom.ITypeBinding#isLocal() > * @since 2.0 > */ > boolean isLocal() throws JavaModelException;
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:
markus.kell.r
:
review-
Actions:
View
|
Diff
Attachments on
bug 339337
:
190889
|
191080