File path: /jEdit-4.2/src/org/gjt/sp/jedit/gui/DockableWindowManager.java | File path: /jEdit-4.2/src/org/gjt/sp/jedit/gui/PanelWindowContainer.java | |||
Method name: void addEntry(Factory)
|
Method name: void register(DockableWindowManager.Entry)
|
|||
Number of AST nodes: 7 | Number of AST nodes: 7 | |||
1 | if(e.position.equals(LEFT))↵ | 1 | if(position.equals(↵ | |
2 | e.container = left↵ | 2 | DockableWindowManager.TOP)↵ | |
3 | || position.equals(DockableWindowManager.BOTTOM))↵ | |||
3 | ;↵ | 4 | rotation = RotatedTextIcon.NONE;↵ | |
4 | else if(e.position.equals(BOTTOM))↵ | 5 | else if(position.equals(↵ | |
5 | e.container↵ | 6 | DockableWindowManager.LEFT))↵ | |
6 | = bottom;↵ | 7 | rotation = RotatedTextIcon.CCW;↵ | |
7 | else if(e.position.equals(RIGHT))↵ | 8 | else if(position.equals(DockableWindowManager.RIGHT))↵ | |
8 | e.container = right;↵ | 9 | rotation = RotatedTextIcon.CW;↵ | |
9 | else↵ | 10 | else↵ | |
10 | {↵ | 11 | ↵ | |
11 | Log.log(Log.WARNING,this,↵ | |||
12 | "Unknown position: "↵ | 12 | throw new InternalError("Invalid position: "↵ | |
13 | + e.position);↵ | 13 | + position); | |
14 | } | |||
See real code fragment | See real code fragment |
Number of common nesting structure subtrees | 0 |
Number of refactorable cases | 0 |
Number of non-refactorable cases | 0 |
Time elapsed for finding largest common nesting structure subtrees (ms) | 1.0 |
Clones location | Clones are in different classes |
Number of node comparisons | 9 |