CloneSet533


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
20201.000class_body_declarations[4]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
12022
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/classfmt/AnnotationMethodInfoWithAnnotations.java
22031
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/classfmt/MethodInfoWithAnnotations.java
Clone Instance
1
Line Count
20
Source Line
22
Source File
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/classfmt/AnnotationMethodInfoWithAnnotations.java

public IBinaryAnnotation[] getAnnotations() {
        return this.annotations;
}

protected void initialize() {
        for (int i = 0, l = this.annotations == null ? 0:  this.annotations.length; i < l; i++)
                if (this.annotations[i] != null)
                        this.annotations[i].initialize();
        super.initialize();
}

protected void reset() {
        for (int i = 0, l = this.annotations == null ? 0:  this.annotations.length; i < l; i++)
                if (this.annotations[i] != null)
                        this.annotations[i].reset();
        super.reset();
}

protected void toStringContent(StringBuffer buffer) {
        super.toStringContent(buffer);
        for (int i = 0, l = this.annotations == null ? 0:  this.annotations.length; i < l; i++) {
                buffer.append(this.annotations[i]);
                buffer.append('\n');
        }
}


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

public IBinaryAnnotation[] getAnnotations() {
        return this.annotations;
}

protected void initialize() {
        for (int i = 0, l = this.annotations == null ? 0:  this.annotations.length; i < l; i++)
                if (this.annotations[i] != null)
                        this.annotations[i].initialize();
        super.initialize();
}

protected void reset() {
        for (int i = 0, l = this.annotations == null ? 0:  this.annotations.length; i < l; i++)
                if (this.annotations[i] != null)
                        this.annotations[i].reset();
        super.reset();
}

protected void toStringContent(StringBuffer buffer) {
        super.toStringContent(buffer);
        for (int i = 0, l = this.annotations == null ? 0:  this.annotations.length; i < l; i++) {
                buffer.append(this.annotations[i]);
                buffer.append('\n');
        }
}


Clone AbstractionParameter Count: 0Parameter Bindings

public IBinaryAnnotation[] getAnnotations() {
  return this.annotations;
}

protected void initialize() {
  for (int i = 0, l = this.annotations == null ? 0: this.annotations.length; i < l; i++)
    if (this.annotations[i] != null)
      this.annotations[i].initialize();
  super.initialize();
}

protected void reset() {
  for (int i = 0, l = this.annotations == null ? 0: this.annotations.length; i < l; i++)
    if (this.annotations[i] != null)
      this.annotations[i].reset();
  super.reset();
}

protected void toStringContent(StringBuffer buffer) {
  super.toStringContent(buffer);
  for (int i = 0, l = this.annotations == null ? 0: this.annotations.length; i < l; i++) {
    buffer.append(this.annotations[i]);
    buffer.append('\n');
  }
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
None