CloneSet757


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
6630.983class_body_declaration
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
1656
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/ConvertAnonymousToNestedAction.java
2652
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/ConvertLocalToFieldAction.java
3651
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/ExtractConstantAction.java
4652
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/ExtractMethodAction.java
5651
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/ExtractTempAction.java
6650
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/IntroduceParameterAction.java
Clone Instance
1
Line Count
6
Source Line
56
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/ConvertAnonymousToNestedAction.java

        /**
         * Note: This constructor is for internal use only. Clients should not call this constructor.
         * @param editor the compilation unit editor
         */
        public ConvertAnonymousToNestedAction(CompilationUnitEditor editor) {
                super(editor.getEditorSite());
                setText(RefactoringMessages.ConvertAnonymousToNestedAction_Convert_Anonymous);
                fEditor = editor;
                setEnabled(SelectionConverter.getInputAsCompilationUnit(fEditor) != null);
                PlatformUI.getWorkbench().getHelpSystem().setHelp(this, IJavaHelpContextIds.CONVERT_ANONYMOUS_TO_NESTED_ACTION);
        }


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

        /**
         * Note: This constructor is for internal use only. Clients should not call this constructor.
         * @param editor the compilation unit editor
         */
        public ConvertLocalToFieldAction(CompilationUnitEditor editor) {
                super(editor.getEditorSite());
                setText(RefactoringMessages.ConvertLocalToField_label);
                fEditor = editor;
                setEnabled(SelectionConverter.getInputAsCompilationUnit(fEditor) != null);
                PlatformUI.getWorkbench().getHelpSystem().setHelp(this, IJavaHelpContextIds.PROMOTE_TEMP_TO_FIELD_ACTION);
        }


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

        /**
         * Note: This constructor is for internal use only. Clients should not call this constructor.
         * @param editor the compilation unit editor
         */
        public ExtractConstantAction(CompilationUnitEditor editor) {
                super(editor.getEditorSite());
                setText(RefactoringMessages.ExtractConstantAction_label);
                fEditor = editor;
                setEnabled(SelectionConverter.getInputAsCompilationUnit(fEditor) != null);
                PlatformUI.getWorkbench().getHelpSystem().setHelp(this, IJavaHelpContextIds.EXTRACT_CONSTANT_ACTION);
        }


Clone Instance
4
Line Count
6
Source Line
52
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/ExtractMethodAction.java

        /**
         * Note: This constructor is for internal use only. Clients should not call this constructor.
         * @param editor the compilation unit editor
         */
        public ExtractMethodAction(CompilationUnitEditor editor) {
                super(editor.getEditorSite());
                setText(RefactoringMessages.ExtractMethodAction_label);
                fEditor = editor;
                setEnabled(SelectionConverter.getInputAsCompilationUnit(fEditor) != null);
                PlatformUI.getWorkbench().getHelpSystem().setHelp(this, IJavaHelpContextIds.EXTRACT_METHOD_ACTION);
        }


Clone Instance
5
Line Count
6
Source Line
51
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/ExtractTempAction.java

        /**
         * Note: This constructor is for internal use only. Clients should not call this constructor.
         * @param editor the compilation unit editor
         */
        public ExtractTempAction(CompilationUnitEditor editor) {
                super(editor.getEditorSite());
                setText(RefactoringMessages.ExtractTempAction_label);
                fEditor = editor;
                setEnabled(SelectionConverter.getInputAsCompilationUnit(fEditor) != null);
                PlatformUI.getWorkbench().getHelpSystem().setHelp(this, IJavaHelpContextIds.EXTRACT_TEMP_ACTION);
        }


Clone Instance
6
Line Count
6
Source Line
50
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/IntroduceParameterAction.java

        /**
         * Note: This constructor is for internal use only. Clients should not call this constructor.
         * @param editor the compilation unit editor
         */
        public IntroduceParameterAction(CompilationUnitEditor editor) {
                super(editor.getEditorSite());
                setText(RefactoringMessages.IntroduceParameterAction_label);
                fEditor = editor;
                setEnabled(SelectionConverter.getInputAsCompilationUnit(fEditor) != null);
                PlatformUI.getWorkbench().getHelpSystem().setHelp(this, IJavaHelpContextIds.INTRODUCE_PARAMETER_ACTION);
        }


Clone AbstractionParameter Count: 3Parameter Bindings

/**
         * Note: This constructor is for internal use only. Clients should not call this constructor.
         * @param editor the compilation unit editor
         */
public [[#variable54744020]](CompilationUnitEditor editor) {
  super(editor.getEditorSite());
  setText(RefactoringMessages. [[#variable5c2f9fa0]]);
  fEditor = editor;
  setEnabled(SelectionConverter.getInputAsCompilationUnit(fEditor) != null);
  PlatformUI.getWorkbench().getHelpSystem().setHelp(this, IJavaHelpContextIds. [[#variable5c2f9f40]]);
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#54744020]]
IntroduceParameterAction 
12[[#54744020]]
ExtractTempAction 
13[[#54744020]]
ExtractMethodAction 
14[[#54744020]]
ExtractConstantAction 
15[[#54744020]]
ConvertLocalToFieldAction 
16[[#54744020]]
ConvertAnonymousToNestedAction 
21[[#5c2f9fa0]]
IntroduceParameterAction_label 
22[[#5c2f9fa0]]
ExtractTempAction_label 
23[[#5c2f9fa0]]
ExtractMethodAction_label 
24[[#5c2f9fa0]]
ExtractConstantAction_label 
25[[#5c2f9fa0]]
ConvertLocalToField_label 
26[[#5c2f9fa0]]
ConvertAnonymousToNestedAction_Convert_Anonymous 
31[[#5c2f9f40]]
INTRODUCE_PARAMETER_ACTION 
32[[#5c2f9f40]]
EXTRACT_TEMP_ACTION 
33[[#5c2f9f40]]
EXTRACT_METHOD_ACTION 
34[[#5c2f9f40]]
EXTRACT_CONSTANT_ACTION 
35[[#5c2f9f40]]
PROMOTE_TEMP_TO_FIELD_ACTION 
36[[#5c2f9f40]]
CONVERT_ANONYMOUS_TO_NESTED_ACTION