code: private List<MethodNode> getMethods(String name, List<MethodNode> methods) {
          List<MethodNode> result = new ArrayList<MethodNode>();
          for (MethodNode mn : methods) {
              if (name.equals(mn.name)) {
                  result.add(mn);
              }
          }
          return result;
      }
docs: Find the methods with the given name in the list of {@code MethodNode}s.
  
  @param name the method name to search for
  @param methods the list of methods to search
  
  @return the methods that match the provided name