@Override
  public boolean execute(@NotNull PsiElement element, @NotNull ResolveState state) {
    if (!(element instanceof ShFunctionDefinition functionDefinition)) return true;
    PsiElement identifier = functionDefinition.getWord();
    if (identifier == null) return true;
    if (!identifier.getText().equals(myFunctionName)) return true;
    myResult = functionDefinition;
    return false;
  }
@Override
  public boolean execute(@NotNull PsiElement element, @NotNull ResolveState state)