import java.lang.ref.WeakReference;
import java.util.List;
import java.util.Map;
public class RunIdeConsoleAction extends DumbAwareAction {
private static final String DEFAULT_FILE_NAME = "ide-scripting";
<BUG>private static final Key<WeakReference<ConsoleView>> CONSOLE_VIEW_KEY = Key.create("CONSOLE_VIEW_KEY");
private static final Key<ConsoleHistoryController> HISTORY_CONTROLLER_KEY = Key.create("HISTORY_CONTROLLER_KEY");</BUG>
static class Engines {
static final Map<String, ScriptEngineFactory> ourEngines = ContainerUtil.newLinkedHashMap();
static  {

import java.lang.ref.WeakReference;
import java.util.List;
import java.util.Map;
public class RunIdeConsoleAction extends DumbAwareAction {
private static final String DEFAULT_FILE_NAME = "ide-scripting";
private static final Key<WeakReference<RunContentDescriptor>> DESCRIPTOR_KEY = Key.create("DESCRIPTOR_KEY");
private static final Key<ConsoleHistoryController> HISTORY_CONTROLLER_KEY = Key.create("HISTORY_CONTROLLER_KEY");
static class Engines {
static final Map<String, ScriptEngineFactory> ourEngines = ContainerUtil.newLinkedHashMap();
static  {
