Class.getDeclaredMethod

Class.getDeclaredMethod

Class Overview | Class Members | This Package | All Packages

Syntax
public Method getDeclaredMethod( String name, Class parameterTypes[] ) throws NoSuchMethodException, SecurityException
Description
Returns a Method object that reflects the specified declared method of the class or interface represented by this Class object. The name parameter is a String that specifies the simple name of the desired method, and the parameterTypes parameter is an array of Class objects that identify the method's formal parameter types, in declared order.

Exceptions
NoSuchMethodException if a matching method is not found.
Exceptions
SecurityException if access to the information is denied.
See Also
Method