public RunnableWrapper resolveRunner(Runnable runner, JoinPoint.StaticPart spawnLocation) {
// avoid double wrapping
if (runner instanceof RunnableWrapper) {
return (RunnableWrapper) runner;
} else {
return resolveWrapper(new DefaultOperationCollector(), runner, spawnLocation);
}
}