Return AnnotatedExecutor if the command is build from a method