Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
18 | 2 | 0 | 1.000 | class_body_declaration |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 18 | 69 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/java/hover/JavadocHover.java |
2 | 18 | 154 | 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; } |
| ||||
/* * @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; } |
| |||
/* * @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 Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
None |