CloneSet4124


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
3420.976statement_sequence[2]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
13190
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/actions/BlockCommentAction.java
2394
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/JavaMoveLinesAction.java
33108
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/JavaMoveLinesAction.java
43558
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/AddGetterSetterAction.java
Clone Instance
1
Line Count
3
Source Line
190
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/actions/BlockCommentAction.java

                IRewriteTarget target = (IRewriteTarget) editor.getAdapter(IRewriteTarget.class );
                if (target != null) {
                        target.beginCompoundChange();
                }


Clone Instance
2
Line Count
3
Source Line
94
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/JavaMoveLinesAction.java

                        IRewriteTarget target = (IRewriteTarget) fEditor.getAdapter(IRewriteTarget.class );
                        if (target != null) {
                                target.beginCompoundChange();
                        }


Clone Instance
3
Line Count
3
Source Line
108
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/JavaMoveLinesAction.java

                        IRewriteTarget target = (IRewriteTarget) fEditor.getAdapter(IRewriteTarget.class );
                        if (target != null) {
                                target.endCompoundChange();
                        }


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

                IRewriteTarget target = (IRewriteTarget) editor.getAdapter(IRewriteTarget.class );
                if (target != null) {
                        target.beginCompoundChange();
                }


Clone AbstractionParameter Count: 2Parameter Bindings

IRewriteTarget target = (IRewriteTarget)  [[#variable7301fda0]].getAdapter(IRewriteTarget.class );
if (target != null) {
  target. [[#variable7301fd00]]();
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#7301fda0]]
editor 
12[[#7301fda0]]
fEditor 
13[[#7301fda0]]
fEditor 
14[[#7301fda0]]
editor 
21[[#7301fd00]]
beginCompoundChange 
22[[#7301fd00]]
beginCompoundChange 
23[[#7301fd00]]
endCompoundChange 
24[[#7301fd00]]
beginCompoundChange