| Previous CloneSet | Next CloneSet | Back to Main Report |
| Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
|---|---|---|---|---|
| 2 | 2 | 4 | 0.952 | class_body_declaration |
| Clone Abstraction | Parameter Bindings |
| Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
|---|---|---|---|
| 1 | 2 | 5724 | plugins/org.eclipse.jdt.core/codeassist/org/eclipse/jdt/internal/codeassist/CompletionEngine.java |
| 2 | 2 | 5728 | plugins/org.eclipse.jdt.core/codeassist/org/eclipse/jdt/internal/codeassist/CompletionEngine.java |
| ||||
public void acceptNameWithPrefix(char[] name, boolean isFirstPrefix, int reusedCharacters) {
accept(name, isFirstPrefix ? R_NAME_FIRST_PREFIX: R_NAME_PREFIX, reusedCharacters);
}
|
| ||||
public void acceptNameWithSuffix(char[] name, boolean isFirstSuffix, int reusedCharacters) {
accept(name, isFirstSuffix ? R_NAME_FIRST_SUFFIX: R_NAME_SUFFIX, reusedCharacters);
}
|
| |||
public void [[#variable54fbc3e0]](char[] name, boolean [[#variable54fbc360]], int reusedCharacters) {
accept(name, [[#variable54fbc360]]? [[#variable54fbc300]]: [[#variable54fbc280]], reusedCharacters);
}
|
| CloneAbstraction |
| Parameter Index | Clone Instance | Parameter Name | Value |
|---|---|---|---|
| 1 | 1 | [[#54fbc3e0]] | acceptNameWithPrefix |
| 1 | 2 | [[#54fbc3e0]] | acceptNameWithSuffix |
| 2 | 1 | [[#54fbc360]] | isFirstPrefix |
| 2 | 2 | [[#54fbc360]] | isFirstSuffix |
| 3 | 1 | [[#54fbc300]] | R_NAME_FIRST_PREFIX |
| 3 | 2 | [[#54fbc300]] | R_NAME_FIRST_SUFFIX |
| 4 | 1 | [[#54fbc280]] | R_NAME_PREFIX |
| 4 | 2 | [[#54fbc280]] | R_NAME_SUFFIX |