CloneSet2155


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
4430.962statement_sequence_member
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
14559
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/code/IntroduceParameterRefactoring.java
24679
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/sef/SelfEncapsulateFieldRefactoring.java
34684
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/sef/SelfEncapsulateFieldRefactoring.java
441510
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/structure/ChangeTypeRefactoring.java
Clone Instance
1
Line Count
4
Source Line
559
Source File
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/code/IntroduceParameterRefactoring.java

                        if (name != null && !"".equals(name)) //$NON-NLS-1$
                                fParameterName = name;
                        else
                                return RefactoringStatus.createFatalErrorStatus(Messages.format(RefactoringCoreMessages.InitializableRefactoring_argument_not_exist, ATTRIBUTE_ARGUMENT));


Clone Instance
2
Line Count
4
Source Line
679
Source File
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/sef/SelfEncapsulateFieldRefactoring.java

                        if (name != null && !"".equals(name)) //$NON-NLS-1$
                                fGetterName = name;
                        else
                                return RefactoringStatus.createFatalErrorStatus(Messages.format(RefactoringCoreMessages.InitializableRefactoring_argument_not_exist, ATTRIBUTE_GETTER));


Clone Instance
3
Line Count
4
Source Line
684
Source File
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/sef/SelfEncapsulateFieldRefactoring.java

                        if (name != null && !"".equals(name)) //$NON-NLS-1$
                                fSetterName = name;
                        else
                                return RefactoringStatus.createFatalErrorStatus(Messages.format(RefactoringCoreMessages.InitializableRefactoring_argument_not_exist, ATTRIBUTE_SETTER));


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

                        if (type != null && !"".equals(type)) //$NON-NLS-1$
                                fSelectedTypeName = type;
                        else
                                return RefactoringStatus.createFatalErrorStatus(Messages.format(RefactoringCoreMessages.InitializableRefactoring_argument_not_exist, ATTRIBUTE_TYPE));


Clone AbstractionParameter Count: 3Parameter Bindings

if ( [[#variable95d8fbe0]]!= null && !"".equals( [[#variable95d8fbe0]])) //$NON-NLS-1$
   [[#variable95d8fb60]]= [[#variable95d8fbe0]];
else
  return RefactoringStatus.createFatalErrorStatus(Messages.format(RefactoringCoreMessages.InitializableRefactoring_argument_not_exist,  [[#variable95d8fac0]]));
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#95d8fbe0]]
name 
12[[#95d8fbe0]]
name 
13[[#95d8fbe0]]
name 
14[[#95d8fbe0]]
type 
21[[#95d8fb60]]
fParameterName 
22[[#95d8fb60]]
fSetterName 
23[[#95d8fb60]]
fGetterName 
24[[#95d8fb60]]
fSelectedTypeName 
31[[#95d8fac0]]
ATTRIBUTE_ARGUMENT 
32[[#95d8fac0]]
ATTRIBUTE_SETTER 
33[[#95d8fac0]]
ATTRIBUTE_GETTER 
34[[#95d8fac0]]
ATTRIBUTE_TYPE