CloneSet7723


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
5220.979class_body_declarations[2]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
1642
plugins/org.eclipse.jdt.core/search/org/eclipse/jdt/internal/core/search/matching/PackageReferencePattern.java
2578
plugins/org.eclipse.jdt.core/search/org/eclipse/jdt/internal/core/search/matching/TypeReferencePattern.java
Clone Instance
1
Line Count
6
Source Line
42
Source File
plugins/org.eclipse.jdt.core/search/org/eclipse/jdt/internal/core/search/matching/PackageReferencePattern.java

public void decodeIndexKey(char[] key) {
        // Package reference keys are encoded as 'name' (where 'name' is the last segment of the package name)
        this.pkgName = key;
}

public SearchPattern getBlankPattern() {
        return new PackageReferencePattern(R_EXACT_MATCH|  R_CASE_SENSITIVE);
}


Clone Instance
2
Line Count
5
Source Line
78
Source File
plugins/org.eclipse.jdt.core/search/org/eclipse/jdt/internal/core/search/matching/TypeReferencePattern.java

        public void decodeIndexKey(char[] key) {
                this.simpleName = key;
        }

        public SearchPattern getBlankPattern() {
                return new TypeReferencePattern(R_EXACT_MATCH|  R_CASE_SENSITIVE);
        }


Clone AbstractionParameter Count: 2Parameter Bindings

public void decodeIndexKey(char[] key) {
  // Package reference keys are encoded as 'name' (where 'name' is the last segment of the package name)
  this. [[#variable5b1fd7e0]]= key;
}

public SearchPattern getBlankPattern() {
  return new [[#variable5b1fd780]](R_EXACT_MATCH|R_CASE_SENSITIVE);
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#5b1fd7e0]]
simpleName 
12[[#5b1fd7e0]]
pkgName 
21[[#5b1fd780]]
TypeReferencePattern 
22[[#5b1fd780]]
PackageReferencePattern