@Override
  public @NotNull String getShortText(NamedScriptableDefinition variable) {
    if (!(variable instanceof MatchVariableConstraint constraint)) {
      return "";
    }
    final String ref = constraint.getReferenceConstraint();
    if (StringUtil.isEmpty(ref)) {
      return "";
    }
    final String text = StringUtil.unquoteString(ref);
    return SSRBundle.message("reference.target.tooltip.message", constraint.isInvertReference() ? 1 : 0, text);
  }
@Override
  public @NotNull String getShortText(NamedScriptableDefinition variable)