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 142042 Details for
Bug 270437
[assist] Completion proposal leads to cycle detected error
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
Terms of Use
|
Copyright Agent
[patch]
Code plugin patch - v-0.6
270437-code-patch-v0.6.txt (text/plain), 1.76 KB, created by
Pradeep Balachandran
on 2009-07-20 12:25:33 EDT
(
hide
)
Description:
Code plugin patch - v-0.6
Filename:
MIME Type:
Creator:
Pradeep Balachandran
Created:
2009-07-20 12:25:33 EDT
Size:
1.76 KB
patch
obsolete
>### Eclipse Workspace Patch 1.0 >#P org.eclipse.jdt.core >Index: codeassist/org/eclipse/jdt/internal/codeassist/CompletionEngine.java >=================================================================== >RCS file: /cvsroot/eclipse/org.eclipse.jdt.core/codeassist/org/eclipse/jdt/internal/codeassist/CompletionEngine.java,v >retrieving revision 1.397 >diff -u -r1.397 CompletionEngine.java >--- codeassist/org/eclipse/jdt/internal/codeassist/CompletionEngine.java 20 May 2009 15:25:54 -0000 1.397 >+++ codeassist/org/eclipse/jdt/internal/codeassist/CompletionEngine.java 20 Jul 2009 16:23:34 -0000 >@@ -3779,6 +3779,7 @@ > TypeDeclaration typeDeclaration = ((ClassScope)scope).referenceContext; > if(typeDeclaration.superclass == astNode) { > addForbiddenBindings(typeDeclaration.binding); >+ addForbiddenBindingsForMemberTypes(typeDeclaration); > return scope.parent; > } > TypeReference[] superInterfaces = typeDeclaration.superInterfaces; >@@ -3786,6 +3787,7 @@ > for (int i = 0; i < length; i++) { > if(superInterfaces[i] == astNode) { > addForbiddenBindings(typeDeclaration.binding); >+ addForbiddenBindingsForMemberTypes(typeDeclaration); > return scope.parent; > } > } >@@ -3822,6 +3824,15 @@ > return scope; > } > >+ private void addForbiddenBindingsForMemberTypes(TypeDeclaration typeDeclaration) { >+ TypeDeclaration[] memberTypes = typeDeclaration.memberTypes; >+ int memberTypesLen = memberTypes == null ? 0 : memberTypes.length; >+ for (int i = 0; i < memberTypesLen; i++) { >+ addForbiddenBindings(memberTypes[i].binding); >+ addForbiddenBindingsForMemberTypes(memberTypes[i]); >+ } >+ } >+ > private char[] computePrefix(SourceTypeBinding declarationType, SourceTypeBinding invocationType, boolean isStatic){ > > StringBuffer completion = new StringBuffer(10);
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 270437
:
136016
|
136017
|
142042
|
142043
|
142113
|
142114