CloneSet89


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

/**
 * Adds a class reference to the constant pool of the class being build. Does
 * nothing if the constant pool already contains a similar item.
 *
 * @param value the internal name of the class.
 * @return a new or already existing class reference item.
 */
Item newClass( final String value) {
  key2.set(CLASS, value, null, null);
  Item result = get(key2);
  if (result == null) {
    pool.put12(CLASS, newUTF8(value).index);
    result = new Item(index++ , key2);
    put(result);
  }
  return result;
}


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

/**
 * Adds a string to the constant pool of the class being build. Does nothing
 * if the constant pool already contains a similar item.
 *
 * @param value the String value.
 * @return a new or already existing string item.
 */
private Item newString( final String value) {
  key2.set(STR, value, null, null);
  Item result = get(key2);
  if (result == null) {
    pool.put12(STR, newUTF8(value).index);
    result = new Item(index++ , key2);
    put(result);
  }
  return result;
}


Clone AbstractionParameter Count: 3Parameter Bindings

 [[#variableae848e0]]
/**
   * Adds a class reference to the constant pool of the class being build. Does
   * nothing if the constant pool already contains a similar item.
   *
   * @param value the internal name of the class.
   * @return a new or already existing class reference item.
   */
Item  [[#variableae85580]]( final String value) {
  key2.set( [[#variableae81f80]], value, null, null);
  Item result = get(key2);
  if (result == null) {
    pool.put12( [[#variableae81f80]], newUTF8(value).index);
    result = new Item(index++ , key2);
    put(result);
  }
  return result;
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#ae848e0]]
12[[#ae848e0]]
/**
 * Adds a string to the constant pool of the class being build. Does nothing
 * if the constant pool already contains a similar item.
 *
 * @param value the String value.
 * @return a new or already existing string item.
 */
private 
21[[#ae85580]]
newClass 
22[[#ae85580]]
newString 
31[[#ae81f80]]
CLASS 
32[[#ae81f80]]
STR