CloneSet2060


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
8220.993class_body_declaration
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
18594
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/problem/ProblemReporter.java
28603
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/problem/ProblemReporter.java
Clone Instance
1
Line Count
8
Source Line
594
Source File
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/problem/ProblemReporter.java

public void annotationValueMustBeClassLiteral(TypeBinding annotationType, char[] name, Expression value) {
        String str = new String(name);
        this.handle(
                IProblem.AnnotationValueMustBeClassLiteral, 
                new String[] {
                               new String(annotationType.readableName()), str
                             }, new String[] {
                                               new String(annotationType.shortReadableName()), str
                                             }, value.sourceStart, value.sourceEnd);
}


Clone Instance
2
Line Count
8
Source Line
603
Source File
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/problem/ProblemReporter.java

public void annotationValueMustBeConstant(TypeBinding annotationType, char[] name, Expression value) {
        String str = new String(name);
        this.handle(
                IProblem.AnnotationValueMustBeConstant, 
                new String[] {
                               new String(annotationType.readableName()), str
                             }, new String[] {
                                               new String(annotationType.shortReadableName()), str
                                             }, value.sourceStart, value.sourceEnd);
}


Clone AbstractionParameter Count: 2Parameter Bindings

public void [[#variablea51ec420]](TypeBinding annotationType, char[] name, Expression value) {
  String str = new String(name);
  this.handle(IProblem. [[#variablea51ec3a0]], new String[] {
                                                              new String(annotationType.readableName()),
                                                              str
                                                            }, new String[] {
                                                                              new String(annotationType.shortReadableName()),
                                                                              str
                                                                            }, value.sourceStart, value.sourceEnd);
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#a51ec420]]
annotationValueMustBeClassLiteral 
12[[#a51ec420]]
annotationValueMustBeConstant 
21[[#a51ec3a0]]
AnnotationValueMustBeClassLiteral 
22[[#a51ec3a0]]
AnnotationValueMustBeConstant