if (toStringCode.length() > 0)
code.afterSection().append(toStringCode);
if (hashCodeCode.length() > 0)
code.afterSection().append(hashCodeCode);
if (equalsCode.length() > 0)
code.afterSection().append(equalsCode);
if (fromStringCode.length() > 0)
code.afterSection().append(fromStringCode);
// if we have any byte array fields, we have to add the extra
// methods for handling byte arrays