Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
10 | 2 | 2 | 0.959 | class_body_declaration |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 10 | 43 | plugins/org.eclipse.jdt.apt.core/src/org/eclipse/jdt/apt/core/internal/type/WildcardTypeImpl.java |
2 | 10 | 55 | 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); } |
| ||||
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); } |
| |||
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 Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#525c9740]] | getLowerBounds |
1 | 2 | [[#525c9740]] | getUpperBounds |
2 | 1 | [[#525c96a0]] | _binding.isUpperbound() |
2 | 2 | [[#525c96a0]] | !_binding.isUpperbound() |