Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
4 | 2 | 3 | 0.963 | class_body_declaration |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 4 | 24 | plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/typeconstraints/typesets/SingletonTypeSet.java |
2 | 4 | 27 | plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/typeconstraints/typesets/SubTypesOfSingleton.java |
| ||||
//TODO: encapsulate in factory method and return the same set for known types public SingletonTypeSet(TType t, TypeSetEnvironment typeSetEnvironment) { super(typeSetEnvironment); Assert.isNotNull(t); fType = t; } |
| ||||
protected SubTypesOfSingleton(TType t, TypeSetEnvironment typeSetEnvironment) { super(typeSetEnvironment); Assert.isNotNull(t); fUpperBound = t; } |
| |||
[[#variablea1bb9b80]] [[#variablea1bb9b00]](TType t, TypeSetEnvironment typeSetEnvironment) { super(typeSetEnvironment); Assert.isNotNull(t); [[#variablea1bb9a40]]= t; } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#a1bb9b80]] | protected |
1 | 2 | [[#a1bb9b80]] | //TODO: encapsulate in factory method and return the same set for known types public |
2 | 1 | [[#a1bb9b00]] | SubTypesOfSingleton |
2 | 2 | [[#a1bb9b00]] | SingletonTypeSet |
3 | 1 | [[#a1bb9a40]] | fUpperBound |
3 | 2 | [[#a1bb9a40]] | fType |