CloneSet1230


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
4520.987statement_sequence[3]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
14494
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/code/ConvertAnonymousToNestedRefactoring.java
24462
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/code/ExtractMethodRefactoring.java
34644
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/code/PromoteTempToFieldRefactoring.java
44402
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/sef/SelfEncapsulateFieldRefactoring.java
541164
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/structure/ChangeSignatureRefactoring.java
Clone Instance
1
Line Count
4
Source Line
494
Source File
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/code/ConvertAnonymousToNestedRefactoring.java

                String visibility = JdtFlags.getVisibilityString(fVisibility);
                if ("".equals(visibility)) //$NON-NLS-1$
                        visibility = RefactoringCoreMessages.ConvertAnonymousToNestedRefactoring_default_visibility;
                comment.addSetting(Messages.format(RefactoringCoreMessages.ConvertAnonymousToNestedRefactoring_visibility_pattern, visibility));


Clone Instance
2
Line Count
4
Source Line
462
Source File
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/code/ExtractMethodRefactoring.java

                String visibility = JdtFlags.getVisibilityString(fVisibility);
                if ("".equals(visibility)) //$NON-NLS-1$
                        visibility = RefactoringCoreMessages.ExtractMethodRefactoring_default_visibility;
                comment.addSetting(Messages.format(RefactoringCoreMessages.ExtractMethodRefactoring_visibility_pattern, visibility));


Clone Instance
3
Line Count
4
Source Line
644
Source File
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/code/PromoteTempToFieldRefactoring.java

                String visibility = JdtFlags.getVisibilityString(fVisibility);
                if ("".equals(visibility)) //$NON-NLS-1$
                        visibility = RefactoringCoreMessages.PromoteTempToFieldRefactoring_default_visibility;
                comment.addSetting(Messages.format(RefactoringCoreMessages.PromoteTempToFieldRefactoring_visibility_pattern, visibility));


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

                String visibility = JdtFlags.getVisibilityString(fVisibility);
                if ("".equals(visibility)) //$NON-NLS-1$
                        visibility = RefactoringCoreMessages.SelfEncapsulateField_default_visibility;
                comment.addSetting(Messages.format(RefactoringCoreMessages.SelfEncapsulateField_visibility_pattern, visibility));


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

                                        String visibility = JdtFlags.getVisibilityString(fVisibility);
                                        if ("".equals(visibility)) //$NON-NLS-1$
                                                visibility = RefactoringCoreMessages.ChangeSignatureRefactoring_default_visibility;
                                        comment.addSetting(Messages.format(RefactoringCoreMessages.ChangeSignatureRefactoring_new_visibility_pattern, visibility));


Clone AbstractionParameter Count: 2Parameter Bindings

String visibility = JdtFlags.getVisibilityString(fVisibility);
if ("".equals(visibility)) //$NON-NLS-1$
  visibility = RefactoringCoreMessages. [[#variableb34b0320]];
comment.addSetting(Messages.format(RefactoringCoreMessages. [[#variableb34c0ca0]], visibility));
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#b34b0320]]
ExtractMethodRefactoring_default_visibility 
12[[#b34b0320]]
ChangeSignatureRefactoring_default_visibility 
13[[#b34b0320]]
SelfEncapsulateField_default_visibility 
14[[#b34b0320]]
PromoteTempToFieldRefactoring_default_visibility 
15[[#b34b0320]]
ConvertAnonymousToNestedRefactoring_default_visibility 
21[[#b34c0ca0]]
ExtractMethodRefactoring_visibility_pattern 
22[[#b34c0ca0]]
ChangeSignatureRefactoring_new_visibility_pattern 
23[[#b34c0ca0]]
SelfEncapsulateField_visibility_pattern 
24[[#b34c0ca0]]
PromoteTempToFieldRefactoring_visibility_pattern 
25[[#b34c0ca0]]
ConvertAnonymousToNestedRefactoring_visibility_pattern