public @NotNull Collection<MethodRepr> findMethods(final Predicate<? super MethodRepr> p) {
    final Collection<MethodRepr> result = new LinkedList<>();

    for (MethodRepr mm : myMethods) {
      if (p.test(mm)) {
        result.add(mm);
      }
    }

    return result;
  }
public @NotNull Collection<MethodRepr> findMethods(final Predicate<? super MethodRepr> p)