CloneSet2022


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
12201.000statement_sequence_member
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
1121603
plugins/org.eclipse.jdt.core/model/org/eclipse/jdt/core/CompletionProposal.java
2121619
plugins/org.eclipse.jdt.core/model/org/eclipse/jdt/core/CompletionProposal.java
Clone Instance
1
Line Count
12
Source Line
1603
Source File
plugins/org.eclipse.jdt.core/model/org/eclipse/jdt/core/CompletionProposal.java

                                        try {
                                                this.parameterNames = this.findMethodParameterNames(
                                                                this.declarationPackageName, 
                                                                this.declarationTypeName, 
                                                                this.name, 
                                                                Signature.getParameterTypes(this.originalSignature == null ? this.signature:  this.originalSignature));
                                        } catch (IllegalArgumentException e) {
                                                // protection for invalid signature
                                                if (this.parameterTypeNames != null) {
                                                        this.parameterNames =  this.createDefaultParameterNames(this.parameterTypeNames.length);
                                                }
                                                else   {
                                                        this.parameterNames = null;
                                                }
                                          }


Clone Instance
2
Line Count
12
Source Line
1619
Source File
plugins/org.eclipse.jdt.core/model/org/eclipse/jdt/core/CompletionProposal.java

                                        try {
                                                this.parameterNames = this.findMethodParameterNames(
                                                                this.declarationPackageName, 
                                                                this.declarationTypeName, 
                                                                this.name, 
                                                                Signature.getParameterTypes(this.originalSignature == null ? this.signature:  this.originalSignature));
                                        } catch (IllegalArgumentException e) {
                                                // protection for invalid signature
                                                if (this.parameterTypeNames != null) {
                                                        this.parameterNames =  this.createDefaultParameterNames(this.parameterTypeNames.length);
                                                }
                                                else   {
                                                        this.parameterNames = null;
                                                }
                                          }


Clone AbstractionParameter Count: 0Parameter Bindings

try {
  this.parameterNames = this.findMethodParameterNames(this.declarationPackageName, this.declarationTypeName, this.name, Signature.getParameterTypes(this.originalSignature == null ? this.signature: this.originalSignature));
}
catch (IllegalArgumentException e) {
  // protection for invalid signature
  if (this.parameterTypeNames != null) {
    this.parameterNames = this.createDefaultParameterNames(this.parameterTypeNames.length);
  }
  else {
    this.parameterNames = null;
  }
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
None