CloneSet3211


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
6260.950executable_statement
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
16168
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/ContentAssistPreference.java
26220
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/ContentAssistPreference.java
Clone Instance
1
Line Count
6
Source Line
168
Source File
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);
                       }


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

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


Clone AbstractionParameter Count: 6Parameter Bindings

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 Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#5b5aac60]]
AUTOINSERT 
12[[#5b5aac60]]
SHOW_VISIBLE_PROPOSALS 
21[[#5b5aabc0]]
p 
22[[#5b5aabc0]]
key 
31[[#5b5aab40]]
assistant 
32[[#5b5aab40]]
jcp 
41[[#5b5aaae0]]
enableAutoInsert 
42[[#5b5aaae0]]
restrictProposalsToVisibility 
51[[#5b5aaa80]]
PREFIX_COMPLETION 
52[[#5b5aaa80]]
CASE_SENSITIVITY 
61[[#5b5aa9c0]]
enablePrefixCompletion 
62[[#5b5aa9c0]]
restrictProposalsToMatchingCases