CloneSet5831


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
5220.984class_body_declaration
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
15266
plugins/org.eclipse.jdt.apt.core/src/org/eclipse/jdt/apt/core/internal/util/TypesUtil.java
26274
plugins/org.eclipse.jdt.apt.core/src/org/eclipse/jdt/apt/core/internal/util/TypesUtil.java
Clone Instance
1
Line Count
5
Source Line
266
Source File
plugins/org.eclipse.jdt.apt.core/src/org/eclipse/jdt/apt/core/internal/util/TypesUtil.java

    /**
     * @return true iff t2 = t1 does not require explicit casting and not cause an error.
     */
    public boolean isAssignable(TypeMirror t1, TypeMirror t2)
    {
        EclipseMirrorType left = (EclipseMirrorType) t1;
        EclipseMirrorType right = (EclipseMirrorType) t2;
        return left.isAssignmentCompatible(right);
    }


Clone Instance
2
Line Count
6
Source Line
274
Source File
plugins/org.eclipse.jdt.apt.core/src/org/eclipse/jdt/apt/core/internal/util/TypesUtil.java

    public boolean isSubtype(TypeMirror t1, TypeMirror t2)
    {
        EclipseMirrorType left = (EclipseMirrorType) t1;
        EclipseMirrorType right = (EclipseMirrorType) t2;

        return left.isSubTypeCompatible(right);
    }


Clone AbstractionParameter Count: 2Parameter Bindings

/**
     * @return true iff t2 = t1 does not require explicit casting and not cause an error.
     */
public boolean  [[#variable900dfd80]](TypeMirror t1, TypeMirror t2) {
  EclipseMirrorType left = (EclipseMirrorType) t1;
  EclipseMirrorType right = (EclipseMirrorType) t2;
  return left. [[#variable900dfd00]](right);
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#900dfd80]]
isAssignable 
12[[#900dfd80]]
isSubtype 
21[[#900dfd00]]
isAssignmentCompatible 
22[[#900dfd00]]
isSubTypeCompatible