CloneSet5308


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
6220.985class_body_declaration
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
16533
plugins/org.eclipse.jdt.debug.ui/ui/org/eclipse/jdt/internal/debug/ui/EditLogicalStructureDialog.java
26543
plugins/org.eclipse.jdt.debug.ui/ui/org/eclipse/jdt/internal/debug/ui/EditLogicalStructureDialog.java
Clone Instance
1
Line Count
6
Source Line
533
Source File
plugins/org.eclipse.jdt.debug.ui/ui/org/eclipse/jdt/internal/debug/ui/EditLogicalStructureDialog.java

        // code for attribute up button
        private void attributeUp() {
                IStructuredSelection selection = (IStructuredSelection) fAttributeListViewer.getSelection();
                if (selection.size() > 0) {
                        fAttributesContentProvider.up(selection.toList());
                        fAttributeListViewer.refresh();
                        fAttributeListViewer.setSelection(selection);
                }
        }


Clone Instance
2
Line Count
6
Source Line
543
Source File
plugins/org.eclipse.jdt.debug.ui/ui/org/eclipse/jdt/internal/debug/ui/EditLogicalStructureDialog.java

        // code for attribute down button
        private void attributeDown() {
                IStructuredSelection selection = (IStructuredSelection) fAttributeListViewer.getSelection();
                if (selection.size() > 0) {
                        fAttributesContentProvider.down(selection.toList());
                        fAttributeListViewer.refresh();
                        fAttributeListViewer.setSelection(selection);
                }
        }


Clone AbstractionParameter Count: 2Parameter Bindings

// code for attribute up button
// code for attribute down button
private void [[#variableb18ebc60]]() {
  IStructuredSelection selection = (IStructuredSelection) fAttributeListViewer.getSelection();
  if (selection.size() > 0) {
    fAttributesContentProvider. [[#variableb18ebbc0]](selection.toList());
    fAttributeListViewer.refresh();
    fAttributeListViewer.setSelection(selection);
  }
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#b18ebc60]]
attributeUp 
12[[#b18ebc60]]
attributeDown 
21[[#b18ebbc0]]
up 
22[[#b18ebbc0]]
down