CloneSet5218


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
6230.978class_body_declaration
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
16147
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/dialogfields/CheckedListDialogField.java
26155
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/dialogfields/CheckedListDialogField.java
Clone Instance
1
Line Count
6
Source Line
147
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/dialogfields/CheckedListDialogField.java

        /**
         * Returns true if the element is checked.
         */
        public boolean isChecked(Object obj) {
                if (isOkToUse(fTableControl)) {
                        return ((CheckboxTableViewer) fTable).getChecked(obj);
                }

                return fCheckedElements.contains(obj);
        }


Clone Instance
2
Line Count
6
Source Line
155
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/dialogfields/CheckedListDialogField.java

        public boolean isGrayed(Object obj) {
                if (isOkToUse(fTableControl)) {
                        return ((CheckboxTableViewer) fTable).getGrayed(obj);
                }

                return fGrayedElements.contains(obj);
        }


Clone AbstractionParameter Count: 3Parameter Bindings

/**
         * Returns true if the element is checked.
         */
public boolean  [[#variableb4f96b80]](Object obj) {
  if (isOkToUse(fTableControl)) {
    return ((CheckboxTableViewer) fTable). [[#variableb4f96720]](obj);
  }
  return [[#variableb4f96b20]].contains(obj);
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#b4f96b80]]
isChecked 
12[[#b4f96b80]]
isGrayed 
21[[#b4f96720]]
getChecked 
22[[#b4f96720]]
getGrayed 
31[[#b4f96b20]]
fCheckedElements 
32[[#b4f96b20]]
fGrayedElements