private static boolean containsOrAnyEndsWith(@NotNull Set<String> elements, @NotNull String className) {
    return elements.contains(className) || ContainerUtil.exists(elements, t -> t.endsWith("." + className));
  }
private static boolean containsOrAnyEndsWith(@NotNull Set<String> elements, @NotNull String className)