/* Now add all of the required fields and fill out the methods. */
for (int i = 0; i < attrInfoList.size(); i++) {
AttrInfo attr = attrInfoList.get(i);
/* Is it a reference type or not? */
StorageSpec ss = attr.st.REPR.get_storage_spec(tc, attr.st);
if (ss.inlineable == StorageSpec.REFERENCE) {
/* Add field. */
String field = "field_" + i;
String desc = "Lorg/perl6/nqp/sixmodel/SixModelObject;";
cw.visitField(Opcodes.ACC_PUBLIC, field, desc, null, null);