text: public static InternalWorkbook createStubWorkbook(ExternSheetRecord[] externs,BoundSheetRecord[] bounds, SSTRecord sst) {List<org.apache.poi.hssf.record.Record> wbRecords = new ArrayList<>();if(bounds != null) {Collections.addAll(wbRecords, bounds);}if(sst != null) {wbRecords.add(sst);}if(externs != null) {wbRecords.add(SupBookRecord.createInternalReferences((short)externs.length));Collections.addAll(wbRecords, externs);}wbRecords.add(EOFRecord.instance);return InternalWorkbook.createWorkbook(wbRecords);}