| Previous CloneSet | Next CloneSet | Back to Main Report |
| Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
|---|---|---|---|---|
| 8 | 2 | 3 | 0.985 | statement_sequence[4] |
| Clone Abstraction | Parameter Bindings |
| Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
|---|---|---|---|
| 1 | 8 | 148 | plugins/org.eclipse.jdt.debug/jdi/org/eclipse/jdi/internal/ClassTypeImpl.java |
| 2 | 8 | 218 | plugins/org.eclipse.jdt.debug/jdi/org/eclipse/jdi/internal/ClassTypeImpl.java |
| ||||
ThreadReferenceImpl threadImpl = (ThreadReferenceImpl) thread;
MethodImpl methodImpl = (MethodImpl) method;
// Perform some checks for IllegalArgumentException.
if ( !visibleMethods().contains(method))
throw new IllegalArgumentException(JDIMessages.ClassTypeImpl_Class_does_not_contain_given_method_1);
if (method.argumentTypeNames().size() != arguments.size())
throw new IllegalArgumentException(JDIMessages.ClassTypeImpl_Number_of_arguments_doesn__t_match_2);
|
| ||||
ThreadReferenceImpl threadImpl = (ThreadReferenceImpl) thread;
MethodImpl methodImpl = (MethodImpl) method;
// Perform some checks for IllegalArgumentException.
if ( !methods().contains(method))
throw new IllegalArgumentException(JDIMessages.ClassTypeImpl_Class_does_not_contain_given_method_4);
if (method.argumentTypeNames().size() != arguments.size())
throw new IllegalArgumentException(JDIMessages.ClassTypeImpl_Number_of_arguments_doesn__t_match_5);
|
| |||
ThreadReferenceImpl threadImpl = (ThreadReferenceImpl) thread; MethodImpl methodImpl = (MethodImpl) method; // Perform some checks for IllegalArgumentException. if ( ! [[#variable92ffdd40]]().contains(method)) throw new IllegalArgumentException(JDIMessages. [[#variable92ffc680]]); if (method.argumentTypeNames().size() != arguments.size()) throw new IllegalArgumentException(JDIMessages. [[#variable92ffc660]]); |
| CloneAbstraction |
| Parameter Index | Clone Instance | Parameter Name | Value |
|---|---|---|---|
| 1 | 1 | [[#92ffdd40]] | methods |
| 1 | 2 | [[#92ffdd40]] | visibleMethods |
| 2 | 1 | [[#92ffc680]] | ClassTypeImpl_Class_does_not_contain_given_method_4 |
| 2 | 2 | [[#92ffc680]] | ClassTypeImpl_Class_does_not_contain_given_method_1 |
| 3 | 1 | [[#92ffc660]] | ClassTypeImpl_Number_of_arguments_doesn__t_match_5 |
| 3 | 2 | [[#92ffc660]] | ClassTypeImpl_Number_of_arguments_doesn__t_match_2 |