CloneSet3599


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
8210.984statement_sequence[3]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
18154
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/compare/JavaStructureCreator.java
27138
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/compare/PropertiesStructureCreator.java
Clone Instance
1
Line Count
8
Source Line
154
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/compare/JavaStructureCreator.java

                        boolean isEditable = false;
                        if (input instanceof IEditableContent)
                                isEditable = ((IEditableContent) input).isEditable();

                        // we hook into the root node to intercept all node changes
                        JavaNode root = new JavaNode(doc, isEditable) {
                                 void nodeChanged(JavaNode node) {
                                         save(this, input);
                                 }
                                        };


Clone Instance
2
Line Count
7
Source Line
138
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/compare/PropertiesStructureCreator.java

                boolean isEditable = false;
                if (input instanceof IEditableContent)
                        isEditable = ((IEditableContent) input).isEditable();

                PropertyNode root = new PropertyNode(doc, isEditable) {
                         void nodeChanged(PropertyNode node) {
                                 save(this, input);
                         }
                                    };


Clone AbstractionParameter Count: 1Parameter Bindings

boolean isEditable = false;
if (input instanceof IEditableContent)
  isEditable = ((IEditableContent) input).isEditable();
 [[#variablea35715c0]] root = new [[#variablea35715c0]](doc, isEditable) {
                                void nodeChanged( [[#variablea35715c0]] node) {
                                  save(this, input);
                                }
                              };
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#a35715c0]]
// we hook into the root node to intercept all node changes
JavaNode 
12[[#a35715c0]]
PropertyNode