CloneSet2982


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
13210.991class_body_declaration
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
113893
plugins/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/compiler/DocumentElementParser.java
213911
plugins/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/compiler/DocumentElementParser.java
Clone Instance
1
Line Count
13
Source Line
893
Source File
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);
}


Clone Instance
2
Line Count
13
Source Line
911
Source File
plugins/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/compiler/DocumentElementParser.java

/*
*
* 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);
}


Clone AbstractionParameter Count: 1Parameter Bindings

/*
 *
 * 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 Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#93ae2140]]
consumePackageDeclarationName 
12[[#93ae2140]]
consumePackageDeclarationNameWithModifiers