CloneSet2283


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
10220.959class_body_declaration
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
11043
plugins/org.eclipse.jdt.apt.core/src/org/eclipse/jdt/apt/core/internal/type/WildcardTypeImpl.java
21055
plugins/org.eclipse.jdt.apt.core/src/org/eclipse/jdt/apt/core/internal/type/WildcardTypeImpl.java
Clone Instance
1
Line Count
10
Source Line
43
Source File
plugins/org.eclipse.jdt.apt.core/src/org/eclipse/jdt/apt/core/internal/type/WildcardTypeImpl.java

    public Collection<ReferenceType> getLowerBounds()
    {
        final ITypeBinding bound = _binding.getBound();
        // no bound or has an upper bound.
        if (bound == null || _binding.isUpperbound())
            return Collections.emptyList();
        ReferenceType mirror = Factory.createReferenceType(bound, _env);
        if (mirror == null)
            mirror = Factory.createErrorClassType(bound);
        return Collections.singletonList(mirror);
    }


Clone Instance
2
Line Count
10
Source Line
55
Source File
plugins/org.eclipse.jdt.apt.core/src/org/eclipse/jdt/apt/core/internal/type/WildcardTypeImpl.java

    public Collection<ReferenceType> getUpperBounds()
    {
        final ITypeBinding bound = _binding.getBound();
        // no bound or has a lower bound.
        if (bound == null || !_binding.isUpperbound())
            return Collections.emptyList();
        ReferenceType mirror = Factory.createReferenceType(bound, _env);
        if (mirror == null)
            mirror = Factory.createErrorClassType(bound);
        return Collections.singletonList(mirror);
    }


Clone AbstractionParameter Count: 2Parameter Bindings

public Collection<ReferenceType>  [[#variable525c9740]]() {
  final ITypeBinding bound = _binding.getBound();
  // no bound or has an upper bound.
  // no bound or has a lower bound.
  if (bound == null || [[#variable525c96a0]])
    return Collections.emptyList();
  ReferenceType mirror = Factory.createReferenceType(bound, _env);
  if (mirror == null)
    mirror = Factory.createErrorClassType(bound);
  return Collections.singletonList(mirror);
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#525c9740]]
getLowerBounds 
12[[#525c9740]]
getUpperBounds 
21[[#525c96a0]]
_binding.isUpperbound() 
22[[#525c96a0]]
!_binding.isUpperbound()