AW: Re: Lookup BCEL Method for a particular java.lang.reflect.Method / Create JavaClass from java.lang.Class

<[email protected]>
Newsgroups gmane.comp.jakarta.bcel.devel
Message-ID <20020612155127.LILY27460.mailoutvl21@[192.168.139.30]>
> Wish #2: Wish i could create a JavaClass from java.lang.Class as shown below.
> Class clazz = Class.forName("XXXX");
> ClassParser parser = new ClassParser(clazz);
> JavaClass jclazz = parser.parse();

You can alredy do this: 
SyntheticRepository.getInstance().loadClass(clazz);

using the repository is the preferred way anyway.

> I can send in patches for both if anyone is interested.

Yes.

Cheers
 Markus
--
berlin.de - meine stadt im netz. Jetzt eigene eMail-adresse @berlin.de sichern!
http://webmail.berlin.de
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.