CloneSet3597


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
5220.989statement_sequence[2]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
151544
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/structure/MoveInstanceMethodProcessor.java
251550
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/structure/MoveInstanceMethodProcessor.java
Clone Instance
1
Line Count
5
Source Line
1544
Source File
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/structure/MoveInstanceMethodProcessor.java

                                bindings = visitor.getReadOnlyFields();
                                for (int index = 0; index < bindings.length; index++) {
                                        binding = bindings[index].getType();
                                        if (binding.isClass() && binding.isFromSource())
                                                possibleTargets.add(bindings[index]);
                                }


Clone Instance
2
Line Count
5
Source Line
1550
Source File
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/structure/MoveInstanceMethodProcessor.java

                                bindings = visitor.getDeclaredFields();
                                for (int index = 0; index < bindings.length; index++) {
                                        binding = bindings[index].getType();
                                        if (binding.isClass() && binding.isFromSource())
                                                candidateTargets.add(bindings[index]);
                                }


Clone AbstractionParameter Count: 2Parameter Bindings

bindings = visitor. [[#variable5b4c6b20]]();
for (int index = 0; index < bindings.length; index++) {
  binding = bindings[index].getType();
  if (binding.isClass() && binding.isFromSource())
     [[#variable5b4c6440]].add(bindings[index]);
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#5b4c6b20]]
getReadOnlyFields 
12[[#5b4c6b20]]
getDeclaredFields 
21[[#5b4c6440]]
possibleTargets 
22[[#5b4c6440]]
candidateTargets