CloneSet31


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
13330.958method_declaration
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
113706
E:/TSE/Projects-CloneDR/jEdit-4.2/src/org/objectweb/asm/ClassWriter.java
213731
E:/TSE/Projects-CloneDR/jEdit-4.2/src/org/objectweb/asm/ClassWriter.java
313756
E:/TSE/Projects-CloneDR/jEdit-4.2/src/org/objectweb/asm/ClassWriter.java
Next
Last
Clone Instance
1
Line Count
13
Source Line
706
Source File
E:/TSE/Projects-CloneDR/jEdit-4.2/src/org/objectweb/asm/ClassWriter.java

/**
 * Adds a field reference to the constant pool of the class being build. Does
 * nothing if the constant pool already contains a similar item.
 *
 * @param owner the internal name of the field's owner class.
 * @param name the field's name.
 * @param desc the field's descriptor.
 * @return a new or already existing field reference item.
 */
Item newField( final String owner, final String name, final String desc) {
  key3.set(FIELD, owner, name, desc);
  Item result = get(key3);
  if (result == null) {
    put122(FIELD, newClass(owner).index, newNameType(name, desc).index);
    result = new Item(index++ , key3);
    put(result);
  }
  return result;
}


Next
Previous
Clone Instance
2
Line Count
13
Source Line
731
Source File
E:/TSE/Projects-CloneDR/jEdit-4.2/src/org/objectweb/asm/ClassWriter.java

/**
 * Adds a method reference to the constant pool of the class being build. Does
 * nothing if the constant pool already contains a similar item.
 *
 * @param owner the internal name of the method's owner class.
 * @param name the method's name.
 * @param desc the method's descriptor.
 * @return a new or already existing method reference item.
 */
Item newMethod( final String owner, final String name, final String desc) {
  key3.set(METH, owner, name, desc);
  Item result = get(key3);
  if (result == null) {
    put122(METH, newClass(owner).index, newNameType(name, desc).index);
    result = new Item(index++ , key3);
    put(result);
  }
  return result;
}


First
Previous
Clone Instance
3
Line Count
13
Source Line
756
Source File
E:/TSE/Projects-CloneDR/jEdit-4.2/src/org/objectweb/asm/ClassWriter.java

/**
 * Adds an interface method reference to the constant pool of the class being
 * build. Does nothing if the constant pool already contains a similar item.
 *
 * @param ownerItf the internal name of the method's owner interface.
 * @param name the method's name.
 * @param desc the method's descriptor.
 * @return a new or already existing interface method reference item.
 */
Item newItfMethod( final String ownerItf, final String name, final String desc) {
  key3.set(IMETH, ownerItf, name, desc);
  Item result = get(key3);
  if (result == null) {
    put122(IMETH, newClass(ownerItf).index, newNameType(name, desc).index);
    result = new Item(index++ , key3);
    put(result);
  }
  return result;
}


Clone AbstractionParameter Count: 3Parameter Bindings

/**
   * Adds a field reference to the constant pool of the class being build. Does
   * nothing if the constant pool already contains a similar item.
   *
   * @param owner the internal name of the field's owner class.
   * @param name the field's name.
   * @param desc the field's descriptor.
   * @return a new or already existing field reference item.
   */
/**
   * Adds a method reference to the constant pool of the class being build. Does
   * nothing if the constant pool already contains a similar item.
   *
   * @param owner the internal name of the method's owner class.
   * @param name the method's name.
   * @param desc the method's descriptor.
   * @return a new or already existing method reference item.
   */
/**
   * Adds an interface method reference to the constant pool of the class being
   * build. Does nothing if the constant pool already contains a similar item.
   *
   * @param ownerItf the internal name of the method's owner interface.
   * @param name the method's name.
   * @param desc the method's descriptor.
   * @return a new or already existing interface method reference item.
   */
Item  [[#variableae40840]]( final String  [[#variableae40720]], final String name, final String desc) {
  key3.set( [[#variableae40760]],  [[#variableae40720]], name, desc);
  Item result = get(key3);
  if (result == null) {
    put122( [[#variableae40760]], newClass( [[#variableae40720]]).index, newNameType(name, desc).index);
    result = new Item(index++ , key3);
    put(result);
  }
  return result;
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#ae40840]]
newField 
12[[#ae40840]]
newMethod 
13[[#ae40840]]
newItfMethod 
21[[#ae40720]]
owner 
22[[#ae40720]]
owner 
23[[#ae40720]]
ownerItf 
31[[#ae40760]]
FIELD 
32[[#ae40760]]
METH 
33[[#ae40760]]
IMETH