CloneSet789


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
16430.984class_body_declaration
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
116954
plugins/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/compiler/DocumentElementParser.java
216975
plugins/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/compiler/DocumentElementParser.java
316992
plugins/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/compiler/DocumentElementParser.java
4161043
plugins/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/compiler/DocumentElementParser.java
Clone Instance
1
Line Count
16
Source Line
954
Source File
plugins/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/compiler/DocumentElementParser.java

protected void consumeSingleStaticImportDeclarationName() {
        // SingleTypeImportDeclarationName ::= 'import' 'static' Name

        /* persisting javadoc positions */
        pushOnIntArrayStack(this.getJavaDocPositions());

        super.consumeSingleStaticImportDeclarationName();
        ImportReference importReference = (ImportReference) astStack[astPtr];
        requestor.acceptImport(
                importReference.declarationSourceStart, 
                importReference.declarationSourceEnd, 
                intArrayStack[intArrayPtr-- ], 
                CharOperation.concatWith(importReference.getImportName(), '.'), 
                importReference.sourceStart, 
                false, 
                ClassFileConstants.AccStatic);
}


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

/*
 *
 * INTERNAL USE-ONLY
 */
protected void consumeSingleTypeImportDeclarationName() {
        // SingleTypeImportDeclarationName ::= 'import' Name

        /* persisting javadoc positions */
        pushOnIntArrayStack(this.getJavaDocPositions());

        super.consumeSingleTypeImportDeclarationName();
        ImportReference importReference = (ImportReference) astStack[astPtr];
        requestor.acceptImport(
                importReference.declarationSourceStart, 
                importReference.declarationSourceEnd, 
                intArrayStack[intArrayPtr-- ], 
                CharOperation.concatWith(importReference.getImportName(), '.'), 
                importReference.sourceStart, 
                false, 
                ClassFileConstants.AccDefault);
}


Clone Instance
3
Line Count
16
Source Line
992
Source File
plugins/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/compiler/DocumentElementParser.java

protected void consumeStaticImportOnDemandDeclarationName() {
        // SingleTypeImportDeclarationName ::= 'import' 'static' Name '.' '*'

        /* persisting javadoc positions */
        pushOnIntArrayStack(this.getJavaDocPositions());

        super.consumeStaticImportOnDemandDeclarationName();
        ImportReference importReference = (ImportReference) astStack[astPtr];
        requestor.acceptImport(
                importReference.declarationSourceStart, 
                importReference.declarationSourceEnd, 
                intArrayStack[intArrayPtr-- ], 
                CharOperation.concatWith(importReference.getImportName(), '.'), 
                importReference.sourceStart, 
                true, 
                ClassFileConstants.AccStatic);
}


Clone Instance
4
Line Count
16
Source Line
1043
Source File
plugins/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/compiler/DocumentElementParser.java

/*
 *
 * INTERNAL USE-ONLY
 */
protected void consumeTypeImportOnDemandDeclarationName() {
        // TypeImportOnDemandDeclarationName ::= 'import' Name '.' '*'

        /* persisting javadoc positions */
        pushOnIntArrayStack(this.getJavaDocPositions());

        super.consumeTypeImportOnDemandDeclarationName();
        ImportReference importReference = (ImportReference) astStack[astPtr];
        requestor.acceptImport(
                importReference.declarationSourceStart, 
                importReference.declarationSourceEnd, 
                intArrayStack[intArrayPtr-- ], 
                CharOperation.concatWith(importReference.getImportName(), '.'), 
                importReference.sourceStart, 
                true, 
                ClassFileConstants.AccDefault);
}


Clone AbstractionParameter Count: 3Parameter Bindings

/*
 *
 * INTERNAL USE-ONLY
 */
protected void [[#variable564bab80]]() {
  // SingleTypeImportDeclarationName ::= 'import' 'static' Name
  // SingleTypeImportDeclarationName ::= 'import' Name
  // SingleTypeImportDeclarationName ::= 'import' 'static' Name '.' '*'
  // TypeImportOnDemandDeclarationName ::= 'import' Name '.' '*'
  /* persisting javadoc positions */
  pushOnIntArrayStack(this.getJavaDocPositions());
  super. [[#variable564bab80]]();
  ImportReference importReference = (ImportReference) astStack[astPtr];
  requestor.acceptImport(importReference.declarationSourceStart, importReference.declarationSourceEnd, intArrayStack[intArrayPtr-- ], CharOperation.concatWith(importReference.getImportName(), '.'), importReference.sourceStart,  [[#variable564baae0]], ClassFileConstants. [[#variable564ba9e0]]);
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#564bab80]]
consumeSingleStaticImportDeclarationName 
12[[#564bab80]]
consumeSingleTypeImportDeclarationName 
13[[#564bab80]]
consumeStaticImportOnDemandDeclarationName 
14[[#564bab80]]
consumeTypeImportOnDemandDeclarationName 
21[[#564baae0]]
false 
22[[#564baae0]]
false 
23[[#564baae0]]
true 
24[[#564baae0]]
true 
31[[#564ba9e0]]
AccStatic 
32[[#564ba9e0]]
AccDefault 
33[[#564ba9e0]]
AccStatic 
34[[#564ba9e0]]
AccDefault