Re: Get java.lang.Class type of a class
Tim Dudgeon <[email protected]>
| Newsgroups | gmane.comp.lang.jython.user |
|---|---|
| Message-ID | <[email protected]> |
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: > > formethod intClass.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 list > [email protected] > https://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 [email protected] https://lists.sourceforge.net/lists/listinfo/jython-users