Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
4 | 2 | 2 | 0.955 | statement_sequence[3] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 4 | 284 | plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/ast/AllocationExpression.java |
2 | 4 | 325 | plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/ast/ExplicitConstructorCall.java |
| ||||
// record a best guess, for clients who need hint about possible contructor match TypeBinding[] pseudoArgs = new TypeBinding[length]; for (int i = length; --i >= 0;) pseudoArgs[i] = argumentTypes[i] == null ? this.resolvedType: argumentTypes[i]; // replace args with errors with receiver this.binding = scope.findMethod((ReferenceBinding) this.resolvedType, TypeConstants.INIT, pseudoArgs, this ); |
| ||||
// record a best guess, for clients who need hint about possible contructor match TypeBinding[] pseudoArgs = new TypeBinding[length]; for (int i = length; --i >= 0;) pseudoArgs[i] = argumentTypes[i] == null ? receiverType: argumentTypes[i]; // replace args with errors with receiver this.binding = scope.findMethod(receiverType, TypeConstants.INIT, pseudoArgs, this ); |
| |||
// record a best guess, for clients who need hint about possible contructor match TypeBinding[] pseudoArgs = new TypeBinding[length]; for (int i = length; --i >= 0;) pseudoArgs[i] = argumentTypes[i] == null ? [[#variable9b88e220]]: argumentTypes[i]; // replace args with errors with receiver this.binding = scope.findMethod( [[#variable9b7eddc0]], TypeConstants.INIT, pseudoArgs, this ); |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#9b88e220]] | this.resolvedType |
1 | 2 | [[#9b88e220]] | receiverType |
2 | 1 | [[#9b7eddc0]] | (ReferenceBinding) this.resolvedType |
2 | 2 | [[#9b7eddc0]] | receiverType |