Copyright (c) 2000, 2008 IBM Corporation and others. This program and the accompanying materials are made available under the terms of the Eclipse Public License 2.0 which accompanies this distribution, and is available at https://www.eclipse.org/legal/epl-2.0/ SPDX-License-Identifier: EPL-2.0 Contributors: IBM Corporation - initial API and implementation
/******************************************************************************* * Copyright (c) 2000, 2008 IBM Corporation and others. * * This program and the accompanying materials * are made available under the terms of the Eclipse Public License 2.0 * which accompanies this distribution, and is available at * https://www.eclipse.org/legal/epl-2.0/ * * SPDX-License-Identifier: EPL-2.0 * * Contributors: * IBM Corporation - initial API and implementation *******************************************************************************/
package org.eclipse.ltk.core.refactoring;
A RefactoringChangeDescriptor describes changes created by a refactoring. Changes created by a refactoring should provide an appropriate refactoring change descriptor, which allows to completely reconstruct the particular refactoring instance from the encapsulated refactoring descriptor.

Note: this class is not intended to be subclassed by clients.

Since:3.2
@noextendThis class is not intended to be subclassed by clients.
/** * A {@link RefactoringChangeDescriptor} describes changes created by a * refactoring. Changes created by a refactoring should provide an appropriate * refactoring change descriptor, which allows to completely reconstruct the * particular refactoring instance from the encapsulated refactoring descriptor. * <p> * Note: this class is not intended to be subclassed by clients. * </p> * * @since 3.2 * * @noextend This class is not intended to be subclassed by clients. */
public class RefactoringChangeDescriptor extends ChangeDescriptor {
The refactoring descriptor
/** The refactoring descriptor */
private final RefactoringDescriptor fRefactoringDescriptor;
Creates the RefactoringChangeDescriptor with the RefactoringDescriptor that originated the change.
Params:
/** * Creates the <code>RefactoringChangeDescriptor</code> with the * {@link RefactoringDescriptor} that originated the change. * * @param descriptor * the {@link RefactoringDescriptor} that originated the change. */
public RefactoringChangeDescriptor(final RefactoringDescriptor descriptor) { fRefactoringDescriptor= descriptor; }
Returns the RefactoringDescriptor that originated the change.
Returns:the RefactoringDescriptor that originated the change.
/** * Returns the {@link RefactoringDescriptor} that originated the change. * * @return the {@link RefactoringDescriptor} that originated the change. */
public RefactoringDescriptor getRefactoringDescriptor() { return fRefactoringDescriptor; } }