CloneSet738


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
21260.955statement_sequence[15]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
121111
plugins/org.eclipse.jdt.debug.ui/ui/org/eclipse/jdt/internal/debug/ui/JDIContentAssistPreference.java
221129
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/ContentAssistPreference.java
Clone Instance
1
Line Count
21
Source Line
111
Source File
plugins/org.eclipse.jdt.debug.ui/ui/org/eclipse/jdt/internal/debug/ui/JDIContentAssistPreference.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);


Clone Instance
2
Line Count
21
Source Line
129
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/ContentAssistPreference.java

                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);


Clone AbstractionParameter Count: 6Parameter Bindings

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 Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#5b887680]]
AUTOACTIVATION_DELAY 
12[[#5b887680]]
PreferenceConstants.CODEASSIST_AUTOACTIVATION_DELAY 
21[[#5b8875e0]]
PROPOSALS_FOREGROUND 
22[[#5b8875e0]]
PreferenceConstants.CODEASSIST_PROPOSALS_FOREGROUND 
31[[#5b887540]]
PROPOSALS_BACKGROUND 
32[[#5b887540]]
PreferenceConstants.CODEASSIST_PROPOSALS_BACKGROUND 
41[[#5b8874c0]]
PARAMETERS_FOREGROUND 
42[[#5b8874c0]]
PreferenceConstants.CODEASSIST_PARAMETERS_FOREGROUND 
51[[#5b887500]]
PARAMETERS_BACKGROUND 
52[[#5b887500]]
PreferenceConstants.CODEASSIST_PARAMETERS_BACKGROUND 
61[[#5b886900]]
AUTOINSERT 
62[[#5b886900]]
PreferenceConstants.CODEASSIST_AUTOINSERT