if (DataType.isSingleValueType(parameterType)) {
Object propertyValue = getPropertyOrFieldValue(currentCallValue, paramName);
ActionInputParameter constructorParamInputParameter =
new ActionInputParameter(
new MethodParameter(constructor, paramIndex), propertyValue);
<BUG>final Object[] possibleValues = new Object[0];
if (possibleValues.length > 0) {</BUG>
if (actionInputParameter.isArrayOrCollection()) {
appendSelectMulti(writer, paramName, possibleValues,
constructorParamInputParameter.getCallValues());

if (DataType.isSingleValueType(parameterType)) {
Object propertyValue = getPropertyOrFieldValue(currentCallValue, paramName);
ActionInputParameter constructorParamInputParameter =
new ActionInputParameter(
new MethodParameter(constructor, paramIndex), propertyValue);
final Object[] possibleValues = actionInputParameter.getPossibleValues(
new MethodParameter(constructor, paramIndex), actionDescriptor);
if (possibleValues.length > 0) {
if (actionInputParameter.isArrayOrCollection()) {
appendSelectMulti(writer, paramName, possibleValues,
constructorParamInputParameter.getCallValues());
