Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
11 | 2 | 0 | 1.000 | class_body_declaration |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 11 | 383 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/correction/LinkedCorrectionProposal.java |
2 | 11 | 640 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/correction/ModifierCorrectionSubProcessor.java |
| ||||
/* * Returns the registered position for a given offset. */ private Position getCurrentPosition(int offset) { if (fLinkedPositionGroup != null) { LinkedPosition[] positions = fLinkedPositionGroup.getPositions(); for (int i = 0; i < positions.length; i++) { Position position = positions[i]; if (position.overlapsWith(offset, 0)) { return position; } } } return null; } |
| ||||
private Position getCurrentPosition(int offset) { if (fLinkedPositionGroup != null) { LinkedPosition[] positions = fLinkedPositionGroup.getPositions(); for (int i = 0; i < positions.length; i++) { Position position = positions[i]; if (position.overlapsWith(offset, 0)) { return position; } } } return null; } |
| |||
/* * Returns the registered position for a given offset. */ private Position getCurrentPosition(int offset) { if (fLinkedPositionGroup != null) { LinkedPosition[] positions = fLinkedPositionGroup.getPositions(); for (int i = 0; i < positions.length; i++) { Position position = positions[i]; if (position.overlapsWith(offset, 0)) { return position; } } } return null; } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
None |