CloneSet1849


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
13210.993statement_sequence[5]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
113152
plugins/org.eclipse.jdt.debug.ui/ui/org/eclipse/jdt/internal/debug/ui/DetailFormatterDialog.java
213218
plugins/org.eclipse.jdt.debug.ui/ui/org/eclipse/jdt/internal/debug/ui/EditLogicalStructureDialog.java
Clone Instance
1
Line Count
13
Source Line
152
Source File
plugins/org.eclipse.jdt.debug.ui/ui/org/eclipse/jdt/internal/debug/ui/DetailFormatterDialog.java

                IHandler handler = new AbstractHandler() {
                        public Object execute(Map parameterValuesByName) throws ExecutionException {
                                findCorrespondingType();
                                fSnippetViewer.doOperation(ISourceViewer.CONTENTASSIST_PROPOSALS);
                                return null;
                        }
                                   };

                IWorkbench workbench = PlatformUI.getWorkbench();

                IWorkbenchCommandSupport commandSupport = workbench.getCommandSupport();
                submission = new HandlerSubmission(null, parent.getShell(), null, ITextEditorActionDefinitionIds.CONTENT_ASSIST_PROPOSALS, handler, Priority.MEDIUM);
                commandSupport.addHandlerSubmission(submission);


Clone Instance
2
Line Count
13
Source Line
218
Source File
plugins/org.eclipse.jdt.debug.ui/ui/org/eclipse/jdt/internal/debug/ui/EditLogicalStructureDialog.java

                IHandler handler = new AbstractHandler() {
                        public Object execute(Map parameterValuesByName) throws ExecutionException {
                                findCorrespondingType();
                                fSnippetViewer.doOperation(ISourceViewer.CONTENTASSIST_PROPOSALS);
                                return null;
                        }
                                   };

                IWorkbench workbench = PlatformUI.getWorkbench();

                IWorkbenchCommandSupport commandSupport = workbench.getCommandSupport();
                fSubmission = new HandlerSubmission(null, parent.getShell(), null, ITextEditorActionDefinitionIds.CONTENT_ASSIST_PROPOSALS, handler, Priority.MEDIUM);
                commandSupport.addHandlerSubmission(fSubmission);


Clone AbstractionParameter Count: 1Parameter Bindings

IHandler handler = new AbstractHandler() {
                     public Object execute(Map parameterValuesByName) throws ExecutionException {
                       findCorrespondingType();
                       fSnippetViewer.doOperation(ISourceViewer.CONTENTASSIST_PROPOSALS);
                       return null;
                     }
                   };
IWorkbench workbench = PlatformUI.getWorkbench();
IWorkbenchCommandSupport commandSupport = workbench.getCommandSupport();
 [[#variable54e3e680]]= new HandlerSubmission(null, parent.getShell(), null, ITextEditorActionDefinitionIds.CONTENT_ASSIST_PROPOSALS, handler, Priority.MEDIUM);
commandSupport.addHandlerSubmission( [[#variable54e3e680]]);
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#54e3e680]]
fSubmission 
12[[#54e3e680]]
submission