CloneSet7903


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
4201.000class_body_declaration
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
14216
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/typeconstraints/typesets/SubTypesOfSingleton.java
24191
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/typeconstraints/typesets/SubTypesSet.java
Clone Instance
1
Line Count
4
Source Line
216
Source File
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/typeconstraints/typesets/SubTypesOfSingleton.java

        /**
         * Returns the element type of the given TType, if an array type, or the
         * given TType itself, otherwise.
         */
        private TType getElementTypeOf(TType t) {
                if (t instanceof ArrayType)
                        return ((ArrayType) t).getElementType();
                return t;
        }


Clone Instance
2
Line Count
4
Source Line
191
Source File
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/typeconstraints/typesets/SubTypesSet.java

        /**
         * Returns the element type of the given TType, if an array type, or the
         * given TType itself, otherwise.
         */
        private TType getElementTypeOf(TType t) {
                if (t instanceof ArrayType)
                        return ((ArrayType) t).getElementType();
                return t;
        }


Clone AbstractionParameter Count: 0Parameter Bindings

/**
         * Returns the element type of the given TType, if an array type, or the
         * given TType itself, otherwise.
         */
private TType getElementTypeOf(TType t) {
  if (t instanceof ArrayType)
    return ((ArrayType) t).getElementType();
  return t;
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
None