public MethodNode getDeclaredMethod(String name, Parameter[] parameters) {
        for (MethodNode method :  getDeclaredMethods(name)) {
            if (parametersEqual(method.getParameters(), parameters)) {
                return method;
            }
        }
        return null;
    }
public MethodNode getDeclaredMethod ( String name , Parameter [ ] parameters ) { for ( MethodNode method : getDeclaredMethods ( name ) ) { if ( parametersEqual ( method . getParameters ( ) , parameters ) ) { return method ; } } return null ; }
Finds a method matching the given name and parameters in this class.

@return the method matching the given name and parameters or null