CloneSet1530


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
10430.961statement_sequence[2]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
110774
plugins/org.eclipse.jdt.debug.ui/ui/org/eclipse/jdt/internal/debug/ui/snippeteditor/JavaSnippetEditor.java
210826
plugins/org.eclipse.jdt.debug.ui/ui/org/eclipse/jdt/internal/debug/ui/snippeteditor/JavaSnippetEditor.java
310863
plugins/org.eclipse.jdt.debug.ui/ui/org/eclipse/jdt/internal/debug/ui/snippeteditor/JavaSnippetEditor.java
410881
plugins/org.eclipse.jdt.debug.ui/ui/org/eclipse/jdt/internal/debug/ui/snippeteditor/JavaSnippetEditor.java
Clone Instance
1
Line Count
10
Source Line
774
Source File
plugins/org.eclipse.jdt.debug.ui/ui/org/eclipse/jdt/internal/debug/ui/snippeteditor/JavaSnippetEditor.java

                Runnable r = new Runnable() {
                        public void run() {
                                try {
                                        getSourceViewer().getDocument().replace(fSnippetEnd, 0, message);
                                        selectAndReveal(fSnippetEnd, message.length());
                                } catch (BadLocationException e) {
                                  }
                        }
                             };
                async(r);


Clone Instance
2
Line Count
10
Source Line
826
Source File
plugins/org.eclipse.jdt.debug.ui/ui/org/eclipse/jdt/internal/debug/ui/snippeteditor/JavaSnippetEditor.java

                Runnable r = new Runnable() {
                        public void run() {
                                try {
                                        getSourceViewer().getDocument().replace(fSnippetStart, 0, errorString.toString());
                                        selectAndReveal(fSnippetStart, errorString.length());
                                } catch (BadLocationException e) {
                                  }
                        }
                             };
                async(r);


Clone Instance
3
Line Count
10
Source Line
863
Source File
plugins/org.eclipse.jdt.debug.ui/ui/org/eclipse/jdt/internal/debug/ui/snippeteditor/JavaSnippetEditor.java

                Runnable r = new Runnable() {
                        public void run() {
                                try {
                                        getSourceViewer().getDocument().replace(fSnippetEnd, 0, message);
                                        selectAndReveal(fSnippetEnd, message.length());
                                } catch (BadLocationException e) {
                                  }
                        }
                             };
                async(r);


Clone Instance
4
Line Count
10
Source Line
881
Source File
plugins/org.eclipse.jdt.debug.ui/ui/org/eclipse/jdt/internal/debug/ui/snippeteditor/JavaSnippetEditor.java

                        Runnable r = new Runnable() {
                                public void run() {
                                        try {
                                                getSourceViewer().getDocument().replace(fSnippetEnd, 0, message);
                                                selectAndReveal(fSnippetEnd, message.length());
                                        } catch (BadLocationException e) {
                                          }
                                }
                                     };
                        async(r);


Clone AbstractionParameter Count: 3Parameter Bindings

Runnable r = new Runnable() {
               public void run() {
                 try {
                   getSourceViewer().getDocument().replace( [[#variable54d0d0c0]], 0,  [[#variable54d0d080]]);
                   selectAndReveal( [[#variable54d0d0c0]],  [[#variable54d0da00]].length());
                 }
                 catch (BadLocationException e) {
                 }
               }
             };
async(r);
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#54d0d0c0]]
fSnippetEnd 
12[[#54d0d0c0]]
fSnippetStart 
13[[#54d0d0c0]]
fSnippetEnd 
14[[#54d0d0c0]]
fSnippetEnd 
21[[#54d0d080]]
message 
22[[#54d0d080]]
errorString.toString() 
23[[#54d0d080]]
message 
24[[#54d0d080]]
message 
31[[#54d0da00]]
message 
32[[#54d0da00]]
errorString 
33[[#54d0da00]]
message 
34[[#54d0da00]]
message