Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » Java Development Tools (JDT) » Get IMethod using method name and source line nbr(How to get JavaModel method from source line number)
Get IMethod using method name and source line nbr [message #671779] Thu, 19 May 2011 00:49
Mike Aymard is currently offline Mike AymardFriend
Messages: 6
Registered: May 2011
Junior Member
While in debug mode, I acquire the debugContext to determine the method name they are debugging. I need to get that method declaration(parameter names and types), but can't figure out the best way to do this. ICompilationUnit will not let me find the method by source line number, only name. But the debugContext only gives me the method name and source line, not the full signature, so name alone is not good enough. Any help greatly appreciated!

Previous Topic:QuickfixProcessor vs. Eclipse UI Quick Fix
Next Topic:JAR File Interaction
Goto Forum:

Current Time: Fri Oct 20 12:19:14 GMT 2017

Powered by FUDForum. Page generated in 0.02782 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software