Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
12 | 2 | 1 | 0.989 | statement_sequence[9] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 12 | 248 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/java/hover/BrowserInformationControl.java |
2 | 12 | 174 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/java/hover/SourceViewerInformationControl.java |
| ||||
fSeparator = new Label(composite, SWT.SEPARATOR| SWT.HORIZONTAL| SWT.LINE_DOT); fSeparator.setLayoutData(new GridData(GridData.FILL_HORIZONTAL)); // Status field label fStatusTextField = new Label(composite, SWT.RIGHT); fStatusTextField.setText(statusFieldText); Font font = fStatusTextField.getFont(); FontData[] fontDatas = font.getFontData(); for (int i = 0; i < fontDatas.length; i++) fontDatas[i].setHeight(fontDatas[i].getHeight() * 9 / 10); fStatusTextFont = new Font(fStatusTextField.getDisplay(), fontDatas); fStatusTextField.setFont(fStatusTextFont); |
| ||||
// Horizontal separator line fSeparator = new Label(composite, SWT.SEPARATOR| SWT.HORIZONTAL| SWT.LINE_DOT); fSeparator.setLayoutData(new GridData(GridData.FILL_HORIZONTAL)); // Status field label fStatusField = new Label(composite, SWT.RIGHT); fStatusField.setText(statusFieldText); Font font = fStatusField.getFont(); FontData[] fontDatas = font.getFontData(); for (int i = 0; i < fontDatas.length; i++) fontDatas[i].setHeight(fontDatas[i].getHeight() * 9 / 10); fStatusTextFont = new Font(fStatusField.getDisplay(), fontDatas); fStatusField.setFont(fStatusTextFont); |
| |||
// Horizontal separator line fSeparator = new Label(composite, SWT.SEPARATOR|SWT.HORIZONTAL|SWT.LINE_DOT); fSeparator.setLayoutData(new GridData(GridData.FILL_HORIZONTAL)); [[#variablebda1e460]]= new Label(composite, SWT.RIGHT); [[#variablebda1e460]].setText(statusFieldText); Font font = [[#variablebda1e460]].getFont(); FontData[] fontDatas = font.getFontData(); for (int i = 0; i < fontDatas.length; i++) fontDatas[i].setHeight(fontDatas[i].getHeight() * 9 / 10); fStatusTextFont = new Font( [[#variablebda1e460]].getDisplay(), fontDatas); [[#variablebda1e460]].setFont(fStatusTextFont); |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#bda1e460]] | // Status field label fStatusField |
1 | 2 | [[#bda1e460]] | // Status field label fStatusTextField |