diff options
author | Tobias Widmer | 2006-03-27 08:37:04 +0000 |
---|---|---|
committer | Tobias Widmer | 2006-03-27 08:37:04 +0000 |
commit | 4b6dc2b47db679517fa7b67e547df80c3fcf2789 (patch) | |
tree | 561f12f3499641ce3fa88be722c1130dce05eaaf /org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/structure/constraints/SuperTypeRefactoringProcessor.java | |
parent | 825476f17587f4e358e1b00be3cfa93a48b33604 (diff) | |
download | eclipse.jdt.ui-4b6dc2b47db679517fa7b67e547df80c3fcf2789.tar.gz eclipse.jdt.ui-4b6dc2b47db679517fa7b67e547df80c3fcf2789.tar.xz eclipse.jdt.ui-4b6dc2b47db679517fa7b67e547df80c3fcf2789.zip |
Generalized code between different super type refactorings
Diffstat (limited to 'org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/structure/constraints/SuperTypeRefactoringProcessor.java')
-rw-r--r-- | org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/structure/constraints/SuperTypeRefactoringProcessor.java | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/structure/constraints/SuperTypeRefactoringProcessor.java b/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/structure/constraints/SuperTypeRefactoringProcessor.java index 10bd84110c..e7cfa44052 100644 --- a/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/structure/constraints/SuperTypeRefactoringProcessor.java +++ b/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/structure/constraints/SuperTypeRefactoringProcessor.java @@ -99,7 +99,7 @@ import org.eclipse.jdt.internal.corext.refactoring.typeconstraints.CompilationUn import org.eclipse.jdt.internal.corext.refactoring.typeconstraints.types.TType; import org.eclipse.jdt.internal.corext.refactoring.typeconstraints.types.TypeEnvironment; import org.eclipse.jdt.internal.corext.refactoring.util.RefactoringASTParser; -import org.eclipse.jdt.internal.corext.refactoring.util.TextChangeManager; +import org.eclipse.jdt.internal.corext.refactoring.util.TextEditBasedChangeManager; import org.eclipse.jdt.internal.corext.util.CodeFormatterUtil; import org.eclipse.jdt.internal.corext.util.JavaModelUtil; import org.eclipse.jdt.internal.corext.util.JdtFlags; @@ -876,7 +876,7 @@ public abstract class SuperTypeRefactoringProcessor extends RefactoringProcessor * @throws CoreException * if the change could not be generated */ - protected abstract void rewriteTypeOccurrences(TextChangeManager manager, ASTRequestor requestor, CompilationUnitRewrite rewrite, ICompilationUnit unit, CompilationUnit node, final Set replacements) throws CoreException; + protected abstract void rewriteTypeOccurrences(TextEditBasedChangeManager manager, ASTRequestor requestor, CompilationUnitRewrite rewrite, ICompilationUnit unit, CompilationUnit node, final Set replacements) throws CoreException; /** * Creates the necessary text edits to replace the subtype occurrences by a @@ -901,7 +901,7 @@ public abstract class SuperTypeRefactoringProcessor extends RefactoringProcessor * @param monitor * the progress monitor to use */ - protected final void rewriteTypeOccurrences(final TextChangeManager manager, final ASTRequestor sourceRequestor, final CompilationUnitRewrite sourceRewrite, final ICompilationUnit subUnit, final CompilationUnit subNode, final Set replacements, final RefactoringStatus status, final IProgressMonitor monitor) { + protected final void rewriteTypeOccurrences(final TextEditBasedChangeManager manager, final ASTRequestor sourceRequestor, final CompilationUnitRewrite sourceRewrite, final ICompilationUnit subUnit, final CompilationUnit subNode, final Set replacements, final RefactoringStatus status, final IProgressMonitor monitor) { if (fTypeOccurrences != null) { final Set units= new HashSet(fTypeOccurrences.keySet()); if (subUnit != null) |