@Override
  public @NotNull String getShortText(NamedScriptableDefinition variable) {
    if (!(variable instanceof MatchVariableConstraint constraint)) {
      return "";
    }
    if (constraint.getNameOfExprType().isEmpty()) {
      return "";
    }
    return SSRBundle.message("exprtype.tooltip.message",
                             constraint.isInvertExprType() ? 1 : 0,
                             constraint.isRegexExprType() ? constraint.getNameOfExprType() : constraint.getExpressionTypes(),
                             constraint.isExprTypeWithinHierarchy() ? 1 : 0);
  }
@Override
  public @NotNull String getShortText(NamedScriptableDefinition variable)