Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
4 | 3 | 1 | 0.956 | class_body_declaration |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 4 | 317 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/browsing/JavaBrowsingPart.java |
2 | 4 | 1219 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/packageview/PackageExplorerPart.java |
3 | 4 | 1556 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/typehierarchy/TypeHierarchyViewPart.java |
| ||||
private void restoreLinkingEnabled(IMemento memento) { Integer val = memento.getInteger(getLinkToEditorKey()); if (val != null) { fLinkingEnabled = val.intValue() != 0; } } |
| ||||
/* private void restoreCurrentFrame(IMemento memento) { IMemento frameMemento = memento.getChild(TAG_CURRENT_FRAME); if (frameMemento != null) { FrameAction action = fActionSet.getUpAction(); FrameList frameList= action.getFrameList(); TreeFrame frame = new TreeFrame(fViewer); frame.restoreState(frameMemento); frame.setName(getFrameName(frame.getInput())); frame.setToolTipText(getToolTipText(frame.getInput())); frameList.gotoFrame(frame); } } */ private void restoreLinkingEnabled(IMemento memento) { Integer val = memento.getInteger(PreferenceConstants.LINK_PACKAGES_TO_EDITOR); if (val != null) { fLinkingEnabled = val.intValue() != 0; } } |
| ||||
private void restoreLinkingEnabled(IMemento memento) { Integer val = memento.getInteger(PreferenceConstants.LINK_TYPEHIERARCHY_TO_EDITOR); if (val != null) { fLinkingEnabled = val.intValue() != 0; } } |
| |||
/* private void restoreCurrentFrame(IMemento memento) { IMemento frameMemento = memento.getChild(TAG_CURRENT_FRAME); if (frameMemento != null) { FrameAction action = fActionSet.getUpAction(); FrameList frameList= action.getFrameList(); TreeFrame frame = new TreeFrame(fViewer); frame.restoreState(frameMemento); frame.setName(getFrameName(frame.getInput())); frame.setToolTipText(getToolTipText(frame.getInput())); frameList.gotoFrame(frame); } } */ private void restoreLinkingEnabled(IMemento memento) { Integer val = memento.getInteger( [[#variable9bad1900]]); if (val != null) { fLinkingEnabled = val.intValue() != 0; } } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#9bad1900]] | PreferenceConstants.LINK_TYPEHIERARCHY_TO_EDITOR |
1 | 2 | [[#9bad1900]] | PreferenceConstants.LINK_PACKAGES_TO_EDITOR |
1 | 3 | [[#9bad1900]] | getLinkToEditorKey() |