// }
JMethod $set = writer.declareMethod( codeModel.VOID, "set"+prop.getName(true) );
JType setterType = exposedType;
if(forcePrimitiveAccess) setterType = setterType.unboxify();
JVar $value = writer.addParameter( setterType, "value" );
JBlock body = $set.body();
body.assign(JExpr._this().ref(ref()),castToImplType($value));
// setter always get the default javadoc. See issue #381
writer.javadoc().append(Messages.DEFAULT_SETTER_JAVADOC.format(nc.toVariableName(prop.getName(true))));
writer.javadoc().addParam($value)