PsiAnnotation (@NotNull PsiModifierListOwner owner) { PsiAnnotation annotation = owner.getAnnotation(JDK_INTERNAL_JAVAC_PREVIEW_FEATURE); if (annotation != null) return annotation; return owner.getAnnotation(JDK_INTERNAL_PREVIEW_FEATURE); }