CloneSet4664


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
4320.980class_body_declaration
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
14351
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/AddDelegateMethodsAction.java
2463
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/ChangeTypeAction.java
3457
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/IntroduceFactoryAction.java
Clone Instance
1
Line Count
4
Source Line
351
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/AddDelegateMethodsAction.java

        /**
         * Note: This constructor is for internal use only. Clients should not call this
         * constructor.
         * 
         * @param editor the compilation unit editor
         */
        public AddDelegateMethodsAction(CompilationUnitEditor editor) {
                this(editor.getEditorSite());
                fEditor = editor;
                setEnabled(SelectionConverter.getInputAsCompilationUnit(editor) != null);
        }


Clone Instance
2
Line Count
4
Source Line
63
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/ChangeTypeAction.java

        /**
         * Note: This constructor is for internal use only. Clients should not call
         * this constructor.
         * @param editor the compilation unit editor
         */
        public ChangeTypeAction(CompilationUnitEditor editor) {
                this(editor.getEditorSite());
                fEditor = editor;
                setEnabled(SelectionConverter.getInputAsCompilationUnit(fEditor) != null);
        }


Clone Instance
3
Line Count
4
Source Line
57
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/IntroduceFactoryAction.java

        /**
         * Note: This constructor is for internal use only. Clients should not call this constructor.
         * @param editor the compilation unit editor
         */
        public IntroduceFactoryAction(CompilationUnitEditor editor) {
                this(editor.getEditorSite());
                fEditor = editor;
                setEnabled(SelectionConverter.getInputAsCompilationUnit(fEditor) != null);
        }


Clone AbstractionParameter Count: 2Parameter Bindings

/**
         * Note: This constructor is for internal use only. Clients should not call this constructor.
         * @param editor the compilation unit editor
         */
/**
         * Note: This constructor is for internal use only. Clients should not call
         * this constructor.
         * @param editor the compilation unit editor
         */
/**
         * Note: This constructor is for internal use only. Clients should not call this
         * constructor.
         * 
         * @param editor the compilation unit editor
         */
public [[#variable610894e0]](CompilationUnitEditor editor) {
  this(editor.getEditorSite());
  fEditor = editor;
  setEnabled(SelectionConverter.getInputAsCompilationUnit( [[#variable61089d40]]) != null);
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#610894e0]]
IntroduceFactoryAction 
12[[#610894e0]]
ChangeTypeAction 
13[[#610894e0]]
AddDelegateMethodsAction 
21[[#61089d40]]
fEditor 
22[[#61089d40]]
fEditor 
23[[#61089d40]]
editor