private void copyReturnType(OldASTRewrite targetRewrite, MethodDeclaration oldMethod, MethodDeclaration newMethod) throws JavaModelException { Type newReturnType= createPlaceholderForType(oldMethod.getReturnType2(), getDeclaringCU(), targetRewrite);
private void copyReturnType(ASTRewrite rewrite, ICompilationUnit sourceCu, MethodDeclaration oldMethod, MethodDeclaration newMethod, TypeVariableMaplet[] mapping) throws JavaModelException { Type newReturnType= null; Type oldReturnType= oldMethod.getReturnType2(); if (mapping.length > 0) newReturnType= createPlaceholderForType(oldReturnType, sourceCu, mapping, rewrite); else newReturnType= createPlaceholderForType(oldReturnType, sourceCu, rewrite);
	private void copyReturnType(OldASTRewrite targetRewrite, MethodDeclaration oldMethod, MethodDeclaration newMethod) throws JavaModelException {		Type newReturnType= createPlaceholderForType(oldMethod.getReturnType2(), getDeclaringCU(), targetRewrite);		newMethod.setReturnType2(newReturnType);	}