public String toString() {
        StringBuilder buffer = new StringBuilder();
        for (Set<String> part : parts) {
            if (buffer.length() > 0) {
                buffer.append(PART_DIVIDER_TOKEN);
            }
            Iterator<String> partIt = part.iterator();
            while (partIt.hasNext()) {
                buffer.append(partIt.next());
                if (partIt.hasNext()) {
                    buffer.append(SUBPART_DIVIDER_TOKEN);
                }
            }
        }
        return buffer.toString();
    }
Sets the pre-split String parts of this <code>WildcardPermission</code>.

@param parts pre-split String parts.
@since 1.3.0
core/src/main/java/org/apache/shiro/authz/permission/WildcardPermission.java