CloneSet3828


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
7220.989class_body_declaration
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
17390
plugins/org.eclipse.jdt.ui/ui refactoring/org/eclipse/jdt/internal/ui/refactoring/ChangeSignatureWizard.java
27191
plugins/org.eclipse.jdt.ui/ui refactoring/org/eclipse/jdt/internal/ui/refactoring/IntroduceParameterWizard.java
Clone Instance
1
Line Count
7
Source Line
390
Source File
plugins/org.eclipse.jdt.ui/ui refactoring/org/eclipse/jdt/internal/ui/refactoring/ChangeSignatureWizard.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);
                          }
                }


Clone Instance
2
Line Count
7
Source Line
191
Source File
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(getIntroduceParameterRefactoring().getMethodSignaturePreview());
                                fSignaturePreview.getTextWidget().setTopPixel(top);
                        } catch (JavaModelException e) {
                                ExceptionHandler.handle(e, RefactoringMessages.ChangeSignatureRefactoring_modify_Parameters, RefactoringMessages.ChangeSignatureInputPage_exception);
                          }
                }


Clone AbstractionParameter Count: 2Parameter Bindings

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 Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#b5868980]]
getIntroduceParameterRefactoring 
12[[#b5868980]]
getChangeMethodSignatureRefactoring 
21[[#b58688e0]]
getMethodSignaturePreview 
22[[#b58688e0]]
getNewMethodSignature