CloneSet3793


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

                                TypeParameter parameter = null;
                                for ( final Iterator iterator = declaration.typeParameters().iterator(); iterator.hasNext();) {
                                        parameter = (TypeParameter) iterator.next();
                                        binding = parameter.resolveBinding();
                                        if (binding != null)
                                                parameters.add(binding);
                                }


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

                        TypeParameter parameter = null;
                        for ( final Iterator iterator = declaration.typeParameters().iterator(); iterator.hasNext();) {
                                parameter = (TypeParameter) iterator.next();
                                binding = parameter.resolveBinding();
                                if (binding != null)
                                        fBindings.add(binding.getKey());
                        }


Clone AbstractionParameter Count: 2Parameter Bindings

TypeParameter parameter = null;
for ( final Iterator iterator = declaration.typeParameters().iterator(); iterator.hasNext();) {
  parameter = (TypeParameter) iterator.next();
  binding = parameter.resolveBinding();
  if (binding != null)
     [[#variable9e6e0fc0]].add( [[#variable9d9baf80]]);
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#9e6e0fc0]]
fBindings 
12[[#9e6e0fc0]]
parameters 
21[[#9d9baf80]]
binding.getKey() 
22[[#9d9baf80]]
binding