code: public void addField(String fieldName, String type, short flags) {
          short fieldNameIndex = itsConstantPool.addUtf8(fieldName);
          short typeIndex = itsConstantPool.addUtf8(type);
          itsFields.add(new ClassFileField(fieldNameIndex, typeIndex, flags));
      }
docs: Add a field to the class.
  
  @param fieldName the name of the field
  @param type the type of the field using ...
  @param flags the attributes of the field, such as ACC_PUBLIC, etc. bitwise or'd together