@Override
	public List<Option> getOptions(DomainObjectService domainObjectService) {
		List<Option> optionsList = new ArrayList<>();

		DomainObject domainObject = domainObjectService.getDomainObject();
		if (!(domainObject instanceof Program)) {
			return null;
		}
		Program program = (Program) domainObject;

		addressSpaceOption = new Option("Address Space",
			program.getAddressFactory().getDefaultAddressSpace(), AddressSpace.class, null);

		if (recordSizeOption == null) {
			recordSizeOption = new RecordSizeOption("Record Size", Integer.class);
		}

		optionsList.add(addressSpaceOption);
		optionsList.add(recordSizeOption);

		return optionsList;
	}
Constructor

@param name the name of the exporter
@param extension the extension to use for the output file
@param help location of Ghidra help
Ghidra/Features/Base/src/main/java/ghidra/app/util/exporter/IntelHexExporter.java