@Override public boolean hasConflictingConstraints() { for (TypeParameterDescriptor typeParameter : typeParameterConstraints.keySet()) { TypeConstraints typeConstraints = getTypeConstraints(typeParameter); if (typeConstraints != null && ConstraintsUtil.getValues(typeConstraints).size() > 1) return true; } return false; }
@NotNull @Override public Set<TypeParameterDescriptor> getTypeVariables() { return typeParameterConstraints.keySet(); }