CloneSet3278


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
8230.985statement_sequence[4]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
18148
plugins/org.eclipse.jdt.debug/jdi/org/eclipse/jdi/internal/ClassTypeImpl.java
28218
plugins/org.eclipse.jdt.debug/jdi/org/eclipse/jdi/internal/ClassTypeImpl.java
Clone Instance
1
Line Count
8
Source Line
148
Source File
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);


Clone Instance
2
Line Count
8
Source Line
218
Source File
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 ( !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);


Clone AbstractionParameter Count: 3Parameter Bindings

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 Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#92ffdd40]]
methods 
12[[#92ffdd40]]
visibleMethods 
21[[#92ffc680]]
ClassTypeImpl_Class_does_not_contain_given_method_4 
22[[#92ffc680]]
ClassTypeImpl_Class_does_not_contain_given_method_1 
31[[#92ffc660]]
ClassTypeImpl_Number_of_arguments_doesn__t_match_5 
32[[#92ffc660]]
ClassTypeImpl_Number_of_arguments_doesn__t_match_2