Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
2 | 2 | 2 | 0.982 | class_body_declaration |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 2 | 440 | plugins/org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/util/MethodOverrideTester.java |
2 | 2 | 444 | plugins/org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/util/MethodOverrideTester.java |
| ||||
/** * Translates the type signature to a 'normalized' type name where all variables are substituted for the given type or method context. * The returned name contains only simple names and can be used to compare against other substituted type names * @param typeSig The type signature to translate * @param context The context for the substitution * @return a type name * @throws JavaModelException */ private String getSubstitutedTypeName(String typeSig, IMember context) throws JavaModelException { return internalGetSubstitutedTypeName(typeSig, context, false, new StringBuffer()).toString(); } |
| ||||
private String getErasedTypeName(String typeSig, IMember context) throws JavaModelException { return internalGetSubstitutedTypeName(typeSig, context, true, new StringBuffer()).toString(); } |
| |||
/** * Translates the type signature to a 'normalized' type name where all variables are substituted for the given type or method context. * The returned name contains only simple names and can be used to compare against other substituted type names * @param typeSig The type signature to translate * @param context The context for the substitution * @return a type name * @throws JavaModelException */ private String [[#variable62409ae0]](String typeSig, IMember context) throws JavaModelException { return internalGetSubstitutedTypeName(typeSig, context, [[#variable62409a20]], new StringBuffer()).toString(); } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#62409ae0]] | getSubstitutedTypeName |
1 | 2 | [[#62409ae0]] | getErasedTypeName |
2 | 1 | [[#62409a20]] | false |
2 | 2 | [[#62409a20]] | true |