aspose file tools*
The moose likes Java in General and the fly likes How to get the list of static members and methods of a class? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Java in General
Bookmark "How to get the list of static members and methods of a class? " Watch "How to get the list of static members and methods of a class? " New topic
Author

How to get the list of static members and methods of a class?

Serkan Demir
Ranch Hand

Joined: Feb 03, 2005
Posts: 61
Hi guys,
Is it possible to get the list of static members and methods of a class by reflection or another technique?

thanks.


A guy from Turkey<br /><a href="http://blogspot.serkandemir.com" target="_blank" rel="nofollow">http://blogspot.serkandemir.com</a>
Chetan Parekh
Ranch Hand

Joined: Sep 16, 2004
Posts: 3636
Reflection API Code Samples (Goto Examining Classes section)

Getting the Methods of a Class Object
[ September 05, 2006: Message edited by: Chetan Parekh ]

My blood is tested +ve for Java.
Serkan Demir
Ranch Hand

Joined: Feb 03, 2005
Posts: 61
I have found the solution.
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: How to get the list of static members and methods of a class?