Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
6 | 2 | 1 | 0.957 | class_body_declaration |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 3 | 195 | plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/code/ConvertAnonymousToNestedRefactoring.java |
2 | 6 | 181 | plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/code/PromoteTempToFieldRefactoring.java |
| ||||
public void setVisibility(int visibility) { Assert.isTrue(visibility == Modifier.PRIVATE || visibility == Modifier.NONE || visibility == Modifier.PROTECTED || visibility == Modifier.PUBLIC); fVisibility = visibility; } |
| ||||
public void setVisibility(int accessModifier) { Assert.isTrue(accessModifier == Modifier.PRIVATE || accessModifier == Modifier.NONE || accessModifier == Modifier.PROTECTED || accessModifier == Modifier.PUBLIC); fVisibility = accessModifier; } |
| |||
public void setVisibility(int [[#variablea06dd300]]) { Assert.isTrue( [[#variablea06dd300]]== Modifier.PRIVATE || [[#variablea06dd300]]== Modifier.NONE || [[#variablea06dd300]]== Modifier.PROTECTED || [[#variablea06dd300]]== Modifier.PUBLIC); fVisibility = [[#variablea06dd300]]; } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#a06dd300]] | accessModifier |
1 | 2 | [[#a06dd300]] | visibility |