public DataType getDataType() {
		DataType dt = symbolMgr.getDataType(getDataTypeId());
		if (dt == null) {
			VariableStorage storage = getVariableStorage();
			if (storage == null) {
				dt = DataType.DEFAULT;
			}
			else if (storage.isVoidStorage()) {
				dt = DataType.VOID;
			}
			else {
				dt = Undefined.getUndefinedDataType(storage.size());
			}
		}
		return dt;
	}
Constructs a new VariableSymbol
@param symbolMgr the symbol manager
@param cache symbol object cache
@param type the symbol type.
@param variableMgr variable storage manager
@param address the address of the symbol (stack address)
@param record the record for the symbol
Ghidra/Framework/SoftwareModeling/src/main/java/ghidra/program/database/symbol/VariableSymbolDB.java