Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
6 | 2 | 2 | 0.969 | class_body_declaration |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 6 | 611 | plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/lookup/Scope.java |
2 | 6 | 619 | plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/lookup/Scope.java |
| ||||
public final ClassScope enclosingClassScope() { Scope scope = this ; while ((scope = scope.parent) != null) { if (scope instanceof ClassScope) return (ClassScope) scope; } return null; // may answer null if no type around } |
| ||||
public final MethodScope enclosingMethodScope() { Scope scope = this ; while ((scope = scope.parent) != null) { if (scope instanceof MethodScope) return (MethodScope) scope; } return null; // may answer null if no method around } |
| |||
public final [[#variablea08a84e0]] [[#variablea08a8440]]() { Scope scope = this ; while ((scope = scope.parent) != null) { if (scope instanceof [[#variablea08a84e0]]) return ( [[#variablea08a84e0]]) scope; } return null; // may answer null if no type around // may answer null if no method around } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#a08a84e0]] | ClassScope |
1 | 2 | [[#a08a84e0]] | MethodScope |
2 | 1 | [[#a08a8440]] | enclosingClassScope |
2 | 2 | [[#a08a8440]] | enclosingMethodScope |