private static boolean hasIconTypeExpressions(@NotNull List<? extends PsiElement> elements) {
    Set<PsiClassType> uniqueValues = new HashSet<>();
    for (PsiElement e : elements) {
      UCallExpression element = UastContextKt.toUElement(e, UCallExpression.class);
      if (element != null) {
        PsiType type = element.getExpressionType();
        if (type instanceof PsiClassType) {
          if (uniqueValues.add((PsiClassType)type)
              && type.isValid()
              && ProjectIconsAccessor.isIconClassType(type)) {
            return true;
          }
        }
      }
    }
    return false;
  }
private static boolean hasIconTypeExpressions(@NotNull List<? extends PsiElement> elements)