| Previous CloneSet | Next CloneSet | Back to Main Report |
| Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
|---|---|---|---|---|
| 6 | 7 | 2 | 0.987 | statement_sequence_member |
| Clone Abstraction | Parameter Bindings |
| Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
|---|---|---|---|
| 1 | 6 | 84 | plugins/org.eclipse.jdt.core/search/org/eclipse/jdt/internal/core/search/indexing/BinaryIndexer.java |
| 2 | 6 | 91 | plugins/org.eclipse.jdt.core/search/org/eclipse/jdt/internal/core/search/indexing/BinaryIndexer.java |
| 3 | 6 | 98 | plugins/org.eclipse.jdt.core/search/org/eclipse/jdt/internal/core/search/indexing/BinaryIndexer.java |
| 4 | 6 | 105 | plugins/org.eclipse.jdt.core/search/org/eclipse/jdt/internal/core/search/indexing/BinaryIndexer.java |
| 5 | 6 | 112 | plugins/org.eclipse.jdt.core/search/org/eclipse/jdt/internal/core/search/indexing/BinaryIndexer.java |
| 6 | 6 | 119 | plugins/org.eclipse.jdt.core/search/org/eclipse/jdt/internal/core/search/indexing/BinaryIndexer.java |
| 7 | 6 | 126 | plugins/org.eclipse.jdt.core/search/org/eclipse/jdt/internal/core/search/indexing/BinaryIndexer.java |
| ||||
if ((bits& TagBits.AnnotationForConstructor) != 0) {
if (compoundName == null) {
compoundName = TypeConstants.JAVA_LANG_ANNOTATION_ELEMENTTYPE;
addTypeReference(compoundName[compoundName.length - 1]);
}
addFieldReference(TypeConstants.UPPER_CONSTRUCTOR);
}
|
| ||||
if ((bits& TagBits.AnnotationForField) != 0) {
if (compoundName == null) {
compoundName = TypeConstants.JAVA_LANG_ANNOTATION_ELEMENTTYPE;
addTypeReference(compoundName[compoundName.length - 1]);
}
addFieldReference(TypeConstants.UPPER_FIELD);
}
|
| ||||
if ((bits& TagBits.AnnotationForLocalVariable) != 0) {
if (compoundName == null) {
compoundName = TypeConstants.JAVA_LANG_ANNOTATION_ELEMENTTYPE;
addTypeReference(compoundName[compoundName.length - 1]);
}
addFieldReference(TypeConstants.UPPER_LOCAL_VARIABLE);
}
|
| ||||
if ((bits& TagBits.AnnotationForMethod) != 0) {
if (compoundName == null) {
compoundName = TypeConstants.JAVA_LANG_ANNOTATION_ELEMENTTYPE;
addTypeReference(compoundName[compoundName.length - 1]);
}
addFieldReference(TypeConstants.UPPER_METHOD);
}
|
| ||||
if ((bits& TagBits.AnnotationForPackage) != 0) {
if (compoundName == null) {
compoundName = TypeConstants.JAVA_LANG_ANNOTATION_ELEMENTTYPE;
addTypeReference(compoundName[compoundName.length - 1]);
}
addFieldReference(TypeConstants.UPPER_PACKAGE);
}
|
| ||||
if ((bits& TagBits.AnnotationForParameter) != 0) {
if (compoundName == null) {
compoundName = TypeConstants.JAVA_LANG_ANNOTATION_ELEMENTTYPE;
addTypeReference(compoundName[compoundName.length - 1]);
}
addFieldReference(TypeConstants.UPPER_PARAMETER);
}
|
| ||||
if ((bits& TagBits.AnnotationForType) != 0) {
if (compoundName == null) {
compoundName = TypeConstants.JAVA_LANG_ANNOTATION_ELEMENTTYPE;
addTypeReference(compoundName[compoundName.length - 1]);
}
addFieldReference(TypeConstants.TYPE);
}
|
| |||
if ((bits&TagBits. [[#variableb43720e0]]) != 0) {
if (compoundName == null) {
compoundName = TypeConstants.JAVA_LANG_ANNOTATION_ELEMENTTYPE;
addTypeReference(compoundName[compoundName.length - 1]);
}
addFieldReference(TypeConstants. [[#variableb4372080]]);
}
|
| CloneAbstraction |
| Parameter Index | Clone Instance | Parameter Name | Value |
|---|---|---|---|
| 1 | 1 | [[#b43720e0]] | AnnotationForConstructor |
| 1 | 2 | [[#b43720e0]] | AnnotationForField |
| 1 | 3 | [[#b43720e0]] | AnnotationForLocalVariable |
| 1 | 4 | [[#b43720e0]] | AnnotationForMethod |
| 1 | 5 | [[#b43720e0]] | AnnotationForPackage |
| 1 | 6 | [[#b43720e0]] | AnnotationForParameter |
| 1 | 7 | [[#b43720e0]] | AnnotationForType |
| 2 | 1 | [[#b4372080]] | UPPER_CONSTRUCTOR |
| 2 | 2 | [[#b4372080]] | UPPER_FIELD |
| 2 | 3 | [[#b4372080]] | UPPER_LOCAL_VARIABLE |
| 2 | 4 | [[#b4372080]] | UPPER_METHOD |
| 2 | 5 | [[#b4372080]] | UPPER_PACKAGE |
| 2 | 6 | [[#b4372080]] | UPPER_PARAMETER |
| 2 | 7 | [[#b4372080]] | TYPE |