public final ConstraintVariable2 createTypeVariable(final Type type) { ITypeBinding binding= type.resolveBinding(); if (binding.isArray()) binding= binding.getElementType(); if (isConstrainedType(binding)) return (ConstraintVariable2) fConstraintVariables.addExisting(new TypeVariable2(fEnvironment.create(binding), new CompilationUnitRange(RefactoringASTParser.getCompilationUnit(type), type)));
public final ConstraintVariable2 createTypeVariable(ITypeBinding type, final CompilationUnitRange range) { if (type.isArray()) type= type.getElementType(); if (isConstrainedType(type)) return (ConstraintVariable2) fConstraintVariables.addExisting(new TypeVariable2(fEnvironment.create(type), range));
	public final ConstraintVariable2 createTypeVariable(final Type type) {		ITypeBinding binding= type.resolveBinding();		if (binding.isArray())			binding= binding.getElementType();		if (isConstrainedType(binding))			return (ConstraintVariable2) fConstraintVariables.addExisting(new TypeVariable2(fEnvironment.create(binding), new CompilationUnitRange(RefactoringASTParser.getCompilationUnit(type), type)));		return null;	}