void chooseLiteralTypeAndAddToEnumConstantArguments(AST ast,
EnumConstantDeclaration ec, Slot slot, Type type) {
EList<ValueSpecification> valueSpecifications = slot.getValues();
for (ValueSpecification valueSpecification : valueSpecifications) {
if (type.getName().equalsIgnoreCase("Integer")) {
NumberLiteral numberLiteral = ast.newNumberLiteral();
numberLiteral.setToken(String.valueOf(valueSpecification
.integerValue()));
ec.arguments().add(numberLiteral);
} else if (type.getName().equalsIgnoreCase("Long")) {
NumberLiteral numberLiteral = ast.newNumberLiteral();
numberLiteral.setToken(String.valueOf(
valueSpecification.integerValue()).concat("L"));
ec.arguments().add(numberLiteral);
} else if (type.getName().equalsIgnoreCase("Boolean")) {
BooleanLiteral booleanLiteral = ast
.newBooleanLiteral(valueSpecification.booleanValue());