PsiClass (@NotNull PsiAnnotationParameterList parameterList) { PsiElement parent = parameterList.getParent(); return parent instanceof PsiAnnotation ? ((PsiAnnotation)parent).resolveAnnotationType() : null; }