public Integer getCurrentRecordingVarNum() {
    if (startedRecordings.isEmpty()) {
      return null;
    } else {
      return startedRecordings.peek();
    }
  }
Materializes N/A values without recording a new value.
spock-core/src/main/java/org/spockframework/runtime/ValueRecorder.java