Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
8 | 4 | 4 | 0.954 | executable_statement |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 8 | 158 | plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/MethodBinding.java |
2 | 8 | 198 | plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/MethodBinding.java |
3 | 8 | 359 | plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/MethodBinding.java |
4 | 8 | 403 | plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/MethodBinding.java |
| ||||
{ this.parameterTypes = new ITypeBinding[length]; for (int i = 0; i < length; i++) { ITypeBinding typeBinding = this.resolver.getTypeBinding(parameters[i]); if (typeBinding == null) { return this.parameterTypes = NO_TYPE_BINDINGS; } this.parameterTypes[i] = typeBinding; } } |
| ||||
{ this.exceptionTypes = new ITypeBinding[length]; for (int i = 0; i < length; i++) { ITypeBinding typeBinding = this.resolver.getTypeBinding(exceptions[i]); if (typeBinding == null) { return this.exceptionTypes = NO_TYPE_BINDINGS; } this.exceptionTypes[i] = typeBinding; } } |
| ||||
{ this.typeParameters = new ITypeBinding[typeVariableBindingsLength]; for (int i = 0; i < typeVariableBindingsLength; i++) { ITypeBinding typeBinding = this.resolver.getTypeBinding(typeVariableBindings[i]); if (typeBinding == null) { return this.typeParameters = NO_TYPE_BINDINGS; } typeParameters[i] = typeBinding; } } |
| ||||
{ this.typeArguments = new ITypeBinding[typeArgumentsLength]; for (int i = 0; i < typeArgumentsLength; i++) { ITypeBinding typeBinding = this.resolver.getTypeBinding(typeArgumentsBindings[i]); if (typeBinding == null) { return this.typeArguments = NO_TYPE_BINDINGS; } this.typeArguments[i] = typeBinding; } } |
| |||
{ this. [[#variableb3b0d540]]= new ITypeBinding[ [[#variableb3b0d4c0]]]; for (int i = 0; i < [[#variableb3b0d4c0]]; i++) { ITypeBinding typeBinding = this.resolver.getTypeBinding( [[#variableb3b0d440]][i]); if (typeBinding == null) { return this. [[#variableb3b0d540]]= NO_TYPE_BINDINGS; } [[#variableb3b0d3c0]][i] = typeBinding; } } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#b3b0d540]] | parameterTypes |
1 | 2 | [[#b3b0d540]] | exceptionTypes |
1 | 3 | [[#b3b0d540]] | typeParameters |
1 | 4 | [[#b3b0d540]] | typeArguments |
2 | 1 | [[#b3b0d4c0]] | length |
2 | 2 | [[#b3b0d4c0]] | length |
2 | 3 | [[#b3b0d4c0]] | typeVariableBindingsLength |
2 | 4 | [[#b3b0d4c0]] | typeArgumentsLength |
3 | 1 | [[#b3b0d440]] | parameters |
3 | 2 | [[#b3b0d440]] | exceptions |
3 | 3 | [[#b3b0d440]] | typeVariableBindings |
3 | 4 | [[#b3b0d440]] | typeArgumentsBindings |
4 | 1 | [[#b3b0d3c0]] | this.parameterTypes |
4 | 2 | [[#b3b0d3c0]] | this.exceptionTypes |
4 | 3 | [[#b3b0d3c0]] | typeParameters |
4 | 4 | [[#b3b0d3c0]] | this.typeArguments |