CloneSet1782


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
12240.978class_body_declaration
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
11279
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/classfmt/AnnotationMethodInfo.java
21218
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/classfmt/MethodInfoWithAnnotations.java
Clone Instance
1
Line Count
12
Source Line
79
Source File
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/classfmt/AnnotationMethodInfo.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;
}


Clone Instance
2
Line Count
12
Source Line
18
Source File
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/classfmt/MethodInfoWithAnnotations.java

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;
}


Clone AbstractionParameter Count: 4Parameter Bindings

 [[#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 Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#538441c0]]
MethodInfoWithAnnotations 
12[[#538441c0]]
AnnotationMethodInfo 
21[[#53844120]]
AnnotationInfo 
22[[#53844120]]
Object 
31[[#538440a0]]
[] 
32[[#538440a0]]
41[[#bbc55fa0]]
annotations 
42[[#bbc55fa0]]
defaultValue