boolean found = false;
for (Method method : methods)
{
DispatchMethod annotation = method.getAnnotation(DispatchMethod.class);
if (annotation != null)
{
String key = annotation.key();
String methodName = method.getName();
keyMethodMap.put(key, methodName);
found = true;
}
}