CloneSet944


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
14330.959statement_sequence[5]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
11452
plugins/org.eclipse.jdt.debug.ui/ui/org/eclipse/jdt/internal/debug/core/refactoring/WatchpointFieldChange.java
21455
plugins/org.eclipse.jdt.debug.ui/ui/org/eclipse/jdt/internal/debug/core/refactoring/WatchpointTypeChange.java
31465
plugins/org.eclipse.jdt.debug.ui/ui/org/eclipse/jdt/internal/debug/core/refactoring/WatchpointTypeRenameChange.java
Clone Instance
1
Line Count
14
Source Line
52
Source File
plugins/org.eclipse.jdt.debug.ui/ui/org/eclipse/jdt/internal/debug/core/refactoring/WatchpointFieldChange.java

                int[] range = getNewLineNumberAndRange(fDestField);
                IJavaWatchpoint breakpoint = JDIDebugModel.createWatchpoint(
                                resource, 
                                fDestField.getDeclaringType().getFullyQualifiedName(), 
                                fDestField.getElementName(), 
                                range[0], 
                                range[1], 
                                range[2], 
                                getHitCount(), 
                                true, 
                                map                                        );
                apply(breakpoint);
                getOriginalBreakpoint().delete();
                return new DeleteBreakpointChange(breakpoint);


Clone Instance
2
Line Count
14
Source Line
55
Source File
plugins/org.eclipse.jdt.debug.ui/ui/org/eclipse/jdt/internal/debug/core/refactoring/WatchpointTypeChange.java

                int[] range = getNewLineNumberAndRange(destField);
                IJavaWatchpoint breakpoint = JDIDebugModel.createWatchpoint(
                                resource, 
                                fDestType.getFullyQualifiedName(), 
                                getFieldName(), 
                                range[0], 
                                range[1], 
                                range[2], 
                                getHitCount(), 
                                true, 
                                map                                        );
                apply(breakpoint);
                getOriginalBreakpoint().delete();
                return new DeleteBreakpointChange(breakpoint);


Clone Instance
3
Line Count
14
Source Line
65
Source File
plugins/org.eclipse.jdt.debug.ui/ui/org/eclipse/jdt/internal/debug/core/refactoring/WatchpointTypeRenameChange.java

                int[] range = getNewLineNumberAndRange(destinationField);
                IJavaWatchpoint breakpoint = JDIDebugModel.createWatchpoint(
                                resource, 
                                getDestinationType().getFullyQualifiedName(), 
                                destinationField.getElementName(), 
                                range[0], 
                                range[1], 
                                range[2], 
                                getHitCount(), 
                                true, 
                                map                                        );
                apply(breakpoint);
                getOriginalBreakpoint().delete();
                return new DeleteBreakpointChange(breakpoint);


Clone AbstractionParameter Count: 3Parameter Bindings

int[] range = getNewLineNumberAndRange( [[#variable7c38c080]]);
IJavaWatchpoint breakpoint = JDIDebugModel.createWatchpoint(resource,  [[#variable7c38c0e0]].getFullyQualifiedName(),  [[#variable54577700]], range[0], range[1], range[2], getHitCount(), true, map);
apply(breakpoint);
getOriginalBreakpoint().delete();
return new DeleteBreakpointChange(breakpoint);
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#7c38c080]]
destinationField 
12[[#7c38c080]]
destField 
13[[#7c38c080]]
fDestField 
21[[#7c38c0e0]]
getDestinationType() 
22[[#7c38c0e0]]
fDestType 
23[[#7c38c0e0]]
fDestField.getDeclaringType() 
31[[#54577700]]
destinationField.getElementName() 
32[[#54577700]]
getFieldName() 
33[[#54577700]]
fDestField.getElementName()