void (PsiElement @NotNull [] elements, @NotNull FindUsagesHandler handler, @NonNls @NotNull String methodName) { for (PsiElement element : elements) { if (element == null) { LOG.error(handler + "." + methodName + " has returned array with null elements: " + Arrays.asList(elements)); } } }