Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
21 | 2 | 6 | 0.955 | statement_sequence[15] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 21 | 111 | plugins/org.eclipse.jdt.debug.ui/ui/org/eclipse/jdt/internal/debug/ui/JDIContentAssistPreference.java |
2 | 21 | 129 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/ContentAssistPreference.java |
| ||||
assistant.enableAutoActivation(enabled); int delay = store.getInt(PreferenceConstants.CODEASSIST_AUTOACTIVATION_DELAY); assistant.setAutoActivationDelay(delay); Color c = getColor(store, PreferenceConstants.CODEASSIST_PROPOSALS_FOREGROUND, manager); assistant.setProposalSelectorForeground(c); c = getColor(store, PreferenceConstants.CODEASSIST_PROPOSALS_BACKGROUND, manager); assistant.setProposalSelectorBackground(c); c = getColor(store, PreferenceConstants.CODEASSIST_PARAMETERS_FOREGROUND, manager); assistant.setContextInformationPopupForeground(c); assistant.setContextSelectorForeground(c); c = getColor(store, PreferenceConstants.CODEASSIST_PARAMETERS_BACKGROUND, manager); assistant.setContextInformationPopupBackground(c); assistant.setContextSelectorBackground(c); enabled = store.getBoolean(PreferenceConstants.CODEASSIST_AUTOINSERT); assistant.enableAutoInsert(enabled); |
| ||||
assistant.enableAutoActivation(enabled); int delay = store.getInt(AUTOACTIVATION_DELAY); assistant.setAutoActivationDelay(delay); Color c = getColor(store, PROPOSALS_FOREGROUND, manager); assistant.setProposalSelectorForeground(c); c = getColor(store, PROPOSALS_BACKGROUND, manager); assistant.setProposalSelectorBackground(c); c = getColor(store, PARAMETERS_FOREGROUND, manager); assistant.setContextInformationPopupForeground(c); assistant.setContextSelectorForeground(c); c = getColor(store, PARAMETERS_BACKGROUND, manager); assistant.setContextInformationPopupBackground(c); assistant.setContextSelectorBackground(c); enabled = store.getBoolean(AUTOINSERT); assistant.enableAutoInsert(enabled); |
| |||
assistant.enableAutoActivation(enabled); int delay = store.getInt( [[#variable5b887680]]); assistant.setAutoActivationDelay(delay); Color c = getColor(store, [[#variable5b8875e0]], manager); assistant.setProposalSelectorForeground(c); c = getColor(store, [[#variable5b887540]], manager); assistant.setProposalSelectorBackground(c); c = getColor(store, [[#variable5b8874c0]], manager); assistant.setContextInformationPopupForeground(c); assistant.setContextSelectorForeground(c); c = getColor(store, [[#variable5b887500]], manager); assistant.setContextInformationPopupBackground(c); assistant.setContextSelectorBackground(c); enabled = store.getBoolean( [[#variable5b886900]]); assistant.enableAutoInsert(enabled); |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#5b887680]] | AUTOACTIVATION_DELAY |
1 | 2 | [[#5b887680]] | PreferenceConstants.CODEASSIST_AUTOACTIVATION_DELAY |
2 | 1 | [[#5b8875e0]] | PROPOSALS_FOREGROUND |
2 | 2 | [[#5b8875e0]] | PreferenceConstants.CODEASSIST_PROPOSALS_FOREGROUND |
3 | 1 | [[#5b887540]] | PROPOSALS_BACKGROUND |
3 | 2 | [[#5b887540]] | PreferenceConstants.CODEASSIST_PROPOSALS_BACKGROUND |
4 | 1 | [[#5b8874c0]] | PARAMETERS_FOREGROUND |
4 | 2 | [[#5b8874c0]] | PreferenceConstants.CODEASSIST_PARAMETERS_FOREGROUND |
5 | 1 | [[#5b887500]] | PARAMETERS_BACKGROUND |
5 | 2 | [[#5b887500]] | PreferenceConstants.CODEASSIST_PARAMETERS_BACKGROUND |
6 | 1 | [[#5b886900]] | AUTOINSERT |
6 | 2 | [[#5b886900]] | PreferenceConstants.CODEASSIST_AUTOINSERT |