Methods in java.lang that return Method |
Method[] |
Class.getMethods()
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. |
Method |
Class.getMethod(String name,
Class[] parameterTypes)
Returns a Method object that reflects the specified public
member method of the class or interface represented by this
Class object. |
Method[] |
Class.getDeclaredMethods()
Returns an array of Method objects reflecting all the
methods declared by the class or interface represented by this
Class object. |
Method |
Class.getDeclaredMethod(String name,
Class[] parameterTypes)
Returns a Method object that reflects the specified
declared method of the class or interface represented by this
Class object. |