@Override
  protected void perform(AnActionEvent e) {
    final Project project = e.getProject();
    final TypeInfo selectedClass = getSelectedClass(e);
    if (project != null && selectedClass != null) {
      final XDebugSession debugSession = DebuggerUIUtil.getSession(e);
      if (debugSession != null) {
        ReferenceType referenceType = ((JavaTypeInfo)selectedClass).getReferenceType();
        new InstancesWindow(debugSession, new ClassInstancesProvider(referenceType), referenceType).show();
      }
    }
  }
@Override
  protected void perform(AnActionEvent e)