CloneSet7110


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

                                                                                                {
                                VariableDeclarationStatement vds = (VariableDeclarationStatement) grandParent;
                                if (vds.fragments().size() > 1) {
                                        return RefactoringCoreMessages.ChangeTypeRefactoring_multiDeclarationsNotSupported;
                                }
                                setSelectionRanges(simpleName);
                                                                                                }


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

                                                                                                         {
                                VariableDeclarationExpression vde = (VariableDeclarationExpression) grandParent;
                                if (vde.fragments().size() > 1) {
                                        return RefactoringCoreMessages.ChangeTypeRefactoring_multiDeclarationsNotSupported;
                                }
                                setSelectionRanges(simpleName);
                                                                                                         }


Clone AbstractionParameter Count: 2Parameter Bindings

{
   [[#variable562b4b60]]  [[#variable562b4b00]]= ( [[#variable562b4b60]]) grandParent;
  if ( [[#variable562b4b00]].fragments().size() > 1) {
    return RefactoringCoreMessages.ChangeTypeRefactoring_multiDeclarationsNotSupported;
  }
  setSelectionRanges(simpleName);
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#562b4b60]]
VariableDeclarationExpression 
12[[#562b4b60]]
VariableDeclarationStatement 
21[[#562b4b00]]
vde 
22[[#562b4b00]]
vds