Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
3 | 2 | 5 | 0.973 | statement_sequence[3] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 3 | 749 | plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/code/IntroduceIndirectionRefactoring.java |
2 | 3 | 225 | plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/structure/UseSuperTypeProcessor.java |
| ||||
arguments.put(JavaRefactoringDescriptor.ATTRIBUTE_ELEMENT + 1, descriptor.elementToHandle(fIntermediaryClass)); arguments.put(ATTRIBUTE_REFERENCES, Boolean.valueOf(fUpdateReferences).toString()); return new DynamicValidationRefactoringChange(descriptor, RefactoringCoreMessages.IntroduceIndirectionRefactoring_introduce_indirection, fTextChangeManager.getAllChanges()); |
| ||||
arguments.put(JavaRefactoringDescriptor.ATTRIBUTE_ELEMENT + 1, descriptor.elementToHandle(fSuperType)); arguments.put(ATTRIBUTE_INSTANCEOF, Boolean.valueOf(fInstanceOf).toString()); return new DynamicValidationRefactoringChange(descriptor, RefactoringCoreMessages.UseSupertypeWherePossibleRefactoring_name, fChangeManager.getAllChanges()); |
| |||
arguments.put(JavaRefactoringDescriptor.ATTRIBUTE_ELEMENT + 1, descriptor.elementToHandle( [[#variablea5ee2b60]])); arguments.put( [[#variable96ae1a40]], Boolean.valueOf( [[#variablea5ee2b00]]).toString()); return new DynamicValidationRefactoringChange(descriptor, RefactoringCoreMessages. [[#variablea42dbd20]], [[#variableb1e008c0]].getAllChanges()); |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#a5ee2b60]] | fIntermediaryClass |
1 | 2 | [[#a5ee2b60]] | fSuperType |
2 | 1 | [[#96ae1a40]] | ATTRIBUTE_REFERENCES |
2 | 2 | [[#96ae1a40]] | ATTRIBUTE_INSTANCEOF |
3 | 1 | [[#a5ee2b00]] | fUpdateReferences |
3 | 2 | [[#a5ee2b00]] | fInstanceOf |
4 | 1 | [[#a42dbd20]] | IntroduceIndirectionRefactoring_introduce_indirection |
4 | 2 | [[#a42dbd20]] | UseSupertypeWherePossibleRefactoring_name |
5 | 1 | [[#b1e008c0]] | fTextChangeManager |
5 | 2 | [[#b1e008c0]] | fChangeManager |