CloneSet3440


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
8201.000statement_sequence[4]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
163077
plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/ASTConverter.java
283121
plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/ASTConverter.java
Clone Instance
1
Line Count
6
Source Line
3077
Source File
plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/ASTConverter.java

                                simpleName.internalSetIdentifier(new String(name));
                                int end = retrieveEndOfElementTypeNamePosition(sourceStart, sourceStart + length);
                                if (end == -1) {
                                        end = sourceStart + length - 1;
                                }
                                simpleName.setSourceRange(sourceStart, end - sourceStart + 1);


Clone Instance
2
Line Count
8
Source Line
3121
Source File
plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/ASTConverter.java

                                simpleName.internalSetIdentifier(new String(name));
                                // we need to search for the starting position of the first brace in order to set the proper length
                                // PR http://dev.eclipse.org/bugs/show_bug.cgi?id=10759
                                int end = retrieveEndOfElementTypeNamePosition(sourceStart, sourceStart + length);
                                if (end == -1) {
                                        end = sourceStart + length - 1;
                                }
                                simpleName.setSourceRange(sourceStart, end - sourceStart + 1);


Clone AbstractionParameter Count: 0Parameter Bindings

simpleName.internalSetIdentifier(new String(name));
// we need to search for the starting position of the first brace in order to set the proper length
// PR http://dev.eclipse.org/bugs/show_bug.cgi?id=10759
int end = retrieveEndOfElementTypeNamePosition(sourceStart, sourceStart + length);
if (end == -1) {
  end = sourceStart + length - 1;
}
simpleName.setSourceRange(sourceStart, end - sourceStart + 1);
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
None