Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
8 | 2 | 2 | 0.970 | class_body_declaration |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 8 | 362 | plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/lookup/Scope.java |
2 | 8 | 2892 | plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/lookup/Scope.java |
| ||||
public final ClassScope classScope() { Scope scope = this ; do { if (scope instanceof ClassScope) return (ClassScope) scope; scope = scope.parent; } while ( scope != null); return null; } |
| ||||
public final MethodScope methodScope() { Scope scope = this ; do { if (scope instanceof MethodScope) return (MethodScope) scope; scope = scope.parent; } while ( scope != null); return null; } |
| |||
public final [[#variableb11c02e0]] [[#variableb11c0260]]() { Scope scope = this ; do { if (scope instanceof [[#variableb11c02e0]]) return ( [[#variableb11c02e0]]) scope; scope = scope.parent; } while (scope != null); return null; } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#b11c02e0]] | ClassScope |
1 | 2 | [[#b11c02e0]] | MethodScope |
2 | 1 | [[#b11c0260]] | classScope |
2 | 2 | [[#b11c0260]] | methodScope |