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.979 | executable_statement |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 5 | 433 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/AddUnimplementedConstructorsAction.java |
2 | 5 | 199 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/GenerateNewConstructorUsingFieldsAction.java |
| ||||
{ ICompilationUnit cu = (ICompilationUnit) elements[0]; IType type = cu.findPrimaryType(); if (type != null && !type.isInterface() && !type.isEnum()) return type; } |
| ||||
{ ICompilationUnit unit = (ICompilationUnit) elements[0]; IType type = unit.findPrimaryType(); if (type != null && !type.isInterface() && !type.isAnnotation()) return type; } |
| |||
{ ICompilationUnit [[#variable556ef460]]= (ICompilationUnit) elements[0]; IType type = [[#variable556ef460]].findPrimaryType(); if (type != null && !type.isInterface() && !type. [[#variable556ef400]]()) return type; } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#556ef460]] | unit |
1 | 2 | [[#556ef460]] | cu |
2 | 1 | [[#556ef400]] | isAnnotation |
2 | 2 | [[#556ef400]] | isEnum |