Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
3 | 2 | 2 | 0.982 | statement_sequence[3] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 3 | 363 | plugins/org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/codemanipulation/AddImportsOperation.java |
2 | 3 | 45 | 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, simpleTypeName.toCharArray(), SearchPattern.R_EXACT_MATCH| SearchPattern.R_CASE_SENSITIVE, getSearchForConstant(typeKinds), searchScope, requestor, IJavaSearchConstants.WAIT_UNTIL_READY_TO_SEARCH, monitor); |
| ||||
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()); |
| |||
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 Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#b8ea2340]] | simpleTypeName |
1 | 2 | [[#b8ea2340]] | typeName |
2 | 1 | [[#b8ea22c0]] | monitor |
2 | 2 | [[#b8ea22c0]] | new NullProgressMonitor() |