result.add(SimpleTypeConstraint.createDefinesConstraint(new DeclaringTypeVariable(binding), new RawBindingVariable(binding.getDeclaringClass())));
result.add(SimpleTypeConstraint.createDefinesConstraint(fFactory.makeDeclaringTypeVariable(binding), fFactory.makeRawBindingVariable(binding.getDeclaringClass())));
  private static Collection getConstraintsForFieldDeclaringTypes(FieldDeclaration fd) {	  Collection result= new ArrayList(fd.fragments().size());	  for (Iterator iter= fd.fragments().iterator(); iter.hasNext();) {		  VariableDeclarationFragment varDecl= (VariableDeclarationFragment)iter.next();		  IVariableBinding binding= varDecl.resolveBinding();		  Assert.isTrue(binding.isField());		  result.add(SimpleTypeConstraint.createDefinesConstraint(new DeclaringTypeVariable(binding), new RawBindingVariable(binding.getDeclaringClass())));	  }	  return result;  }