ConstraintVariable returnTypeVariable= new ReturnTypeVariable(methodBinding); ConstraintVariable invocationVariable= new ExpressionVariable(invocation);
ConstraintVariable returnTypeVariable= fFactory.makeReturnTypeVariable(methodBinding); ConstraintVariable invocationVariable= fFactory.makeExpressionOrTypeVariable(invocation, getContext());
  private static ITypeConstraint getReturnTypeConstraint(Expression invocation, IMethodBinding methodBinding){	  if (methodBinding == null || methodBinding.isConstructor() || methodBinding.getReturnType().isPrimitive())		  return null;	  ConstraintVariable returnTypeVariable= new ReturnTypeVariable(methodBinding);	  ConstraintVariable invocationVariable= new ExpressionVariable(invocation);	  return SimpleTypeConstraint.createDefinesConstraint(invocationVariable, returnTypeVariable);  }