public static boolean equivalentVariables(Variable var1, Variable var2) {
		String comment1 = var1.getComment();
		String comment2 = var2.getComment();
		return var1.equals(var2) && var1.getName().equals(var2.getName()) &&
			var1.getDataType().isEquivalent(var2.getDataType()) &&
			((comment1 == null) ? (comment2 == null) : comment1.equals(comment2));
	}
Find the structure data type which corresponds to the specified function's class namespace
within the function's program.

The preferred structure will utilize a namespace-based category path, however,
the match criteria can be fuzzy and relies primarily on the class name.
A properly named class structure must reside within a category whose trailing 
path either matches the class namespace or the class-parent's namespace.  
Preference is given to it residing within the class-parent's namespace.

@param func the function.
@return existing structure whose name matches the specified function's class namespace
or null if not found.
Ghidra/Framework/SoftwareModeling/src/main/java/ghidra/program/model/listing/VariableUtilities.java