Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
4 | 4 | 3 | 0.962 | statement_sequence_member |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 4 | 559 | plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/code/IntroduceParameterRefactoring.java |
2 | 4 | 679 | plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/sef/SelfEncapsulateFieldRefactoring.java |
3 | 4 | 684 | plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/sef/SelfEncapsulateFieldRefactoring.java |
4 | 4 | 1510 | plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/structure/ChangeTypeRefactoring.java |
| ||||
if (name != null && !"".equals(name)) //$NON-NLS-1$ fParameterName = name; else return RefactoringStatus.createFatalErrorStatus(Messages.format(RefactoringCoreMessages.InitializableRefactoring_argument_not_exist, ATTRIBUTE_ARGUMENT)); |
| ||||
if (name != null && !"".equals(name)) //$NON-NLS-1$ fGetterName = name; else return RefactoringStatus.createFatalErrorStatus(Messages.format(RefactoringCoreMessages.InitializableRefactoring_argument_not_exist, ATTRIBUTE_GETTER)); |
| ||||
if (name != null && !"".equals(name)) //$NON-NLS-1$ fSetterName = name; else return RefactoringStatus.createFatalErrorStatus(Messages.format(RefactoringCoreMessages.InitializableRefactoring_argument_not_exist, ATTRIBUTE_SETTER)); |
| ||||
if (type != null && !"".equals(type)) //$NON-NLS-1$ fSelectedTypeName = type; else return RefactoringStatus.createFatalErrorStatus(Messages.format(RefactoringCoreMessages.InitializableRefactoring_argument_not_exist, ATTRIBUTE_TYPE)); |
| |||
if ( [[#variable95d8fbe0]]!= null && !"".equals( [[#variable95d8fbe0]])) //$NON-NLS-1$ [[#variable95d8fb60]]= [[#variable95d8fbe0]]; else return RefactoringStatus.createFatalErrorStatus(Messages.format(RefactoringCoreMessages.InitializableRefactoring_argument_not_exist, [[#variable95d8fac0]])); |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#95d8fbe0]] | name |
1 | 2 | [[#95d8fbe0]] | name |
1 | 3 | [[#95d8fbe0]] | name |
1 | 4 | [[#95d8fbe0]] | type |
2 | 1 | [[#95d8fb60]] | fParameterName |
2 | 2 | [[#95d8fb60]] | fSetterName |
2 | 3 | [[#95d8fb60]] | fGetterName |
2 | 4 | [[#95d8fb60]] | fSelectedTypeName |
3 | 1 | [[#95d8fac0]] | ATTRIBUTE_ARGUMENT |
3 | 2 | [[#95d8fac0]] | ATTRIBUTE_SETTER |
3 | 3 | [[#95d8fac0]] | ATTRIBUTE_GETTER |
3 | 4 | [[#95d8fac0]] | ATTRIBUTE_TYPE |