@Override
    public Comparator<String> getPatternComparator(String path) {
        return new AntPatternComparator(path);
    }
Given a full path, returns a {@link Comparator} suitable for sorting patterns in order of explicitness.
<p>The returned {@code Comparator} will {@linkplain java.util.Collections#sort(java.util.List,
java.util.Comparator) sort} a list so that more specific patterns (without uri templates or wild cards) come BEFORE
generic patterns. So given a list with the following patterns: <ol> <li>{@code /hotels/new}</li>
<li>{@code /hotels/{hotel}}</li> <li>{@code /hotels/*}</li> </ol> the returned comparator will sort this
list so that the order will be as indicated.
<p>The full path given as parameter is used to test for exact matches. So when the given path is {@code /hotels/2},
the pattern {@code /hotels/2} will be sorted BEFORE {@code /hotels/1}.
@param path the full path to use for comparison
@return a comparator capable of sorting patterns in order of explicitness
agent-module/bootstraps/bootstrap-core/src/main/java/com/navercorp/pinpoint/bootstrap/util/spring/AntPathMatcher.java