Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
3 | 2 | 3 | 0.975 | statement_sequence[3] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 3 | 890 | plugins/org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/codemanipulation/GenerateHashCodeEqualsOperation.java |
2 | 3 | 940 | plugins/org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/codemanipulation/GenerateHashCodeEqualsOperation.java |
| ||||
invoc.setName(fAst.newSimpleName(METHODNAME_EQUALS)); invoc.setExpression(getQualifiedName(JAVA_UTIL_ARRAYS)); invoc.arguments().add(getThisAccessForEquals(name)); |
| ||||
invoc.setName(fAst.newSimpleName(METHODNAME_EQUALS)); invoc.setExpression(getThisAccessForEquals(name)); invoc.arguments().add(getOtherAccess(name)); |
| |||
invoc.setName(fAst.newSimpleName(METHODNAME_EQUALS)); invoc.setExpression( [[#variable761eb420]]( [[#variable761ace00]])); invoc.arguments().add( [[#variable9df7f920]](name)); |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#761eb420]] | getQualifiedName |
1 | 2 | [[#761eb420]] | getThisAccessForEquals |
2 | 1 | [[#761ace00]] | JAVA_UTIL_ARRAYS |
2 | 2 | [[#761ace00]] | name |
3 | 1 | [[#9df7f920]] | getThisAccessForEquals |
3 | 2 | [[#9df7f920]] | getOtherAccess |