Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
13 | 2 | 1 | 0.991 | class_body_declaration |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 13 | 893 | plugins/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/compiler/DocumentElementParser.java |
2 | 13 | 911 | plugins/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/compiler/DocumentElementParser.java |
| ||||
/* * * INTERNAL USE-ONLY */ protected void consumePackageDeclarationName() { /* persisting javadoc positions */ pushOnIntArrayStack(this.getJavaDocPositions()); super.consumePackageDeclarationName(); ImportReference importReference = compilationUnit.currentPackage; requestor.acceptPackage( importReference.declarationSourceStart, importReference.declarationSourceEnd, intArrayStack[intArrayPtr-- ], CharOperation.concatWith(importReference.getImportName(), '.'), importReference.sourceStart); } |
| ||||
/* * * INTERNAL USE-ONLY */ protected void consumePackageDeclarationNameWithModifiers() { /* persisting javadoc positions */ pushOnIntArrayStack(this.getJavaDocPositions()); super.consumePackageDeclarationNameWithModifiers(); ImportReference importReference = compilationUnit.currentPackage; requestor.acceptPackage( importReference.declarationSourceStart, importReference.declarationSourceEnd, intArrayStack[intArrayPtr-- ], CharOperation.concatWith(importReference.getImportName(), '.'), importReference.sourceStart); } |
| |||
/* * * INTERNAL USE-ONLY */ /* * * INTERNAL USE-ONLY */ protected void [[#variable93ae2140]]() { /* persisting javadoc positions */ pushOnIntArrayStack(this.getJavaDocPositions()); super. [[#variable93ae2140]](); ImportReference importReference = compilationUnit.currentPackage; requestor.acceptPackage(importReference.declarationSourceStart, importReference.declarationSourceEnd, intArrayStack[intArrayPtr-- ], CharOperation.concatWith(importReference.getImportName(), '.'), importReference.sourceStart); } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#93ae2140]] | consumePackageDeclarationName |
1 | 2 | [[#93ae2140]] | consumePackageDeclarationNameWithModifiers |