public int getPriority() {
return priority;
}
public FilterGroup(Method webMethod, Set<Method> filters) {
JwigResolver resolver = JwigResolver.get();
this.webMethod = webMethod;
this.priority = MyPatternMatcher.getPriority(webMethod);
this.defaultPriority = MyPatternMatcher.isDefaultPriority(webMethod);
this.filters = new HashSet<Filter>();
for (Method filter : filters) {
if (webMethod.equals(filter))
throw new IllegalArgumentException(
"The filters of a webmethod hit can not contain the webmethod it self");
if (resolver.isFilter(filter))
this.filters.add(new Filter(filter));
else
Feedbacks.add(new URLToWebmethodTargetsTwoWebMethods(webMethod,
filter));
}