Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
8 | 2 | 3 | 0.952 | statement_sequence[7] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 8 | 359 | plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/typeconstraints/types/TypeEnvironment.java |
2 | 8 | 428 | plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/typeconstraints/types/TypeEnvironment.java |
| ||||
String bindingKey = binding.getKey(); ProjectKeyPair pair = new ProjectKeyPair(javaProject, bindingKey); ParameterizedType result = (ParameterizedType) fParameterizedTypes.get(pair); if (result != null) return result; result = new ParameterizedType(this ); fParameterizedTypes.put(pair, result); result.initialize(binding, (IType) binding.getJavaElement()); |
| ||||
String bindingKey = binding.getKey(); ProjectKeyPair pair = new ProjectKeyPair(javaProject, bindingKey); CaptureType result = (CaptureType) fCaptureTypes.get(pair); if (result != null) return result; result = new CaptureType(this ); fCaptureTypes.put(pair, result); result.initialize(binding, javaProject); |
| |||
String bindingKey = binding.getKey(); ProjectKeyPair pair = new ProjectKeyPair(javaProject, bindingKey); [[#variable6012f6e0]] result = ( [[#variable6012f6e0]]) [[#variable54379080]].get(pair); if (result != null) return result; result = new [[#variable6012f6e0]](this ); [[#variable54379080]].put(pair, result); result.initialize(binding, [[#variable60821700]]); |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#6012f6e0]] | ParameterizedType |
1 | 2 | [[#6012f6e0]] | CaptureType |
2 | 1 | [[#54379080]] | fParameterizedTypes |
2 | 2 | [[#54379080]] | fCaptureTypes |
3 | 1 | [[#60821700]] | (IType) binding.getJavaElement() |
3 | 2 | [[#60821700]] | javaProject |