CloneSet5491


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
5240.969class_body_declaration
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
1564
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/AddToClasspathAction.java
2561
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/RemoveFromClasspathAction.java
Clone Instance
1
Line Count
5
Source Line
64
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/AddToClasspathAction.java

        /**
         * Creates a new <code>AddToClasspathAction</code>. The action requires that
         * the selection provided by the site's selection provider is of type <code>
         * org.eclipse.jface.viewers.IStructuredSelection</code>.
         * 
         * @param site the site providing context information for this action
         */
        public AddToClasspathAction(IWorkbenchSite site) {
                super(site);
                setText(ActionMessages.AddToClasspathAction_label);
                setToolTipText(ActionMessages.AddToClasspathAction_toolTip);
                PlatformUI.getWorkbench().getHelpSystem().setHelp(this, IJavaHelpContextIds.ADD_TO_CLASSPATH_ACTION);
        }


Clone Instance
2
Line Count
5
Source Line
61
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/RemoveFromClasspathAction.java

        /**
         * Creates a new <code>RemoveFromClasspathAction</code>. The action requires
         * that the selection provided by the site's selection provider is of type
         * <code> org.eclipse.jface.viewers.IStructuredSelection</code>.
         * 
         * @param site the site providing context information for this action
         */
        public RemoveFromClasspathAction(IWorkbenchSite site) {
                super(site);
                setText(ActionMessages.RemoveFromClasspathAction_Remove);
                setToolTipText(ActionMessages.RemoveFromClasspathAction_tooltip);
                PlatformUI.getWorkbench().getHelpSystem().setHelp(this, IJavaHelpContextIds.REMOVE_FROM_CLASSPATH_ACTION);
        }


Clone AbstractionParameter Count: 4Parameter Bindings

/**
         * Creates a new <code>RemoveFromClasspathAction</code>. The action requires
         * that the selection provided by the site's selection provider is of type
         * <code> org.eclipse.jface.viewers.IStructuredSelection</code>.
         * 
         * @param site the site providing context information for this action
         */
/**
         * Creates a new <code>AddToClasspathAction</code>. The action requires that
         * the selection provided by the site's selection provider is of type <code>
         * org.eclipse.jface.viewers.IStructuredSelection</code>.
         * 
         * @param site the site providing context information for this action
         */
public [[#variablea1bb5ba0]](IWorkbenchSite site) {
  super(site);
  setText(ActionMessages. [[#variablea1bb5b00]]);
  setToolTipText(ActionMessages. [[#variablea1bb5a60]]);
  PlatformUI.getWorkbench().getHelpSystem().setHelp(this, IJavaHelpContextIds. [[#variablea1bb5a00]]);
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#a1bb5ba0]]
RemoveFromClasspathAction 
12[[#a1bb5ba0]]
AddToClasspathAction 
21[[#a1bb5b00]]
RemoveFromClasspathAction_Remove 
22[[#a1bb5b00]]
AddToClasspathAction_label 
31[[#a1bb5a60]]
RemoveFromClasspathAction_tooltip 
32[[#a1bb5a60]]
AddToClasspathAction_toolTip 
41[[#a1bb5a00]]
REMOVE_FROM_CLASSPATH_ACTION 
42[[#a1bb5a00]]
ADD_TO_CLASSPATH_ACTION