CloneSet2802


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
6240.964statement_sequence_member
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
163402
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/PreferenceConstants.java
263410
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/PreferenceConstants.java
Clone Instance
1
Line Count
6
Source Line
3402
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/PreferenceConstants.java

                // CodeGenerationPreferencePage
                // compatibility code
                if (store.getBoolean(PreferenceConstants.CODEGEN_USE_GETTERSETTER_PREFIX)) {
                        String prefix = store.getString(PreferenceConstants.CODEGEN_GETTERSETTER_PREFIX);
                        if (prefix.length() > 0) {
                                JavaCore.getPlugin().getPluginPreferences().setValue(JavaCore.CODEASSIST_FIELD_PREFIXES, prefix);
                                store.setToDefault(PreferenceConstants.CODEGEN_USE_GETTERSETTER_PREFIX);
                                store.setToDefault(PreferenceConstants.CODEGEN_GETTERSETTER_PREFIX);
                        }
                }


Clone Instance
2
Line Count
6
Source Line
3410
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/PreferenceConstants.java

                if (store.getBoolean(PreferenceConstants.CODEGEN_USE_GETTERSETTER_SUFFIX)) {
                        String suffix = store.getString(PreferenceConstants.CODEGEN_GETTERSETTER_SUFFIX);
                        if (suffix.length() > 0) {
                                JavaCore.getPlugin().getPluginPreferences().setValue(JavaCore.CODEASSIST_FIELD_SUFFIXES, suffix);
                                store.setToDefault(PreferenceConstants.CODEGEN_USE_GETTERSETTER_SUFFIX);
                                store.setToDefault(PreferenceConstants.CODEGEN_GETTERSETTER_SUFFIX);
                        }
                }


Clone AbstractionParameter Count: 4Parameter Bindings

// CodeGenerationPreferencePage
// compatibility code
if (store.getBoolean(PreferenceConstants. [[#variablea45e5580]])) {
  String  [[#variablea45e5520]]= store.getString(PreferenceConstants. [[#variablea45e54c0]]);
  if ( [[#variablea45e5520]].length() > 0) {
    JavaCore.getPlugin().getPluginPreferences().setValue(JavaCore. [[#variablea45e5420]],  [[#variablea45e5520]]);
    store.setToDefault(PreferenceConstants. [[#variablea45e5580]]);
    store.setToDefault(PreferenceConstants. [[#variablea45e54c0]]);
  }
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#a45e5580]]
CODEGEN_USE_GETTERSETTER_PREFIX 
12[[#a45e5580]]
CODEGEN_USE_GETTERSETTER_SUFFIX 
21[[#a45e5520]]
prefix 
22[[#a45e5520]]
suffix 
31[[#a45e54c0]]
CODEGEN_GETTERSETTER_PREFIX 
32[[#a45e54c0]]
CODEGEN_GETTERSETTER_SUFFIX 
41[[#a45e5420]]
CODEASSIST_FIELD_PREFIXES 
42[[#a45e5420]]
CODEASSIST_FIELD_SUFFIXES