Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
5 | 2 | 2 | 0.955 | method_declaration |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 5 | 216 | E:/TSE/Projects-CloneDR/emf-2.4.1/src/org/eclipse/emf/ecore/change/impl/ChangeFactoryImpl.java |
2 | 5 | 154 | E:/TSE/Projects-CloneDR/emf-2.4.1/src/org/eclipse/emf/ecore/xml/namespace/impl/XMLNamespaceFactoryImpl.java |
| |||||
/** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public ChangeKind createChangeKindFromString(EDataType eDataType, String initialValue) { ChangeKind result = ChangeKind.get(initialValue); if (result == null) throw new IllegalArgumentException("The value \'" + initialValue + "\' is not a valid enumerator of \'" + eDataType.getName() + "\'"); return result; } |
| |||||
/** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public SpaceType createSpaceTypeFromString(EDataType eDataType, String initialValue) { SpaceType result = SpaceType.get(initialValue); if (result == null) throw new IllegalArgumentException("The value \'" + initialValue + "\' is not a valid enumerator of \'" + eDataType.getName() + "\'"); return result; } |
| |||
/** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public [[#variable1739b080]] [[#variable1739af60]](EDataType eDataType, String initialValue) { [[#variable1739b080]] result = [[#variable1739b080]].get(initialValue); if (result == null) throw new IllegalArgumentException("The value \'" + initialValue + "\' is not a valid enumerator of \'" + eDataType.getName() + "\'"); return result; } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#1739b080]] | ChangeKind |
1 | 2 | [[#1739b080]] | SpaceType |
2 | 1 | [[#1739af60]] | createChangeKindFromString |
2 | 2 | [[#1739af60]] | createSpaceTypeFromString |