Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » General (non-technical) » Eclipse Foundation » How to Convert a java file to "IType" ?
How to Convert a java file to "IType" ? [message #50287] Wed, 07 November 2007 08:20 Go to next message
Eclipse UserFriend
Originally posted by: lgw198412.gmail.com

Hi:
I'm confusing in the following problem:
There's a java file ,I can use Java I/O Stream to read it into a String
Objecet.But I want to analyze it to know the methods and fields in this java
file ,just like the Java Refelction Mechanism. And I found that in eclipse
there's an type called "IType" could do this thing,but I
don't know how to establish such an IType object and set the data(String
object) to it.Please help me ,or give me some other suggestions to this
subject!
Thank you!
robbin
from China
Re: How to Convert a java file to "IType" ? [message #50316 is a reply to message #50287] Wed, 07 November 2007 11:21 Go to previous message
Dani Megert is currently offline Dani MegertFriend
Messages: 3802
Registered: July 2009
Senior Member
robbin wrote:

> Hi:
> I'm confusing in the following problem:
> There's a java file ,I can use Java I/O Stream to read it into a String
> Objecet.But I want to analyze it to know the methods and fields in
> this java
> file ,just like the Java Refelction Mechanism. And I found that in
> eclipse
> there's an type called "IType" could do this thing,but I
> don't know how to establish such an IType object and set the data(String
> object) to it.Please help me ,or give me some other suggestions to this
> subject!

This is the wrong newsroup. Ask on eclipse.tools.jdt.

Dani

> Thank you!
> robbin
> from China
>
Previous Topic:problem in adding Derby plug-ins to Eclipse
Next Topic:Licensing question: looking for pointers, not legal advise
Goto Forum:
  


Current Time: Thu Mar 28 11:57:17 GMT 2024

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

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

Back to the top