if (paramList != null)
{
int np = paramList.size();
for (int ip = 0; ip < np; ++ip)
{
ActivityParam param = (ActivityParam) paramList.get(ip);
String paramName = param.getName();
String paramIdent = makeParamName(paramName);
if (!definedParams.containsKey(paramName))
{
definedParams.put(paramName, Boolean.TRUE);
w.addToPlaceholder("paramConstants", "/** Parameter " + paramName + " */");
w.addToPlaceholder("paramConstants", "private static final String " + paramIdent + " = \"" + paramName + "\";");
w.addToPlaceholder("paramConstants", "");
}
cm.append(" Parameter '");
cm.append(paramName);
cm.append("'");
dn = param.getDisplayName();
if (dn != null)
{
cm.append(": ");
cm.append(dn);
}
cm.append("\n");
DataTypeItem type = param.getDataType();
if (type != null)
{
String className = type.getClassName();
if (className == null)
className = "Object";