CloneSet5683


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
6230.976statement_sequence_member
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
16498
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/code/ConvertAnonymousToNestedRefactoring.java
26648
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/code/PromoteTempToFieldRefactoring.java
Clone Instance
1
Line Count
6
Source Line
498
Source File
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/code/ConvertAnonymousToNestedRefactoring.java

                if (fDeclareFinal && fDeclareStatic)
                        comment.addSetting(RefactoringCoreMessages.ConvertAnonymousToNestedRefactoring_declare_final_static);
                else if (fDeclareFinal)
                        comment.addSetting(RefactoringCoreMessages.ConvertAnonymousToNestedRefactoring_declare_final);
                     else
                     if (fDeclareStatic)
                        comment.addSetting(RefactoringCoreMessages.ConvertAnonymousToNestedRefactoring_declare_static);


Clone Instance
2
Line Count
6
Source Line
648
Source File
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/code/PromoteTempToFieldRefactoring.java

                if (fDeclareFinal && fDeclareStatic)
                        comment.addSetting(RefactoringCoreMessages.PromoteTempToFieldRefactoring_declare_final_static);
                else if (fDeclareFinal)
                        comment.addSetting(RefactoringCoreMessages.PromoteTempToFieldRefactoring_declare_final);
                     else
                     if (fDeclareStatic)
                        comment.addSetting(RefactoringCoreMessages.PromoteTempToFieldRefactoring_declare_static);


Clone AbstractionParameter Count: 3Parameter Bindings

if (fDeclareFinal && fDeclareStatic)
  comment.addSetting(RefactoringCoreMessages. [[#variable92321480]]);
else
  if (fDeclareFinal)
    comment.addSetting(RefactoringCoreMessages. [[#variable92321fa0]]);
  else
    if (fDeclareStatic)
      comment.addSetting(RefactoringCoreMessages. [[#variable92321420]]);
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#92321480]]
ConvertAnonymousToNestedRefactoring_declare_final_static 
12[[#92321480]]
PromoteTempToFieldRefactoring_declare_final_static 
21[[#92321fa0]]
ConvertAnonymousToNestedRefactoring_declare_final 
22[[#92321fa0]]
PromoteTempToFieldRefactoring_declare_final 
31[[#92321420]]
ConvertAnonymousToNestedRefactoring_declare_static 
32[[#92321420]]
PromoteTempToFieldRefactoring_declare_static