Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
2 | 2 | 2 | 0.959 | statement_sequence_member |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 2 | 79 | plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/lookup/MethodVerifier.java |
2 | 2 | 85 | plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/lookup/MethodVerifier.java |
| ||||
if (one.declaringClass.id == TypeIds.T_JavaLangObject) return substituteTwo.returnType.isCompatibleWith(one.returnType); // interface methods inherit from Object |
| ||||
// check for methods from Object, every interface inherits from Object if (substituteTwo.declaringClass.id == TypeIds.T_JavaLangObject) return one.returnType.isCompatibleWith(substituteTwo.returnType); |
| |||
// check for methods from Object, every interface inherits from Object if ( [[#variablebddb0060]].declaringClass.id == TypeIds.T_JavaLangObject) return [[#variableba02dfe0]].returnType.isCompatibleWith( [[#variablebddb0060]].returnType); // interface methods inherit from Object |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#bddb0060]] | substituteTwo |
1 | 2 | [[#bddb0060]] | one |
2 | 1 | [[#ba02dfe0]] | one |
2 | 2 | [[#ba02dfe0]] | substituteTwo |