Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » Java Development Tools (JDT) » Is there a possibility to invoke an IMethod
Is there a possibility to invoke an IMethod [message #97171] Fri, 19 September 2003 09:44 Go to next message
Eclipse UserFriend
Originally posted by: werner.keplinger.fh-hagenberg.at

I am writing my first plugin and I would like to invoke an IMethod as it
can be done with an Method of the java.lang.reflect API. Is there any
possibilty to do that?
Re: Is there a possibility to invoke an IMethod [message #97230 is a reply to message #97171] Fri, 19 September 2003 12:54 Go to previous message
Eclipse UserFriend
Originally posted by: markus_keller.ch.ibm.spam.protect.com

Werner Keplinger wrote:
> I am writing my first plugin and I would like to invoke an IMethod as it
> can be done with an Method of the java.lang.reflect API. Is there any
> possibilty to do that?

What would you expect from calling an IMethod?

An IMethod is a handle to a (source or binary) java element in a project
of your workspace. You cannot simply "call" it from your plugin, since
there's no VM in which such a call would make sense.

Calling it in the VM in which eclipse itself runs would not work, since
the IMethod is just a reference to an element in one of your projects
and not a reference to a running eclipse plugin.

Markus
Previous Topic:Can't view help content
Next Topic:Default argumnts for run configuration
Goto Forum:
  


Current Time: Sun Jun 30 13:50:10 GMT 2024

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

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

Back to the top