private void createMethod(MemberActionInfo info, List bodyDeclarations, CompilationUnit declaringCuNode, OldASTRewrite rewrite) throws JavaModelException { MethodDeclaration newMethod= createNewMethodDeclarationNode(info, declaringCuNode, rewrite); rewrite.markAsInserted(newMethod); bodyDeclarations.add(ASTNodes.getInsertionIndex(newMethod, bodyDeclarations), newMethod);
private void createMethod(MemberActionInfo info, TypeDeclaration declaration, CompilationUnit declaringCuNode, TypeVariableMaplet[] mapping, ASTRewrite rewrite) throws JavaModelException { MethodDeclaration newMethod= createNewMethodDeclarationNode(info, declaringCuNode, mapping, rewrite); rewrite.getListRewrite(declaration, TypeDeclaration.BODY_DECLARATIONS_PROPERTY).insertAt(newMethod, ASTNodes.getInsertionIndex(newMethod, declaration.bodyDeclarations()), null);
	private void createMethod(MemberActionInfo info, List bodyDeclarations, CompilationUnit declaringCuNode, OldASTRewrite rewrite) throws JavaModelException {		MethodDeclaration newMethod= createNewMethodDeclarationNode(info, declaringCuNode, rewrite);		rewrite.markAsInserted(newMethod);		bodyDeclarations.add(ASTNodes.getInsertionIndex(newMethod, bodyDeclarations), newMethod);	}