CloneSet2403


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
12230.972statement_sequence[6]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
111116
plugins/org.eclipse.jdt.ui/ui refactoring/org/eclipse/jdt/internal/ui/refactoring/PullUpMemberPage.java
212160
plugins/org.eclipse.jdt.ui/ui refactoring/org/eclipse/jdt/internal/ui/refactoring/PushDownWizard.java
Clone Instance
1
Line Count
11
Source Line
116
Source File
plugins/org.eclipse.jdt.ui/ui refactoring/org/eclipse/jdt/internal/ui/refactoring/PullUpMemberPage.java

                        if ( !ACTION_PROPERTY.equals(property))
                                return;
                        final int action = ((Integer) value).intValue();
                        MemberActionInfo info;
                        if (element instanceof Item) {
                                info = (MemberActionInfo) ((Item) element).getData();
                        }
                        else    info = (MemberActionInfo) element;
                        if ( !canModify(info, property))
                                return;
                        Assert.isTrue(info.isMethodInfo());


Clone Instance
2
Line Count
12
Source Line
160
Source File
plugins/org.eclipse.jdt.ui/ui refactoring/org/eclipse/jdt/internal/ui/refactoring/PushDownWizard.java

                                if ( !ACTION_PROPERTY.equals(property))
                                        return;

                                final int action = ((Integer) value).intValue();
                                MemberActionInfo info;
                                if (element instanceof Item) {
                                        info = (MemberActionInfo) ((Item) element).getData();
                                }
                                else    info = (MemberActionInfo) element;
                                if ( !canModify(info, property))
                                        return;
                                info.setAction(action);


Clone AbstractionParameter Count: 3Parameter Bindings

if ( !ACTION_PROPERTY.equals(property))
  return;
final int action = ((Integer) value).intValue();
MemberActionInfo info;
if (element instanceof Item) {
  info = (MemberActionInfo) ((Item) element).getData();
}
else
  info = (MemberActionInfo) element;
if ( !canModify(info, property))
  return;
 [[#variableb3b8ada0]]. [[#variableb3c32e80]]( [[#variableb3b8a900]]);
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#b3b8ada0]]
info 
12[[#b3b8ada0]]
Assert 
21[[#b3c32e80]]
setAction 
22[[#b3c32e80]]
isTrue 
31[[#b3b8a900]]
action 
32[[#b3b8a900]]
info.isMethodInfo()