CloneSet2335


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
7301.000statement_sequence[3]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
16459
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/AddDelegateMethodsAction.java
26186
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/AddGetterSetterAction.java
37222
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/GenerateNewConstructorUsingFieldsAction.java
Clone Instance
1
Line Count
6
Source Line
459
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/AddDelegateMethodsAction.java

                        IField[] selectedFields = getSelectedFields(selection);
                        if (canRunOn(selectedFields)) {
                                run(selectedFields[0].getDeclaringType(), selectedFields, false);
                                return;
                        }
                        Object firstElement = selection.getFirstElement();


Clone Instance
2
Line Count
6
Source Line
186
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/AddGetterSetterAction.java

                        IField[] selectedFields = getSelectedFields(selection);
                        if (canRunOn(selectedFields)) {
                                run(selectedFields[0].getDeclaringType(), selectedFields, false);
                                return;
                        }
                        Object firstElement = selection.getFirstElement();


Clone Instance
3
Line Count
7
Source Line
222
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/GenerateNewConstructorUsingFieldsAction.java

                        IField[] selectedFields = getSelectedFields(selection);

                        if (canRunOn(selectedFields)) {
                                run(selectedFields[0].getDeclaringType(), selectedFields, false);
                                return;
                        }
                        Object firstElement = selection.getFirstElement();


Clone AbstractionParameter Count: 0Parameter Bindings

IField[] selectedFields = getSelectedFields(selection);
if (canRunOn(selectedFields)) {
  run(selectedFields[0].getDeclaringType(), selectedFields, false);
  return;
}
Object firstElement = selection.getFirstElement();
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
None