Validate.isTrue(value.length() == 1,
"Expected a char expression, but instead received '"
+ value + "' for attribute '" + annotationName
+ "'");
final char c = value.charAt(0);
return new CharAttributeValue(annotationName, c);
}
if (expression instanceof LongLiteralExpr) {
String value = ((LongLiteralExpr) expression).getValue();
Validate.isTrue(value.toUpperCase().endsWith("L"),