Re: Re: New Reflection/Beans API
"Juozas Baliuka" <[email protected]>
| Newsgroups | gmane.comp.jakarta.bcel.devel |
|---|---|
| Message-ID | <001901c20be9$de73c610$0111010a@user> |
Hi, This is frontend for BCEL http://jiapi.sourceforge.net/ I do not use it myself, but I saw a lot of good ideas in this project. ----- Original Message ----- From: "Stephen Colebourne" <[email protected]> To: "BCEL Developers List" <[email protected]> Sent: Tuesday, June 04, 2002 1:34 PM Subject: Re: Re: New Reflection/Beans API > > > However I have a question about the Class class. This class appears to > > > require quite a lot of setting up to create an instance. Is there any > > > factory method that I've missed to create instances of a Class? > > > > I'm a bit puzzled here, since you can not "create" > > Class instances. You can only look them up, either > > via getClass() or Class.forName(), (Class cl = Foo.class; > > is just syntactic sugar). > > Yes this is what I was driving at. Is there an easy factory method to create > bytecodes equivalent to: > Class cl = Foo.class > > Also, is there a convenient method to create a Type object from a Class > object? > > thanks > > Stephen > > > -- > To unsubscribe, e-mail: <mailto:[email protected]> > For additional commands, e-mail: <mailto:[email protected]> >