CloneSet7520


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
5230.959switch_group
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
15186
plugins/org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/fix/UnusedCodeFix.java
25590
plugins/org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/fix/UnusedCodeFix.java
Clone Instance
1
Line Count
5
Source Line
186
Source File
plugins/org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/fix/UnusedCodeFix.java

                                case IBinding.METHOD:
                                        if (((IMethodBinding) binding).isConstructor()) {
                                                return FixMessages.UnusedCodeFix_RemoveUnusedConstructor_description;
                                        }
                                        else   {
                                                return FixMessages.UnusedCodeFix_RemoveUnusedPrivateMethod_description;
                                        }


Clone Instance
2
Line Count
5
Source Line
590
Source File
plugins/org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/fix/UnusedCodeFix.java

                        case IBinding.METHOD:
                                if (((IMethodBinding) binding).isConstructor()) {
                                        return UnusedCodeCleanUp.REMOVE_UNUSED_PRIVATE_CONSTRUCTORS;
                                }
                                else   {
                                        return UnusedCodeCleanUp.REMOVE_UNUSED_PRIVATE_METHODS;
                                }


Clone AbstractionParameter Count: 3Parameter Bindings

case IBinding.METHOD:
  if (((IMethodBinding) binding).isConstructor()) {
    return [[#variable59083f20]]. [[#variable58fc28c0]];
  }
  else {
    return [[#variable59083f20]]. [[#variable58fc2820]];
  }
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#59083f20]]
FixMessages 
12[[#59083f20]]
UnusedCodeCleanUp 
21[[#58fc28c0]]
UnusedCodeFix_RemoveUnusedConstructor_description 
22[[#58fc28c0]]
REMOVE_UNUSED_PRIVATE_CONSTRUCTORS 
31[[#58fc2820]]
UnusedCodeFix_RemoveUnusedPrivateMethod_description 
32[[#58fc2820]]
REMOVE_UNUSED_PRIVATE_METHODS