Beispiel #1
0
 @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;
 }
Beispiel #2
0
 @NotNull
 @Override
 public Set<TypeParameterDescriptor> getTypeVariables() {
   return typeParameterConstraints.keySet();
 }