Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
20 | 2 | 2 | 0.963 | class_body_declarations[2] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 20 | 5058 | E:/TSE/Projects-CloneDR/jEdit-4.2/src/org/gjt/sp/jedit/textarea/JEditTextArea.java |
2 | 20 | 5107 | E:/TSE/Projects-CloneDR/jEdit-4.2/src/org/gjt/sp/jedit/textarea/JEditTextArea.java |
| |||||
//{{{ Deprecated methods //{{{ getSelectionStart() method /** * @deprecated Instead, obtain a Selection instance using * any means, and call its <code>getStart()</code> method */ public final int getSelectionStart() { if (selection.size() != 1) return caret; return ((Selection) selection.elementAt(0)).getStart(); } //}}} //{{{ getSelectionStart() method /** * @deprecated Instead, obtain a Selection instance using * any means, and call its <code>getStart(int)</code> method */ public int getSelectionStart(int line) { if (selection.size() != 1) return caret; return ((Selection) selection.elementAt(0)).getStart(buffer, line); } //}}} |
| |||||
//{{{ getSelectionEnd() method /** * @deprecated Instead, obtain a Selection instance using * any means, and call its <code>getEnd()</code> method */ public final int getSelectionEnd() { if (selection.size() != 1) return caret; return ((Selection) selection.elementAt(0)).getEnd(); } //}}} //{{{ getSelectionEnd() method /** * @deprecated Instead, obtain a Selection instance using * any means, and call its <code>getEnd(int)</code> method */ public int getSelectionEnd(int line) { if (selection.size() != 1) return caret; return ((Selection) selection.elementAt(0)).getEnd(buffer, line); } //}}} |
| |||
//{{{ Deprecated methods //{{{ getSelectionStart() method /** * @deprecated Instead, obtain a Selection instance using * any means, and call its <code>getStart()</code> method */ //{{{ getSelectionEnd() method /** * @deprecated Instead, obtain a Selection instance using * any means, and call its <code>getEnd()</code> method */ public final int [[#variableae88aa0]]() { if (selection.size() != 1) return caret; return ((Selection) selection.elementAt(0)). [[#variableae888e0]](); } //}}} //{{{ getSelectionStart() method /** * @deprecated Instead, obtain a Selection instance using * any means, and call its <code>getStart(int)</code> method */ //{{{ getSelectionEnd() method /** * @deprecated Instead, obtain a Selection instance using * any means, and call its <code>getEnd(int)</code> method */ public int [[#variableae88aa0]](int line) { if (selection.size() != 1) return caret; return ((Selection) selection.elementAt(0)). [[#variableae888e0]](buffer, line); } //}}} |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#ae88aa0]] | getSelectionStart |
1 | 2 | [[#ae88aa0]] | getSelectionEnd |
2 | 1 | [[#ae888e0]] | getStart |
2 | 2 | [[#ae888e0]] | getEnd |