CloneSet1831


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
6220.990switch_group
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
16126
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/lookup/WildcardBinding.java
26147
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/lookup/WildcardBinding.java
Clone Instance
1
Line Count
6
Source Line
126
Source File
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/lookup/WildcardBinding.java

                                                                case Wildcard.EXTENDS: // A={? extends V} << F={? extends U} ---> V << U
                                                                        this.bound.collectSubstitutes(scope, actualWildcard.bound, substitutes, TypeConstants.CONSTRAINT_EXTENDS);
                                                                for (int i = 0, length = actualWildcard.otherBounds == null ? 0:  actualWildcard.otherBounds.length; i < length; i++) {
                                                                                this.bound.collectSubstitutes(scope, actualWildcard.otherBounds[i], substitutes, TypeConstants.CONSTRAINT_EXTENDS);
                                                                }
                                                                        break;


Clone Instance
2
Line Count
6
Source Line
147
Source File
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/lookup/WildcardBinding.java

                                                                case Wildcard.SUPER: // A={? super V} << F={? super U} ---> 0
                                                                        this.bound.collectSubstitutes(scope, actualWildcard.bound, substitutes, TypeConstants.CONSTRAINT_SUPER);
                                                                for (int i = 0, length = actualWildcard.otherBounds == null ? 0:  actualWildcard.otherBounds.length; i < length; i++) {
                                                                                this.bound.collectSubstitutes(scope, actualWildcard.otherBounds[i], substitutes, TypeConstants.CONSTRAINT_SUPER);
                                                                }
                                                                        break;


Clone AbstractionParameter Count: 2Parameter Bindings

case Wildcard. [[#variablec10e8360]]: // A={? extends V} << F={? extends U} ---> V << U // A={? super V} << F={? super U} ---> 0
  this.bound.collectSubstitutes(scope, actualWildcard.bound, substitutes, TypeConstants. [[#variablec10e83c0]]);
  for (int i = 0, length = actualWildcard.otherBounds == null ? 0: actualWildcard.otherBounds.length; i < length; i++) {
    this.bound.collectSubstitutes(scope, actualWildcard.otherBounds[i], substitutes, TypeConstants. [[#variablec10e83c0]]);
  }
  break;
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#c10e8360]]
EXTENDS 
12[[#c10e8360]]
SUPER 
21[[#c10e83c0]]
CONSTRAINT_EXTENDS 
22[[#c10e83c0]]
CONSTRAINT_SUPER