Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'org.eclipse.jdt.debug.ui/ui/org/eclipse/jdt/internal/debug/core/refactoring/BreakpointMoveTypeParticipant.java')
-rw-r--r--org.eclipse.jdt.debug.ui/ui/org/eclipse/jdt/internal/debug/core/refactoring/BreakpointMoveTypeParticipant.java2
1 files changed, 2 insertions, 0 deletions
diff --git a/org.eclipse.jdt.debug.ui/ui/org/eclipse/jdt/internal/debug/core/refactoring/BreakpointMoveTypeParticipant.java b/org.eclipse.jdt.debug.ui/ui/org/eclipse/jdt/internal/debug/core/refactoring/BreakpointMoveTypeParticipant.java
index cf13ac6a2..84fbe83dd 100644
--- a/org.eclipse.jdt.debug.ui/ui/org/eclipse/jdt/internal/debug/core/refactoring/BreakpointMoveTypeParticipant.java
+++ b/org.eclipse.jdt.debug.ui/ui/org/eclipse/jdt/internal/debug/core/refactoring/BreakpointMoveTypeParticipant.java
@@ -33,6 +33,7 @@ public class BreakpointMoveTypeParticipant extends BreakpointMoveParticipant {
/* (non-Javadoc)
* @see org.eclipse.jdt.internal.debug.core.refactoring.BreakpointRenameParticipant#accepts(org.eclipse.jdt.core.IJavaElement)
*/
+ @Override
protected boolean accepts(IJavaElement element) {
return element instanceof IType && getArguments().getDestination() instanceof IPackageFragment;
}
@@ -40,6 +41,7 @@ public class BreakpointMoveTypeParticipant extends BreakpointMoveParticipant {
/* (non-Javadoc)
* @see org.eclipse.jdt.internal.debug.core.refactoring.BreakpointMoveParticipant#gatherChanges(org.eclipse.core.resources.IMarker[], java.util.List)
*/
+ @Override
protected void gatherChanges(IMarker[] markers, List changes) throws CoreException, OperationCanceledException {
IType originalType = (IType) getOriginalElement();
IPackageFragment destPackage = (IPackageFragment) getDestination();

Back to the top