CloneSet1542


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
10230.951SourceElements[2]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
110165
Closure/closure/goog/ui/popupcolorpicker.js
210144
Closure/closure/goog/ui/popupdatepicker.js
Clone Instance
1
Line Count
10
Source Line
165
Source File
Closure/closure/goog/ui/popupcolorpicker.js

/**
 * ColorPickers cannot be used to decorate pre-existing html, since the
 * structure they build is fairly complicated.
 * @param {Element} element Element to decorate.
 * @return {boolean} Returns always false.
 */
goog.ui.PopupColorPicker.prototype.canDecorate=  function (element){
  return false;
                                                                   } ;


/**
 * @return {goog.ui.ColorPicker} The color picker instance.
 */
goog.ui.PopupColorPicker.prototype.getColorPicker=  function ( )
                                                               {
  return this.colorPicker_;
                                                               } ;


Clone Instance
2
Line Count
10
Source Line
144
Source File
Closure/closure/goog/ui/popupdatepicker.js

/**
 * DatePicker cannot be used to decorate pre-existing html, since they're
 * not based on Components.
 * @param {Element} element Element to decorate.
 * @return {boolean} Returns always false.
 */
goog.ui.PopupDatePicker.prototype.canDecorate=  function (element){
  return false;
                                                                  } ;


/**
 * @return {goog.ui.DatePicker} The date picker instance.
 */
goog.ui.PopupDatePicker.prototype.getDatePicker=  function ( )
                                                             {
  return this.datePicker_;
                                                             } ;


Clone AbstractionParameter Count: 3Parameter Bindings

/**
 * ColorPickers cannot be used to decorate pre-existing html, since the
 * structure they build is fairly complicated.
 * @param {Element} element Element to decorate.
 * @return {boolean} Returns always false.
 */
/**
 * DatePicker cannot be used to decorate pre-existing html, since they're
 * not based on Components.
 * @param {Element} element Element to decorate.
 * @return {boolean} Returns always false.
 */
goog.ui. [[#variable1edeaa20]].prototype.canDecorate= function (element)
                                                      { return false;
                                                      } ;
/**
 * @return {goog.ui.ColorPicker} The color picker instance.
 */
/**
 * @return {goog.ui.DatePicker} The date picker instance.
 */
goog.ui. [[#variable1edeaa20]].prototype. [[#variable1edeaa60]]= function ( )
                                                                 { return this. [[#variable1edeaa00]];
                                                                 } ;
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#1edeaa20]]
PopupColorPicker 
12[[#1edeaa20]]
PopupDatePicker 
21[[#1edeaa60]]
getColorPicker 
22[[#1edeaa60]]
getDatePicker 
31[[#1edeaa00]]
colorPicker_ 
32[[#1edeaa00]]
datePicker_