CloneSet2149


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
6230.966statement_sequence[3]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
161035
plugins/org.eclipse.jdt.core/search/org/eclipse/jdt/internal/core/search/BasicSearchEngine.java
261056
plugins/org.eclipse.jdt.core/search/org/eclipse/jdt/internal/core/search/BasicSearchEngine.java
Clone Instance
1
Line Count
6
Source Line
1035
Source File
plugins/org.eclipse.jdt.core/search/org/eclipse/jdt/internal/core/search/BasicSearchEngine.java

                                                                        SearchPattern decodedPattern =
                                                                                new QualifiedTypeDeclarationPattern(packageDeclaration, typeDeclaration.name, convertTypeKind(TypeDeclaration.kind(typeDeclaration.modifiers)), matchRule);
                                                                        if (pattern.matchesDecodedKey(decodedPattern)) {
                                                                                nameRequestor.acceptType(typeDeclaration.modifiers, packageDeclaration, typeDeclaration.name, CharOperation.NO_CHAR_CHAR, path, null);
                                                                        }
                                                                        return true;


Clone Instance
2
Line Count
6
Source Line
1056
Source File
plugins/org.eclipse.jdt.core/search/org/eclipse/jdt/internal/core/search/BasicSearchEngine.java

                                                                        SearchPattern decodedPattern =
                                                                                new QualifiedTypeDeclarationPattern(qualification, memberTypeDeclaration.name, convertTypeKind(TypeDeclaration.kind(memberTypeDeclaration.modifiers)), matchRule);
                                                                        if (pattern.matchesDecodedKey(decodedPattern)) {
                                                                                nameRequestor.acceptType(memberTypeDeclaration.modifiers, packageDeclaration, memberTypeDeclaration.name, enclosingTypeNames, path, null);
                                                                        }
                                                                        return true;


Clone AbstractionParameter Count: 3Parameter Bindings

SearchPattern decodedPattern = new QualifiedTypeDeclarationPattern( [[#variable9d9923c0]],  [[#variablea432a520]].name, convertTypeKind(TypeDeclaration.kind( [[#variablea432a520]].modifiers)), matchRule);
if (pattern.matchesDecodedKey(decodedPattern)) {
  nameRequestor.acceptType( [[#variablea432a520]].modifiers, packageDeclaration,  [[#variablea432a520]].name,  [[#variablea432a4a0]], path, null);
}
return true;
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#9d9923c0]]
packageDeclaration 
12[[#9d9923c0]]
qualification 
21[[#a432a520]]
typeDeclaration 
22[[#a432a520]]
memberTypeDeclaration 
31[[#a432a4a0]]
CharOperation.NO_CHAR_CHAR 
32[[#a432a4a0]]
enclosingTypeNames