CloneSet2186


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
5240.977statement_sequence[5]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
1553
plugins/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/util/ConstantPool.java
2564
plugins/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/util/ConstantPool.java
Clone Instance
1
Line Count
5
Source Line
53
Source File
plugins/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/util/ConstantPool.java

                                int fieldNameIndex = u2At(this.classFileBytes,  1, this.constantPoolOffset[constantPoolEntry.getNameAndTypeIndex()]);
                                int fieldDescriptorIndex = u2At(this.classFileBytes,  3, this.constantPoolOffset[constantPoolEntry.getNameAndTypeIndex()]);
                                constantPoolEntry.setFieldName(getUtf8ValueAt(fieldNameIndex));
                                constantPoolEntry.setFieldDescriptor(getUtf8ValueAt(fieldDescriptorIndex));
                                break;


Clone Instance
2
Line Count
5
Source Line
64
Source File
plugins/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/util/ConstantPool.java

                                int methodNameIndex = u2At(this.classFileBytes,  1, this.constantPoolOffset[constantPoolEntry.getNameAndTypeIndex()]);
                                int methodDescriptorIndex = u2At(this.classFileBytes,  3, this.constantPoolOffset[constantPoolEntry.getNameAndTypeIndex()]);
                                constantPoolEntry.setMethodName(getUtf8ValueAt(methodNameIndex));
                                constantPoolEntry.setMethodDescriptor(getUtf8ValueAt(methodDescriptorIndex));
                                break;


Clone AbstractionParameter Count: 4Parameter Bindings

int  [[#variableb26cea20]]= u2At(this.classFileBytes, 1, this.constantPoolOffset[constantPoolEntry.getNameAndTypeIndex()]);
int  [[#variableb37bd9e0]]= u2At(this.classFileBytes, 3, this.constantPoolOffset[constantPoolEntry.getNameAndTypeIndex()]);
constantPoolEntry. [[#variableb26ce940]](getUtf8ValueAt( [[#variableb26cea20]]));
constantPoolEntry. [[#variableb26ce9a0]](getUtf8ValueAt( [[#variableb37bd9e0]]));
break;
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#b26cea20]]
fieldNameIndex 
12[[#b26cea20]]
methodNameIndex 
21[[#b37bd9e0]]
fieldDescriptorIndex 
22[[#b37bd9e0]]
methodDescriptorIndex 
31[[#b26ce940]]
setFieldName 
32[[#b26ce940]]
setMethodName 
41[[#b26ce9a0]]
setFieldDescriptor 
42[[#b26ce9a0]]
setMethodDescriptor