@Override
	public void decode(Decoder decoder, PcodeFactory pfactory) throws DecoderException {
		long symref = decoder.readUnsignedInteger(AttributeId.ATTRIB_SYMREF);
		super.decode(decoder, pfactory);
		symbol = pfactory.getSymbol(symref);
		if (symbol == null) {
			Msg.error(this, "Invalid symbol reference: " + symref + " in " + Parent());
			return;
		}
		datatype = symbol.getDataType();
	}
@return the symbol defined by this variable declaration
Ghidra/Features/Decompiler/src/main/java/ghidra/app/decompiler/ClangVariableDecl.java