CloneSet5191


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
4240.971statement_sequence[3]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
1343
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/code/CodeRefactoringUtil.java
2486
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/structure/ASTNodeSearchUtil.java
Clone Instance
1
Line Count
3
Source Line
43
Source File
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/code/CodeRefactoringUtil.java

                SelectionAnalyzer analyzer = new SelectionAnalyzer(Selection.createFromStartLength(selectionStart, selectionLength), true);
                cuNode.accept(analyzer);
                ASTNode coveringNode = analyzer.getLastCoveringNode();


Clone Instance
2
Line Count
4
Source Line
86
Source File
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/structure/ASTNodeSearchUtil.java

                SelectionAnalyzer analyzer = new SelectionAnalyzer(Selection.createFromStartLength(start, length), true);
                cuNode.accept(analyzer);
                //XXX workaround for jdt core feature 23527
                ASTNode node = analyzer.getFirstSelectedNode();


Clone AbstractionParameter Count: 4Parameter Bindings

SelectionAnalyzer analyzer = new SelectionAnalyzer(Selection.createFromStartLength( [[#variable526c17a0]],  [[#variable526c1700]]), true);
cuNode.accept(analyzer);
//XXX workaround for jdt core feature 23527
ASTNode  [[#variable526c1340]]= analyzer. [[#variable526c1760]]();
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#526c17a0]]
start 
12[[#526c17a0]]
selectionStart 
21[[#526c1700]]
length 
22[[#526c1700]]
selectionLength 
31[[#526c1340]]
node 
32[[#526c1340]]
coveringNode 
41[[#526c1760]]
getFirstSelectedNode 
42[[#526c1760]]
getLastCoveringNode