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 26308 Details for
Bug 101228
JME on code assist
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
Terms of Use
|
Copyright Agent
[patch]
Fix
patch101228_org.eclipse.jdt.core.txt (text/plain), 1.89 KB, created by
Jerome Lanneluc
on 2005-08-19 11:52:08 EDT
(
hide
)
Description:
Fix
Filename:
MIME Type:
Creator:
Jerome Lanneluc
Created:
2005-08-19 11:52:08 EDT
Size:
1.89 KB
patch
obsolete
>Index: model/org/eclipse/jdt/internal/core/TypeParameter.java >=================================================================== >RCS file: /home/eclipse/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/TypeParameter.java,v >retrieving revision 1.5 >diff -u -r1.5 TypeParameter.java >--- model/org/eclipse/jdt/internal/core/TypeParameter.java 25 May 2005 19:24:39 -0000 1.5 >+++ model/org/eclipse/jdt/internal/core/TypeParameter.java 19 Aug 2005 15:50:19 -0000 >@@ -10,6 +10,9 @@ > *******************************************************************************/ > package org.eclipse.jdt.internal.core; > >+import java.util.HashMap; >+ >+import org.eclipse.core.runtime.IProgressMonitor; > import org.eclipse.jdt.core.*; > import org.eclipse.jdt.core.IMember; > import org.eclipse.jdt.core.ITypeParameter; >@@ -32,6 +35,25 @@ > return super.equals(o); > } > >+ /* >+ * @see JavaElement#generateInfos >+ */ >+ protected void generateInfos(Object info, HashMap newElements, IProgressMonitor pm) throws JavaModelException { >+ Openable openableParent = (Openable)getOpenableParent(); >+ if (openableParent == null) return; >+ >+ JavaElementInfo openableParentInfo = (JavaElementInfo) JavaModelManager.getJavaModelManager().getInfo(openableParent); >+ if (openableParentInfo == null) { >+ openableParent.generateInfos(openableParent.createElementInfo(), newElements, pm); >+ } >+ >+ if (openableParent.getElementType() == IJavaElement.CLASS_FILE) { >+ ClassFileInfo classFileInfo = (ClassFileInfo) (openableParentInfo == null ? newElements.get(openableParent) : openableParentInfo); >+ if (classFileInfo == null) return; >+ classFileInfo.getBinaryChildren(newElements); // forces the initialization >+ } >+ } >+ > public String[] getBounds() throws JavaModelException { > TypeParameterElementInfo info = (TypeParameterElementInfo) getElementInfo(); > return CharOperation.toStrings(info.bounds);
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 101228
: 26308 |
26309