Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
18 | 2 | 3 | 0.973 | executable_statement |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 18 | 5938 | plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/problem/ProblemReporter.java |
2 | 18 | 5956 | 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); } |
| ||||
{ 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); } |
| |||
{ 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 Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#6198e920]] | UnsafeRawGenericConstructorInvocation |
1 | 2 | [[#6198e920]] | UnsafeRawGenericMethodInvocation |
2 | 1 | [[#6198e8c0]] | rawMethod.declaringClass |
2 | 2 | [[#6198e8c0]] | rawMethod |
3 | 1 | [[#6198e7e0]] | .sourceName() |
3 | 2 | [[#6198e7e0]] | .selector |