|
From: Hrishikesh P <hri...@gm...> - 2015-07-09 17:06:02
|
Awesome! Python (jython) keeps exceeding my expectations. On Thu, Jul 9, 2015 at 11:11 AM, Tim Dudgeon <tdu...@gm...> wrote: > I think you just use Test (no .class). > > Tim > > > On 09/07/2015 15:48, Hrishikesh P wrote: > > Hi, > > How can I pass in the java class type to a method in Jython? > > What I need to do is: > > for method in tClass.getClass().getDeclaredMethods(): > > if method.isAnnotationPresent(Test.class): > > # do something > > > but I cannot seem to pass in the Test.class as an argument. > > > Thanks. > > > ------------------------------------------------------------------------------ > Don't Limit Your Business. Reach for the Cloud. > GigeNET's Cloud Solutions provide you with the tools and support that > you need to offload your IT needs and focus on growing your business. > Configured For All Businesses. Start Your Cloud Today.https://www.gigenetcloud.com/ > > > > _______________________________________________ > Jython-users mailing lis...@li...://lists.sourceforge.net/lists/listinfo/jython-users > > > > > ------------------------------------------------------------------------------ > Don't Limit Your Business. Reach for the Cloud. > GigeNET's Cloud Solutions provide you with the tools and support that > you need to offload your IT needs and focus on growing your business. > Configured For All Businesses. Start Your Cloud Today. > https://www.gigenetcloud.com/ > _______________________________________________ > Jython-users mailing list > Jyt...@li... > https://lists.sourceforge.net/lists/listinfo/jython-users > > |