CloneSet5394


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
4210.992class_body_declaration
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
14391
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/structure/ChangeTypeRefactoring.java
24693
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/typeconstraints/FullConstraintCreator.java
Clone Instance
1
Line Count
4
Source Line
391
Source File
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/structure/ChangeTypeRefactoring.java

        // copied from FullConstraintCreator
        private static IMethodBinding findMethod(IMethodBinding methodBinding, ITypeBinding type) {
                  if (methodBinding.getDeclaringClass().equals(type))
                          return methodBinding;
                  return Bindings.findOverriddenMethodInType(type, methodBinding);
        }


Clone Instance
2
Line Count
4
Source Line
693
Source File
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/typeconstraints/FullConstraintCreator.java

        protected static IMethodBinding findMethod(IMethodBinding methodBinding, ITypeBinding type) {
                if (methodBinding.getDeclaringClass().equals(type))
                        return methodBinding;
                return Bindings.findOverriddenMethodInType(type, methodBinding);
        }


Clone AbstractionParameter Count: 1Parameter Bindings

 [[#variablea5c57ba0]]static IMethodBinding findMethod(IMethodBinding methodBinding, ITypeBinding type) {
  if (methodBinding.getDeclaringClass().equals(type))
    return methodBinding;
  return Bindings.findOverriddenMethodInType(type, methodBinding);
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#a5c57ba0]]
// copied from FullConstraintCreator
private 
12[[#a5c57ba0]]
protected