CloneSet2169


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
4220.955statement_sequence[3]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
14284
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/ast/AllocationExpression.java
24325
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/ast/ExplicitConstructorCall.java
Clone Instance
1
Line Count
4
Source Line
284
Source File
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/ast/AllocationExpression.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 );


Clone Instance
2
Line Count
4
Source Line
325
Source File
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 ? receiverType:  argumentTypes[i]; // replace args with errors with receiver
                                        this.binding = scope.findMethod(receiverType, TypeConstants.INIT, pseudoArgs, this );


Clone AbstractionParameter Count: 2Parameter Bindings

// 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 Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#9b88e220]]
this.resolvedType 
12[[#9b88e220]]
receiverType 
21[[#9b7eddc0]]
(ReferenceBinding) this.resolvedType 
22[[#9b7eddc0]]
receiverType