javaType = javaType.substring(0,javaType.length()-2)+"...";
}
Variant defValue = p.getDefaultValue();
if(defValue!=null)
try {
o.print("@DefaultValue(\""+ defValue.stringValue()+"\")");
} catch (ComException e) {
// in rare occasions we get default values that are not printable.
// ignore such an error.
}
o.print(javaType);