CloneSet3437


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
5230.974statement_sequence_member
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
15173
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/structure/constraints/SuperTypeConstraintsCreator.java
25502
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/structure/constraints/SuperTypeConstraintsCreator.java
Clone Instance
1
Line Count
5
Source Line
173
Source File
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/structure/constraints/SuperTypeConstraintsCreator.java

                        for (int index = 0; index < expressions.size(); index++) {
                                expression = (Expression) expressions.get(index);
                                descendant = (ConstraintVariable2) expression.getProperty(PROPERTY_CONSTRAINT_VARIABLE);
                                if (descendant != null)
                                        fModel.createSubtypeConstraint(descendant, ancestor);
                        }


Clone Instance
2
Line Count
5
Source Line
502
Source File
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/structure/constraints/SuperTypeConstraintsCreator.java

                                                for (int index = 0; index < exceptions.size(); index++) {
                                                        exception = (Name) exceptions.get(index);
                                                        descendant = (ConstraintVariable2) exception.getProperty(PROPERTY_CONSTRAINT_VARIABLE);
                                                        if (descendant != null)
                                                                fModel.createSubtypeConstraint(descendant, ancestor);
                                                }


Clone AbstractionParameter Count: 3Parameter Bindings

for (int index = 0; index <  [[#variable640cdd00]].size(); index++) {
   [[#variable640cdca0]]= ( [[#variable640cdc40]])  [[#variable640cdd00]].get(index);
  descendant = (ConstraintVariable2)  [[#variable640cdca0]].getProperty(PROPERTY_CONSTRAINT_VARIABLE);
  if (descendant != null)
    fModel.createSubtypeConstraint(descendant, ancestor);
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#640cdd00]]
exceptions 
12[[#640cdd00]]
expressions 
21[[#640cdca0]]
exception 
22[[#640cdca0]]
expression 
31[[#640cdc40]]
Name 
32[[#640cdc40]]
Expression