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 03:20 Go to next message
Eclipse User
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 06:21 Go to previous message
Dani Megert is currently offline Dani Megert
Messages: 3801
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: Mon Jul 28 08:25:05 EDT 2014

Powered by FUDForum. Page generated in 0.01965 seconds