CloneSet3796


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
6420.955class_body_declarations[2]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
16295
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/browsing/PackageViewerWrapper.java
21264
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/callhierarchy/MethodWrapperWorkbenchAdapter.java
36141
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/navigator/JavaNavigatorLabelProvider.java
4688
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/navigator/OpenAndExpand.java
Clone Instance
1
Line Count
6
Source Line
295
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/browsing/PackageViewerWrapper.java

        public boolean equals(Object obj) {
                return fViewer.equals(obj);
        }

        public int hashCode() {
                return fViewer.hashCode();
        }


Clone Instance
2
Line Count
12
Source Line
64
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/callhierarchy/MethodWrapperWorkbenchAdapter.java

    /*
     * (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();
    }


Clone Instance
3
Line Count
6
Source Line
141
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/navigator/JavaNavigatorLabelProvider.java

        public boolean equals(Object obj) {
                return delegeteLabelProvider.equals(obj);
        }

        public int hashCode() {
                return delegeteLabelProvider.hashCode();
        }


Clone Instance
4
Line Count
6
Source Line
88
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/navigator/OpenAndExpand.java

        public boolean equals(Object obj) {
                return fOpenAction.equals(obj);
        }

        public int getAccelerator() {
                return fOpenAction.getAccelerator();
        }


Clone AbstractionParameter Count: 2Parameter Bindings

/*
     * (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 Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#78107de0]]
fOpenAction 
12[[#78107de0]]
delegeteLabelProvider 
13[[#78107de0]]
fMethodWrapper 
14[[#78107de0]]
fViewer 
21[[#5410e0e0]]
getAccelerator 
22[[#5410e0e0]]
hashCode 
23[[#5410e0e0]]
hashCode 
24[[#5410e0e0]]
hashCode