CloneSet8028


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
5220.978statement_sequence_member
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
152264
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/problem/ProblemReporter.java
252336
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/problem/ProblemReporter.java
Clone Instance
1
Line Count
5
Source Line
2264
Source File
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/problem/ProblemReporter.java

                if (currentMethod.declaringClass.isInterface() &&
                                   !inheritedMethod.isPublic()) { // interface inheriting Object protected method
                        id = IProblem.IncompatibleExceptionInThrowsClauseForNonInheritedInterfaceMethod;
                }
                else   {
                        id = IProblem.IncompatibleExceptionInThrowsClause;
                }


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

        if (currentMethod.declaringClass.isInterface() &&
                           !inheritedMethod.isPublic()) { // interface inheriting Object protected method
                id = IProblem.IncompatibleReturnTypeForNonInheritedInterfaceMethod;
        }
        else   {
                id = IProblem.IncompatibleReturnType;
        }


Clone AbstractionParameter Count: 2Parameter Bindings

if (currentMethod.declaringClass.isInterface() && !inheritedMethod.isPublic()) { // interface inheriting Object protected method
  id = IProblem. [[#variable5031b9a0]];
}
else {
  id = IProblem. [[#variable5031b940]];
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#5031b9a0]]
IncompatibleExceptionInThrowsClauseForNonInheritedInterfaceMethod 
12[[#5031b9a0]]
IncompatibleReturnTypeForNonInheritedInterfaceMethod 
21[[#5031b940]]
IncompatibleExceptionInThrowsClause 
22[[#5031b940]]
IncompatibleReturnType