| Previous CloneSet | Next CloneSet | Back to Main Report |
| Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
|---|---|---|---|---|
| 5 | 3 | 1 | 0.987 | class_body_declaration |
| Clone Abstraction | Parameter Bindings |
| Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
|---|---|---|---|
| 1 | 5 | 270 | plugins/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/compiler/SourceElementParser.java |
| 2 | 5 | 419 | plugins/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/compiler/SourceElementParser.java |
| 3 | 5 | 536 | plugins/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/compiler/SourceElementParser.java |
| ||||
protected void consumeAnnotationAsModifier() {
super.consumeAnnotationAsModifier();
Annotation annotation = (Annotation) expressionStack[expressionPtr];
if (reportReferenceInfo) { // accept annotation type reference
this.requestor.acceptTypeReference(annotation.type.getTypeName(), annotation.sourceStart, annotation.sourceEnd);
}
}
|
| ||||
protected void consumeMarkerAnnotation() {
super.consumeMarkerAnnotation();
Annotation annotation = (Annotation) expressionStack[expressionPtr];
if (reportReferenceInfo) { // accept annotation type reference
this.requestor.acceptTypeReference(annotation.type.getTypeName(), annotation.sourceStart, annotation.sourceEnd);
}
}
|
| ||||
protected void consumeNormalAnnotation() {
super.consumeNormalAnnotation();
Annotation annotation = (Annotation) expressionStack[expressionPtr];
if (reportReferenceInfo) { // accept annotation type reference
this.requestor.acceptTypeReference(annotation.type.getTypeName(), annotation.sourceStart, annotation.sourceEnd);
}
}
|
| |||
protected void [[#variablea06cf3c0]]() {
super. [[#variablea06cf3c0]]();
Annotation annotation = (Annotation) expressionStack[expressionPtr];
if (reportReferenceInfo) { // accept annotation type reference
this.requestor.acceptTypeReference(annotation.type.getTypeName(), annotation.sourceStart, annotation.sourceEnd);
}
}
|
| CloneAbstraction |
| Parameter Index | Clone Instance | Parameter Name | Value |
|---|---|---|---|
| 1 | 1 | [[#a06cf3c0]] | consumeAnnotationAsModifier |
| 1 | 2 | [[#a06cf3c0]] | consumeMarkerAnnotation |
| 1 | 3 | [[#a06cf3c0]] | consumeNormalAnnotation |