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 4612 Details for
Bug 36563
call hierarchy: IllegalArgumentException after deleting a method
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
Terms of Use
|
Copyright Agent
[patch]
Fix
36563-patch.txt (text/plain), 1.57 KB, created by
Jesper Kamstrup Linnet
on 2003-04-16 11:04:08 EDT
(
hide
)
Description:
Fix
Filename:
MIME Type:
Creator:
Jesper Kamstrup Linnet
Created:
2003-04-16 11:04:08 EDT
Size:
1.57 KB
patch
obsolete
>Index: CalleeMethodWrapper.java >=================================================================== >RCS file: /home/eclipse/org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/callhierarchy/CalleeMethodWrapper.java,v >retrieving revision 1.2 >diff -u -r1.2 CalleeMethodWrapper.java >--- CalleeMethodWrapper.java 16 Apr 2003 11:45:17 -0000 1.2 >+++ CalleeMethodWrapper.java 16 Apr 2003 15:03:53 -0000 >@@ -88,19 +88,17 @@ > * @see org.eclipse.jdt.internal.corext.callhierarchy.MethodWrapper#findChildren(org.eclipse.core.runtime.IProgressMonitor) > */ > protected Map findChildren(IProgressMonitor progressMonitor) { >- if (getMember().getElementType() == IJavaElement.METHOD) { >- CalleeAnalyzerVisitor visitor = new CalleeAnalyzerVisitor((IMethod) getMember(), >- progressMonitor); >+ if (getMember().exists() && getMember().getElementType() == IJavaElement.METHOD) { > ICompilationUnit icu = getMember().getCompilationUnit(); >- >- if (icu != null) { >+ if (icu != null && icu.exists()) { >+ CalleeAnalyzerVisitor visitor = new CalleeAnalyzerVisitor((IMethod) getMember(), >+ progressMonitor); >+ > CompilationUnit cu = AST.parseCompilationUnit(icu, true); > cu.accept(visitor); >+ return visitor.getCallees(); > } >- >- return visitor.getCallees(); >- } else { >- return new HashMap(); > } >+ return new HashMap(); > } > }
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 36563
: 4612