Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
4 | 7 | 4 | 0.967 | statement_sequence_member |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 4 | 254 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/fix/CodeStyleCleanUp.java |
2 | 4 | 259 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/fix/CodeStyleCleanUp.java |
3 | 4 | 162 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/fix/Java50CleanUp.java |
4 | 4 | 167 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/fix/Java50CleanUp.java |
5 | 4 | 172 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/fix/Java50CleanUp.java |
6 | 4 | 123 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/fix/UnnecessaryCodeCleanUp.java |
7 | 4 | 193 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/fix/UnusedCodeCleanUp.java |
| ||||
if (isFlag(QUALIFY_FIELD_ACCESS)) { CodeStyleFix fix = CodeStyleFix.createAddFieldQualifierFix(compilationUnit, problem); if (fix != null) return true; } |
| ||||
if (isFlag(CHANGE_INDIRECT_STATIC_ACCESS_TO_DIRECT)) { CodeStyleFix fix = CodeStyleFix.createIndirectAccessToStaticFix(compilationUnit, problem); if (fix != null) return true; } |
| ||||
if (isFlag(ADD_OVERRIDE_ANNOATION)) { Java50Fix fix = Java50Fix.createAddOverrideAnnotationFix(compilationUnit, problem); if (fix != null) return true; } |
| ||||
if (isFlag(ADD_DEPRECATED_ANNOTATION)) { Java50Fix fix = Java50Fix.createAddDeprectatedAnnotation(compilationUnit, problem); if (fix != null) return true; } |
| ||||
if (isFlag(ADD_TYPE_PARAMETERS_TO_RAW_TYPE_REFERENCE)) { Java50Fix fix = Java50Fix.createRawTypeReferenceFix(compilationUnit, problem); if (fix != null) return true; } |
| ||||
if (isFlag(REMOVE_UNUSED_CAST)) { IFix fix = UnusedCodeFix.createRemoveUnusedCastFix(compilationUnit, problem); if (fix != null) return true; } |
| ||||
if (isFlag(REMOVE_UNUSED_IMPORTS)) { UnusedCodeFix fix = UnusedCodeFix.createRemoveUnusedImportFix(compilationUnit, problem); if (fix != null) return true; } |
| |||
if (isFlag( [[#variableb0b8dd60]])) { [[#variableb0b8dce0]] fix = [[#variableb0b8d4c0]]. [[#variableb0b8dd80]](compilationUnit, problem); if (fix != null) return true; } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#b0b8dd60]] | REMOVE_UNUSED_IMPORTS |
1 | 2 | [[#b0b8dd60]] | REMOVE_UNUSED_CAST |
1 | 3 | [[#b0b8dd60]] | ADD_OVERRIDE_ANNOATION |
1 | 4 | [[#b0b8dd60]] | ADD_DEPRECATED_ANNOTATION |
1 | 5 | [[#b0b8dd60]] | ADD_TYPE_PARAMETERS_TO_RAW_TYPE_REFERENCE |
1 | 6 | [[#b0b8dd60]] | QUALIFY_FIELD_ACCESS |
1 | 7 | [[#b0b8dd60]] | CHANGE_INDIRECT_STATIC_ACCESS_TO_DIRECT |
2 | 1 | [[#b0b8dce0]] | UnusedCodeFix |
2 | 2 | [[#b0b8dce0]] | IFix |
2 | 3 | [[#b0b8dce0]] | Java50Fix |
2 | 4 | [[#b0b8dce0]] | Java50Fix |
2 | 5 | [[#b0b8dce0]] | Java50Fix |
2 | 6 | [[#b0b8dce0]] | CodeStyleFix |
2 | 7 | [[#b0b8dce0]] | CodeStyleFix |
3 | 1 | [[#b0b8d4c0]] | UnusedCodeFix |
3 | 2 | [[#b0b8d4c0]] | UnusedCodeFix |
3 | 3 | [[#b0b8d4c0]] | Java50Fix |
3 | 4 | [[#b0b8d4c0]] | Java50Fix |
3 | 5 | [[#b0b8d4c0]] | Java50Fix |
3 | 6 | [[#b0b8d4c0]] | CodeStyleFix |
3 | 7 | [[#b0b8d4c0]] | CodeStyleFix |
4 | 1 | [[#b0b8dd80]] | createRemoveUnusedImportFix |
4 | 2 | [[#b0b8dd80]] | createRemoveUnusedCastFix |
4 | 3 | [[#b0b8dd80]] | createAddOverrideAnnotationFix |
4 | 4 | [[#b0b8dd80]] | createAddDeprectatedAnnotation |
4 | 5 | [[#b0b8dd80]] | createRawTypeReferenceFix |
4 | 6 | [[#b0b8dd80]] | createAddFieldQualifierFix |
4 | 7 | [[#b0b8dd80]] | createIndirectAccessToStaticFix |