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