@Override
	public String getName() {
		String myName = super.getName();
		if (myName != null && !myName.isEmpty()) {
			return myName;
		}

		// some variables don't have names, but use the name of their datatype
		if (datatype != null) {
			return datatype.getName();
		}

		String signature = getSignature(true);
		String fixed = SymbolUtilities.replaceInvalidChars(signature, true);
		return fixed;
	}
Returns the data type of this variable.
@return the data type of this variable
Ghidra/Features/Base/src/main/java/ghidra/app/util/demangler/DemangledVariable.java