private void addBoundConstraints(final ReductionSystem system, final PsiType definedType, final PsiElement element) {
    final PsiType elementType = Util.getType(element);

    if (elementType != null) {
      addBoundConstraintsImpl(definedType, elementType, system);

      if (mySettings.cookObjects() && elementType.getCanonicalText().equals(CommonClassNames.JAVA_LANG_OBJECT)) {
        system.addSubtypeConstraint(definedType, elementType);
      }
    }
  }
private void addBoundConstraints(final ReductionSystem system, final PsiType definedType, final PsiElement element)