| Previous CloneSet | Next CloneSet | Back to Main Report |
| Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
|---|---|---|---|---|
| 7 | 2 | 1 | 0.991 | switch_group |
| Clone Abstraction | Parameter Bindings |
| Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
|---|---|---|---|
| 1 | 7 | 565 | plugins/org.eclipse.jdt.core/search/org/eclipse/jdt/internal/core/search/matching/PatternLocator.java |
| 2 | 7 | 623 | plugins/org.eclipse.jdt.core/search/org/eclipse/jdt/internal/core/search/matching/PatternLocator.java |
| ||||
case Wildcard.EXTENDS:
if (wildcardBinding.bound == null || wildcardBinding.bound.isCompatibleWith(patternBinding)) {
// valid when arg extends a subclass of pattern
matchRule &= ~SearchPattern.R_FULL_MATCH;
continue ;
}
break;
|
| ||||
case Wildcard.SUPER:
if (wildcardBinding.bound == null || wildcardBinding.bound.isCompatibleWith(patternBinding)) {
// valid only when arg super a subclass of pattern
matchRule &= ~SearchPattern.R_FULL_MATCH;
continue ;
}
break;
|
| |||
case Wildcard. [[#variable64867780]]:
if (wildcardBinding.bound == null || wildcardBinding.bound.isCompatibleWith(patternBinding)) {
// valid when arg extends a subclass of pattern
// valid only when arg super a subclass of pattern
matchRule &= ~SearchPattern.R_FULL_MATCH;
continue ;
}
break;
|
| CloneAbstraction |
| Parameter Index | Clone Instance | Parameter Name | Value |
|---|---|---|---|
| 1 | 1 | [[#64867780]] | EXTENDS |
| 1 | 2 | [[#64867780]] | SUPER |