| Previous CloneSet | Next CloneSet | Back to Main Report |
| Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
|---|---|---|---|---|
| 2 | 2 | 2 | 0.958 | class_body_declaration |
| Clone Abstraction | Parameter Bindings |
| Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
|---|---|---|---|
| 1 | 2 | 78 | plugins/org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/util/JdtFlags.java |
| 2 | 2 | 82 | plugins/org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/util/JdtFlags.java |
| ||||
public static boolean isPackageVisible(BodyDeclaration bodyDeclaration) {
return ( ! isPrivate(bodyDeclaration) && ! isProtected(bodyDeclaration) && ! isPublic(bodyDeclaration));
}
|
| ||||
public static boolean isPackageVisible(IBinding binding) {
return ( ! isPrivate(binding) && ! isProtected(binding) && ! isPublic(binding));
}
|
| |||
public static boolean isPackageVisible( [[#variable7c335020]] [[#variable7c334fc0]]) {
return ( !isPrivate( [[#variable7c334fc0]]) && !isProtected( [[#variable7c334fc0]]) && !isPublic( [[#variable7c334fc0]]));
}
|
| CloneAbstraction |
| Parameter Index | Clone Instance | Parameter Name | Value |
|---|---|---|---|
| 1 | 1 | [[#7c335020]] | BodyDeclaration |
| 1 | 2 | [[#7c335020]] | IBinding |
| 2 | 1 | [[#7c334fc0]] | bodyDeclaration |
| 2 | 2 | [[#7c334fc0]] | binding |