Get java.lang.Class type of a class
Hrishikesh P <[email protected]>
| Newsgroups | gmane.comp.lang.jython.user |
|---|---|
| Message-ID | <CABbqrYns8cnEhFvBfZ9ckjm4wfrg+aaaC6NZet4KHGFFhHupVw@mail.gmail.com> |
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 list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jython-users