CloneSet1677


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
2220.958ExpressionStatement
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
12300
Closure/closure/goog/ui/combobox.js
22199
Closure/closure/goog/ui/menu.js
Clone Instance
1
Line Count
2
Source Line
300
Source File
Closure/closure/goog/ui/combobox.js

/**
 * Adds a new menu item at a specific index in the menu.
 * @param {goog.ui.MenuItem} item Menu item to add to the menu.
 * @param {number} n Index at which to insert the menu item.
 */
goog.ui.ComboBox.prototype.addItemAt=  function (item, n){
  this.menu_.addChildAt(item, n, true);
                                                         } ;


Clone Instance
2
Line Count
2
Source Line
199
Source File
Closure/closure/goog/ui/menu.js

/**
 * Adds a new menu item at a specific index in the menu.
 * @param {goog.ui.MenuItem|goog.ui.MenuSeparator} item Menu item to add to the
 *     menu.
 * @param {number} n Index at which to insert the menu item.
 * @deprecated Use {@link #addChildAt} instead.
 */
goog.ui.Menu.prototype.addItemAt=  function (item, n){
  this.addChildAt(item, n, true);
                                                     } ;


Clone AbstractionParameter Count: 2Parameter Bindings

/**
 * Adds a new menu item at a specific index in the menu.
 * @param {goog.ui.MenuItem} item Menu item to add to the menu.
 * @param {number} n Index at which to insert the menu item.
 */
/**
 * Adds a new menu item at a specific index in the menu.
 * @param {goog.ui.MenuItem|goog.ui.MenuSeparator} item Menu item to add to the
 *     menu.
 * @param {number} n Index at which to insert the menu item.
 * @deprecated Use {@link #addChildAt} instead.
 */
goog.ui. [[#variable468396c0]].prototype.addItemAt= function (item,n)
                                                    {  [[#variable468395a0]].addChildAt(item,n, true);
                                                    } ;
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#468396c0]]
ComboBox 
12[[#468396c0]]
Menu 
21[[#468395a0]]
this.menu_ 
22[[#468395a0]]
this