CloneSet807


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
6420.988statement_sequence[3]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
1655
plugins/org.eclipse.jdt.debug.ui/ui/org/eclipse/jdt/internal/debug/core/refactoring/BreakpointMovePackageParticipant.java
2653
plugins/org.eclipse.jdt.debug.ui/ui/org/eclipse/jdt/internal/debug/core/refactoring/BreakpointMoveTypeParticipant.java
3661
plugins/org.eclipse.jdt.debug.ui/ui/org/eclipse/jdt/internal/debug/core/refactoring/BreakpointRenamePackageParticipant.java
4668
plugins/org.eclipse.jdt.debug.ui/ui/org/eclipse/jdt/internal/debug/core/refactoring/BreakpointRenameProjectParticipant.java
Clone Instance
1
Line Count
6
Source Line
55
Source File
plugins/org.eclipse.jdt.debug.ui/ui/org/eclipse/jdt/internal/debug/core/refactoring/BreakpointMovePackageParticipant.java

                                        ICompilationUnit cu = destBreakpointPackage.getCompilationUnit(breakpointType.getCompilationUnit().getElementName());
                                        IJavaElement element = BreakpointChange.findElement(cu, breakpointType);
                                        if (element != null) {
                                                if (element instanceof IType) {
                                                        IType destType = (IType) element;
                                                        changes.add(createTypeChange(javaBreakpoint, destType, breakpointType));
                                                }
                                        }


Clone Instance
2
Line Count
6
Source Line
53
Source File
plugins/org.eclipse.jdt.debug.ui/ui/org/eclipse/jdt/internal/debug/core/refactoring/BreakpointMoveTypeParticipant.java

                                        ICompilationUnit cu = destPackage.getCompilationUnit(breakpointType.getCompilationUnit().getElementName());
                                        IJavaElement element = BreakpointChange.findElement(cu, breakpointType);
                                        if (element != null) {
                                                if (element instanceof IType) {
                                                        IType destType = (IType) element;
                                                        changes.add(createTypeChange(javaBreakpoint, destType, breakpointType));
                                                }
                                        }


Clone Instance
3
Line Count
6
Source Line
61
Source File
plugins/org.eclipse.jdt.debug.ui/ui/org/eclipse/jdt/internal/debug/core/refactoring/BreakpointRenamePackageParticipant.java

                                        ICompilationUnit cu = destBreakpointPackage.getCompilationUnit(breakpointType.getCompilationUnit().getElementName());
                                        IJavaElement element = BreakpointChange.findElement(cu, breakpointType);
                                        if (element != null) {
                                                if (element instanceof IType) {
                                                        IType destType = (IType) element;
                                                        changes.add(createTypeChange(javaBreakpoint, destType, breakpointType));
                                                }
                                        }


Clone Instance
4
Line Count
6
Source Line
68
Source File
plugins/org.eclipse.jdt.debug.ui/ui/org/eclipse/jdt/internal/debug/core/refactoring/BreakpointRenameProjectParticipant.java

                                        ICompilationUnit destCU = destPackage.getCompilationUnit(breakpointType.getCompilationUnit().getElementName());
                                        IJavaElement element = BreakpointChange.findElement(destCU, breakpointType);
                                        if (element != null) {
                                                if (element instanceof IType) {
                                                        IType destType = (IType) element;
                                                        changes.add(createTypeChange(javaBreakpoint, destType, breakpointType));
                                                }
                                        }


Clone AbstractionParameter Count: 2Parameter Bindings

ICompilationUnit  [[#variablebbc423c0]]= [[#variablebbc423e0]].getCompilationUnit(breakpointType.getCompilationUnit().getElementName());
IJavaElement element = BreakpointChange.findElement( [[#variablebbc423c0]], breakpointType);
if (element != null) {
  if (element instanceof IType) {
    IType destType = (IType) element;
    changes.add(createTypeChange(javaBreakpoint, destType, breakpointType));
  }
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#bbc423c0]]
cu 
12[[#bbc423c0]]
destCU 
13[[#bbc423c0]]
cu 
14[[#bbc423c0]]
cu 
21[[#bbc423e0]]
destBreakpointPackage 
22[[#bbc423e0]]
destPackage 
23[[#bbc423e0]]
destPackage 
24[[#bbc423e0]]
destBreakpointPackage