Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » Java Development Tools (JDT) » Getting a IType from a String
Getting a IType from a String [message #140743] Tue, 10 February 2004 16:26 Go to next message
Philippe Faes is currently offline Philippe FaesFriend
Messages: 2
Registered: July 2009
Junior Member
Hi all!

In a plug-in I have a fully qualified name of a Java class as a String. I
would like to get a IType object that corresponds to that name.

I need something like:
IType Workspace.getIType(String fullyQualifiedName);
(obviously, this is a fictitious method)

Is there a method that I can use? I've been looking at SearchEngine, but I
don't get it :-(

thanks

Philippe
Re: Getting a IType from a String [message #140754 is a reply to message #140743] Tue, 10 February 2004 16:30 Go to previous message
Jerome Lanneluc is currently offline Jerome LannelucFriend
Messages: 572
Registered: July 2009
Senior Member
Please see IJavaProject.findType(String).

Jerome

"Philippe Faes" <Philippe.Faes@UGent.be> wrote in message
news:pan.2004.02.10.16.26.29.604116@UGent.be...
> Hi all!
>
> In a plug-in I have a fully qualified name of a Java class as a String. I
> would like to get a IType object that corresponds to that name.
>
> I need something like:
> IType Workspace.getIType(String fullyQualifiedName);
> (obviously, this is a fictitious method)
>
> Is there a method that I can use? I've been looking at SearchEngine, but I
> don't get it :-(
>
> thanks
>
> Philippe
Previous Topic:Debug Code Formatter.
Next Topic:How to align contiguous lines of java code
Goto Forum:
  


Current Time: Mon Nov 11 08:36:52 GMT 2024

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

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

Back to the top