CloneSet198


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
23320.974class_body_declarations[4]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
12035
E:/TSE/Projects-CloneDR/apache-ant-1.7.0/src/org/apache/tools/ant/taskdefs/optional/depend/constantpool/FieldRefCPInfo.java
22338
E:/TSE/Projects-CloneDR/apache-ant-1.7.0/src/org/apache/tools/ant/taskdefs/optional/depend/constantpool/InterfaceMethodRefCPInfo.java
32335
E:/TSE/Projects-CloneDR/apache-ant-1.7.0/src/org/apache/tools/ant/taskdefs/optional/depend/constantpool/MethodRefCPInfo.java
Next
Last
Clone Instance
1
Line Count
20
Source Line
35
Source File
E:/TSE/Projects-CloneDR/apache-ant-1.7.0/src/org/apache/tools/ant/taskdefs/optional/depend/constantpool/FieldRefCPInfo.java

/** Index into the constant pool for the class */
private int classIndex;

/** Index into the constant pool for the name and type entry */
private int nameAndTypeIndex;

/** Constructor.  */
public FieldRefCPInfo() {
  super(CONSTANT_FIELDREF, 1);
}

/**
 * read a constant pool entry from a class stream.
 *
 * @param cpStream the DataInputStream which contains the constant pool
 *      entry to be read.
 * @exception IOException if there is a problem reading the entry from
 *      the stream.
 */
public void read(DataInputStream cpStream) throws IOException {
  classIndex = cpStream.readUnsignedShort();
  nameAndTypeIndex = cpStream.readUnsignedShort();
}


Next
Previous
Clone Instance
2
Line Count
23
Source Line
38
Source File
E:/TSE/Projects-CloneDR/apache-ant-1.7.0/src/org/apache/tools/ant/taskdefs/optional/depend/constantpool/InterfaceMethodRefCPInfo.java

/**
 * the index into the constant pool of the class entry for the interface
 * class
 */
private int classIndex;

/**
 * the index into the constant pool of the name and type entry
 * describing the method
 */
private int nameAndTypeIndex;

/** Constructor. */
public InterfaceMethodRefCPInfo() {
  super(CONSTANT_INTERFACEMETHODREF, 1);
}

/**
 * read a constant pool entry from a class stream.
 *
 * @param cpStream the DataInputStream which contains the constant pool
 *      entry to be read.
 * @exception IOException if there is a problem reading the entry from
 *      the stream.
 */
public void read(DataInputStream cpStream) throws IOException {
  classIndex = cpStream.readUnsignedShort();
  nameAndTypeIndex = cpStream.readUnsignedShort();
}


First
Previous
Clone Instance
3
Line Count
23
Source Line
35
Source File
E:/TSE/Projects-CloneDR/apache-ant-1.7.0/src/org/apache/tools/ant/taskdefs/optional/depend/constantpool/MethodRefCPInfo.java

/** The index into the constant pool which defines the class of this method. */
private int classIndex;

/**
 * the index into the constant pool which defined the name and type
 * signature of the method
 */
private int nameAndTypeIndex;

/** Constructor. */
public MethodRefCPInfo() {
  super(CONSTANT_METHODREF, 1);
}

/**
 * read a constant pool entry from a class stream.
 *
 * @param cpStream the DataInputStream which contains the constant pool
 *      entry to be read.
 * @exception IOException if there is a problem reading the entry from
 *      the stream.
 */
public void read(DataInputStream cpStream) throws IOException {
  classIndex = cpStream.readUnsignedShort();
  nameAndTypeIndex = cpStream.readUnsignedShort();
}


Clone AbstractionParameter Count: 2Parameter Bindings

/**
     * the index into the constant pool of the class entry for the interface
     * class
     */
/** Index into the constant pool for the class */
/** The index into the constant pool which defines the class of this method. */
private int classIndex;

/**
     * the index into the constant pool of the name and type entry
     * describing the method
     */
/** Index into the constant pool for the name and type entry */
/**
     * the index into the constant pool which defined the name and type
     * signature of the method
     */
private int nameAndTypeIndex;

/** Constructor. */
/** Constructor.  */
public [[#variablefdb5760]]() {
  super( [[#variablefdb56e0]], 1);
}

/**
     * read a constant pool entry from a class stream.
     *
     * @param cpStream the DataInputStream which contains the constant pool
     *      entry to be read.
     * @exception IOException if there is a problem reading the entry from
     *      the stream.
     */
public void read(DataInputStream cpStream) throws IOException {
  classIndex = cpStream.readUnsignedShort();
  nameAndTypeIndex = cpStream.readUnsignedShort();
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#fdb5760]]
FieldRefCPInfo 
12[[#fdb5760]]
InterfaceMethodRefCPInfo 
13[[#fdb5760]]
MethodRefCPInfo 
21[[#fdb56e0]]
CONSTANT_FIELDREF 
22[[#fdb56e0]]
CONSTANT_INTERFACEMETHODREF 
23[[#fdb56e0]]
CONSTANT_METHODREF