CloneSet2347


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
5320.988class_body_declaration
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
1558
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/typeconstraints/types/GenericType.java
25104
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/typeconstraints/types/ParameterizedType.java
3584
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/typeconstraints/types/RawType.java
Clone Instance
1
Line Count
5
Source Line
58
Source File
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/typeconstraints/types/GenericType.java

        protected boolean isTypeEquivalentTo(TType other) {
                int otherElementType = other.getKind();
                if (otherElementType == RAW_TYPE || otherElementType == PARAMETERIZED_TYPE)
                        return getErasure().isTypeEquivalentTo(other.getErasure());
                return super.isTypeEquivalentTo(other);
        }


Clone Instance
2
Line Count
5
Source Line
104
Source File
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/typeconstraints/types/ParameterizedType.java

        protected boolean isTypeEquivalentTo(TType other) {
                int otherElementType = other.getKind();
                if (otherElementType == RAW_TYPE || otherElementType == GENERIC_TYPE)
                        return getErasure().isTypeEquivalentTo(other.getErasure());
                return super.isTypeEquivalentTo(other);
        }


Clone Instance
3
Line Count
5
Source Line
84
Source File
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/typeconstraints/types/RawType.java

        protected boolean isTypeEquivalentTo(TType other) {
                int otherElementType = other.getKind();
                if (otherElementType == PARAMETERIZED_TYPE || otherElementType == GENERIC_TYPE)
                        return getErasure().isTypeEquivalentTo(other.getErasure());
                return super.isTypeEquivalentTo(other);
        }


Clone AbstractionParameter Count: 2Parameter Bindings

protected boolean isTypeEquivalentTo(TType other) {
  int otherElementType = other.getKind();
  if (otherElementType == [[#variable5ad037a0]]|| otherElementType == [[#variable527ce3a0]])
    return getErasure().isTypeEquivalentTo(other.getErasure());
  return super.isTypeEquivalentTo(other);
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#5ad037a0]]
PARAMETERIZED_TYPE 
12[[#5ad037a0]]
RAW_TYPE 
13[[#5ad037a0]]
RAW_TYPE 
21[[#527ce3a0]]
GENERIC_TYPE 
22[[#527ce3a0]]
GENERIC_TYPE 
23[[#527ce3a0]]
PARAMETERIZED_TYPE