CloneSet4148


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
5240.976class_body_declaration
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
1542
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/ToggleMarkOccurrencesAction.java
2549
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/TogglePresentationAction.java
Clone Instance
1
Line Count
5
Source Line
42
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/ToggleMarkOccurrencesAction.java

        /**
         * Constructs and updates the action.
         */
        public ToggleMarkOccurrencesAction() {
                super(JavaEditorMessages.getBundleForConstructedKeys(), "ToggleMarkOccurrencesAction.", null, IAction.AS_CHECK_BOX); //$NON-NLS-1$
                JavaPluginImages.setToolImageDescriptors(this, "mark_occurrences.gif"); //$NON-NLS-1$
                PlatformUI.getWorkbench().getHelpSystem().setHelp(this, IJavaHelpContextIds.TOGGLE_MARK_OCCURRENCES_ACTION);
                update();
        }


Clone Instance
2
Line Count
5
Source Line
49
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/TogglePresentationAction.java

        /**
         * Constructs and updates the action.
         */
        public TogglePresentationAction() {
                super(JavaEditorMessages.getBundleForConstructedKeys(), "TogglePresentation.", null, IAction.AS_CHECK_BOX); //$NON-NLS-1$
                JavaPluginImages.setToolImageDescriptors(this, "segment_edit.gif"); //$NON-NLS-1$
                PlatformUI.getWorkbench().getHelpSystem().setHelp(this, IJavaHelpContextIds.TOGGLE_PRESENTATION_ACTION);
                update();
        }


Clone AbstractionParameter Count: 4Parameter Bindings

/**
         * Constructs and updates the action.
         */
public [[#variableb5239580]]() {
  super(JavaEditorMessages.getBundleForConstructedKeys(),  [[#variableb52381c0]], null, IAction.AS_CHECK_BOX); //$NON-NLS-1$
  JavaPluginImages.setToolImageDescriptors(this,  [[#variable7d7537e0]]); //$NON-NLS-1$
  PlatformUI.getWorkbench().getHelpSystem().setHelp(this, IJavaHelpContextIds. [[#variableb5239500]]);
  update();
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#b5239580]]
TogglePresentationAction 
12[[#b5239580]]
ToggleMarkOccurrencesAction 
21[[#b52381c0]]
"TogglePresentation." 
22[[#b52381c0]]
"ToggleMarkOccurrencesAction." 
31[[#7d7537e0]]
"segment_edit.gif" 
32[[#7d7537e0]]
"mark_occurrences.gif" 
41[[#b5239500]]
TOGGLE_PRESENTATION_ACTION 
42[[#b5239500]]
TOGGLE_MARK_OCCURRENCES_ACTION