Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
2 | 2 | 3 | 0.961 | class_body_declaration |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 2 | 175 | plugins/org.eclipse.jdt.core/search/org/eclipse/jdt/core/search/SearchMatch.java |
2 | 2 | 200 | plugins/org.eclipse.jdt.core/search/org/eclipse/jdt/core/search/SearchMatch.java |
| ||||
/** * Returns whether match element is compatible with searched pattern or not. * Note that equivalent matches are also erasure ones. * * @return <code>true</code> if match element is compatible * <code>false</code> otherwise * @since 3.1 */ public final boolean isEquivalent() { return isErasure() && (this.rule& SearchPattern.R_EQUIVALENT_MATCH) != 0; } |
| ||||
/** * Returns whether element matches exactly searched pattern or not. * Note that exact matches are also erasure and equivalent ones. * * @return <code>true</code> if match is exact * <code>false</code> otherwise * @since 3.1 */ public final boolean isExact() { return isEquivalent() && (this.rule& SearchPattern.R_FULL_MATCH) != 0; } |
| |||
/** * Returns whether match element is compatible with searched pattern or not. * Note that equivalent matches are also erasure ones. * * @return <code>true</code> if match element is compatible * <code>false</code> otherwise * @since 3.1 */ /** * Returns whether element matches exactly searched pattern or not. * Note that exact matches are also erasure and equivalent ones. * * @return <code>true</code> if match is exact * <code>false</code> otherwise * @since 3.1 */ public final boolean [[#variableb44e51e0]]() { return [[#variableb44e5140]]() && (this.rule&SearchPattern. [[#variableb44e50c0]]) != 0; } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#b44e51e0]] | isEquivalent |
1 | 2 | [[#b44e51e0]] | isExact |
2 | 1 | [[#b44e5140]] | isErasure |
2 | 2 | [[#b44e5140]] | isEquivalent |
3 | 1 | [[#b44e50c0]] | R_EQUIVALENT_MATCH |
3 | 2 | [[#b44e50c0]] | R_FULL_MATCH |