break;
}
// Gather all handler method
for (Method method : type.getRawType().getDeclaredMethods()) {
Handle handleAnnotation = method.getAnnotation(Handle.class);
if (!method.getName().startsWith(HANDLER_METHOD_PREFIX) && handleAnnotation == null) {
continue;
}
Set<String> methodNames;
if (handleAnnotation == null || handleAnnotation.value().length == 0) {
methodNames = ImmutableSet.of(ANY_METHOD);
} else {
methodNames = ImmutableSet.copyOf(handleAnnotation.value());
}
for (String methodName : methodNames) {
result.put(methodName, new ReflectionHandlerMethod(procedure, method, dataFabricFacade));
}