ExpressionVariable eLeft= (ExpressionVariable)cv; CompilationUnitRange cRange= eLeft.getCompilationUnitRange(); if (cRange.getSourceRange().getOffset() == fEffectiveSelectionStart && cRange.getSourceRange().getLength() == fEffectiveSelectionLength){ return true; }
ExpressionVariable ev= (ExpressionVariable)cv; return (fSelectionBinding != null && Bindings.equals(fSelectionBinding, ev.getExpressionBinding()));
	private boolean matchesSelection(ConstraintVariable cv){		if (cv instanceof ExpressionVariable){			ExpressionVariable eLeft= (ExpressionVariable)cv;			CompilationUnitRange cRange= eLeft.getCompilationUnitRange();			if (cRange.getSourceRange().getOffset() == fEffectiveSelectionStart &&				cRange.getSourceRange().getLength() == fEffectiveSelectionLength){				return true;			}		} else if (cv instanceof ParameterTypeVariable){			ParameterTypeVariable ptv = (ParameterTypeVariable)cv;			if (fMethodBinding != null && Bindings.equals(ptv.getMethodBinding(), fMethodBinding) &&				ptv.getParameterIndex() == fParamIndex){				return true;			}		} else if (cv instanceof ReturnTypeVariable){			ReturnTypeVariable rtv = (ReturnTypeVariable)cv;			if (fMethodBinding != null && Bindings.equals(rtv.getMethodBinding(), fMethodBinding) &&				fParamIndex == -1){				return true;			}		}				return false;	}