@Override
  public void initContent(DataInputFullStream data, ConstantPool pool) throws IOException {
    int len = data.readUnsignedByte();
    List<Entry> entries;
    if (len > 0) {
      entries = new ArrayList<>(len);

      for (int i = 0; i < len; i++) {
        int nameIndex = data.readUnsignedShort();
        String name = nameIndex != 0 ? pool.getPrimitiveConstant(nameIndex).getString() : null;
        int access_flags = data.readUnsignedShort();
        entries.add(new Entry(name, access_flags));
      }
    }
    else {
      entries = Collections.emptyList();
    }
    myEntries = Collections.unmodifiableList(entries);
  }
@Override
  public void initContent(DataInputFullStream data, ConstantPool pool)