Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
12 | 2 | 4 | 0.978 | class_body_declaration |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 12 | 79 | plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/classfmt/AnnotationMethodInfo.java |
2 | 12 | 18 | plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/classfmt/MethodInfoWithAnnotations.java |
| ||||
AnnotationMethodInfo(MethodInfo methodInfo, Object defaultValue) { super(methodInfo.reference, methodInfo.constantPoolOffsets, methodInfo.structOffset); this.defaultValue = defaultValue; this.accessFlags = methodInfo.accessFlags; this.attributeBytes = methodInfo.attributeBytes; this.descriptor = methodInfo.descriptor; this.exceptionNames = methodInfo.exceptionNames; this.name = methodInfo.name; this.signature = methodInfo.signature; this.signatureUtf8Offset = methodInfo.signatureUtf8Offset; this.tagBits = methodInfo.tagBits; } |
| ||||
MethodInfoWithAnnotations(MethodInfo methodInfo, AnnotationInfo[] annotations) { super(methodInfo.reference, methodInfo.constantPoolOffsets, methodInfo.structOffset); this.annotations = annotations; this.accessFlags = methodInfo.accessFlags; this.attributeBytes = methodInfo.attributeBytes; this.descriptor = methodInfo.descriptor; this.exceptionNames = methodInfo.exceptionNames; this.name = methodInfo.name; this.signature = methodInfo.signature; this.signatureUtf8Offset = methodInfo.signatureUtf8Offset; this.tagBits = methodInfo.tagBits; } |
| |||
[[#variable538441c0]](MethodInfo methodInfo, [[#variable53844120]] [[#variable538440a0]] [[#variablebbc55fa0]]) { super(methodInfo.reference, methodInfo.constantPoolOffsets, methodInfo.structOffset); this. [[#variablebbc55fa0]]= [[#variablebbc55fa0]]; this.accessFlags = methodInfo.accessFlags; this.attributeBytes = methodInfo.attributeBytes; this.descriptor = methodInfo.descriptor; this.exceptionNames = methodInfo.exceptionNames; this.name = methodInfo.name; this.signature = methodInfo.signature; this.signatureUtf8Offset = methodInfo.signatureUtf8Offset; this.tagBits = methodInfo.tagBits; } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#538441c0]] | MethodInfoWithAnnotations |
1 | 2 | [[#538441c0]] | AnnotationMethodInfo |
2 | 1 | [[#53844120]] | AnnotationInfo |
2 | 2 | [[#53844120]] | Object |
3 | 1 | [[#538440a0]] | [] |
3 | 2 | [[#538440a0]] | |
4 | 1 | [[#bbc55fa0]] | annotations |
4 | 2 | [[#bbc55fa0]] | defaultValue |