PsiAnnotation (@Nullable PsiModifierListOwner listOwner, boolean skipExternal, String @NotNull ... annotationNames) { if (annotationNames.length == 0) return null; Set<String> set = annotationNames.length == 1 ? Collections.singleton(annotationNames[0]) : ContainerUtil.newHashSet(annotationNames); return findAnnotation(listOwner, set, skipExternal); }