code: public static ConstructorNode findConstructor(ClassNode classNode,Parameter[] constructorParams) {
          List<ConstructorNode> declaredConstructors = classNode.getDeclaredConstructors();
          for (ConstructorNode declaredConstructor : declaredConstructors) {
              if (parametersEqual(constructorParams, declaredConstructor.getParameters())) {
                  return declaredConstructor;
              }
          }
          return null;
      }
docs: Finds a constructor for the given class node and parameter types
  
  @param classNode The class node
  @param constructorParams The parameter types
  @return The located constructor or null