copyReturnType(rewrite, getDeclaringCU(), methodDeclaration, newMethod); copyParameters(rewrite, getDeclaringCU(), methodDeclaration, newMethod);
copyReturnType(rewrite, getDeclaringCU(), methodDeclaration, newMethod, mapping); copyParameters(rewrite, getDeclaringCU(), methodDeclaration, newMethod, mapping);
	private void createAbstractMethodInTargetClass(IMethod sourceMethod, CompilationUnit declaringCuNode, OldASTRewrite rewrite, TypeDeclaration targetClass, IProgressMonitor pm, RefactoringStatus status) throws JavaModelException {		MethodDeclaration methodDeclaration= ASTNodeSearchUtil.getMethodDeclarationNode(sourceMethod, declaringCuNode);		AST ast= rewrite.getAST();		MethodDeclaration newMethod= ast.newMethodDeclaration();		newMethod.setBody(null);		newMethod.setConstructor(false);		newMethod.setExtraDimensions(methodDeclaration.getExtraDimensions());		newMethod.setJavadoc(null);		newMethod.modifiers().addAll(ASTNodeFactory.newModifiers(ast, createModifiersForAbstractDeclaration(sourceMethod, pm, status)));		newMethod.setName(createCopyOfSimpleName(methodDeclaration.getName(), ast));		copyReturnType(rewrite, getDeclaringCU(), methodDeclaration, newMethod);				copyParameters(rewrite, getDeclaringCU(), methodDeclaration, newMethod);		copyThrownExceptions(methodDeclaration, newMethod);		targetClass.bodyDeclarations().add(newMethod);		rewrite.markAsInserted(newMethod);	}