| Previous CloneSet | Next CloneSet | Back to Main Report |
| Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
|---|---|---|---|---|
| 8 | 2 | 1 | 0.981 | class_body_declaration |
| Clone Abstraction | Parameter Bindings |
| Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
|---|---|---|---|
| 1 | 8 | 746 | plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/lookup/MethodBinding.java |
| 2 | 8 | 769 | plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/lookup/MethodBinding.java |
| ||||
public final int sourceEnd() {
AbstractMethodDeclaration method = sourceMethod();
if (method == null) {
if (this.declaringClass instanceof SourceTypeBinding)
return ((SourceTypeBinding) this.declaringClass).sourceEnd();
return 0;
}
return method.sourceEnd;
}
|
| ||||
public final int sourceStart() {
AbstractMethodDeclaration method = sourceMethod();
if (method == null) {
if (this.declaringClass instanceof SourceTypeBinding)
return ((SourceTypeBinding) this.declaringClass).sourceStart();
return 0;
}
return method.sourceStart;
}
|
| |||
public final int [[#variable99464da0]]() {
AbstractMethodDeclaration method = sourceMethod();
if (method == null) {
if (this.declaringClass instanceof SourceTypeBinding)
return ((SourceTypeBinding) this.declaringClass). [[#variable99464da0]]();
return 0;
}
return method. [[#variable99464da0]];
}
|
| CloneAbstraction |
| Parameter Index | Clone Instance | Parameter Name | Value |
|---|---|---|---|
| 1 | 1 | [[#99464da0]] | sourceEnd |
| 1 | 2 | [[#99464da0]] | sourceStart |