CloneSet4149


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
6230.952class_body_declaration
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
16383
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/buildpaths/CPListElement.java
2668
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/buildpaths/CPVariableElement.java
Clone Instance
1
Line Count
6
Source Line
383
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/buildpaths/CPListElement.java

        /*
         * @see Object#equals(java.lang.Object)
         */
        public boolean equals(Object other) {
                if (other != null && other.getClass().equals(getClass())) {
                        CPListElement elem = (CPListElement) other;
                        return getClasspathEntry().equals(elem.getClasspathEntry());
                }
                return false;
        }


Clone Instance
2
Line Count
6
Source Line
68
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/buildpaths/CPVariableElement.java

        /*
         * @see Object#equals()
         */
        public boolean equals(Object other) {
                if (other != null && other.getClass().equals(getClass())) {
                        CPVariableElement elem = (CPVariableElement) other;
                        return fName.equals(elem.fName);
                }
                return false;
        }


Clone AbstractionParameter Count: 3Parameter Bindings

/*
         * @see Object#equals()
         */
/*
         * @see Object#equals(java.lang.Object)
         */
public boolean equals(Object other) {
  if (other != null && other.getClass().equals(getClass())) {
     [[#variable56245880]] elem = ( [[#variable56245880]]) other;
    return [[#variable562457e0]].equals(elem [[#variable562455e0]]);
  }
  return false;
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#56245880]]
CPVariableElement 
12[[#56245880]]
CPListElement 
21[[#562457e0]]
fName 
22[[#562457e0]]
getClasspathEntry() 
31[[#562455e0]]
.fName 
32[[#562455e0]]
.getClasspathEntry()