How to Convert a java file to "IType" ? [message #50287] |
Wed, 07 November 2007 03:20  |
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  |
Eclipse User |
|
|
|
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
>
|
|
|
Powered by
FUDForum. Page generated in 0.04695 seconds