Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
9 | 2 | 3 | 0.976 | class_body_declaration |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 9 | 393 | plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/typeconstraints/types/TypeEnvironment.java |
2 | 9 | 404 | plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/typeconstraints/types/TypeEnvironment.java |
| ||||
private TType createExtendsWildCardType(ITypeBinding binding) { TType bound = create(binding.getBound()); ExtendsWildcardType result = (ExtendsWildcardType) fExtendsWildcardTypes.get(bound); if (result != null) return result; result = new ExtendsWildcardType(this ); fExtendsWildcardTypes.put(bound, result); result.initialize(binding); return result; } |
| ||||
private TType createSuperWildCardType(ITypeBinding binding) { TType bound = create(binding.getBound()); SuperWildcardType result = (SuperWildcardType) fSuperWildcardTypes.get(bound); if (result != null) return result; result = new SuperWildcardType(this ); fSuperWildcardTypes.put(bound, result); result.initialize(binding); return result; } |
| |||
private TType [[#variableb553d580]](ITypeBinding binding) { TType bound = create(binding.getBound()); [[#variableb553d500]] result = ( [[#variableb553d500]]) [[#variableb553d3e0]].get(bound); if (result != null) return result; result = new [[#variableb553d500]](this ); [[#variableb553d3e0]].put(bound, result); result.initialize(binding); return result; } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#b553d580]] | createExtendsWildCardType |
1 | 2 | [[#b553d580]] | createSuperWildCardType |
2 | 1 | [[#b553d500]] | ExtendsWildcardType |
2 | 2 | [[#b553d500]] | SuperWildcardType |
3 | 1 | [[#b553d3e0]] | fExtendsWildcardTypes |
3 | 2 | [[#b553d3e0]] | fSuperWildcardTypes |