Class.getMethods

Class.getMethods

Class Overview | Class Members | This Package | All Packages

Syntax
public Method[] getMethods() throws SecurityException
Description
Returns an array containing Method objects reflecting all the public member methods of the class or interface represented by this Class object, including those declared by the class or interface and and those inherited from superclasses and superinterfaces. Returns an array of length 0 if the class or interface has no public member methods.

See The Java Language Specification, sections 8.2 and 8.4.

Exceptions
SecurityException if access to the information is denied.
See Also
Method