Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
7 | 2 | 3 | 0.955 | class_body_declaration |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 7 | 194 | plugins/org.eclipse.jdt.debug/model/org/eclipse/jdt/internal/debug/core/model/JDIArrayEntryVariable.java |
2 | 7 | 318 | 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 JDIArrayEntryVariable) { JDIArrayEntryVariable entry = (JDIArrayEntryVariable) obj; return entry.getArrayReference().equals(getArrayReference()) && entry.getIndex() == getIndex(); } return false; } |
| ||||
/* (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; } |
| |||
/* (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 Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#63d77400]] | DefaultProjectClasspathEntry |
1 | 2 | [[#63d77400]] | JDIArrayEntryVariable |
2 | 1 | [[#63d77360]] | getJavaProject |
2 | 2 | [[#63d77360]] | getArrayReference |
3 | 1 | [[#63d77300]] | isExportedEntriesOnly |
3 | 2 | [[#63d77300]] | getIndex |