private void copyBodyOfPulledUpMethod(OldASTRewrite targetRewrite, IMethod method, MethodDeclaration oldMethod, MethodDeclaration newMethod, IProgressMonitor pm) throws JavaModelException { if (oldMethod.getBody() == null){
private void copyBodyOfPulledUpMethod(ASTRewrite targetRewrite, IMethod method, MethodDeclaration oldMethod, MethodDeclaration newMethod, TypeVariableMaplet[] mapping, IProgressMonitor pm) throws JavaModelException { Block body= oldMethod.getBody(); if (body == null) {
	private void copyBodyOfPulledUpMethod(OldASTRewrite targetRewrite, IMethod method, MethodDeclaration oldMethod, MethodDeclaration newMethod, IProgressMonitor pm) throws JavaModelException {		if (oldMethod.getBody() == null){			newMethod.setBody(null);			return;		}		Block oldBody= oldMethod.getBody();		ISourceRange[] superRefOffsert= SourceRange.reverseSortByOffset(findSuperReferenceRanges(method, getSuperclassOfDeclaringClass(pm)));				String oldBodySource= getBufferText(oldBody, getDeclaringCU());		StringBuffer newBodyCodeBuff= new StringBuffer(oldBodySource);		for (int i= 0; i < superRefOffsert.length; i++) {			ISourceRange range= superRefOffsert[i];			int start= range.getOffset() - oldBody.getStartPosition();			int end= start + range.getLength();			newBodyCodeBuff.replace(start, end, "this"); //$NON-NLS-1$		}		String newBodySource= newBodyCodeBuff.toString();		String[] lines= Strings.convertIntoLines(newBodySource);		Strings.trimIndentation(lines, CodeFormatterUtil.getTabWidth(), false);		newBodySource= Strings.concatenate(lines, StubUtility.getLineDelimiterUsed(method));		Block newBody= (Block)targetRewrite.createStringPlaceholder(newBodySource, ASTNode.BLOCK);		newMethod.setBody(newBody);	}