Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
13 | 2 | 2 | 0.988 | class_body_declarations[2] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 13 | 55 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/callhierarchy/HistoryAction.java |
2 | 12 | 49 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/typehierarchy/HistoryAction.java |
| ||||
private ImageDescriptor getImageDescriptor(IJavaElement elem) { JavaElementImageProvider imageProvider = new JavaElementImageProvider(); ImageDescriptor desc = imageProvider.getBaseImageDescriptor(elem, 0); imageProvider.dispose(); return desc; } /* * @see Action#run() */ public void run() { fView.gotoHistoryEntry(fMethod); } |
| ||||
private ImageDescriptor getImageDescriptor(IJavaElement elem) { JavaElementImageProvider imageProvider = new JavaElementImageProvider(); ImageDescriptor desc = imageProvider.getBaseImageDescriptor(elem, 0); imageProvider.dispose(); return desc; } /* * @see Action#run() */ public void run() { fViewPart.gotoHistoryEntry(fElement); } |
| |||
private ImageDescriptor getImageDescriptor(IJavaElement elem) { JavaElementImageProvider imageProvider = new JavaElementImageProvider(); ImageDescriptor desc = imageProvider.getBaseImageDescriptor(elem, 0); imageProvider.dispose(); return desc; } /* * @see Action#run() */ /* * @see Action#run() */ public void run() { [[#variable9af27540]].gotoHistoryEntry( [[#variable53643720]]); } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#9af27540]] | fView |
1 | 2 | [[#9af27540]] | fViewPart |
2 | 1 | [[#53643720]] | fMethod |
2 | 2 | [[#53643720]] | fElement |