}
private Method buildSetter(Class rootClass, ClassFab classFab, String expression, String[] terms)
{
BodyBuilder builder = new BodyBuilder();
builder.begin();
PropertyNavigationResult result = writePropertyNavigationCode(builder, rootClass, expression, terms, true);
// Because we pass true for the forSetter parameter, we know that the expression for the leading
// terms is a chain of readable expressions. But is the final term writable?