CloneSet1192


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

public void overridesDeprecatedMethod(MethodBinding localMethod, MethodBinding inheritedMethod) {
        this.handle(
                IProblem.OverridingDeprecatedMethod, 
                new String[] {
                        new String(
                                        CharOperation.concat(
                                                localMethod.declaringClass.readableName(), 
                                                localMethod.readableName(), 
                                                '.'         )),
                        new String(inheritedMethod.declaringClass.readableName())
                             }, new String[] {
                                        new String(
                                                        CharOperation.concat(
                                                                localMethod.declaringClass.shortReadableName(), 
                                                                localMethod.shortReadableName(), 
                                                                '.'         )),
                                        new String(inheritedMethod.declaringClass.shortReadableName())
                                             }, localMethod.sourceStart(), 
                localMethod.sourceEnd());
}


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

public void overridesPackageDefaultMethod(MethodBinding localMethod, MethodBinding inheritedMethod) {
        this.handle(
                IProblem.OverridingNonVisibleMethod, 
                new String[] {
                        new String(
                                        CharOperation.concat(
                                                localMethod.declaringClass.readableName(), 
                                                localMethod.readableName(), 
                                                '.'         )),
                        new String(inheritedMethod.declaringClass.readableName())
                             }, new String[] {
                                        new String(
                                                        CharOperation.concat(
                                                                localMethod.declaringClass.shortReadableName(), 
                                                                localMethod.shortReadableName(), 
                                                                '.'         )),
                                        new String(inheritedMethod.declaringClass.shortReadableName())
                                             }, localMethod.sourceStart(), 
                localMethod.sourceEnd());
}


Clone AbstractionParameter Count: 2Parameter Bindings

public void [[#variable64f5ff80]](MethodBinding localMethod, MethodBinding inheritedMethod) {
  this.handle(IProblem. [[#variable64f5ff00]], new String[] {
                                                              new String(CharOperation.concat(localMethod.declaringClass.readableName(), localMethod.readableName(), '.')),
                                                              new String(inheritedMethod.declaringClass.readableName())
                                                            }, new String[] {
                                                                              new String(CharOperation.concat(localMethod.declaringClass.shortReadableName(), localMethod.shortReadableName(), '.')),
                                                                              new String(inheritedMethod.declaringClass.shortReadableName())
                                                                            }, localMethod.sourceStart(), localMethod.sourceEnd());
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#64f5ff80]]
overridesDeprecatedMethod 
12[[#64f5ff80]]
overridesPackageDefaultMethod 
21[[#64f5ff00]]
OverridingDeprecatedMethod 
22[[#64f5ff00]]
OverridingNonVisibleMethod