Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
9 | 4 | 4 | 0.955 | block |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 9 | 555 | plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/DefaultBindingResolver.java |
2 | 9 | 569 | plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/DefaultBindingResolver.java |
3 | 9 | 694 | plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/DefaultBindingResolver.java |
4 | 9 | 707 | plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/DefaultBindingResolver.java |
| ||||
{ Object oldNode = this.newAstToOldAst.get(fieldAccess); if (oldNode instanceof FieldReference) { FieldReference fieldReference = (FieldReference) oldNode; if (fieldReference != null) { return this.getVariableBinding(fieldReference.binding); } } return null; } |
| ||||
{ Object oldNode = this.newAstToOldAst.get(fieldAccess); if (oldNode instanceof FieldReference) { FieldReference fieldReference = (FieldReference) oldNode; if (fieldReference != null) { return this.getVariableBinding(fieldReference.binding); } } return null; } |
| ||||
{ Object oldNode = this.newAstToOldAst.get(method); if (oldNode instanceof MessageSend) { MessageSend messageSend = (MessageSend) oldNode; if (messageSend != null) { return this.getMethodBinding(messageSend.binding); } } return null; } |
| ||||
{ Object oldNode = this.newAstToOldAst.get(method); if (oldNode instanceof MessageSend) { MessageSend messageSend = (MessageSend) oldNode; if (messageSend != null) { return this.getMethodBinding(messageSend.binding); } } return null; } |
| |||
{ Object oldNode = this.newAstToOldAst.get( [[#variable64b9b300]]); if (oldNode instanceof [[#variable64b9b280]]) { [[#variable64b9b280]] [[#variablebd6fa180]]= ( [[#variable64b9b280]]) oldNode; if ( [[#variablebd6fa180]]!= null) { return this. [[#variable64b9b220]]( [[#variablebd6fa180]].binding); } } return null; } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#64b9b300]] | fieldAccess |
1 | 2 | [[#64b9b300]] | method |
1 | 3 | [[#64b9b300]] | method |
1 | 4 | [[#64b9b300]] | fieldAccess |
2 | 1 | [[#64b9b280]] | FieldReference |
2 | 2 | [[#64b9b280]] | MessageSend |
2 | 3 | [[#64b9b280]] | MessageSend |
2 | 4 | [[#64b9b280]] | FieldReference |
3 | 1 | [[#bd6fa180]] | fieldReference |
3 | 2 | [[#bd6fa180]] | messageSend |
3 | 3 | [[#bd6fa180]] | messageSend |
3 | 4 | [[#bd6fa180]] | fieldReference |
4 | 1 | [[#64b9b220]] | getVariableBinding |
4 | 2 | [[#64b9b220]] | getMethodBinding |
4 | 3 | [[#64b9b220]] | getMethodBinding |
4 | 4 | [[#64b9b220]] | getVariableBinding |