CloneSet2485


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
7330.969statement_sequence[4]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
17114
plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/AnnotationBinding.java
2795
plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/DefaultValuePairBinding.java
37138
plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/MemberValuePairBinding.java
Clone Instance
1
Line Count
7
Source Line
114
Source File
plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/AnnotationBinding.java

                if (this == binding)
                        return true;
                if (binding.getKind() != IBinding.ANNOTATION)
                        return false;
                IAnnotationBinding other = (IAnnotationBinding) binding;
                if ( !getAnnotationType().isEqualTo(other.getAnnotationType()))
                        return false;


Clone Instance
2
Line Count
7
Source Line
95
Source File
plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/DefaultValuePairBinding.java

                if (this == binding)
                        return true;
                if (binding.getKind() != IBinding.MEMBER_VALUE_PAIR)
                        return false;
                IMemberValuePairBinding other = (IMemberValuePairBinding) binding;
                if ( !getMethodBinding().isEqualTo(other.getMethodBinding()))
                        return false;


Clone Instance
3
Line Count
7
Source Line
138
Source File
plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/MemberValuePairBinding.java

                if (this == binding)
                        return true;
                if (binding.getKind() != IBinding.MEMBER_VALUE_PAIR)
                        return false;
                IMemberValuePairBinding other = (IMemberValuePairBinding) binding;
                if ( !getMethodBinding().isEqualTo(other.getMethodBinding()))
                        return false;


Clone AbstractionParameter Count: 3Parameter Bindings

if (this == binding)
  return true;
if (binding.getKind() != IBinding. [[#variable9e22a400]])
  return false;
 [[#variable9e22a4e0]] other = ( [[#variable9e22a4e0]]) binding;
if ( ! [[#variable9e22a4c0]]().isEqualTo(other. [[#variable9e22a4c0]]()))
  return false;
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#9e22a400]]
ANNOTATION 
12[[#9e22a400]]
MEMBER_VALUE_PAIR 
13[[#9e22a400]]
MEMBER_VALUE_PAIR 
21[[#9e22a4e0]]
IAnnotationBinding 
22[[#9e22a4e0]]
IMemberValuePairBinding 
23[[#9e22a4e0]]
IMemberValuePairBinding 
31[[#9e22a4c0]]
getAnnotationType 
32[[#9e22a4c0]]
getMethodBinding 
33[[#9e22a4c0]]
getMethodBinding