Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
6 | 3 | 3 | 0.962 | statement_sequence[2] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 6 | 311 | plugins/org.eclipse.jdt.debug.ui/ui/org/eclipse/jdt/internal/debug/ui/actions/ValidBreakpointLocationLocator.java |
2 | 6 | 324 | plugins/org.eclipse.jdt.debug.ui/ui/org/eclipse/jdt/internal/debug/ui/actions/ValidBreakpointLocationLocator.java |
3 | 6 | 338 | plugins/org.eclipse.jdt.debug.ui/ui/org/eclipse/jdt/internal/debug/ui/actions/ValidBreakpointLocationLocator.java |
| ||||
if ( !fBindingsResolved) { fNeedBindings = true; return false; } // if node is a variable with a constant value (static final field) IBinding binding = node.resolveBinding(); |
| ||||
if ( !fBindingsResolved) { fNeedBindings = true; return false; } // if the node is 'this.<field>', and the field is static final Expression expression = node.getExpression(); |
| ||||
if ( !fBindingsResolved) { fNeedBindings = true; return false; } // if the field is static final IVariableBinding binding = node.resolveFieldBinding(); |
| |||
if ( !fBindingsResolved) { fNeedBindings = true; return false; } [[#variable5d5b61a0]] [[#variable5d8a9c60]]= node. [[#variable5d5b6240]](); |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#5d5b61a0]] | // if the field is static final IVariableBinding |
1 | 2 | [[#5d5b61a0]] | // if the node is 'this.<field>', and the field is static final Expression |
1 | 3 | [[#5d5b61a0]] | // if node is a variable with a constant value (static final field) IBinding |
2 | 1 | [[#5d8a9c60]] | binding |
2 | 2 | [[#5d8a9c60]] | expression |
2 | 3 | [[#5d8a9c60]] | binding |
3 | 1 | [[#5d5b6240]] | resolveFieldBinding |
3 | 2 | [[#5d5b6240]] | getExpression |
3 | 3 | [[#5d5b6240]] | resolveBinding |