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 22965 Details for
Bug 99662
[1.5] JavaModel returns inexistent IType for package-info ICompilationUnits
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
Terms of Use
|
Copyright Agent
[patch]
Remove package-info type from being traversed by the SourceElementParser
patch_99662.txt (text/plain), 893 bytes, created by
Olivier Thomann
on 2005-06-13 15:58:43 EDT
(
hide
)
Description:
Remove package-info type from being traversed by the SourceElementParser
Filename:
MIME Type:
Creator:
Olivier Thomann
Created:
2005-06-13 15:58:43 EDT
Size:
893 bytes
patch
obsolete
>Index: model/org/eclipse/jdt/internal/compiler/SourceElementParser.java >=================================================================== >RCS file: /home/eclipse/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/compiler/SourceElementParser.java,v >retrieving revision 1.48 >diff -u -r1.48 SourceElementParser.java >--- model/org/eclipse/jdt/internal/compiler/SourceElementParser.java 11 May 2005 21:08:50 -0000 1.48 >+++ model/org/eclipse/jdt/internal/compiler/SourceElementParser.java 13 Jun 2005 19:57:41 -0000 >@@ -1132,6 +1132,7 @@ > } > public void notifySourceElementRequestor(TypeDeclaration typeDeclaration, boolean notifyTypePresence, TypeDeclaration declaringType) { > >+ if (CharOperation.equals(TypeConstants.PACKAGE_INFO_NAME, typeDeclaration.name)) return; > // range check > boolean isInRange = > scanner.initialPosition <= typeDeclaration.declarationSourceStart
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 99662
: 22965 |
25567