Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
4 | 2 | 1 | 0.988 | ExpressionStatement |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 4 | 441 | Closure/closure/goog/ui/palette.js |
2 | 4 | 318 | Closure/closure/goog/ui/select.js |
| ||||
/** * Returns the currently selected palette item, or null if no item is selected. * @return {Node} The selected item (null if none). */ goog.ui.Palette.prototype.getSelectedItem= function ( ) { return this.selectionModel_ ? /** @type {Node} */ (this.selectionModel_.getSelectedItem( )) :null; } ; |
| ||||
/** * Returns the currently selected option. * @return {goog.ui.MenuItem} The currently selected option (null if none). */ goog.ui.Select.prototype.getSelectedItem= function ( ) { return this.selectionModel_ ? /** @type {goog.ui.MenuItem} */ (this.selectionModel_.getSelectedItem( )) :null; } ; |
| |||
/** * Returns the currently selected palette item, or null if no item is selected. * @return {Node} The selected item (null if none). */ /** * Returns the currently selected option. * @return {goog.ui.MenuItem} The currently selected option (null if none). */ goog.ui. [[#variable3afd68a0]].prototype.getSelectedItem= function ( ) { return this.selectionModel_ ? /** @type {Node} */ /** @type {goog.ui.MenuItem} */ (this.selectionModel_.getSelectedItem( )) :null; } ; |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#3afd68a0]] | Palette |
1 | 2 | [[#3afd68a0]] | Select |