CloneSet3582


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
6210.973executable_statement
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
161961
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/structure/MoveInstanceMethodProcessor.java
261967
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/structure/MoveInstanceMethodProcessor.java
Clone Instance
1
Line Count
6
Source Line
1961
Source File
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/structure/MoveInstanceMethodProcessor.java

                                                            {
                                                name = type.getElementType().getName();
                                                if (PrimitiveType.toCode(name) != null)
                                                        variable.setType(ast.newPrimitiveType(PrimitiveType.toCode(name)));
                                                else
                                                        variable.setType(ast.newSimpleType(ast.newSimpleName(name)));
                                                            }


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

                                               {
                                                name = type.getName();
                                                if (PrimitiveType.toCode(name) != null)
                                                        variable.setType(ast.newPrimitiveType(PrimitiveType.toCode(name)));
                                                else
                                                        variable.setType(ast.newSimpleType(ast.newSimpleName(name)));
                                               }


Clone AbstractionParameter Count: 1Parameter Bindings

{
  name = [[#variablea0b2c840]].getName();
  if (PrimitiveType.toCode(name) != null)
    variable.setType(ast.newPrimitiveType(PrimitiveType.toCode(name)));
  else
    variable.setType(ast.newSimpleType(ast.newSimpleName(name)));
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#a0b2c840]]
type.getElementType() 
12[[#a0b2c840]]
type