CloneSet3084


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
23220.961class_body_declarations[6]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
12353
plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/DefaultValuePairBinding.java
22381
plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/MemberValuePairBinding.java
Clone Instance
1
Line Count
23
Source Line
53
Source File
plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/DefaultValuePairBinding.java

        public IAnnotationBinding[] getAnnotations() {
                return AnnotationBinding.NoAnnotations;
        }

        public IJavaElement getJavaElement() {
                return null;
        }

        public String getKey() {
                // TODO when implementing, update spec in IBinding
                return null;
        }

        public int getKind() {
                return IBinding.MEMBER_VALUE_PAIR;
        }

        public IMethodBinding getMethodBinding() {
                return this.bindingResolver.getMethodBinding(this.method);
        }

        public int getModifiers() {
                return -1;
        }


Clone Instance
2
Line Count
23
Source Line
81
Source File
plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/MemberValuePairBinding.java

        public IAnnotationBinding[] getAnnotations() {
                return AnnotationBinding.NoAnnotations;
        }

        public IJavaElement getJavaElement() {
                return null;
        }

        public String getKey() {
                // TODO when implementing, update spec in IBinding
                return null;
        }

        public int getKind() {
                return IBinding.MEMBER_VALUE_PAIR;
        }

        public IMethodBinding getMethodBinding() {
                return this.bindingResolver.getMethodBinding(this.internalPair.getMethodBinding());
        }

        public int getModifiers() {
                return -1;
        }


Clone AbstractionParameter Count: 2Parameter Bindings

public IAnnotationBinding[] getAnnotations() {
  return AnnotationBinding.NoAnnotations;
}

public IJavaElement getJavaElement() {
  return null;
}

public String getKey() {
  // TODO when implementing, update spec in IBinding
  return null;
}

public int getKind() {
  return IBinding.MEMBER_VALUE_PAIR;
}

public IMethodBinding getMethodBinding() {
  return this.bindingResolver.getMethodBinding( [[#variable941fc0c0]] [[#variable640dffc0]]);
}

public int getModifiers() {
  return -1;
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#941fc0c0]]
this 
12[[#941fc0c0]]
this.internalPair 
21[[#640dffc0]]
.method 
22[[#640dffc0]]
.getMethodBinding()