code: private void parseField()
      throws IOException
    {
      int accessFlags = readShort();
      int nameIndex = readShort();
      int descriptorIndex = readShort();
  
      JavaField field = new JavaField();
      field.setJavaClass(_class);
      field.setName(_cp.getUtf8(nameIndex).getValue());
      field.setDescriptor(_cp.getUtf8(descriptorIndex).getValue());
      field.setAccessFlags(accessFlags);
  
      int attributesCount = readShort();
  
      for (int i = 0; i < attributesCount; i++) {
        Attribute attr = parseAttribute();
  
        field.addAttribute(attr);
      }
  
      _class.addField(field);
    }
docs: Parses a field entry.