CloneSet2689


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
5201.000statement_sequence[4]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
151226
plugins/org.eclipse.jdt.core/search/org/eclipse/jdt/core/search/SearchPattern.java
251377
plugins/org.eclipse.jdt.core/search/org/eclipse/jdt/core/search/SearchPattern.java
Clone Instance
1
Line Count
5
Source Line
1226
Source File
plugins/org.eclipse.jdt.core/search/org/eclipse/jdt/core/search/SearchPattern.java

                                declaringSimpleName = declaringClass.getElementName().toCharArray();
                                declaringQualification = declaringClass.getPackageFragment().getElementName().toCharArray();
                                char[][] enclosingNames = enclosingTypeNames(declaringClass);
                                if (enclosingNames.length > 0) {
                                        declaringQualification = CharOperation.concat(declaringQualification, CharOperation.concatWith(enclosingNames, '.'), '.');
                                }


Clone Instance
2
Line Count
5
Source Line
1377
Source File
plugins/org.eclipse.jdt.core/search/org/eclipse/jdt/core/search/SearchPattern.java

                                declaringSimpleName = declaringClass.getElementName().toCharArray();
                                declaringQualification = declaringClass.getPackageFragment().getElementName().toCharArray();
                                char[][] enclosingNames = enclosingTypeNames(declaringClass);
                                if (enclosingNames.length > 0) {
                                        declaringQualification = CharOperation.concat(declaringQualification, CharOperation.concatWith(enclosingNames, '.'), '.');
                                }


Clone AbstractionParameter Count: 0Parameter Bindings

declaringSimpleName = declaringClass.getElementName().toCharArray();
declaringQualification = declaringClass.getPackageFragment().getElementName().toCharArray();
char[][] enclosingNames = enclosingTypeNames(declaringClass);
if (enclosingNames.length > 0) {
  declaringQualification = CharOperation.concat(declaringQualification, CharOperation.concatWith(enclosingNames, '.'), '.');
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
None