code: public boolean recordFinality() {
      if (!currentInfo.isFinal()) {
        currentInfo.setFinal(true);
        populated = true;
        return true;
      } else {
        return false;
      }
    }
docs: Records that the {@link JSDocInfo} being built should have its
  {@link JSDocInfo#isFinal()} flag set to {@code true}.
  
  @return {@code true} if the finality was recorded and {@code false} if it was already defined