Collection<Action> actions = methods.get(httpMethod);
if (actions != null) {
for (Action action: actions) {
Method method = action.getMethod();
if (method != null) {
Show show = action.getMethod().getAnnotation(Show.class);
if (show != null) {
return show;
}
}
}