CloneSet2339


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
23310.988class_body_declarations[4]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
123691
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/java/hover/AnnotationExpansionControl.java
223512
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/java/hover/BrowserInformationControl.java
323370
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/java/hover/SourceViewerInformationControl.java
Clone Instance
1
Line Count
23
Source Line
691
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/java/hover/AnnotationExpansionControl.java

        /*
         * @see IInformationControl#addDisposeListener(DisposeListener)
         */
        public void addDisposeListener(DisposeListener listener) {
                fShell.addDisposeListener(listener);
        }

        /*
         * @see IInformationControl#removeDisposeListener(DisposeListener)
         */
        public void removeDisposeListener(DisposeListener listener) {
                fShell.removeDisposeListener(listener);
        }

        /*
         * @see IInformationControl#setForegroundColor(Color)
         */
        public void setForegroundColor(Color foreground) {
                fComposite.setForeground(foreground);
        }

        /*
         * @see IInformationControl#setBackgroundColor(Color)
         */
        public void setBackgroundColor(Color background) {
                fComposite.setBackground(background);
        }


Clone Instance
2
Line Count
23
Source Line
512
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/java/hover/BrowserInformationControl.java

        /*
         * @see IInformationControl#addDisposeListener(DisposeListener)
         */
        public void addDisposeListener(DisposeListener listener) {
                fShell.addDisposeListener(listener);
        }

        /*
         * @see IInformationControl#removeDisposeListener(DisposeListener)
         */
        public void removeDisposeListener(DisposeListener listener) {
                fShell.removeDisposeListener(listener);
        }

        /*
         * @see IInformationControl#setForegroundColor(Color)
         */
        public void setForegroundColor(Color foreground) {
                fBrowser.setForeground(foreground);
        }

        /*
         * @see IInformationControl#setBackgroundColor(Color)
         */
        public void setBackgroundColor(Color background) {
                fBrowser.setBackground(background);
        }


Clone Instance
3
Line Count
23
Source Line
370
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/java/hover/SourceViewerInformationControl.java

        /*
         * @see IInformationControl#addDisposeListener(DisposeListener)
         */
        public void addDisposeListener(DisposeListener listener) {
                fShell.addDisposeListener(listener);
        }

        /*
         * @see IInformationControl#removeDisposeListener(DisposeListener)
         */
        public void removeDisposeListener(DisposeListener listener) {
                fShell.removeDisposeListener(listener);
        }

        /*
         * @see IInformationControl#setForegroundColor(Color)
         */
        public void setForegroundColor(Color foreground) {
                fText.setForeground(foreground);
        }

        /*
         * @see IInformationControl#setBackgroundColor(Color)
         */
        public void setBackgroundColor(Color background) {
                fText.setBackground(background);
        }


Clone AbstractionParameter Count: 1Parameter Bindings

/*
         * @see IInformationControl#addDisposeListener(DisposeListener)
         */
public void addDisposeListener(DisposeListener listener) {
  fShell.addDisposeListener(listener);
}

/*
         * @see IInformationControl#removeDisposeListener(DisposeListener)
         */
public void removeDisposeListener(DisposeListener listener) {
  fShell.removeDisposeListener(listener);
}

/*
         * @see IInformationControl#setForegroundColor(Color)
         */
public void setForegroundColor(Color foreground) {
   [[#variablec31341a0]].setForeground(foreground);
}

/*
         * @see IInformationControl#setBackgroundColor(Color)
         */
public void setBackgroundColor(Color background) {
   [[#variablec31341a0]].setBackground(background);
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#c31341a0]]
fText 
12[[#c31341a0]]
fComposite 
13[[#c31341a0]]
fBrowser