CloneSet5129


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
6210.957class_body_declaration
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
13195
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/code/ConvertAnonymousToNestedRefactoring.java
26181
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/code/PromoteTempToFieldRefactoring.java
Clone Instance
1
Line Count
3
Source Line
195
Source File
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/code/ConvertAnonymousToNestedRefactoring.java

    public void setVisibility(int visibility) {
        Assert.isTrue(visibility == Modifier.PRIVATE || visibility == Modifier.NONE || visibility == Modifier.PROTECTED || visibility == Modifier.PUBLIC);
        fVisibility = visibility;
    }


Clone Instance
2
Line Count
6
Source Line
181
Source File
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/code/PromoteTempToFieldRefactoring.java

    public void setVisibility(int accessModifier) {
        Assert.isTrue(accessModifier == Modifier.PRIVATE ||
                                        accessModifier == Modifier.NONE ||
                                        accessModifier == Modifier.PROTECTED ||
                                        accessModifier == Modifier.PUBLIC);
        fVisibility = accessModifier;
    }


Clone AbstractionParameter Count: 1Parameter Bindings

public void setVisibility(int  [[#variablea06dd300]]) {
  Assert.isTrue( [[#variablea06dd300]]== Modifier.PRIVATE || [[#variablea06dd300]]== Modifier.NONE || [[#variablea06dd300]]== Modifier.PROTECTED || [[#variablea06dd300]]== Modifier.PUBLIC);
  fVisibility = [[#variablea06dd300]];
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#a06dd300]]
accessModifier 
12[[#a06dd300]]
visibility