private static PsiMember findReplacementInJavaDoc(@NotNull PsiField field, @NotNull PsiReferenceExpression referenceExpression) {
    PsiClass qualifierClass = RefactoringChangeUtil.getQualifierClass(referenceExpression);
    return getReplacementCandidatesFromJavadoc(field, PsiField.class, field, qualifierClass)
      .filter(tagField -> areReplaceable(tagField, referenceExpression))
      .select(PsiMember.class)
      .append(getReplacementCandidatesFromJavadoc(field, PsiMethod.class, field, qualifierClass)
                .filter(tagMethod -> areReplaceable(tagMethod, referenceExpression)))
      .collect(MoreCollectors.onlyOne())
      .orElse(null);
  }
private static PsiMember findReplacementInJavaDoc(@NotNull PsiField field, @NotNull PsiReferenceExpression referenceExpression)