void (@NotNull DebuggerSession javaSession, @NotNull XDebugSession session, @NotNull Disposable parent) { DebuggerStateManager manager = javaSession.getContextManager(); DebuggerContextImpl context = manager.getContext(); Project project = context.getProject(); if (project != null) { DfaAssist assist = new DfaAssist(project, manager); Disposer.register(parent, assist); manager.addListener(assist); session.addSessionListener(new XDebugSessionListener() { @Override public void settingsChanged() { assist.updateFromSettings(); } }, assist); } }