String (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); }