@Override
    public boolean equals(Object obj) {
        if (this == obj)
            return true;
        if (obj == null)
            return false;
        if (!(obj instanceof DataTypeInfo))
            return false;
        final DataTypeInfo other = (DataTypeInfo) obj;
        if (dataTypeAlignment != other.dataTypeAlignment)
            return false;
        if (dataTypeHandle == null) {
            if (other.dataTypeHandle != null)
                return false;
        } else if (!dataTypeHandle.equals(other.dataTypeHandle))
            return false;
        if (dataTypeLength != other.dataTypeLength)
            return false;
        return true;
    }
"Copy" constructor used only by CompositeDataTypeElementInfo

@param dataTypeInfo
           the source DataTypeInfo
Ghidra/Framework/SoftwareModeling/src/main/java/ghidra/program/model/util/DataTypeInfo.java