CloneSet6558


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
2220.982class_body_declaration
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
12440
plugins/org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/util/MethodOverrideTester.java
22444
plugins/org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/util/MethodOverrideTester.java
Clone Instance
1
Line Count
2
Source Line
440
Source File
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();
        }


Clone Instance
2
Line Count
2
Source Line
444
Source File
plugins/org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/util/MethodOverrideTester.java

        private String getErasedTypeName(String typeSig, IMember context) throws JavaModelException {
                return internalGetSubstitutedTypeName(typeSig, context, true, new StringBuffer()).toString();
        }


Clone AbstractionParameter Count: 2Parameter Bindings

/**
         * 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 Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#62409ae0]]
getSubstitutedTypeName 
12[[#62409ae0]]
getErasedTypeName 
21[[#62409a20]]
false 
22[[#62409a20]]
true