Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
5 | 2 | 1 | 0.989 | statement_sequence_member |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 5 | 768 | plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/lookup/Scope.java |
2 | 5 | 2012 | 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 ); } |
| ||||
// 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 ); } |
| |||
// 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 Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#5abf2000]] | exactMethod |
1 | 2 | [[#5abf2000]] | methodBinding |