static void addCompletions(@NotNull PsiElement element, @NotNull CompletionResultSet result) {
    for (final PsiType type : ExpectedTypesGetter.getExpectedTypes(element, false)) {
      final PsiClass psiClass = PsiUtil.resolveClassInType(type);
      if (psiClass != null && psiClass.isAnnotationType()) {
        result.addElement(AllClassesGetter.createLookupItem(psiClass, AnnotationInsertHandler.INSTANCE));
      }
    }
  }
static void addCompletions(@NotNull PsiElement element, @NotNull CompletionResultSet result)