CloneSet4530


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
7230.955class_body_declaration
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
17194
plugins/org.eclipse.jdt.debug/model/org/eclipse/jdt/internal/debug/core/model/JDIArrayEntryVariable.java
27318
plugins/org.eclipse.jdt.launching/launching/org/eclipse/jdt/internal/launching/DefaultProjectClasspathEntry.java
Clone Instance
1
Line Count
7
Source Line
194
Source File
plugins/org.eclipse.jdt.debug/model/org/eclipse/jdt/internal/debug/core/model/JDIArrayEntryVariable.java

        /* (non-Javadoc)
         * @see java.lang.Object#equals(java.lang.Object)
         */
        public boolean equals(Object obj) {
                if (obj instanceof JDIArrayEntryVariable) {
                        JDIArrayEntryVariable entry = (JDIArrayEntryVariable) obj;
                        return entry.getArrayReference().equals(getArrayReference()) &&
                                entry.getIndex() == getIndex();
                }
                return false;
        }


Clone Instance
2
Line Count
7
Source Line
318
Source File
plugins/org.eclipse.jdt.launching/launching/org/eclipse/jdt/internal/launching/DefaultProjectClasspathEntry.java

        /* (non-Javadoc)
         * @see java.lang.Object#equals(java.lang.Object)
         */
        public boolean equals(Object obj) {
                if (obj instanceof DefaultProjectClasspathEntry) {
                        DefaultProjectClasspathEntry entry = (DefaultProjectClasspathEntry) obj;
                        return entry.getJavaProject().equals(getJavaProject()) &&
                                entry.isExportedEntriesOnly() == isExportedEntriesOnly();
                }
                return false;
        }


Clone AbstractionParameter Count: 3Parameter Bindings

/* (non-Javadoc)
         * @see java.lang.Object#equals(java.lang.Object)
         */
public boolean equals(Object obj) {
  if (obj instanceof [[#variable63d77400]]) {
     [[#variable63d77400]] entry = ( [[#variable63d77400]]) obj;
    return entry. [[#variable63d77360]]().equals( [[#variable63d77360]]()) && entry. [[#variable63d77300]]() == [[#variable63d77300]]();
  }
  return false;
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#63d77400]]
DefaultProjectClasspathEntry 
12[[#63d77400]]
JDIArrayEntryVariable 
21[[#63d77360]]
getJavaProject 
22[[#63d77360]]
getArrayReference 
31[[#63d77300]]
isExportedEntriesOnly 
32[[#63d77300]]
getIndex