CloneSet703


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
9630.960class_body_declaration
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
19503
plugins/org.eclipse.jdt.apt.ui/src/org/eclipse/jdt/apt/ui/internal/preferences/BaseConfigurationBlock.java
29514
plugins/org.eclipse.jdt.apt.ui/src/org/eclipse/jdt/apt/ui/internal/preferences/BaseConfigurationBlock.java
39261
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/AbstractConfigurationBlock.java
49272
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/AbstractConfigurationBlock.java
59489
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/OptionsConfigurationBlock.java
69500
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/OptionsConfigurationBlock.java
Clone Instance
1
Line Count
9
Source Line
503
Source File
plugins/org.eclipse.jdt.apt.ui/src/org/eclipse/jdt/apt/ui/internal/preferences/BaseConfigurationBlock.java

        protected ExpandableComposite getParentExpandableComposite(Control control) {
                Control parent = control.getParent();
                while ( !(parent instanceof ExpandableComposite) && parent != null) {
                        parent = parent.getParent();
                }
                if (parent instanceof ExpandableComposite) {
                        return (ExpandableComposite) parent;
                }
                return null;
        }


Clone Instance
2
Line Count
9
Source Line
514
Source File
plugins/org.eclipse.jdt.apt.ui/src/org/eclipse/jdt/apt/ui/internal/preferences/BaseConfigurationBlock.java

        protected ScrolledPageContent getParentScrolledComposite(Control control) {
                Control parent = control.getParent();
                while ( !(parent instanceof ScrolledPageContent) && parent != null) {
                        parent = parent.getParent();
                }
                if (parent instanceof ScrolledPageContent) {
                        return (ScrolledPageContent) parent;
                }
                return null;
        }


Clone Instance
3
Line Count
9
Source Line
261
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/AbstractConfigurationBlock.java

        protected final ScrolledPageContent getParentScrolledComposite(Control control) {
                Control parent = control.getParent();
                while ( !(parent instanceof ScrolledPageContent) && parent != null) {
                        parent = parent.getParent();
                }
                if (parent instanceof ScrolledPageContent) {
                        return (ScrolledPageContent) parent;
                }
                return null;
        }


Clone Instance
4
Line Count
9
Source Line
272
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/AbstractConfigurationBlock.java

        private final ExpandableComposite getParentExpandableComposite(Control control) {
                Control parent = control.getParent();
                while ( !(parent instanceof ExpandableComposite) && parent != null) {
                        parent = parent.getParent();
                }
                if (parent instanceof ExpandableComposite) {
                        return (ExpandableComposite) parent;
                }
                return null;
        }


Clone Instance
5
Line Count
9
Source Line
489
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/OptionsConfigurationBlock.java

        protected ScrolledPageContent getParentScrolledComposite(Control control) {
                Control parent = control.getParent();
                while ( !(parent instanceof ScrolledPageContent) && parent != null) {
                        parent = parent.getParent();
                }
                if (parent instanceof ScrolledPageContent) {
                        return (ScrolledPageContent) parent;
                }
                return null;
        }


Clone Instance
6
Line Count
9
Source Line
500
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/OptionsConfigurationBlock.java

        protected ExpandableComposite getParentExpandableComposite(Control control) {
                Control parent = control.getParent();
                while ( !(parent instanceof ExpandableComposite) && parent != null) {
                        parent = parent.getParent();
                }
                if (parent instanceof ExpandableComposite) {
                        return (ExpandableComposite) parent;
                }
                return null;
        }


Clone AbstractionParameter Count: 3Parameter Bindings

 [[#variable961f8160]] [[#variable961f80e0]]  [[#variable961f8060]](Control control) {
  Control parent = control.getParent();
  while ( !(parent instanceof [[#variable961f80e0]]) && parent != null) {
    parent = parent.getParent();
  }
  if (parent instanceof [[#variable961f80e0]]) {
    return ( [[#variable961f80e0]]) parent;
  }
  return null;
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#961f8160]]
protected 
12[[#961f8160]]
protected 
13[[#961f8160]]
protected final 
14[[#961f8160]]
private final 
15[[#961f8160]]
protected 
16[[#961f8160]]
protected 
21[[#961f80e0]]
ScrolledPageContent 
22[[#961f80e0]]
ExpandableComposite 
23[[#961f80e0]]
ScrolledPageContent 
24[[#961f80e0]]
ExpandableComposite 
25[[#961f80e0]]
ExpandableComposite 
26[[#961f80e0]]
ScrolledPageContent 
31[[#961f8060]]
getParentScrolledComposite 
32[[#961f8060]]
getParentExpandableComposite 
33[[#961f8060]]
getParentScrolledComposite 
34[[#961f8060]]
getParentExpandableComposite 
35[[#961f8060]]
getParentExpandableComposite 
36[[#961f8060]]
getParentScrolledComposite