CloneSet7056


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
2230.962statement_sequence_member
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
12164
plugins/org.eclipse.jdt.core/search/org/eclipse/jdt/internal/core/search/matching/ConstructorLocator.java
22137
plugins/org.eclipse.jdt.core/search/org/eclipse/jdt/internal/core/search/matching/MethodLocator.java
Clone Instance
1
Line Count
2
Source Line
164
Source File
plugins/org.eclipse.jdt.core/search/org/eclipse/jdt/internal/core/search/matching/ConstructorLocator.java

        // Verify type arguments (do not reject if pattern has no argument as it can be an erasure match)
        if (this.pattern.hasConstructorArguments()) {
                if (constructor.typeParameters == null || constructor.typeParameters.length != this.pattern.constructorArguments.length) return IMPOSSIBLE_MATCH;
        }


Clone Instance
2
Line Count
2
Source Line
137
Source File
plugins/org.eclipse.jdt.core/search/org/eclipse/jdt/internal/core/search/matching/MethodLocator.java

        // Verify type arguments (do not reject if pattern has no argument as it can be an erasure match)
        if (this.pattern.hasMethodArguments()) {
                if (node.typeParameters == null || node.typeParameters.length != this.pattern.methodArguments.length) return IMPOSSIBLE_MATCH;
        }


Clone AbstractionParameter Count: 3Parameter Bindings

// Verify type arguments (do not reject if pattern has no argument as it can be an erasure match)
if (this.pattern. [[#variable55b50560]]()) {
  if ( [[#variable55b504e0]].typeParameters == null || [[#variable55b504e0]].typeParameters.length != this.pattern. [[#variable55b50460]].length)
    return IMPOSSIBLE_MATCH;
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#55b50560]]
hasMethodArguments 
12[[#55b50560]]
hasConstructorArguments 
21[[#55b504e0]]
node 
22[[#55b504e0]]
constructor 
31[[#55b50460]]
methodArguments 
32[[#55b50460]]
constructorArguments