}
private ParameterAnnotationMapping parseAnnotationLiterals(final Literal parameterName, final Literal functionArgumentName, final Literal[] defaultValueLiterals) throws RestAnnotationException {
//check the function that has this annotation, has parameters as declared by the annotation
final Cardinality requiredCardinality;
if(defaultValueLiterals.length == 0) {
requiredCardinality = Cardinality.ZERO_OR_MORE;
} else {
//defaultValueLiterals.length > 0
requiredCardinality = Cardinality.ONE_OR_MORE;