ConstraintVariable typeVariable= new TypeVariable(type);
ConstraintVariable typeVariable= fFactory.makeTypeVariable(type);
  private static ITypeConstraint[] getConstraintsFromFragmentList(List fragments, Type type) {	  int size= fragments.size();	  ConstraintVariable typeVariable= new TypeVariable(type);	  List result= new ArrayList((size * (size - 1))/2);	  for (int i= 0; i < size; i++) {		  VariableDeclarationFragment fragment1= (VariableDeclarationFragment) fragments.get(i);		  SimpleName fragment1Name= fragment1.getName();		  result.add(SimpleTypeConstraint.createDefinesConstraint(new ExpressionVariable(fragment1Name), typeVariable));		  for (int j= i + 1; j < size; j++) {			  VariableDeclarationFragment fragment2= (VariableDeclarationFragment) fragments.get(j);			  result.add(SimpleTypeConstraint.createEqualsConstraint(new ExpressionVariable(fragment1Name), new ExpressionVariable(fragment2.getName())));		  }	  }	  return (ITypeConstraint[]) result.toArray(new ITypeConstraint[result.size()]);  }