private InstructionMetadata createInstructionMetadata(CodeUnit codeUnit, byte[] mask,
			byte[] value, boolean instruction) {

		MaskContainer masks = new MaskContainer(mask, value);
		InstructionMetadata instructionMetadata = new InstructionMetadata(masks);

		instructionMetadata.setAddr(codeUnit.getAddress());
		instructionMetadata.setTextRep(codeUnit.getMnemonicString());
		instructionMetadata.setIsInstruction(instruction);
		return instructionMetadata;
	}
Creates an {@link InstructionMetadata} object based on the given inputs.
No special processing is done here, it's just creating a data container
for what is given.

@param codeUnit the code unit containing the instruction
@param mask the byte mask
@param value the byte value
@param instruction true if this is an instruction
@return the metadata for the instruction
Ghidra/Features/Base/src/main/java/ghidra/app/plugin/core/instructionsearch/model/InstructionSearchData.java