@Override
  public synchronized boolean isUsedForWriting() {
    if (checkFlag(USED_FOR_WRITING_MASK)) {
      return true;
    }
    RefClass ownerClass = getOwnerClass();
    // record fields are always implicitly written in the constructor
    return ownerClass != null && ownerClass.isRecord();
  }
@Override
  public synchronized boolean isUsedForWriting()