new BackgroundTask(project, "Executing method", false) {
public void execute(@NotNull ProgressIndicator progressIndicator) {
try {
initProgressIndicator(progressIndicator, true, "Executing " + method.getQualifiedNameWithType());
executionInput.initExecutionResult(false);
executionProcessor.execute(executionInput);
if (!executionInput.isExecutionCancelled()) {
new SimpleLaterInvocator() {
public void execute() {
ExecutionManager executionManager = ExecutionManager.getInstance(project);
executionManager.showExecutionConsole(executionInput.getExecutionResult());