@Override
    public int hashCode() {
        final int prime = 31;
        int result = super.hashCode();
        result = prime * result + dataTypeOffset;
        return result;
    }
Constructor for CompositeDataTypeElementInfo (copy-ish).

@param dataTypeInfo
           the dataType this CompositeDataTypeElementInfo is based upon
@param dataTypeOffset
           the offset of the element within the outer composite data type
Ghidra/Framework/SoftwareModeling/src/main/java/ghidra/program/model/util/CompositeDataTypeElementInfo.java