@Override
	public int getAlignment() {
		if (unionAlignment > 0) {
			return unionAlignment;
		}
		if (isPackingEnabled()) {
			unionAlignment = CompositeAlignmentHelper.getAlignment(getDataOrganization(), this);
		}
		else {
			unionAlignment = getNonPackedAlignment();
		}
		return unionAlignment;
	}
Construct a new UnionDataType.
NOTE: A constructor form which accepts a {@link DataTypeManager} should be used when possible
since there may be performance benefits during datatype resolution.
@param name the name of this dataType
Ghidra/Framework/SoftwareModeling/src/main/java/ghidra/program/model/data/UnionDataType.java