Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
5 | 2 | 2 | 0.972 | class_body_declaration |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 5 | 152 | plugins/org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/template/java/JavaContextType.java |
2 | 5 | 165 | plugins/org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/template/java/JavaContextType.java |
| ||||
protected String[] resolveAll(TemplateContext context) { String[] collections = ((JavaContext) context).getCollections(); if (collections.length > 0) return collections; return super.resolveAll(context); } |
| ||||
protected String[] resolveAll(TemplateContext context) { String[] iterables = ((JavaContext) context).getIterables(); if (iterables.length > 0) return iterables; return super.resolveAll(context); } |
| |||
protected String[] resolveAll(TemplateContext context) { String[] [[#variableb20ecec0]]= ((JavaContext) context). [[#variableb20ecde0]](); if ( [[#variableb20ecec0]].length > 0) return [[#variableb20ecec0]]; return super.resolveAll(context); } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#b20ecec0]] | collections |
1 | 2 | [[#b20ecec0]] | iterables |
2 | 1 | [[#b20ecde0]] | getCollections |
2 | 2 | [[#b20ecde0]] | getIterables |