Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
9 | 2 | 2 | 0.972 | class_body_declaration |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 9 | 115 | plugins/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/compiler/DocumentElementParser.java |
2 | 9 | 594 | plugins/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/compiler/DocumentElementParser.java |
| ||||
/* * * INTERNAL USE-ONLY */ protected void consumeClassDeclaration() { super.consumeClassDeclaration(); // we know that we have a TypeDeclaration on the top of the astStack if (isLocalDeclaration()) { // we ignore the local variable declarations return; } requestor.exitClass(endStatementPosition, // '}' is the end of the body ((TypeDeclaration) astStack[astPtr]).declarationSourceEnd); } |
| ||||
/* * * INTERNAL USE-ONLY */ protected void consumeInterfaceDeclaration() { super.consumeInterfaceDeclaration(); // we know that we have a TypeDeclaration on the top of the astStack if (isLocalDeclaration()) { // we ignore the local variable declarations return; } requestor.exitInterface(endStatementPosition, // the '}' is the end of the body ((TypeDeclaration) astStack[astPtr]).declarationSourceEnd); } |
| |||
/* * * INTERNAL USE-ONLY */ protected void [[#variable64691f00]]() { super. [[#variable64691f00]](); // we know that we have a TypeDeclaration on the top of the astStack if (isLocalDeclaration()) { // we ignore the local variable declarations return; } requestor. [[#variable64691e40]](endStatementPosition, // '}' is the end of the body // the '}' is the end of the body ((TypeDeclaration) astStack[astPtr]).declarationSourceEnd); } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#64691f00]] | consumeClassDeclaration |
1 | 2 | [[#64691f00]] | consumeInterfaceDeclaration |
2 | 1 | [[#64691e40]] | exitClass |
2 | 2 | [[#64691e40]] | exitInterface |