Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
6 | 4 | 2 | 0.955 | class_body_declarations[2] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 6 | 295 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/browsing/PackageViewerWrapper.java |
2 | 12 | 64 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/callhierarchy/MethodWrapperWorkbenchAdapter.java |
3 | 6 | 141 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/navigator/JavaNavigatorLabelProvider.java |
4 | 6 | 88 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/navigator/OpenAndExpand.java |
| ||||
public boolean equals(Object obj) { return fViewer.equals(obj); } public int hashCode() { return fViewer.hashCode(); } |
| ||||
/* * (non-Javadoc) * @see java.lang.Object#equals(java.lang.Object) */ public boolean equals(Object obj) { //Note: A MethodWrapperWorkbenchAdapter is equal to its MethodWrapper and vice versa (bug 101677). return fMethodWrapper.equals(obj); } /* * (non-Javadoc) * @see java.lang.Object#hashCode() */ public int hashCode() { //Note: A MethodWrapperWorkbenchAdapter is equal to its MethodWrapper and vice versa (bug 101677). return fMethodWrapper.hashCode(); } |
| ||||
public boolean equals(Object obj) { return delegeteLabelProvider.equals(obj); } public int hashCode() { return delegeteLabelProvider.hashCode(); } |
| ||||
public boolean equals(Object obj) { return fOpenAction.equals(obj); } public int getAccelerator() { return fOpenAction.getAccelerator(); } |
| |||
/* * (non-Javadoc) * @see java.lang.Object#equals(java.lang.Object) */ public boolean equals(Object obj) { //Note: A MethodWrapperWorkbenchAdapter is equal to its MethodWrapper and vice versa (bug 101677). return [[#variable78107de0]].equals(obj); } /* * (non-Javadoc) * @see java.lang.Object#hashCode() */ public int [[#variable5410e0e0]]() { //Note: A MethodWrapperWorkbenchAdapter is equal to its MethodWrapper and vice versa (bug 101677). return [[#variable78107de0]]. [[#variable5410e0e0]](); } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#78107de0]] | fOpenAction |
1 | 2 | [[#78107de0]] | delegeteLabelProvider |
1 | 3 | [[#78107de0]] | fMethodWrapper |
1 | 4 | [[#78107de0]] | fViewer |
2 | 1 | [[#5410e0e0]] | getAccelerator |
2 | 2 | [[#5410e0e0]] | hashCode |
2 | 3 | [[#5410e0e0]] | hashCode |
2 | 4 | [[#5410e0e0]] | hashCode |