@Override
	protected InstructionTableDataObject[][] createDataObjects() {

		// Make sure we have valid objects to work with.
		if (searchData.getInstructions() == null) {
			return null;
		}

		// Create the array to return...
		InstructionTableDataObject[][] dataObjects =
			new InstructionTableDataObject[searchData.getInstructions().size()][numColumns];

		// ..and populate it with DataObject instances.
		for (int mnemonic = 0; mnemonic < searchData.getInstructions().size(); mnemonic++) {
			for (int col = 0; col < numColumns; col++) {
				dataObjects[mnemonic][col] = new InstructionTableDataObject("",
					searchData.getInstructions().get(mnemonic).isInstruction(),
					OperandState.PREVIEW);
			}
		}

		return dataObjects;
	}
Creates {@link InstructionTableDataObject} objects to back the preview
table.
Ghidra/Features/Base/src/main/java/ghidra/app/plugin/core/instructionsearch/ui/PreviewTable.java