CloneSet2723


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
3220.982statement_sequence[3]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
13363
plugins/org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/codemanipulation/AddImportsOperation.java
2345
plugins/org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/util/TypeInfoUtil.java
Clone Instance
1
Line Count
3
Source Line
363
Source File
plugins/org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/codemanipulation/AddImportsOperation.java

                ArrayList typeInfos = new ArrayList();
                TypeInfoRequestor requestor = new TypeInfoRequestor(typeInfos);
                new SearchEngine().searchAllTypeNames(null, simpleTypeName.toCharArray(), SearchPattern.R_EXACT_MATCH|  SearchPattern.R_CASE_SENSITIVE, getSearchForConstant(typeKinds), searchScope, requestor, IJavaSearchConstants.WAIT_UNTIL_READY_TO_SEARCH, monitor);


Clone Instance
2
Line Count
3
Source Line
45
Source File
plugins/org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/util/TypeInfoUtil.java

                ArrayList typeInfos = new ArrayList();
                TypeInfoRequestor requestor = new TypeInfoRequestor(typeInfos);
                new SearchEngine().searchAllTypeNames(null, typeName.toCharArray(), SearchPattern.R_EXACT_MATCH|  SearchPattern.R_CASE_SENSITIVE, getSearchForConstant(typeKinds), searchScope, requestor, IJavaSearchConstants.WAIT_UNTIL_READY_TO_SEARCH, new NullProgressMonitor());


Clone AbstractionParameter Count: 2Parameter Bindings

ArrayList typeInfos = new ArrayList();
TypeInfoRequestor requestor = new TypeInfoRequestor(typeInfos);
new SearchEngine().searchAllTypeNames(null,  [[#variableb8ea2340]].toCharArray(), SearchPattern.R_EXACT_MATCH|SearchPattern.R_CASE_SENSITIVE, getSearchForConstant(typeKinds), searchScope, requestor, IJavaSearchConstants.WAIT_UNTIL_READY_TO_SEARCH,  [[#variableb8ea22c0]]);
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#b8ea2340]]
simpleTypeName 
12[[#b8ea2340]]
typeName 
21[[#b8ea22c0]]
monitor 
22[[#b8ea22c0]]
new NullProgressMonitor()