Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
5 | 2 | 4 | 0.953 | statement_sequence[2] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 5 | 467 | plugins/org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/dom/Bindings.java |
2 | 5 | 117 | plugins/org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/util/MethodOverrideTester.java |
| ||||
if (Modifier.isPrivate(modifiers) || Modifier.isStatic(modifiers) || overriding.isConstructor()) { return null; } ITypeBinding type = overriding.getDeclaringClass(); |
| ||||
if (Flags.isPrivate(flags) || Flags.isStatic(flags) || overriding.isConstructor()) { return null; } IType type = overriding.getDeclaringType(); |
| |||
if ( [[#variable987d0d00]].isPrivate( [[#variable987d0540]]) || [[#variable987d0d00]].isStatic( [[#variable987d0540]]) || overriding.isConstructor()) { return null; } [[#variable987d0d40]] type = overriding. [[#variable987d04e0]](); |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#987d0d00]] | Flags |
1 | 2 | [[#987d0d00]] | Modifier |
2 | 1 | [[#987d0540]] | flags |
2 | 2 | [[#987d0540]] | modifiers |
3 | 1 | [[#987d0d40]] | IType |
3 | 2 | [[#987d0d40]] | ITypeBinding |
4 | 1 | [[#987d04e0]] | getDeclaringType |
4 | 2 | [[#987d04e0]] | getDeclaringClass |