public static @Nullable <T> T findByName(Collection<T> collection, final String name) {
    return ContainerUtil.find(collection, object -> Comparing.equal(name, getElementName(object), true));
  }
public static @Nullable <T> T findByName(Collection<T> collection, final String name)