Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
6 | 2 | 6 | 0.950 | executable_statement |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 6 | 168 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/ContentAssistPreference.java |
2 | 6 | 220 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/ContentAssistPreference.java |
| ||||
if (SHOW_VISIBLE_PROPOSALS.equals(key)) { boolean enabled = store.getBoolean(SHOW_VISIBLE_PROPOSALS); jcp.restrictProposalsToVisibility(enabled); } else if (CASE_SENSITIVITY.equals(key)) { boolean enabled = store.getBoolean(CASE_SENSITIVITY); jcp.restrictProposalsToMatchingCases(enabled); } |
| ||||
if (AUTOINSERT.equals(p)) { boolean enabled = store.getBoolean(AUTOINSERT); assistant.enableAutoInsert(enabled); } else if (PREFIX_COMPLETION.equals(p)) { boolean enabled = store.getBoolean(PREFIX_COMPLETION); assistant.enablePrefixCompletion(enabled); } |
| |||
if ( [[#variable5b5aac60]].equals( [[#variable5b5aabc0]])) { boolean enabled = store.getBoolean( [[#variable5b5aac60]]); [[#variable5b5aab40]]. [[#variable5b5aaae0]](enabled); } else if ( [[#variable5b5aaa80]].equals( [[#variable5b5aabc0]])) { boolean enabled = store.getBoolean( [[#variable5b5aaa80]]); [[#variable5b5aab40]]. [[#variable5b5aa9c0]](enabled); } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#5b5aac60]] | AUTOINSERT |
1 | 2 | [[#5b5aac60]] | SHOW_VISIBLE_PROPOSALS |
2 | 1 | [[#5b5aabc0]] | p |
2 | 2 | [[#5b5aabc0]] | key |
3 | 1 | [[#5b5aab40]] | assistant |
3 | 2 | [[#5b5aab40]] | jcp |
4 | 1 | [[#5b5aaae0]] | enableAutoInsert |
4 | 2 | [[#5b5aaae0]] | restrictProposalsToVisibility |
5 | 1 | [[#5b5aaa80]] | PREFIX_COMPLETION |
5 | 2 | [[#5b5aaa80]] | CASE_SENSITIVITY |
6 | 1 | [[#5b5aa9c0]] | enablePrefixCompletion |
6 | 2 | [[#5b5aa9c0]] | restrictProposalsToMatchingCases |