*/
protected void createListWithMethod(FieldOutline fieldOutline) {
final JDefinedClass implClass = fieldOutline.parent().implClass;
final String propertyName = fieldOutline.getPropertyInfo().getName(true);
final JClass elementClass = fieldOutline.getRawType().boxify().getTypeParameters().get(0);
final JPrimitiveType INT = fieldOutline.parent().parent().getCodeModel().INT;
JMethod method = implClass.method(JMod.PUBLIC, elementClass, "with" + propertyName);
JVar index = method.param(INT, "index");
JBlock body = method.body();