CloneSet1434


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
18201.000class_body_declaration
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
11869
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/java/hover/JavadocHover.java
218154
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/java/hover/JavaInformationProvider.java
Clone Instance
1
Line Count
18
Source Line
69
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/java/hover/JavadocHover.java

        /*
         * @see IInformationProviderExtension2#getInformationPresenterControlCreator()
         * @since 3.1
         */
        public IInformationControlCreator getInformationPresenterControlCreator() {
                if (fPresenterControlCreator == null) {
                        fPresenterControlCreator = new AbstractReusableInformationControlCreator() {

                                 /*
                                  * @see org.eclipse.jdt.internal.ui.text.java.hover.AbstractReusableInformationControlCreator#doCreateInformationControl(org.eclipse.swt.widgets.Shell)
                                  */
                                 public IInformationControl doCreateInformationControl(Shell parent) {
                                         int shellStyle = SWT.RESIZE|  SWT.TOOL;
                                         int style = SWT.V_SCROLL|  SWT.H_SCROLL;
                                         if (BrowserInformationControl.isAvailable(parent))
                                                 return new BrowserInformationControl(parent, shellStyle, style);
                                         else
                                                 return new DefaultInformationControl(parent, shellStyle, style, new HTMLTextPresenter(false));
                                 }
                                                   };
                }
                return fPresenterControlCreator;
        }


Clone Instance
2
Line Count
18
Source Line
154
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/java/hover/JavaInformationProvider.java

        /*
         * @see IInformationProviderExtension2#getInformationPresenterControlCreator()
         * @since 3.1
         */
        public IInformationControlCreator getInformationPresenterControlCreator() {
                if (fPresenterControlCreator == null) {
                        fPresenterControlCreator = new AbstractReusableInformationControlCreator() {

                                 /*
                                  * @see org.eclipse.jdt.internal.ui.text.java.hover.AbstractReusableInformationControlCreator#doCreateInformationControl(org.eclipse.swt.widgets.Shell)
                                  */
                                 public IInformationControl doCreateInformationControl(Shell parent) {
                                         int shellStyle = SWT.RESIZE|  SWT.TOOL;
                                         int style = SWT.V_SCROLL|  SWT.H_SCROLL;
                                         if (BrowserInformationControl.isAvailable(parent))
                                                 return new BrowserInformationControl(parent, shellStyle, style);
                                         else
                                                 return new DefaultInformationControl(parent, shellStyle, style, new HTMLTextPresenter(false));
                                 }
                                                   };
                }
                return fPresenterControlCreator;
        }


Clone AbstractionParameter Count: 0Parameter Bindings

/*
         * @see IInformationProviderExtension2#getInformationPresenterControlCreator()
         * @since 3.1
         */
public IInformationControlCreator getInformationPresenterControlCreator() {
  if (fPresenterControlCreator == null) {
    fPresenterControlCreator = new AbstractReusableInformationControlCreator() {
                                 /*
                                                                  * @see org.eclipse.jdt.internal.ui.text.java.hover.AbstractReusableInformationControlCreator#doCreateInformationControl(org.eclipse.swt.widgets.Shell)
                                                                  */
                                 public IInformationControl doCreateInformationControl(Shell parent) {
                                   int shellStyle = SWT.RESIZE|SWT.TOOL;
                                   int style = SWT.V_SCROLL|SWT.H_SCROLL;
                                   if (BrowserInformationControl.isAvailable(parent))
                                     return new BrowserInformationControl(parent, shellStyle, style);
                                   else
                                     return new DefaultInformationControl(parent, shellStyle, style, new HTMLTextPresenter(false));
                                 }
                               };
  }
  return fPresenterControlCreator;
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
None