コード例 #1
0
 @SuppressWarnings("UnusedDeclaration")
 @Nullable
 public DebuggerSession getDebugSession(final ProcessHandler processHandler) {
   synchronized (mySessions) {
     return mySessions.get(processHandler);
   }
 }
コード例 #2
0
 @Override
 public DebugProcessImpl getDebugProcess(final ProcessHandler processHandler) {
   synchronized (mySessions) {
     DebuggerSession session = mySessions.get(processHandler);
     return session != null ? session.getProcess() : null;
   }
 }