@Override
public Collection<String> getBeginConversations(Class<?> clazz, Method method) {
Set<String> methodConversations = new HashSet<String>();
Class<?> declaringClass = method.getDeclaringClass();
if (method.isAnnotationPresent(BeginConversation.class)) {
BeginConversation conversationmethod = method.getAnnotation(BeginConversation.class);
methodConversations.addAll(Arrays.asList(conversationmethod.conversations()));
if (declaringClass.equals(clazz) && methodConversations.size() == 0) {
methodConversations.addAll(Arrays.asList(getConversationsWithoutInheritance(clazz, actionSuffix)));
}
} else if (declaringClass.equals(clazz) && method.getName().startsWith("begin")) {
methodConversations.addAll(Arrays.asList(getConversationsWithoutInheritance(clazz, actionSuffix)));