Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
2 | 2 | 3 | 0.962 | statement_sequence_member |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 2 | 164 | plugins/org.eclipse.jdt.core/search/org/eclipse/jdt/internal/core/search/matching/ConstructorLocator.java |
2 | 2 | 137 | plugins/org.eclipse.jdt.core/search/org/eclipse/jdt/internal/core/search/matching/MethodLocator.java |
| ||||
// Verify type arguments (do not reject if pattern has no argument as it can be an erasure match) if (this.pattern.hasConstructorArguments()) { if (constructor.typeParameters == null || constructor.typeParameters.length != this.pattern.constructorArguments.length) return IMPOSSIBLE_MATCH; } |
| ||||
// Verify type arguments (do not reject if pattern has no argument as it can be an erasure match) if (this.pattern.hasMethodArguments()) { if (node.typeParameters == null || node.typeParameters.length != this.pattern.methodArguments.length) return IMPOSSIBLE_MATCH; } |
| |||
// Verify type arguments (do not reject if pattern has no argument as it can be an erasure match) if (this.pattern. [[#variable55b50560]]()) { if ( [[#variable55b504e0]].typeParameters == null || [[#variable55b504e0]].typeParameters.length != this.pattern. [[#variable55b50460]].length) return IMPOSSIBLE_MATCH; } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#55b50560]] | hasMethodArguments |
1 | 2 | [[#55b50560]] | hasConstructorArguments |
2 | 1 | [[#55b504e0]] | node |
2 | 2 | [[#55b504e0]] | constructor |
3 | 1 | [[#55b50460]] | methodArguments |
3 | 2 | [[#55b50460]] | constructorArguments |