CloneSet1131


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
8350.966statement_sequence_member
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
181008
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/lookup/BinaryTypeBinding.java
281018
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/lookup/BinaryTypeBinding.java
381028
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/lookup/BinaryTypeBinding.java
Clone Instance
1
Line Count
8
Source Line
1008
Source File
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/lookup/BinaryTypeBinding.java

        if (fields != null) {
                if (fields != Binding.NO_FIELDS) {
                        buffer.append("\n/*   fields   */"); //$NON-NLS-1$
                        for (int i = 0, length = fields.length; i < length; i++)
                                buffer.append((fields[i] != null) ? "\n" + fields[i].toString():  "\nNULL FIELD"); //$NON-NLS-1$ //$NON-NLS-2$
                }
        }
        else   {
                buffer.append("NULL FIELDS"); //$NON-NLS-1$
        }


Clone Instance
2
Line Count
8
Source Line
1018
Source File
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/lookup/BinaryTypeBinding.java

        if (methods != null) {
                if (methods != Binding.NO_METHODS) {
                        buffer.append("\n/*   methods   */"); //$NON-NLS-1$
                        for (int i = 0, length = methods.length; i < length; i++)
                                buffer.append((methods[i] != null) ? "\n" + methods[i].toString():  "\nNULL METHOD"); //$NON-NLS-1$ //$NON-NLS-2$
                }
        }
        else   {
                buffer.append("NULL METHODS"); //$NON-NLS-1$
        }


Clone Instance
3
Line Count
8
Source Line
1028
Source File
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/lookup/BinaryTypeBinding.java

        if (memberTypes != null) {
                if (memberTypes != Binding.NO_MEMBER_TYPES) {
                        buffer.append("\n/*   members   */"); //$NON-NLS-1$
                        for (int i = 0, length = memberTypes.length; i < length; i++)
                                buffer.append((memberTypes[i] != null) ? "\n" + memberTypes[i].toString():  "\nNULL TYPE"); //$NON-NLS-1$ //$NON-NLS-2$
                }
        }
        else   {
                buffer.append("NULL MEMBER TYPES"); //$NON-NLS-1$
        }


Clone AbstractionParameter Count: 5Parameter Bindings

if ( [[#variableb58158c0]]!= null) {
  if ( [[#variableb58158c0]]!= Binding. [[#variableb5815840]]) {
    buffer.append( [[#variableb58157c0]]); //$NON-NLS-1$
    for (int i = 0, length = [[#variableb58158c0]].length; i < length; i++)
      buffer.append(( [[#variableb58158c0]][i] != null) ? "\n" +  [[#variableb58158c0]][i].toString(): [[#variableb5815720]]); //$NON-NLS-1$ //$NON-NLS-2$
  }
}
else {
  buffer.append( [[#variableb58156a0]]); //$NON-NLS-1$
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#b58158c0]]
memberTypes 
12[[#b58158c0]]
methods 
13[[#b58158c0]]
fields 
21[[#b5815840]]
NO_MEMBER_TYPES 
22[[#b5815840]]
NO_METHODS 
23[[#b5815840]]
NO_FIELDS 
31[[#b58157c0]]
"\n/*   members   */" 
32[[#b58157c0]]
"\n/*   methods   */" 
33[[#b58157c0]]
"\n/*   fields   */" 
41[[#b5815720]]
"\nNULL TYPE" 
42[[#b5815720]]
"\nNULL METHOD" 
43[[#b5815720]]
"\nNULL FIELD" 
51[[#b58156a0]]
"NULL MEMBER TYPES" 
52[[#b58156a0]]
"NULL METHODS" 
53[[#b58156a0]]
"NULL FIELDS"