.getJavaMethod(initialState.getMethod()));
// get WebMethod state
Method method = filterGroup.getWebMethod();
SootMethod webMethod = resolver.getSootMethod(method);
State webMethodState = stateMachine.getState(webMethod);
webMethodState.setDefaultPriority(filterGroup.isDefaultPriority());
webMethodState.setPriority(filterGroup.getPriority());
for (Filter filter : filterGroup.getFilters()) {
// get the Filter state
final SootMethod filterMethod = resolver.getSootMethod(filter
.getMethod());
State filterState = stateMachine.getState(filterMethod);
filterState.setPriority(filter.getPriority());
filterState.setDefaultPriority(filter.isDefaultPriority());
// link the WebMethod of the FilterGroup to the Filter
FilterTransition filterTransition = new FilterTransition();
webMethodState.addSuccessor(filterTransition);
filterTransition.setTarget(filterState);