private boolean addSideEffect(PsiElement element, ThreeState state) {
      if (state == ThreeState.NO || myIgnorePredicate.test(element)) return false;
      if (state == ThreeState.YES || state == ThreeState.UNSURE && found == ThreeState.NO) {
        found = state;
      }
      if(mySideEffects != null) {
        mySideEffects.add(element);
      } else if (found == ThreeState.YES) {
        stopWalking();
      }
      return true;
    }
private boolean addSideEffect(PsiElement element, ThreeState state)