| Previous CloneSet | Next CloneSet | Back to Main Report |
| Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
|---|---|---|---|---|
| 3 | 2 | 1 | 0.971 | statement_sequence_member |
| Clone Abstraction | Parameter Bindings |
| Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
|---|---|---|---|
| 1 | 3 | 506 | plugins/org.eclipse.jdt.core/search/org/eclipse/jdt/internal/core/search/matching/PatternLocator.java |
| 2 | 3 | 810 | plugins/org.eclipse.jdt.core/search/org/eclipse/jdt/internal/core/search/matching/PatternLocator.java |
| ||||
if (argumentBinding instanceof CaptureBinding) {
WildcardBinding capturedWildcard = ((CaptureBinding) argumentBinding).wildcard;
if (capturedWildcard != null) argumentBinding = capturedWildcard;
}
|
| ||||
// Verify that names match...
// ...special case for wildcard
if (argTypeBinding instanceof CaptureBinding) {
WildcardBinding capturedWildcard = ((CaptureBinding) argTypeBinding).wildcard;
if (capturedWildcard != null) argTypeBinding = capturedWildcard;
}
|
| |||
// Verify that names match...
// ...special case for wildcard
if ( [[#variable56edb6a0]]instanceof CaptureBinding) {
WildcardBinding capturedWildcard = ((CaptureBinding) [[#variable56edb6a0]]).wildcard;
if (capturedWildcard != null)
[[#variable56edb6a0]]= capturedWildcard;
}
|
| CloneAbstraction |
| Parameter Index | Clone Instance | Parameter Name | Value |
|---|---|---|---|
| 1 | 1 | [[#56edb6a0]] | argumentBinding |
| 1 | 2 | [[#56edb6a0]] | argTypeBinding |