Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
6 | 2 | 4 | 0.973 | statement_sequence_member |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 6 | 218 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/viewsupport/BindingLabelProvider.java |
2 | 6 | 267 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/viewsupport/BindingLabelProvider.java |
| ||||
if ((flags& JavaElementLabels.M_APP_TYPE_PARAMETERS) != 0) { if (binding.isParameterizedMethod()) { ITypeBinding[] typeArguments = binding.getTypeArguments(); if (typeArguments.length > 0) { buffer.append(' '); getTypeArgumentsLabel(typeArguments, (flags& JavaElementLabels.T_TYPE_PARAMETERS), buffer); } } } |
| ||||
if ((flags& JavaElementLabels.M_APP_TYPE_PARAMETERS) != 0) { if (binding.isGenericMethod()) { ITypeBinding[] typeParameters = binding.getTypeParameters(); if (typeParameters.length > 0) { buffer.append(' '); getTypeParametersLabel(typeParameters, (flags& JavaElementLabels.T_TYPE_PARAMETERS), buffer); } } } |
| |||
if ((flags&JavaElementLabels.M_APP_TYPE_PARAMETERS) != 0) { if (binding. [[#variable5e0cca20]]()) { ITypeBinding[] [[#variable5e0cc9a0]]= binding. [[#variable5e0cc920]](); if ( [[#variable5e0cc9a0]].length > 0) { buffer.append(' '); [[#variable5e0cc880]]( [[#variable5e0cc9a0]], (flags&JavaElementLabels.T_TYPE_PARAMETERS), buffer); } } } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#5e0cca20]] | isParameterizedMethod |
1 | 2 | [[#5e0cca20]] | isGenericMethod |
2 | 1 | [[#5e0cc9a0]] | typeArguments |
2 | 2 | [[#5e0cc9a0]] | typeParameters |
3 | 1 | [[#5e0cc920]] | getTypeArguments |
3 | 2 | [[#5e0cc920]] | getTypeParameters |
4 | 1 | [[#5e0cc880]] | getTypeArgumentsLabel |
4 | 2 | [[#5e0cc880]] | getTypeParametersLabel |