CloneSet4048


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
9420.976class_body_declarations[2]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
1964
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/OpenNewAnnotationWizardAction.java
2961
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/OpenNewClassWizardAction.java
3962
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/OpenNewEnumWizardAction.java
4962
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/OpenNewInterfaceWizardAction.java
Clone Instance
1
Line Count
9
Source Line
64
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/OpenNewAnnotationWizardAction.java

        /**
         * Sets a page to be used by the wizard or <code>null</code> to use a page initialized with values
         * from the current selection (see {@link #getSelection()} and {@link #setSelection(IStructuredSelection)}).
         * @param page the page to use or <code>null</code>
         */
        public void setConfiguredWizardPage(NewAnnotationWizardPage page) {
                fPage = page;
        }

        /* (non-Javadoc)
         * @see org.eclipse.jdt.ui.actions.AbstractOpenWizardAction#createWizard()
         */
        protected final INewWizard createWizard() throws CoreException {
                return new NewAnnotationCreationWizard(fPage);
        }


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

        /**
         * Sets a page to be used by the wizard or <code>null</code> to use a page initialized with values
         * from the current selection (see {@link #getSelection()} and {@link #setSelection(IStructuredSelection)}).
         * @param page the page to use or <code>null</code>
         */
        public void setConfiguredWizardPage(NewClassWizardPage page) {
                fPage = page;
        }

        /* (non-Javadoc)
         * @see org.eclipse.jdt.ui.actions.AbstractOpenWizardAction#createWizard()
         */
        protected final INewWizard createWizard() throws CoreException {
                return new NewClassCreationWizard(fPage);
        }


Clone Instance
3
Line Count
9
Source Line
62
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/OpenNewEnumWizardAction.java

        /**
         * Sets a page to be used by the wizard or <code>null</code> to use a page initialized with values
         * from the current selection (see {@link #getSelection()} and {@link #setSelection(IStructuredSelection)}).
         * @param page the page to use or <code>null</code>
         */
        public void setConfiguredWizardPage(NewEnumWizardPage page) {
                fPage = page;
        }

        /* (non-Javadoc)
         * @see org.eclipse.jdt.ui.actions.AbstractOpenWizardAction#createWizard()
         */
        protected final INewWizard createWizard() throws CoreException {
                return new NewEnumCreationWizard(fPage);
        }


Clone Instance
4
Line Count
9
Source Line
62
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/OpenNewInterfaceWizardAction.java

        /**
         * Sets a page to be used by the wizard or <code>null</code> to use a page initialized with values
         * from the current selection (see {@link #getSelection()} and {@link #setSelection(IStructuredSelection)}).
         * @param page the page to use or <code>null</code>
         */
        public void setConfiguredWizardPage(NewInterfaceWizardPage page) {
                fPage = page;
        }

        /* (non-Javadoc)
         * @see org.eclipse.jdt.ui.actions.AbstractOpenWizardAction#createWizard()
         */
        protected final INewWizard createWizard() throws CoreException {
                return new NewInterfaceCreationWizard(fPage);
        }


Clone AbstractionParameter Count: 2Parameter Bindings

/**
         * Sets a page to be used by the wizard or <code>null</code> to use a page initialized with values
         * from the current selection (see {@link #getSelection()} and {@link #setSelection(IStructuredSelection)}).
         * @param page the page to use or <code>null</code>
         */
public void setConfiguredWizardPage( [[#variable5ed9fbe0]] page) {
  fPage = page;
}

/* (non-Javadoc)
         * @see org.eclipse.jdt.ui.actions.AbstractOpenWizardAction#createWizard()
         */
protected final INewWizard createWizard() throws CoreException {
  return new [[#variable5ed9fb00]](fPage);
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#5ed9fbe0]]
NewAnnotationWizardPage 
12[[#5ed9fbe0]]
NewClassWizardPage 
13[[#5ed9fbe0]]
NewEnumWizardPage 
14[[#5ed9fbe0]]
NewInterfaceWizardPage 
21[[#5ed9fb00]]
NewAnnotationCreationWizard 
22[[#5ed9fb00]]
NewClassCreationWizard 
23[[#5ed9fb00]]
NewEnumCreationWizard 
24[[#5ed9fb00]]
NewInterfaceCreationWizard