List<PsiClassType> (PsiElement @NotNull [] elements) { List<PsiClassType> array = new ArrayList<>(); for (PsiElement element : elements) { List<PsiClassType> exceptions = getThrownExceptions(element); addExceptions(array, exceptions); } return array; }