public Group getGroup(Program program, String treeName) {
		Listing listing = program.getListing();

		// first try getting a module
		ProgramModule m = listing.getModule(treeName, groupNames[groupNames.length-1]);
		if (m != null) {
			return m;
		}
		// try getting a fragment
		return listing.getFragment(treeName, groupNames[groupNames.length-1]);
	}
Get the Group for this group path object.
@return null if there is no group with the name in this
group path.
Ghidra/Framework/SoftwareModeling/src/main/java/ghidra/program/util/GroupPath.java