CloneSet2364


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
12201.000statement_sequence[9]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
112209
plugins/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/compiler/DocumentElementParser.java
212667
plugins/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/compiler/DocumentElementParser.java
Clone Instance
1
Line Count
12
Source Line
209
Source File
plugins/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/compiler/DocumentElementParser.java

        //highlight the name of the type
        long pos = identifierPositionStack[identifierPtr];
        typeDecl.sourceEnd = (int) pos;
        typeDecl.sourceStart = (int) (pos >>> 32);
        typeDecl.name = identifierStack[identifierPtr-- ];
        identifierLengthPtr--;

        //compute the declaration source too
        // 'class' and 'interface' push an int position
        typeStartPosition = typeDecl.declarationSourceStart = intStack[intPtr-- ];
        intPtr--;
        int declSourceStart = intStack[intPtr-- ];
        typeDecl.modifiersSourceStart = intStack[intPtr-- ];


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

        //highlight the name of the type
        long pos = identifierPositionStack[identifierPtr];
        typeDecl.sourceEnd = (int) pos;
        typeDecl.sourceStart = (int) (pos >>> 32);
        typeDecl.name = identifierStack[identifierPtr-- ];
        identifierLengthPtr--;

        //compute the declaration source too
        // 'class' and 'interface' push an int position
        typeStartPosition = typeDecl.declarationSourceStart = intStack[intPtr-- ];
        intPtr--;
        int declSourceStart = intStack[intPtr-- ];
        typeDecl.modifiersSourceStart = intStack[intPtr-- ];


Clone AbstractionParameter Count: 0Parameter Bindings

//highlight the name of the type
long pos = identifierPositionStack[identifierPtr];
typeDecl.sourceEnd = (int) pos;
typeDecl.sourceStart = (int) (pos >>> 32);
typeDecl.name = identifierStack[identifierPtr-- ];
identifierLengthPtr--;
//compute the declaration source too
// 'class' and 'interface' push an int position
typeStartPosition = typeDecl.declarationSourceStart = intStack[intPtr-- ];
intPtr--;
int declSourceStart = intStack[intPtr-- ];
typeDecl.modifiersSourceStart = intStack[intPtr-- ];
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
None