CloneSet3646


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
5220.978class_body_declaration
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
15248
plugins/org.eclipse.jdt.core/search/org/eclipse/jdt/internal/core/search/matching/ConstructorPattern.java
25281
plugins/org.eclipse.jdt.core/search/org/eclipse/jdt/internal/core/search/matching/MethodPattern.java
Clone Instance
1
Line Count
5
Source Line
248
Source File
plugins/org.eclipse.jdt.core/search/org/eclipse/jdt/internal/core/search/matching/ConstructorPattern.java

public boolean matchesDecodedKey(SearchPattern decodedPattern) {
        ConstructorPattern pattern = (ConstructorPattern) decodedPattern;

        return (this.parameterCount == pattern.parameterCount || this.parameterCount == -1 || this.varargs) &&
                   matchesName(this.declaringSimpleName, pattern.declaringSimpleName);
}


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

public boolean matchesDecodedKey(SearchPattern decodedPattern) {
        MethodPattern pattern = (MethodPattern) decodedPattern;

        return (this.parameterCount == pattern.parameterCount || this.parameterCount == -1 || this.varargs) &&
                   matchesName(this.selector, pattern.selector);
}


Clone AbstractionParameter Count: 2Parameter Bindings

public boolean matchesDecodedKey(SearchPattern decodedPattern) {
   [[#variable594b9480]] pattern = ( [[#variable594b9480]]) decodedPattern;
  return (this.parameterCount == pattern.parameterCount || this.parameterCount == -1 || this.varargs) && matchesName(this. [[#variable594b9400]], pattern. [[#variable594b9400]]);
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#594b9480]]
MethodPattern 
12[[#594b9480]]
ConstructorPattern 
21[[#594b9400]]
selector 
22[[#594b9400]]
declaringSimpleName