Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
18 | 2 | 0 | 1.000 | statement_sequence[2] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 18 | 209 | plugins/org.eclipse.jdt.debug/eval/org/eclipse/jdt/internal/debug/eval/ast/engine/BinaryBasedSourceGenerator.java |
2 | 18 | 375 | plugins/org.eclipse.jdt.debug/eval/org/eclipse/jdt/internal/debug/eval/ast/engine/BinaryBasedSourceGenerator.java |
| ||||
String[] typeParameters = Signature.getTypeParameters(genericSignature); if (typeParameters.length > 0) { source.append('<'); source.append(Signature.getTypeVariable(typeParameters[0])); String[] typeParameterBounds = Signature.getTypeParameterBounds(typeParameters[0]); source.append(" extends ").append(Signature.toString(typeParameterBounds[0]).replace('/', '.')); //$NON-NLS-1$ for (int i = 1; i < typeParameterBounds.length; i++) { source.append(" & ").append(Signature.toString(typeParameterBounds[i]).replace('/', '.')); //$NON-NLS-1$ } for (int j = 1; j < typeParameters.length; j++) { source.append(',').append(Signature.getTypeVariable(typeParameters[j])); typeParameterBounds = Signature.getTypeParameterBounds(typeParameters[j]); source.append(" extends ").append(Signature.toString(typeParameterBounds[0]).replace('/', '.')); //$NON-NLS-1$ for (int i = 1; i < typeParameterBounds.length; i++) { source.append(" & ").append(Signature.toString(typeParameterBounds[i]).replace('/', '.')); //$NON-NLS-1$ } } source.append("> "); //$NON-NLS-1$ } |
| ||||
String[] typeParameters = Signature.getTypeParameters(genericSignature); if (typeParameters.length > 0) { source.append('<'); source.append(Signature.getTypeVariable(typeParameters[0])); String[] typeParameterBounds = Signature.getTypeParameterBounds(typeParameters[0]); source.append(" extends ").append(Signature.toString(typeParameterBounds[0]).replace('/', '.')); //$NON-NLS-1$ for (int i = 1; i < typeParameterBounds.length; i++) { source.append(" & ").append(Signature.toString(typeParameterBounds[i]).replace('/', '.')); //$NON-NLS-1$ } for (int j = 1; j < typeParameters.length; j++) { source.append(',').append(Signature.getTypeVariable(typeParameters[j])); typeParameterBounds = Signature.getTypeParameterBounds(typeParameters[j]); source.append(" extends ").append(Signature.toString(typeParameterBounds[0]).replace('/', '.')); //$NON-NLS-1$ for (int i = 1; i < typeParameterBounds.length; i++) { source.append(" & ").append(Signature.toString(typeParameterBounds[i]).replace('/', '.')); //$NON-NLS-1$ } } source.append("> "); //$NON-NLS-1$ } |
| |||
String[] typeParameters = Signature.getTypeParameters(genericSignature); if (typeParameters.length > 0) { source.append('<'); source.append(Signature.getTypeVariable(typeParameters[0])); String[] typeParameterBounds = Signature.getTypeParameterBounds(typeParameters[0]); source.append(" extends ").append(Signature.toString(typeParameterBounds[0]).replace('/', '.')); //$NON-NLS-1$ for (int i = 1; i < typeParameterBounds.length; i++) { source.append(" & ").append(Signature.toString(typeParameterBounds[i]).replace('/', '.')); //$NON-NLS-1$ } for (int j = 1; j < typeParameters.length; j++) { source.append(',').append(Signature.getTypeVariable(typeParameters[j])); typeParameterBounds = Signature.getTypeParameterBounds(typeParameters[j]); source.append(" extends ").append(Signature.toString(typeParameterBounds[0]).replace('/', '.')); //$NON-NLS-1$ for (int i = 1; i < typeParameterBounds.length; i++) { source.append(" & ").append(Signature.toString(typeParameterBounds[i]).replace('/', '.')); //$NON-NLS-1$ } } source.append("> "); //$NON-NLS-1$ } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
None |