Self (String parameterName, @NotNull ElementPattern<? extends PsiAnnotation> annotation) { return withParent( PsiJavaPatterns.psiNameValuePair().withName(parameterName).withParent( PlatformPatterns.psiElement(PsiAnnotationParameterList.class).withParent(annotation))); }