CloneSet4302


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
4230.950statement_sequence[2]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
14760
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/rename/RenameTypeProcessor.java
23743
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/structure/MoveInnerToTopRefactoring.java
Clone Instance
1
Line Count
4
Source Line
760
Source File
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/rename/RenameTypeProcessor.java

                if (type == null || ! type.exists())
                        return null;
                String msg = Messages.format(RefactoringCoreMessages.RenameTypeRefactoring_exists, 
                                                                                                                                         new String[] {
                                                                                                                                                       getNewElementName(), fType.getPackageFragment().getElementName()
                                                                                                                                                      } );


Clone Instance
2
Line Count
3
Source Line
743
Source File
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/structure/MoveInnerToTopRefactoring.java

                if (type == null || !type.exists())
                        return null;
                String message = Messages.format(RefactoringCoreMessages.MoveInnerToTopRefactoring_type_exists, new String[] {
                                                                                                                               fType.getElementName(), fType.getPackageFragment().getElementName()
                                                                                                                             } );


Clone AbstractionParameter Count: 3Parameter Bindings

if (type == null || !type.exists())
  return null;
String  [[#variable9ae544a0]]= Messages.format(RefactoringCoreMessages. [[#variable78069fe0]], new String[] {
                                                                                                               [[#variable9ae54540]],
                                                                                                              fType.getPackageFragment().getElementName()
                                                                                                            } );
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#9ae544a0]]
msg 
12[[#9ae544a0]]
message 
21[[#78069fe0]]
RenameTypeRefactoring_exists 
22[[#78069fe0]]
MoveInnerToTopRefactoring_type_exists 
31[[#9ae54540]]
getNewElementName() 
32[[#9ae54540]]
fType.getElementName()