private static void parse(String canonicalName, Method method) {
if (!Modifier.isPublic(method.getModifiers())
|| Modifier.isAbstract(method.getModifiers())) {
return;
}
RequestMapping requestMapping = method
.getAnnotation(RequestMapping.class);
if (requestMapping != null)
putIfAbsent(requestMapping.to(),
new StringBuilder().append(canonicalName).append("#")
.append(method.getName()).toString());
}