Scope scope = new Scope(component, m, (RequestHandler) annotation, Collections.emptyMap(), pattern);
@Override public HandlerScope scope(ComponentType component, Method method, ChannelReplacements channelReplacements) { RequestHandler annotation = method.getAnnotation(RequestHandler.class); if (annotation.dynamic()) { return null; } return new Scope(component, method, (RequestHandler) annotation, channelReplacements, null); }