Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
11 | 2 | 3 | 0.955 | SourceElements[2] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 11 | 1505 | Closure/closure/goog/ui/dialog.js |
2 | 11 | 1523 | Closure/closure/goog/ui/dialog.js |
| ||||
/** * Sets the default button. * @param {?string} key The default button. */ goog.ui.Dialog.ButtonSet.prototype.setDefault= function (key){ this.defaultButton_= key; } ; /** * Returns the default button. * @return {?string} The default button. */ goog.ui.Dialog.ButtonSet.prototype.getDefault= function ( ) { return this.defaultButton_; } ; |
| ||||
/** * Sets the cancel button. * @param {?string} key The cancel button. */ goog.ui.Dialog.ButtonSet.prototype.setCancel= function (key){ this.cancelButton_= key; } ; /** * Returns the cancel button. * @return {?string} The cancel button. */ goog.ui.Dialog.ButtonSet.prototype.getCancel= function ( ) { return this.cancelButton_; } ; |
| |||
/** * Sets the default button. * @param {?string} key The default button. */ /** * Sets the cancel button. * @param {?string} key The cancel button. */ goog.ui.Dialog.ButtonSet.prototype. [[#variable21354600]]= function (key) { this. [[#variable565d5660]]=key; } ; /** * Returns the default button. * @return {?string} The default button. */ /** * Returns the cancel button. * @return {?string} The cancel button. */ goog.ui.Dialog.ButtonSet.prototype. [[#variable213543e0]]= function ( ) { return this. [[#variable565d5660]]; } ; |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#21354600]] | setDefault |
1 | 2 | [[#21354600]] | setCancel |
2 | 1 | [[#565d5660]] | defaultButton_ |
2 | 2 | [[#565d5660]] | cancelButton_ |
3 | 1 | [[#213543e0]] | getDefault |
3 | 2 | [[#213543e0]] | getCancel |