Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
8 | 2 | 3 | 0.970 | SourceElements[2] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 9 | 53 | Closure/closure/goog/ui/menuseparator.js |
2 | 8 | 54 | Closure/closure/goog/ui/toolbarseparator.js |
| ||||
goog.inherits(goog.ui.MenuSeparator, goog.ui.Separator); // Register a decorator factory function for goog.ui.MenuSeparators. goog.ui.registry.setDecoratorByClassName( goog.ui.MenuSeparatorRenderer.CSS_CLASS, function ( ) { // Separator defaults to using MenuSeparatorRenderer. return new goog.ui.Separator( ); } ); |
| ||||
goog.inherits(goog.ui.ToolbarSeparator, goog.ui.Separator); // Registers a decorator factory function for toolbar separators. goog.ui.registry.setDecoratorByClassName( goog.ui.ToolbarSeparatorRenderer.CSS_CLASS, function ( ) { return new goog.ui.ToolbarSeparator( ); } ); |
| |||
goog.inherits(goog.ui. [[#variable62fe9a40]],goog.ui.Separator); // Registers a decorator factory function for toolbar separators. // Register a decorator factory function for goog.ui.MenuSeparators. goog.ui.registry.setDecoratorByClassName(goog.ui. [[#variable432a83a0]].CSS_CLASS, function ( ) { // Separator defaults to using MenuSeparatorRenderer. return new goog.ui. [[#variable432a8440]]( ); } ); |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#62fe9a40]] | ToolbarSeparator |
1 | 2 | [[#62fe9a40]] | MenuSeparator |
2 | 1 | [[#432a83a0]] | ToolbarSeparatorRenderer |
2 | 2 | [[#432a83a0]] | MenuSeparatorRenderer |
3 | 1 | [[#432a8440]] | ToolbarSeparator |
3 | 2 | [[#432a8440]] | Separator |