CloneSet1449


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
14210.994statement_sequence[5]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
114619
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/lookup/MethodBinding.java
214662
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/lookup/MethodBinding.java
Clone Instance
1
Line Count
14
Source Line
619
Source File
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/lookup/MethodBinding.java

        StringBuffer buffer = new StringBuffer(parameters.length + 1 * 20);
        if (isConstructor())
                buffer.append(declaringClass.sourceName());
        else
                buffer.append(selector);
        buffer.append('(');
        if (parameters != Binding.NO_PARAMETERS) {
                for (int i = 0, length = parameters.length; i < length; i++) {
                        if (i > 0)
                                buffer.append(", "); //$NON-NLS-1$
                        buffer.append(parameters[i].sourceName());
                }
        }
        buffer.append(')');


Clone Instance
2
Line Count
14
Source Line
662
Source File
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/lookup/MethodBinding.java

        StringBuffer buffer = new StringBuffer(parameters.length + 1 * 20);
        if (isConstructor())
                buffer.append(declaringClass.shortReadableName());
        else
                buffer.append(selector);
        buffer.append('(');
        if (parameters != Binding.NO_PARAMETERS) {
                for (int i = 0, length = parameters.length; i < length; i++) {
                        if (i > 0)
                                buffer.append(", "); //$NON-NLS-1$
                        buffer.append(parameters[i].shortReadableName());
                }
        }
        buffer.append(')');


Clone AbstractionParameter Count: 1Parameter Bindings

StringBuffer buffer = new StringBuffer(parameters.length + 1 * 20);
if (isConstructor())
  buffer.append(declaringClass. [[#variable7c34b060]]());
else
  buffer.append(selector);
buffer.append('(');
if (parameters != Binding.NO_PARAMETERS) {
  for (int i = 0, length = parameters.length; i < length; i++) {
    if (i > 0)
      buffer.append(", "); //$NON-NLS-1$
    buffer.append(parameters[i]. [[#variable7c34b060]]());
  }
}
buffer.append(')');
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#7c34b060]]
sourceName 
12[[#7c34b060]]
shortReadableName