String (String baseExpression) { return switch (instantApplied) { case 0 -> baseExpression; case 1 -> "*" + baseExpression; case 2 -> baseExpression + "*"; case 3 -> "*" + baseExpression + "*"; default -> baseExpression; }; }