public List<PseudoMethod> findMethods(String name) {
      final List<PseudoMethod> result = new ArrayList<>();
      for (PseudoMethod method : myMethods) {
        if (method.getName().equals(name)){
          result.add(method);
        }
      }
      return result;
    }
public List<PseudoMethod> findMethods(String name)