CloneSet173


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
39260.957SourceElements[6]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
1391829
Closure/closure/goog/proto2/test.pb.js
2391886
Closure/closure/goog/proto2/test.pb.js
Clone Instance
1
Line Count
39
Source Line
1829
Source File
Closure/closure/goog/proto2/test.pb.js

/**
 * Message NestedMessage.
 * @constructor
 * @extends {goog.proto2.Message}
 */
proto2.TestAllTypes.NestedMessage=  function ( )
                                               {
  goog.proto2.Message.apply(this );
                                               } ;
goog.inherits(proto2.TestAllTypes.NestedMessage, goog.proto2.Message);

/**
 * Gets the value of the b field.
 * @return {number} The value.
 */
proto2.TestAllTypes.NestedMessage.prototype.getB=  function ( )
                                                              {
  return /** @type {number} */
                               (this.get$Value(1));
                                                              } ;
/**
 * Sets the value of the b field.
 * @param {number} value The value.
 */
proto2.TestAllTypes.NestedMessage.prototype.setB=  function (value){
  this.set$Value(1, /** @type {Object} */
                                          (value));
                                                                   } ;

/**
 * Returns whether the b field has a value.
 * @return {boolean} true if the field has a value.
 */
proto2.TestAllTypes.NestedMessage.prototype.hasB=  function ( )
                                                              {
  return this.has$Value(1);
                                                              } ;

/**
 * Gets the number of values in the b field.
 * @return {number}
 */
proto2.TestAllTypes.NestedMessage.prototype.bCount=  function ( )
                                                                {
  return this.count$Values(1);
                                                                } ;


Clone Instance
2
Line Count
39
Source Line
1886
Source File
Closure/closure/goog/proto2/test.pb.js

/**
 * Message OptionalGroup.
 * @constructor
 * @extends {goog.proto2.Message}
 */
proto2.TestAllTypes.OptionalGroup=  function ( )
                                               {
  goog.proto2.Message.apply(this );
                                               } ;
goog.inherits(proto2.TestAllTypes.OptionalGroup, goog.proto2.Message);

/**
 * Gets the value of the a field.
 * @return {number} The value.
 */
proto2.TestAllTypes.OptionalGroup.prototype.getA=  function ( )
                                                              {
  return /** @type {number} */
                               (this.get$Value(17));
                                                              } ;
/**
 * Sets the value of the a field.
 * @param {number} value The value.
 */
proto2.TestAllTypes.OptionalGroup.prototype.setA=  function (value){
  this.set$Value(17, /** @type {Object} */
                                           (value));
                                                                   } ;

/**
 * Returns whether the a field has a value.
 * @return {boolean} true if the field has a value.
 */
proto2.TestAllTypes.OptionalGroup.prototype.hasA=  function ( )
                                                              {
  return this.has$Value(17);
                                                              } ;

/**
 * Gets the number of values in the a field.
 * @return {number}
 */
proto2.TestAllTypes.OptionalGroup.prototype.aCount=  function ( )
                                                                {
  return this.count$Values(17);
                                                                } ;


Clone AbstractionParameter Count: 6Parameter Bindings

/**
 * Message NestedMessage.
 * @constructor
 * @extends {goog.proto2.Message}
 */
/**
 * Message OptionalGroup.
 * @constructor
 * @extends {goog.proto2.Message}
 */
proto2.TestAllTypes. [[#variable6153a940]]= function ( )
                                            { goog.proto2.Message.apply(this );
                                            } ;
goog.inherits(proto2.TestAllTypes. [[#variable6153a940]],goog.proto2.Message);
/**
 * Gets the value of the b field.
 * @return {number} The value.
 */
/**
 * Gets the value of the a field.
 * @return {number} The value.
 */
proto2.TestAllTypes. [[#variable6153a940]].prototype. [[#variable61a22d80]]= function ( )
                                                                             { return /** @type {number} */
                                                                               (this.get$Value( [[#variable5a587a40]]));
                                                                             } ;
/**
 * Sets the value of the b field.
 * @param {number} value The value.
 */
/**
 * Sets the value of the a field.
 * @param {number} value The value.
 */
proto2.TestAllTypes. [[#variable6153a940]].prototype. [[#variable61a22e80]]= function (value)
                                                                             { this.set$Value( [[#variable5a587a40]], /** @type {Object} */
                                                                                              (value));
                                                                             } ;
/**
 * Returns whether the b field has a value.
 * @return {boolean} true if the field has a value.
 */
/**
 * Returns whether the a field has a value.
 * @return {boolean} true if the field has a value.
 */
proto2.TestAllTypes. [[#variable6153a940]].prototype. [[#variable6153baa0]]= function ( )
                                                                             { return this.has$Value( [[#variable5a587a40]]);
                                                                             } ;
/**
 * Gets the number of values in the b field.
 * @return {number}
 */
/**
 * Gets the number of values in the a field.
 * @return {number}
 */
proto2.TestAllTypes. [[#variable6153a940]].prototype. [[#variable61a22ae0]]= function ( )
                                                                             { return this.count$Values( [[#variable5a587a40]]);
                                                                             } ;
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#6153a940]]
NestedMessage 
12[[#6153a940]]
OptionalGroup 
21[[#61a22d80]]
getB 
22[[#61a22d80]]
getA 
31[[#5a587a40]]
1 
32[[#5a587a40]]
17 
41[[#61a22e80]]
setB 
42[[#61a22e80]]
setA 
51[[#6153baa0]]
hasB 
52[[#6153baa0]]
hasA 
61[[#61a22ae0]]
bCount 
62[[#61a22ae0]]
aCount