@Override
    public boolean equals(Object o) {
        if (this == o) {
            return true;
        }
        if (o == null || getClass() != o.getClass()) {
            return false;
        }
        GetAttr getAttr = (GetAttr) o;
        return target.equals(getAttr.target) && path.equals(getAttr.path);
    }
Gets the list of {@link Part}s that make up the path to the requested attribute.

@return the list of path parts to the requested attribute.
smithy-rules-engine/src/main/java/software/amazon/smithy/rulesengine/language/syntax/expressions/functions/GetAttr.java