Self (final ElementPattern<String> annotationQualifiedName, @NonNls final String parameterName) { return withParent( PsiJavaPatterns.psiNameValuePair().withName(parameterName).withParent( PlatformPatterns.psiElement(PsiAnnotationParameterList.class).withParent( PsiJavaPatterns.psiAnnotation().qName(annotationQualifiedName)))); }