private static String getDescription(DataType dt) {
		if (dt instanceof Composite composite) {
			return composite.getDescription();
		}
		if (dt instanceof Enum enumDataType) {
			return enumDataType.getDescription();
		}
		return null;

	}
Constructor
@param program the program containing the datatype description to be updated.
@param dataType the datatype being renamed
@param newDescription the new name for the datatype
Ghidra/Features/Base/src/main/java/ghidra/features/base/replace/items/UpdateDataTypeDescriptionQuickFix.java