CloneSet522


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
6860.963statement_sequence[3]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
16167
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/fix/CodeStyleCleanUp.java
26173
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/fix/CodeStyleCleanUp.java
36109
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/fix/ControlStatementsCleanUp.java
46124
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/fix/Java50CleanUp.java
56135
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/fix/PotentialProgrammingProblemsCleanUp.java
66136
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/fix/UnusedCodeCleanUp.java
76142
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/fix/UnusedCodeCleanUp.java
86100
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/fix/VariableDeclarationCleanUp.java
Clone Instance
1
Line Count
6
Source Line
167
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/fix/CodeStyleCleanUp.java

                if (isFlag(QUALIFY_FIELD_ACCESS))
                        result.add(MultiFixMessages.CodeStyleMultiFix_AddThisQualifier_description);
                if (isFlag(QUALIFY_STATIC_FIELD_ACCESS))
                        result.add(MultiFixMessages.CodeStyleMultiFix_QualifyAccessToStaticField);
                if (isFlag(CHANGE_NON_STATIC_ACCESS_TO_STATIC))
                        result.add(MultiFixMessages.CodeStyleMultiFix_ChangeNonStaticAccess_description);


Clone Instance
2
Line Count
6
Source Line
173
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/fix/CodeStyleCleanUp.java

                if (isFlag(CHANGE_INDIRECT_STATIC_ACCESS_TO_DIRECT))
                        result.add(MultiFixMessages.CodeStyleMultiFix_ChangeIndirectAccessToStaticToDirect);
                if (isFlag(QUALIFY_METHOD_ACCESS))
                        result.add(MultiFixMessages.CodeStyleCleanUp_QualifyNonStaticMethod_description);
                if (isFlag(QUALIFY_STATIC_METHOD_ACCESS))
                        result.add(MultiFixMessages.CodeStyleCleanUp_QualifyStaticMethod_description);


Clone Instance
3
Line Count
6
Source Line
109
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/fix/ControlStatementsCleanUp.java

                if (isFlag(ADD_BLOCK_TO_CONTROL_STATEMENTS))
                        result.add(MultiFixMessages.CodeStyleMultiFix_ConvertSingleStatementInControlBodeyToBlock_description);
                if (isFlag(CONVERT_FOR_LOOP_TO_ENHANCED_FOR_LOOP))
                        result.add(MultiFixMessages.Java50CleanUp_ConvertToEnhancedForLoop_description);
                if (isFlag(REMOVE_UNNECESSARY_BLOCKS))
                        result.add(MultiFixMessages.ControlStatementsCleanUp_RemoveUnnecessaryBlocks_description);


Clone Instance
4
Line Count
6
Source Line
124
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/fix/Java50CleanUp.java

                if (isFlag(ADD_OVERRIDE_ANNOATION))
                        result.add(MultiFixMessages.Java50MultiFix_AddMissingOverride_description);
                if (isFlag(ADD_DEPRECATED_ANNOTATION))
                        result.add(MultiFixMessages.Java50MultiFix_AddMissingDeprecated_description);
                if (isFlag(ADD_TYPE_PARAMETERS_TO_RAW_TYPE_REFERENCE))
                        result.add(MultiFixMessages.Java50CleanUp_AddTypeParameters_description);


Clone Instance
5
Line Count
6
Source Line
135
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/fix/PotentialProgrammingProblemsCleanUp.java

                if (isFlag(ADD_CALCULATED_SERIAL_VERSION_ID))
                        result.add(MultiFixMessages.SerialVersionCleanUp_Generated_description);
                if (isFlag(ADD_DEFAULT_SERIAL_VERSION_ID))
                        result.add(MultiFixMessages.CodeStyleCleanUp_addDefaultSerialVersionId_description);
                if (isFlag(ADD_RANDOM_SERIAL_VERSION_ID))
                        result.add(MultiFixMessages.PotentialProgrammingProblemsCleanUp_RandomSerialId_description);


Clone Instance
6
Line Count
6
Source Line
136
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/fix/UnusedCodeCleanUp.java

                if (isFlag(REMOVE_UNUSED_IMPORTS))
                        result.add(MultiFixMessages.UnusedCodeMultiFix_RemoveUnusedImport_description);
                if (isFlag(REMOVE_UNUSED_PRIVATE_METHODS))
                        result.add(MultiFixMessages.UnusedCodeMultiFix_RemoveUnusedMethod_description);
                if (isFlag(REMOVE_UNUSED_PRIVATE_CONSTRUCTORS))
                        result.add(MultiFixMessages.UnusedCodeMultiFix_RemoveUnusedConstructor_description);


Clone Instance
7
Line Count
6
Source Line
142
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/fix/UnusedCodeCleanUp.java

                if (isFlag(REMOVE_UNUSED_PRIVATE_TYPES))
                        result.add(MultiFixMessages.UnusedCodeMultiFix_RemoveUnusedType_description);
                if (isFlag(REMOVE_UNUSED_PRIVATE_FIELDS))
                        result.add(MultiFixMessages.UnusedCodeMultiFix_RemoveUnusedField_description);
                if (isFlag(REMOVE_UNUSED_LOCAL_VARIABLES))
                        result.add(MultiFixMessages.UnusedCodeMultiFix_RemoveUnusedVariable_description);


Clone Instance
8
Line Count
6
Source Line
100
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/fix/VariableDeclarationCleanUp.java

                if (isFlag(ADD_FINAL_MODIFIER_FIELDS))
                        result.add(MultiFixMessages.VariableDeclarationCleanUp_AddFinalField_description);
                if (isFlag(ADD_FINAL_MODIFIER_PARAMETERS))
                        result.add(MultiFixMessages.VariableDeclarationCleanUp_AddFinalParameters_description);
                if (isFlag(ADD_FINAL_MODIFIER_LOCAL_VARIABLES))
                        result.add(MultiFixMessages.VariableDeclarationCleanUp_AddFinalLocals_description);


Clone AbstractionParameter Count: 6Parameter Bindings

if (isFlag( [[#variable58e14be0]]))
  result.add(MultiFixMessages. [[#variable59cce540]]);
if (isFlag( [[#variable57c1f8c0]]))
  result.add(MultiFixMessages. [[#variablebcc44700]]);
if (isFlag( [[#variablea3f53840]]))
  result.add(MultiFixMessages. [[#variable58e14b60]]);
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#58e14be0]]
ADD_FINAL_MODIFIER_FIELDS 
12[[#58e14be0]]
REMOVE_UNUSED_IMPORTS 
13[[#58e14be0]]
REMOVE_UNUSED_PRIVATE_TYPES 
14[[#58e14be0]]
ADD_CALCULATED_SERIAL_VERSION_ID 
15[[#58e14be0]]
ADD_OVERRIDE_ANNOATION 
16[[#58e14be0]]
ADD_BLOCK_TO_CONTROL_STATEMENTS 
17[[#58e14be0]]
QUALIFY_FIELD_ACCESS 
18[[#58e14be0]]
CHANGE_INDIRECT_STATIC_ACCESS_TO_DIRECT 
21[[#59cce540]]
VariableDeclarationCleanUp_AddFinalField_description 
22[[#59cce540]]
UnusedCodeMultiFix_RemoveUnusedImport_description 
23[[#59cce540]]
UnusedCodeMultiFix_RemoveUnusedType_description 
24[[#59cce540]]
SerialVersionCleanUp_Generated_description 
25[[#59cce540]]
Java50MultiFix_AddMissingOverride_description 
26[[#59cce540]]
CodeStyleMultiFix_ConvertSingleStatementInControlBodeyToBlock_description 
27[[#59cce540]]
CodeStyleMultiFix_AddThisQualifier_description 
28[[#59cce540]]
CodeStyleMultiFix_ChangeIndirectAccessToStaticToDirect 
31[[#57c1f8c0]]
ADD_FINAL_MODIFIER_PARAMETERS 
32[[#57c1f8c0]]
REMOVE_UNUSED_PRIVATE_METHODS 
33[[#57c1f8c0]]
REMOVE_UNUSED_PRIVATE_FIELDS 
34[[#57c1f8c0]]
ADD_DEFAULT_SERIAL_VERSION_ID 
35[[#57c1f8c0]]
ADD_DEPRECATED_ANNOTATION 
36[[#57c1f8c0]]
CONVERT_FOR_LOOP_TO_ENHANCED_FOR_LOOP 
37[[#57c1f8c0]]
QUALIFY_STATIC_FIELD_ACCESS 
38[[#57c1f8c0]]
QUALIFY_METHOD_ACCESS 
41[[#bcc44700]]
VariableDeclarationCleanUp_AddFinalParameters_description 
42[[#bcc44700]]
UnusedCodeMultiFix_RemoveUnusedMethod_description 
43[[#bcc44700]]
UnusedCodeMultiFix_RemoveUnusedField_description 
44[[#bcc44700]]
CodeStyleCleanUp_addDefaultSerialVersionId_description 
45[[#bcc44700]]
Java50MultiFix_AddMissingDeprecated_description 
46[[#bcc44700]]
Java50CleanUp_ConvertToEnhancedForLoop_description 
47[[#bcc44700]]
CodeStyleMultiFix_QualifyAccessToStaticField 
48[[#bcc44700]]
CodeStyleCleanUp_QualifyNonStaticMethod_description 
51[[#a3f53840]]
ADD_FINAL_MODIFIER_LOCAL_VARIABLES 
52[[#a3f53840]]
REMOVE_UNUSED_PRIVATE_CONSTRUCTORS 
53[[#a3f53840]]
REMOVE_UNUSED_LOCAL_VARIABLES 
54[[#a3f53840]]
ADD_RANDOM_SERIAL_VERSION_ID 
55[[#a3f53840]]
ADD_TYPE_PARAMETERS_TO_RAW_TYPE_REFERENCE 
56[[#a3f53840]]
REMOVE_UNNECESSARY_BLOCKS 
57[[#a3f53840]]
CHANGE_NON_STATIC_ACCESS_TO_STATIC 
58[[#a3f53840]]
QUALIFY_STATIC_METHOD_ACCESS 
61[[#58e14b60]]
VariableDeclarationCleanUp_AddFinalLocals_description 
62[[#58e14b60]]
UnusedCodeMultiFix_RemoveUnusedConstructor_description 
63[[#58e14b60]]
UnusedCodeMultiFix_RemoveUnusedVariable_description 
64[[#58e14b60]]
PotentialProgrammingProblemsCleanUp_RandomSerialId_description 
65[[#58e14b60]]
Java50CleanUp_AddTypeParameters_description 
66[[#58e14b60]]
ControlStatementsCleanUp_RemoveUnnecessaryBlocks_description 
67[[#58e14b60]]
CodeStyleMultiFix_ChangeNonStaticAccess_description 
68[[#58e14b60]]
CodeStyleCleanUp_QualifyStaticMethod_description