if (method.getDeclaringClass().getAnnotation(Workflow.class) == null) {
continue;
}
Execute executeAnnotation = method.getAnnotation(Execute.class);
Signal signalAnnotation = method.getAnnotation(Signal.class);
GetState getStateAnnotation = method.getAnnotation(GetState.class);
checkAnnotationUniqueness(method, executeAnnotation, signalAnnotation, getStateAnnotation);
if (executeAnnotation != null) {
if (workflowImplementationMethod != null) {
throw new IllegalArgumentException(
"Interface annotated with @Workflow is allowed to have only one method annotated with @Execute. Found "