| Previous CloneSet | Next CloneSet | Back to Main Report |
| Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
|---|---|---|---|---|
| 12 | 2 | 2 | 0.990 | class_body_declaration |
| Clone Abstraction | Parameter Bindings |
| Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
|---|---|---|---|
| 1 | 12 | 4652 | plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/parser/Parser.java |
| 2 | 13 | 4665 | plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/parser/Parser.java |
| ||||
protected void consumePrimaryNoNewArrayNameSuper() {
// PrimaryNoNewArray ::= Name '.' 'super'
// handle type arguments
pushOnGenericsIdentifiersLengthStack(this.identifierLengthStack[this.identifierLengthPtr]);
pushOnGenericsLengthStack(0);
TypeReference typeReference = getTypeReference(0);
pushOnExpressionStack(
new QualifiedSuperReference(
typeReference,
this.intStack[this.intPtr-- ],
this.endPosition ));
}
|
| ||||
protected void consumePrimaryNoNewArrayNameThis() {
// PrimaryNoNewArray ::= Name '.' 'this'
// handle type arguments
pushOnGenericsIdentifiersLengthStack(this.identifierLengthStack[this.identifierLengthPtr]);
pushOnGenericsLengthStack(0); // handle type arguments
TypeReference typeReference = getTypeReference(0);
pushOnExpressionStack(
new QualifiedThisReference(
typeReference,
this.intStack[this.intPtr-- ],
this.endPosition ));
}
|
| |||
protected void [[#variableb421c980]]() {
// PrimaryNoNewArray ::= Name '.' 'super'
// PrimaryNoNewArray ::= Name '.' 'this'
// handle type arguments
pushOnGenericsIdentifiersLengthStack(this.identifierLengthStack[this.identifierLengthPtr]);
pushOnGenericsLengthStack(0); // handle type arguments
TypeReference typeReference = getTypeReference(0);
pushOnExpressionStack(new [[#variableb421c900]](typeReference, this.intStack[this.intPtr-- ], this.endPosition));
}
|
| CloneAbstraction |
| Parameter Index | Clone Instance | Parameter Name | Value |
|---|---|---|---|
| 1 | 1 | [[#b421c980]] | consumePrimaryNoNewArrayNameSuper |
| 1 | 2 | [[#b421c980]] | consumePrimaryNoNewArrayNameThis |
| 2 | 1 | [[#b421c900]] | QualifiedSuperReference |
| 2 | 2 | [[#b421c900]] | QualifiedThisReference |