public final Equate getEquate(Data data) {
		Object obj = data.getValue();
		if (obj instanceof Scalar) {
			return currentProgram.getEquateTable()
					.getEquate(data.getMinAddress(), 0, ((Scalar) obj).getValue());
		}
		return null;
	}
Returns the equate defined on the data.
@param data the data
@return the equate defined on the data
Ghidra/Features/Base/src/main/java/ghidra/program/flatapi/FlatProgramAPI.java