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.951 | executable_statement |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 3 | 403 | plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/code/SourceProvider.java |
2 | 3 | 408 | plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/code/SourceProvider.java |
| ||||
{ final ClassInstanceCreation inst = (ClassInstanceCreation) node; rewriter.set(inst, ClassInstanceCreation.EXPRESSION_PROPERTY, createReceiver(rewriter, context, inst.resolveConstructorBinding()), null); } |
| ||||
{ final FieldAccess access = (FieldAccess) node; rewriter.set(access, FieldAccess.EXPRESSION_PROPERTY, createReceiver(rewriter, context, access.resolveFieldBinding()), null); } |
| |||
{ final [[#variable535a5800]] [[#variable535a57a0]]= ( [[#variable535a5800]]) node; rewriter.set( [[#variable535a57a0]], [[#variable535a5800]].EXPRESSION_PROPERTY, createReceiver(rewriter, context, [[#variable535a57a0]]. [[#variable535a5720]]()), null); } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#535a5800]] | FieldAccess |
1 | 2 | [[#535a5800]] | ClassInstanceCreation |
2 | 1 | [[#535a57a0]] | access |
2 | 2 | [[#535a57a0]] | inst |
3 | 1 | [[#535a5720]] | resolveFieldBinding |
3 | 2 | [[#535a5720]] | resolveConstructorBinding |