private static void addAnnotationMethods(@NotNull PsiClass psiClass,
                                           @NotNull Collection<String> onXAnnotationNames,
                                           @NotNull Collection<String> onXAnnotationFQNs,
                                           @NotNull String methodName,
                                           @NotNull List<PsiMethod> result) {
    if (onXAnnotationNames.contains(psiClass.getName()) && onXAnnotationFQNs.contains(psiClass.getQualifiedName())) {
      result.add(createAnnotationMethod(psiClass, methodName));
    }
  }
private static void addAnnotationMethods(@NotNull PsiClass psiClass,
                                           @NotNull Collection<String> onXAnnotationNames,
                                           @NotNull Collection<String> onXAnnotationFQNs,
                                           @NotNull String methodName,
                                           @NotNull List<PsiMethod> result)