private void upUp(List<? extends PsiType> upperBounds) {
    InferenceSession.findParameterizationOfTheSameGenericClass(upperBounds, pair -> {
      final PsiType sType = pair.first;
      final PsiType tType = pair.second;
      if (!(sType instanceof PsiWildcardType) && !(tType instanceof PsiWildcardType) && sType != null && tType != null) {
        addConstraint(new TypeEqualityConstraint(sType, tType));
      }
      return false;
    });
  }
private void upUp(List<? extends PsiType> upperBounds)