PsiAnnotationParameterList (@NotNull final CreateParameterInfoContext context) { final PsiAnnotation annotation = ParameterInfoUtils.findParentOfType(context.getFile(), context.getOffset(), PsiAnnotation.class); if (annotation != null) { PsiClass aClass = annotation.resolveAnnotationType(); if (aClass != null) { final PsiMethod[] methods = aClass.getMethods(); if (methods.length != 0) { context.setItemsToShow(methods); final PsiAnnotationMethod annotationMethod = findAnnotationMethod(context.getFile(), context.getOffset()); if (annotationMethod != null) context.setHighlightedElement(annotationMethod); return annotation.getParameterList(); } } } return null; }