CloneSet2276


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
11201.000class_body_declarations[2]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
111102
plugins/org.eclipse.jdt.ui/ui refactoring/org/eclipse/jdt/internal/ui/refactoring/PullUpMemberPage.java
212145
plugins/org.eclipse.jdt.ui/ui refactoring/org/eclipse/jdt/internal/ui/refactoring/PushDownWizard.java
Clone Instance
1
Line Count
11
Source Line
102
Source File
plugins/org.eclipse.jdt.ui/ui refactoring/org/eclipse/jdt/internal/ui/refactoring/PullUpMemberPage.java

                public boolean canModify( final Object element, final String property) {
                        if ( !ACTION_PROPERTY.equals(property))
                                return false;
                        return ((MemberActionInfo) element).isEditable();
                }

                public Object getValue( final Object element, final String property) {
                        if ( !ACTION_PROPERTY.equals(property))
                                return null;
                        final MemberActionInfo info = (MemberActionInfo) element;
                        return new Integer(info.getAction());
                }


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

                        public boolean canModify( final Object element, final String property) {
                                if ( !ACTION_PROPERTY.equals(property))
                                        return false;
                                return ((MemberActionInfo) element).isEditable();
                        }

                        public Object getValue( final Object element, final String property) {
                                if ( !ACTION_PROPERTY.equals(property))
                                        return null;

                                final MemberActionInfo info = (MemberActionInfo) element;
                                return new Integer(info.getAction());
                        }


Clone AbstractionParameter Count: 0Parameter Bindings

public boolean canModify( final Object element, final String property) {
  if ( !ACTION_PROPERTY.equals(property))
    return false;
  return ((MemberActionInfo) element).isEditable();
}

public Object getValue( final Object element, final String property) {
  if ( !ACTION_PROPERTY.equals(property))
    return null;
  final MemberActionInfo info = (MemberActionInfo) element;
  return new Integer(info.getAction());
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
None