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.952 | statement_sequence[2] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 5 | 102 | plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/nls/NLSHintHelper.java |
2 | 5 | 107 | plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/nls/NLSHintHelper.java |
| ||||
if (argumentBinding == null || !argumentBinding.getQualifiedName().equals("java.lang.String")) { //$NON-NLS-1$ return null; } ITypeBinding typeBinding = methodInvocation.resolveTypeBinding(); |
| ||||
if (typeBinding == null || !typeBinding.getQualifiedName().equals("java.lang.String")) { //$NON-NLS-1$ return null; } IMethodBinding methodBinding = methodInvocation.resolveMethodBinding(); |
| |||
if ( [[#variable55b208e0]]== null || ! [[#variable55b208e0]].getQualifiedName().equals("java.lang.String")) { //$NON-NLS-1$ return null; } [[#variable55977bc0]] [[#variable55b21b80]]= methodInvocation. [[#variable55b20940]](); |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#55b208e0]] | typeBinding |
1 | 2 | [[#55b208e0]] | argumentBinding |
2 | 1 | [[#55977bc0]] | IMethodBinding |
2 | 2 | [[#55977bc0]] | ITypeBinding |
3 | 1 | [[#55b21b80]] | methodBinding |
3 | 2 | [[#55b21b80]] | typeBinding |
4 | 1 | [[#55b20940]] | resolveMethodBinding |
4 | 2 | [[#55b20940]] | resolveTypeBinding |