Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
8 | 2 | 0 | 1.000 | class_body_declaration |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 8 | 481 | plugins/org.eclipse.jdt.core/eval/org/eclipse/jdt/internal/eval/CodeSnippetQualifiedNameReference.java |
2 | 8 | 552 | plugins/org.eclipse.jdt.core/eval/org/eclipse/jdt/internal/eval/CodeSnippetSingleNameReference.java |
| ||||
/** * Check and/or redirect the field access to the delegate receiver if any */ public TypeBinding getReceiverType(BlockScope currentScope) { Scope scope = currentScope.parent; while (true) { switch (scope.kind) { case Scope.CLASS_SCOPE: return ((ClassScope) scope).referenceContext.binding; default: scope = scope.parent; } } } |
| ||||
/** * Check and/or redirect the field access to the delegate receiver if any */ public TypeBinding getReceiverType(BlockScope currentScope) { Scope scope = currentScope.parent; while (true) { switch (scope.kind) { case Scope.CLASS_SCOPE: return ((ClassScope) scope).referenceContext.binding; default: scope = scope.parent; } } } |
| |||
/** * Check and/or redirect the field access to the delegate receiver if any */ /** * Check and/or redirect the field access to the delegate receiver if any */ public TypeBinding getReceiverType(BlockScope currentScope) { Scope scope = currentScope.parent; while (true) { switch (scope.kind) { case Scope.CLASS_SCOPE: return ((ClassScope) scope).referenceContext.binding; default: scope = scope.parent; } } } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
None |