CloneSet884


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
11260.953switch_group
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
111194
plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/BindingComparator.java
211245
plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/BindingComparator.java
Clone Instance
1
Line Count
11
Source Line
194
Source File
plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/BindingComparator.java

                        case Binding.PARAMETERIZED_TYPE:
                                if ( !typeBinding2.isParameterizedType()) {
                                        return false;
                                }
                                ParameterizedTypeBinding parameterizedTypeBinding = (ParameterizedTypeBinding) typeBinding;
                                ParameterizedTypeBinding parameterizedTypeBinding2 = (ParameterizedTypeBinding) typeBinding2;
                                return CharOperation.equals(parameterizedTypeBinding.compoundName, parameterizedTypeBinding2.compoundName) &&
                                           (parameterizedTypeBinding.modifiers&  (ExtraCompilerModifiers.AccJustFlag|  ClassFileConstants.AccInterface|  ClassFileConstants.AccEnum|  ClassFileConstants.AccAnnotation)) ==
                                                           (parameterizedTypeBinding2.modifiers&  (ExtraCompilerModifiers.AccJustFlag|  ClassFileConstants.AccInterface|  ClassFileConstants.AccEnum|  ClassFileConstants.AccAnnotation)) &&
                                           isEqual(parameterizedTypeBinding.arguments, parameterizedTypeBinding2.arguments, visitedTypes) &&
                                           isEqual(parameterizedTypeBinding.enclosingType(), parameterizedTypeBinding2.enclosingType(), visitedTypes);


Clone Instance
2
Line Count
11
Source Line
245
Source File
plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/BindingComparator.java

                        case Binding.GENERIC_TYPE:
                                if ( !typeBinding2.isGenericType()) {
                                        return false;
                                }
                                ReferenceBinding referenceBinding = (ReferenceBinding) typeBinding;
                                ReferenceBinding referenceBinding2 = (ReferenceBinding) typeBinding2;
                                return CharOperation.equals(referenceBinding.compoundName, referenceBinding2.compoundName) &&
                                           (referenceBinding.modifiers&  (ExtraCompilerModifiers.AccJustFlag|  ClassFileConstants.AccInterface|  ClassFileConstants.AccEnum|  ClassFileConstants.AccAnnotation)) ==
                                                           (referenceBinding2.modifiers&  (ExtraCompilerModifiers.AccJustFlag|  ClassFileConstants.AccInterface|  ClassFileConstants.AccEnum|  ClassFileConstants.AccAnnotation)) &&
                                           isEqual(referenceBinding.typeVariables(), referenceBinding2.typeVariables(), visitedTypes) &&
                                           isEqual(referenceBinding.enclosingType(), referenceBinding2.enclosingType(), visitedTypes);


Clone AbstractionParameter Count: 6Parameter Bindings

case Binding. [[#variableb95cc2e0]]:
  if ( !typeBinding2. [[#variableb95cc220]]()) {
    return false;
  }
   [[#variableb95cc1c0]]  [[#variableb95cc160]]= ( [[#variableb95cc1c0]]) typeBinding;
   [[#variableb95cc1c0]]  [[#variableb95cc100]]= ( [[#variableb95cc1c0]]) typeBinding2;
  return CharOperation.equals( [[#variableb95cc160]].compoundName,  [[#variableb95cc100]].compoundName) && ( [[#variableb95cc160]].modifiers&(ExtraCompilerModifiers.AccJustFlag|ClassFileConstants.AccInterface|ClassFileConstants.AccEnum|ClassFileConstants.AccAnnotation)) == ( [[#variableb95cc100]].modifiers&(ExtraCompilerModifiers.AccJustFlag|ClassFileConstants.AccInterface|ClassFileConstants.AccEnum|ClassFileConstants.AccAnnotation)) && isEqual( [[#variableb95cc160]] [[#variableb95cc040]],  [[#variableb95cc100]] [[#variableb95cc040]], visitedTypes) && isEqual( [[#variableb95cc160]].enclosingType(),  [[#variableb95cc100]].enclosingType(), visitedTypes);
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#b95cc2e0]]
PARAMETERIZED_TYPE 
12[[#b95cc2e0]]
GENERIC_TYPE 
21[[#b95cc220]]
isParameterizedType 
22[[#b95cc220]]
isGenericType 
31[[#b95cc1c0]]
ParameterizedTypeBinding 
32[[#b95cc1c0]]
ReferenceBinding 
41[[#b95cc160]]
parameterizedTypeBinding 
42[[#b95cc160]]
referenceBinding 
51[[#b95cc100]]
parameterizedTypeBinding2 
52[[#b95cc100]]
referenceBinding2 
61[[#b95cc040]]
.arguments 
62[[#b95cc040]]
.typeVariables()