CloneSet3476


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
12201.000executable_statement
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
112576
plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/rewrite/ImportRewrite.java
212939
plugins/org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/dom/Bindings.java
Clone Instance
1
Line Count
12
Source Line
576
Source File
plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/rewrite/ImportRewrite.java

                                                                                                   { //$NON-NLS-1$
                        if (binding.isAnonymous()) {
                                ITypeBinding[] baseBindings = binding.getInterfaces();
                                if (baseBindings.length > 0) {
                                        return baseBindings[0];
                                }
                                return binding.getSuperclass();
                        }
                        if (binding.isCapture()) {
                                return binding.getWildcard();
                        }
                        return binding;
                                                                                                   }


Clone Instance
2
Line Count
12
Source Line
939
Source File
plugins/org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/dom/Bindings.java

                                                                                      {
                        if (binding.isAnonymous()) {
                                ITypeBinding[] baseBindings = binding.getInterfaces();
                                if (baseBindings.length > 0) {
                                        return baseBindings[0];
                                }
                                return binding.getSuperclass();
                        }
                        if (binding.isCapture()) {
                                return binding.getWildcard();
                        }
                        return binding;
                                                                                      }


Clone AbstractionParameter Count: 0Parameter Bindings

{ //$NON-NLS-1$
  if (binding.isAnonymous()) {
    ITypeBinding[] baseBindings = binding.getInterfaces();
    if (baseBindings.length > 0) {
      return baseBindings[0];
    }
    return binding.getSuperclass();
  }
  if (binding.isCapture()) {
    return binding.getWildcard();
  }
  return binding;
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
None