CloneSet2661


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
6350.967class_body_declaration
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
1676
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/ChangeTypeAction.java
2670
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/IntroduceFactoryAction.java
3670
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/IntroduceIndirectionAction.java
Clone Instance
1
Line Count
6
Source Line
76
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/ChangeTypeAction.java

        /**
         * Creates a new <code>ChangeTypeAction</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 ChangeTypeAction(IWorkbenchSite site) {
                super(site);
                setText(RefactoringMessages.ChangeTypeAction_label);
                setToolTipText(RefactoringMessages.ChangeTypeAction_tooltipText);
                setDescription(RefactoringMessages.ChangeTypeAction_description);
                PlatformUI.getWorkbench().getHelpSystem().setHelp(this, IJavaHelpContextIds.CHANGE_TYPE_ACTION);
        }


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

        /**
         * Creates a new <code>IntroduceFactoryAction</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 IntroduceFactoryAction(IWorkbenchSite site) {
                super(site);
                setText(RefactoringMessages.IntroduceFactoryAction_label);
                setToolTipText(RefactoringMessages.IntroduceFactoryAction_tooltipText);
                setDescription(RefactoringMessages.IntroduceFactoryAction_description);
                PlatformUI.getWorkbench().getHelpSystem().setHelp(this, IJavaHelpContextIds.INTRODUCE_FACTORY_ACTION);
        }


Clone Instance
3
Line Count
6
Source Line
70
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/IntroduceIndirectionAction.java

        /**
         * Creates a new <code>IntroduceIndirectionAction</code>. 
         * 
         * @param site the site providing context information for this action
         */
        public IntroduceIndirectionAction(IWorkbenchSite site) {
                super(site);
                setText(RefactoringMessages.IntroduceIndirectionAction_title);
                setToolTipText(RefactoringMessages.IntroduceIndirectionAction_tooltip);
                setDescription(RefactoringMessages.IntroduceIndirectionAction_description);
                PlatformUI.getWorkbench().getHelpSystem().setHelp(this, IJavaHelpContextIds.INTRODUCE_INDIRECTION_ACTION);
        }


Clone AbstractionParameter Count: 5Parameter Bindings

/**
         * Creates a new <code>IntroduceIndirectionAction</code>. 
         * 
         * @param site the site providing context information for this action
         */
/**
         * Creates a new <code>IntroduceFactoryAction</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>ChangeTypeAction</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 [[#variable58e68060]](IWorkbenchSite site) {
  super(site);
  setText(RefactoringMessages. [[#variable58e68000]]);
  setToolTipText(RefactoringMessages. [[#variable56f83fa0]]);
  setDescription(RefactoringMessages. [[#variable56f83f40]]);
  PlatformUI.getWorkbench().getHelpSystem().setHelp(this, IJavaHelpContextIds. [[#variable56f83e80]]);
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#58e68060]]
IntroduceIndirectionAction 
12[[#58e68060]]
IntroduceFactoryAction 
13[[#58e68060]]
ChangeTypeAction 
21[[#58e68000]]
IntroduceIndirectionAction_title 
22[[#58e68000]]
IntroduceFactoryAction_label 
23[[#58e68000]]
ChangeTypeAction_label 
31[[#56f83fa0]]
IntroduceIndirectionAction_tooltip 
32[[#56f83fa0]]
IntroduceFactoryAction_tooltipText 
33[[#56f83fa0]]
ChangeTypeAction_tooltipText 
41[[#56f83f40]]
IntroduceIndirectionAction_description 
42[[#56f83f40]]
IntroduceFactoryAction_description 
43[[#56f83f40]]
ChangeTypeAction_description 
51[[#56f83e80]]
INTRODUCE_INDIRECTION_ACTION 
52[[#56f83e80]]
INTRODUCE_FACTORY_ACTION 
53[[#56f83e80]]
CHANGE_TYPE_ACTION