Class.getDeclaredMethods
Class Overview | Class Members |
This Package |
All Packages
public Method[] getDeclaredMethods() throws SecurityException
Description
Returns an array of Method objects reflecting all the methods
declared by the class or interface represented by this Class
object. This includes public, protected, default (package)
access, and private methods, but excludes inherited
methods. Returns an array of length 0 if the class or interface
declares no methods, or if this Class object represents a
primitive type.
See The Java Language Specification, section 8.2.
Exceptions
SecurityException
if access to the information is denied.
See Also
Method