Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
7 | 2 | 2 | 0.989 | class_body_declaration |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 7 | 390 | plugins/org.eclipse.jdt.ui/ui refactoring/org/eclipse/jdt/internal/ui/refactoring/ChangeSignatureWizard.java |
2 | 7 | 191 | plugins/org.eclipse.jdt.ui/ui refactoring/org/eclipse/jdt/internal/ui/refactoring/IntroduceParameterWizard.java |
| ||||
private void updateSignaturePreview() { try { int top = fSignaturePreview.getTextWidget().getTopPixel(); fSignaturePreviewDocument.set(getChangeMethodSignatureRefactoring().getNewMethodSignature()); fSignaturePreview.getTextWidget().setTopPixel(top); } catch (JavaModelException e) { ExceptionHandler.handle(e, RefactoringMessages.ChangeSignatureRefactoring_modify_Parameters, RefactoringMessages.ChangeSignatureInputPage_exception); } } |
| ||||
private void updateSignaturePreview() { try { int top = fSignaturePreview.getTextWidget().getTopPixel(); fSignaturePreviewDocument.set(getIntroduceParameterRefactoring().getMethodSignaturePreview()); fSignaturePreview.getTextWidget().setTopPixel(top); } catch (JavaModelException e) { ExceptionHandler.handle(e, RefactoringMessages.ChangeSignatureRefactoring_modify_Parameters, RefactoringMessages.ChangeSignatureInputPage_exception); } } |
| |||
private void updateSignaturePreview() { try { int top = fSignaturePreview.getTextWidget().getTopPixel(); fSignaturePreviewDocument.set( [[#variableb5868980]](). [[#variableb58688e0]]()); fSignaturePreview.getTextWidget().setTopPixel(top); } catch (JavaModelException e) { ExceptionHandler.handle(e, RefactoringMessages.ChangeSignatureRefactoring_modify_Parameters, RefactoringMessages.ChangeSignatureInputPage_exception); } } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#b5868980]] | getIntroduceParameterRefactoring |
1 | 2 | [[#b5868980]] | getChangeMethodSignatureRefactoring |
2 | 1 | [[#b58688e0]] | getMethodSignaturePreview |
2 | 2 | [[#b58688e0]] | getNewMethodSignature |