public static boolean processElements(@NotNull PsiElementProcessor<? super PsiElement> processor, PsiElement @Nullable ... elements) {
    if (elements != null) {
      for (PsiElement element : elements) {
        if (!processElements(element, processor)) {
          return false;
        }
      }
    }
    return true;
  }
public static boolean processElements(@NotNull PsiElementProcessor<? super PsiElement> processor, PsiElement @Nullable ... elements)