CloneSet4892


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
7201.000class_body_declaration
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
17248
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/code/ExtractTempRefactoring.java
27457
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/code/IntroduceParameterRefactoring.java
Clone Instance
1
Line Count
7
Source Line
248
Source File
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/code/ExtractTempRefactoring.java

        private static String getQualifiedName(ITypeBinding typeBinding) {
                if (typeBinding.isAnonymous())
                        return getQualifiedName(typeBinding.getSuperclass());
                if ( !typeBinding.isArray())
                        return typeBinding.getQualifiedName();
                else
                        return typeBinding.getElementType().getQualifiedName();
        }


Clone Instance
2
Line Count
7
Source Line
457
Source File
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/code/IntroduceParameterRefactoring.java

// ----------------------------------------------------------------------
        private static String getQualifiedName(ITypeBinding typeBinding) {
                if (typeBinding.isAnonymous())
                        return getQualifiedName(typeBinding.getSuperclass());
                if ( ! typeBinding.isArray())
                        return typeBinding.getQualifiedName();
                else
                        return typeBinding.getElementType().getQualifiedName();
        }


Clone AbstractionParameter Count: 0Parameter Bindings

// ----------------------------------------------------------------------
private static String getQualifiedName(ITypeBinding typeBinding) {
  if (typeBinding.isAnonymous())
    return getQualifiedName(typeBinding.getSuperclass());
  if ( !typeBinding.isArray())
    return typeBinding.getQualifiedName();
  else
    return typeBinding.getElementType().getQualifiedName();
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
None