Tests whether a method with the given name and parameter signature exists in this class or any of its superclasses. This is a convenience method for checking method existence. @param name the name of the method to check @param parameters an array of Parameters representing the method signat
(String name, Parameter[] parameters)
| 1160 | * @see #hasDeclaredMethod(String, Parameter[]) |
| 1161 | */ |
| 1162 | public boolean hasMethod(String name, Parameter[] parameters) { |
| 1163 | return (getMethod(name, parameters) != null); |
| 1164 | } |
| 1165 | |
| 1166 | /** |
| 1167 | * Tests whether a method with the given name and parameter signature is declared directly |
no test coverage detected