CloneSet3791


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
2240.966statement_sequence[2]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
12405
plugins/org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/fix/CodeStyleFix.java
22409
plugins/org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/fix/CodeStyleFix.java
Clone Instance
1
Line Count
2
Source Line
405
Source File
plugins/org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/fix/CodeStyleFix.java

                String label1 = Messages.format(FixMessages.CodeStyleFix_ChangeAccessToStatic_description, operations[0].getAccessorName());
                CodeStyleFix fix1 = new CodeStyleFix(label1, compilationUnit, new IFixRewriteOperation[] {
                                                                                                          operations[0]
                                                                                                         } );


Clone Instance
2
Line Count
2
Source Line
409
Source File
plugins/org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/fix/CodeStyleFix.java

                        String label2 = Messages.format(FixMessages.CodeStyleFix_ChangeAccessToStaticUsingInstanceType_description, operations[1].getAccessorName());
                        CodeStyleFix fix2 = new CodeStyleFix(label2, compilationUnit, new IFixRewriteOperation[] {
                                                                                                                  operations[1]
                                                                                                                 } );


Clone AbstractionParameter Count: 4Parameter Bindings

String  [[#variable7d71de40]]= Messages.format(FixMessages. [[#variable7d71de80]], operations[ [[#variable7d71cde0]]].getAccessorName());
CodeStyleFix  [[#variable7d71cdc0]]= new CodeStyleFix( [[#variable7d71de40]], compilationUnit, new IFixRewriteOperation[] {
                                                                                                                            operations[ [[#variable7d71cde0]]]
                                                                                                                          } );
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#7d71de40]]
label1 
12[[#7d71de40]]
label2 
21[[#7d71de80]]
CodeStyleFix_ChangeAccessToStatic_description 
22[[#7d71de80]]
CodeStyleFix_ChangeAccessToStaticUsingInstanceType_description 
31[[#7d71cde0]]
0 
32[[#7d71cde0]]
1 
41[[#7d71cdc0]]
fix1 
42[[#7d71cdc0]]
fix2