CloneSet3904


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
5210.989statement_sequence_member
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
15768
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/lookup/Scope.java
252012
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/lookup/Scope.java
Clone Instance
1
Line Count
5
Source Line
768
Source File
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/lookup/Scope.java

                                if (receiverType.id != T_JavaLangObject &&
                                           argumentTypes == Binding.NO_PARAMETERS &&
                                       CharOperation.equals(selector, GETCLASS) &&
                                       exactMethod.returnType.isParameterizedType()
                                                                                   /*1.5*/
                                                                                   )        {
                                                return ParameterizedMethodBinding.instantiateGetClass(receiverType, exactMethod, this );
                                }


Clone Instance
2
Line Count
5
Source Line
2012
Source File
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/lookup/Scope.java

                        // special treatment for Object.getClass() in 1.5 mode (substitute parameterized return type)
                        if (receiverType.id != T_JavaLangObject &&
                                   argumentTypes == Binding.NO_PARAMETERS &&
                               CharOperation.equals(selector, GETCLASS) &&
                               methodBinding.returnType.isParameterizedType()
                                                                             /*1.5*/
                                                                             )        {
                                        return ParameterizedMethodBinding.instantiateGetClass(receiverType, methodBinding, this );
                        }


Clone AbstractionParameter Count: 1Parameter Bindings

// special treatment for Object.getClass() in 1.5 mode (substitute parameterized return type)
if (receiverType.id != T_JavaLangObject && argumentTypes == Binding.NO_PARAMETERS && CharOperation.equals(selector, GETCLASS) && [[#variable5abf2000]].returnType.isParameterizedType()
                                                                                                                                                                                       /*1.5*/
                                                                                                                                                                                       ) {
  return ParameterizedMethodBinding.instantiateGetClass(receiverType,  [[#variable5abf2000]], this );
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#5abf2000]]
exactMethod 
12[[#5abf2000]]
methodBinding