CloneSet684


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
18230.973executable_statement
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
1185938
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/problem/ProblemReporter.java
2185956
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/problem/ProblemReporter.java
Clone Instance
1
Line Count
18
Source Line
5938
Source File
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/problem/ProblemReporter.java

                       {
                this.handle(
                        IProblem.UnsafeRawGenericConstructorInvocation, // The generic constructor {0}({1}) of type {2} is applied to non-parameterized type arguments ({3})
                         new String[] {
                                 new String(rawMethod.declaringClass.sourceName()),
                                 typesAsString(rawMethod.original().isVarargs(), rawMethod.original().parameters, false),
                                 new String(rawMethod.declaringClass.readableName()),
                                 typesAsString(rawMethod.original().isVarargs(), rawMethod.parameters, false)
                                        ,
                                      }, new String[] {
                                                 new String(rawMethod.declaringClass.sourceName()),
                                                 typesAsString(rawMethod.original().isVarargs(), rawMethod.original().parameters, true),
                                                 new String(rawMethod.declaringClass.shortReadableName()),
                                                 typesAsString(rawMethod.original().isVarargs(), rawMethod.parameters, true)
                                                        ,
                                                      }, severity, 
                        location.sourceStart, 
                        location.sourceEnd);
                       }


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

           {
                this.handle(
                        IProblem.UnsafeRawGenericMethodInvocation, 
                        new String[] {
                                new String(rawMethod.selector),
                                typesAsString(rawMethod.original().isVarargs(), rawMethod.original().parameters, false),
                                new String(rawMethod.declaringClass.readableName()),
                                typesAsString(rawMethod.original().isVarargs(), rawMethod.parameters, false)
                                       ,
                                     }, new String[] {
                                                new String(rawMethod.selector),
                                                typesAsString(rawMethod.original().isVarargs(), rawMethod.original().parameters, true),
                                                new String(rawMethod.declaringClass.shortReadableName()),
                                                typesAsString(rawMethod.original().isVarargs(), rawMethod.parameters, true)
                                                       ,
                                                     }, severity, 
                        location.sourceStart, 
                        location.sourceEnd);
           }


Clone AbstractionParameter Count: 3Parameter Bindings

{
  this.handle(IProblem. [[#variable6198e920]], // The generic constructor {0}({1}) of type {2} is applied to non-parameterized type arguments ({3})
               new String[] {
                              new String( [[#variable6198e8c0]] [[#variable6198e7e0]]),
                              typesAsString(rawMethod.original().isVarargs(), rawMethod.original().parameters, false),
                              new String(rawMethod.declaringClass.readableName()),
                              typesAsString(rawMethod.original().isVarargs(), rawMethod.parameters, false)
                              ,
                            }, new String[] {
                                              new String( [[#variable6198e8c0]] [[#variable6198e7e0]]),
                                              typesAsString(rawMethod.original().isVarargs(), rawMethod.original().parameters, true),
                                              new String(rawMethod.declaringClass.shortReadableName()),
                                              typesAsString(rawMethod.original().isVarargs(), rawMethod.parameters, true)
                                              ,
                                            }, severity, location.sourceStart, location.sourceEnd);
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#6198e920]]
UnsafeRawGenericConstructorInvocation 
12[[#6198e920]]
UnsafeRawGenericMethodInvocation 
21[[#6198e8c0]]
rawMethod.declaringClass 
22[[#6198e8c0]]
rawMethod 
31[[#6198e7e0]]
.sourceName() 
32[[#6198e7e0]]
.selector