PsiAnnotation (@NotNull PsiElement position) { return ANNOTATION_ATTRIBUTE_NAME.accepts(position) && !JavaKeywordCompletion.isAfterPrimitiveOrArrayType(position) ? Objects.requireNonNull(PsiTreeUtil.getParentOfType(position, PsiAnnotation.class)) : null; }