Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
10 | 2 | 2 | 0.985 | executable_statement |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 10 | 110 | plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/ast/JavadocAllocationExpression.java |
2 | 10 | 154 | plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/ast/JavadocMessageSend.java |
| ||||
{ ParameterizedMethodBinding paramMethodBinding = (ParameterizedMethodBinding) this.binding; if (paramMethodBinding.hasSubstitutedParameters()) { int length = argumentTypes.length; for (int i = 0; i < length; i++) { if (paramMethodBinding.parameters[i] != argumentTypes[i] && paramMethodBinding.parameters[i].erasure() != argumentTypes[i].erasure()) { MethodBinding problem = new ProblemMethodBinding(this.binding, this.binding.selector, argumentTypes, ProblemReasons.NotFound); scope.problemReporter().javadocInvalidConstructor(this, problem, scope.getDeclarationModifiers()); break; } } } } |
| ||||
{ ParameterizedMethodBinding paramMethodBinding = (ParameterizedMethodBinding) this.binding; if (paramMethodBinding.hasSubstitutedParameters()) { int length = argumentTypes.length; for (int i = 0; i < length; i++) { if (paramMethodBinding.parameters[i] != argumentTypes[i] && paramMethodBinding.parameters[i].erasure() != argumentTypes[i].erasure()) { MethodBinding problem = new ProblemMethodBinding(this.binding, this.selector, argumentTypes, ProblemReasons.NotFound); scope.problemReporter().javadocInvalidMethod(this, problem, scope.getDeclarationModifiers()); break; } } } } |
| |||
{ ParameterizedMethodBinding paramMethodBinding = (ParameterizedMethodBinding) this.binding; if (paramMethodBinding.hasSubstitutedParameters()) { int length = argumentTypes.length; for (int i = 0; i < length; i++) { if (paramMethodBinding.parameters[i] != argumentTypes[i] && paramMethodBinding.parameters[i].erasure() != argumentTypes[i].erasure()) { MethodBinding problem = new ProblemMethodBinding(this.binding, [[#variable5a373800]].selector, argumentTypes, ProblemReasons.NotFound); scope.problemReporter(). [[#variable5a373820]](this, problem, scope.getDeclarationModifiers()); break; } } } } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#5a373800]] | this |
1 | 2 | [[#5a373800]] | this.binding |
2 | 1 | [[#5a373820]] | javadocInvalidMethod |
2 | 2 | [[#5a373820]] | javadocInvalidConstructor |