@Override
  public @Nullable Presentation getPresentation(@NotNull ActionContext context) {
    if (!BaseIntentionAction.canModify(context.file())) return null;
    PsiParameter psiParameter = FieldFromParameterUtils.findParameterAtOffset(context.file(), context.offset());
    PsiMethod method = findMethod(psiParameter, context);
    if (method == null) return null;

    List<PsiParameter> parameters = getAvailableParameters(method);

    if (parameters.isEmpty()) return null;
    if (parameters.size() == 1 && psiParameter != null) return null;
    if (psiParameter != null && !parameters.contains(psiParameter)) return null;

    return Presentation.of(JavaBundle.message("intention.bind.fields.from.parameters.text", JavaElementKind.fromElement(method).object()))
      .withPriority(PriorityAction.Priority.HIGH);
  }
@Override
  public @Nullable Presentation getPresentation(@NotNull ActionContext context)