Re: To Get Class Information
- From: Ian Shef <invalid@xxxxxxxxxxxxx>
- Date: Wed, 25 Apr 2007 18:58:06 GMT
Yogi <yogesh.minocha@xxxxxxxxx> wrote in news:1177134231.879125.27240
@n76g2000hsh.googlegroups.com:
Hello frnds,
I want to create a plugin that work as follow ;-
When the user right click on the window and select my
created option(already created)
then i want to get the complete class information in terms of class
method, modifiers and other related class information.(Cursor position
on the editor and selected text)
if any body has any solution of it please mail me at
yogesh.minocha@xxxxxxxxx
Thanks,
Yogesh Arora.
It is not clear to me whether you are interested in querying an existing
compiled class, or if you want to display the javadocs for a class.
If you want to query an existing compiled class, you need to learn about Java
Reflection. One good starting point would be
http://java.sun.com/developer/technicalArticles/ALT/Reflection/index.html
If you prefer a book, you could try
Java Reflection in Action (In Action series) by Ira R. Forman and Nate Forman
Good Luck!
--
Ian Shef 805/F6 * These are my personal opinions
Raytheon Company * and not those of my employer.
PO Box 11337 *
Tucson, AZ 85734-1337 *
.
- References:
- To Get Class Information
- From: Yogi
- To Get Class Information
- Prev by Date: Ant FTP task NoClassDefFoundError
- Next by Date: Ant debug control implementation
- Previous by thread: To Get Class Information
- Next by thread: On-Line Testing Tools for Developers and Testers
- Index(es):