blob: 29a4e52ae8929003b55e00187fd952bcdfd6a411 [file] [log] [blame]
/*******************************************************************************
* Copyright (c) 2005 IBM Corporation and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
*
* Contributors:
* IBM Corporation - initial API and implementation
*******************************************************************************/
package org.eclipse.jdt.internal.corext.refactoring.structure;
import org.eclipse.jdt.core.dom.MethodDeclaration;
import org.eclipse.ltk.core.refactoring.RefactoringStatus;
public abstract class BodyUpdater {
/**
* Updates the body of a method declaration. This method is called by the
* {@link ChangeSignatureRefactoring} and allows implementors to refactor the body
* of the given method declaration.
*
* @param methodDeclaration
* @param cuRewrite
* @param result
*/
public abstract void updateBody(MethodDeclaration methodDeclaration, CompilationUnitRewrite cuRewrite, RefactoringStatus result);
}