public static boolean isInJavaSession(AnActionEvent e) {
    XDebugSession session = DebuggerUIUtil.getSession(e);
    return session != null && session.getDebugProcess() instanceof JavaDebugProcess;
  }
public static boolean isInJavaSession(AnActionEvent e)