CloneSet2558


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
4201.000statement_sequence[3]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
142747
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/lookup/Scope.java
242802
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/lookup/Scope.java
Clone Instance
1
Line Count
4
Source Line
2747
Source File
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/lookup/Scope.java

                                                                if (lub == null) return null;
                                                                // int is returned to denote cycle detected in lub computation - stop recursion by answering unbound wildcard
                                                                if (lub == TypeBinding.INT) return environment().createWildcard(genericType, rank, null, null
                                                                                                                                                              /*no extra bound*/
                                                                                                                                                             ,                    Wildcard.UNBOUND);
                                                                return environment().createWildcard(genericType, rank, lub, null
                                                                                                                                 /*no extra bound*/
                                                                                                                                ,                    Wildcard.EXTENDS);


Clone Instance
2
Line Count
4
Source Line
2802
Source File
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/lookup/Scope.java

                if (lub == null) return null;
                // int is returned to denote cycle detected in lub computation - stop recursion by answering unbound wildcard
                if (lub == TypeBinding.INT) return environment().createWildcard(genericType, rank, null, null
                                                                                                              /*no extra bound*/
                                                                                                             ,                    Wildcard.UNBOUND);
                return environment().createWildcard(genericType, rank, lub, null
                                                                                 /*no extra bound*/
                                                                                ,                    Wildcard.EXTENDS);


Clone AbstractionParameter Count: 0Parameter Bindings

if (lub == null)
  return null;
// int is returned to denote cycle detected in lub computation - stop recursion by answering unbound wildcard
if (lub == TypeBinding.INT)
  return environment().createWildcard(genericType, rank, null, null
                                                                   /*no extra bound*/
                                                                   , Wildcard.UNBOUND);
return environment().createWildcard(genericType, rank, lub, null
                                                                /*no extra bound*/
                                                                , Wildcard.EXTENDS);
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
None