CloneSet563


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
12301.000statement_sequence[8]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
112973
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/lookup/BinaryTypeBinding.java
212982
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/lookup/ParameterizedTypeBinding.java
3121543
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/lookup/SourceTypeBinding.java
Clone Instance
1
Line Count
12
Source Line
973
Source File
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/lookup/BinaryTypeBinding.java

        if (isDeprecated()) buffer.append("deprecated "); //$NON-NLS-1$
        if (isPublic()) buffer.append("public "); //$NON-NLS-1$
        if (isProtected()) buffer.append("protected "); //$NON-NLS-1$
        if (isPrivate()) buffer.append("private "); //$NON-NLS-1$
        if (isAbstract() && isClass()) buffer.append("abstract "); //$NON-NLS-1$
        if (isStatic() && isNestedType()) buffer.append("static "); //$NON-NLS-1$
        if (isFinal()) buffer.append("final "); //$NON-NLS-1$

        if (isEnum()) buffer.append("enum "); //$NON-NLS-1$
        else if (isAnnotationType()) buffer.append("@interface "); //$NON-NLS-1$
             else
             if (isClass()) buffer.append("class "); //$NON-NLS-1$
             else
             buffer.append("interface "); //$NON-NLS-1$ 


Clone Instance
2
Line Count
12
Source Line
982
Source File
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/lookup/ParameterizedTypeBinding.java

                if (isDeprecated()) buffer.append("deprecated "); //$NON-NLS-1$
                if (isPublic()) buffer.append("public "); //$NON-NLS-1$
                if (isProtected()) buffer.append("protected "); //$NON-NLS-1$
                if (isPrivate()) buffer.append("private "); //$NON-NLS-1$
                if (isAbstract() && isClass()) buffer.append("abstract "); //$NON-NLS-1$
                if (isStatic() && isNestedType()) buffer.append("static "); //$NON-NLS-1$
                if (isFinal()) buffer.append("final "); //$NON-NLS-1$

                if (isEnum()) buffer.append("enum "); //$NON-NLS-1$
                else if (isAnnotationType()) buffer.append("@interface "); //$NON-NLS-1$
                     else
                     if (isClass()) buffer.append("class "); //$NON-NLS-1$
                     else
                     buffer.append("interface "); //$NON-NLS-1$


Clone Instance
3
Line Count
12
Source Line
1543
Source File
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/lookup/SourceTypeBinding.java

        if (isDeprecated()) buffer.append("deprecated "); //$NON-NLS-1$
        if (isPublic()) buffer.append("public "); //$NON-NLS-1$
        if (isProtected()) buffer.append("protected "); //$NON-NLS-1$
        if (isPrivate()) buffer.append("private "); //$NON-NLS-1$
        if (isAbstract() && isClass()) buffer.append("abstract "); //$NON-NLS-1$
        if (isStatic() && isNestedType()) buffer.append("static "); //$NON-NLS-1$
        if (isFinal()) buffer.append("final "); //$NON-NLS-1$

        if (isEnum()) buffer.append("enum "); //$NON-NLS-1$
        else if (isAnnotationType()) buffer.append("@interface "); //$NON-NLS-1$
             else
             if (isClass()) buffer.append("class "); //$NON-NLS-1$
             else
             buffer.append("interface "); //$NON-NLS-1$


Clone AbstractionParameter Count: 0Parameter Bindings

if (isDeprecated())
  buffer.append("deprecated "); //$NON-NLS-1$
if (isPublic())
  buffer.append("public "); //$NON-NLS-1$
if (isProtected())
  buffer.append("protected "); //$NON-NLS-1$
if (isPrivate())
  buffer.append("private "); //$NON-NLS-1$
if (isAbstract() && isClass())
  buffer.append("abstract "); //$NON-NLS-1$
if (isStatic() && isNestedType())
  buffer.append("static "); //$NON-NLS-1$
if (isFinal())
  buffer.append("final "); //$NON-NLS-1$
if (isEnum())
  buffer.append("enum "); //$NON-NLS-1$
else
  if (isAnnotationType())
    buffer.append("@interface "); //$NON-NLS-1$
  else
    if (isClass())
      buffer.append("class "); //$NON-NLS-1$
    else
      buffer.append("interface "); //$NON-NLS-1$ //$NON-NLS-1$   
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
None