Minor. Introduce public constructor ResolvedCallImpl for future use

This commit is contained in:
Stanislav Erokhin
2015-10-13 19:35:50 +03:00
parent 5e6a86fa70
commit 97f6213873
@@ -110,6 +110,28 @@ public class ResolvedCallImpl<D extends CallableDescriptor> implements MutableRe
this.dataFlowInfoForArguments = dataFlowInfoForArguments;
}
public ResolvedCallImpl(
@NotNull Call call,
@NotNull D candidateDescriptor,
@NotNull ReceiverValue dispatchReceiver,
@NotNull ReceiverValue extensionReceiver,
@NotNull ExplicitReceiverKind explicitReceiverKind,
@Nullable TypeSubstitutor knownTypeParametersSubstitutor,
@NotNull DelegatingBindingTrace trace,
@NotNull TracingStrategy tracing,
@NotNull MutableDataFlowInfoForArguments dataFlowInfoForArguments
) {
this.call = call;
this.candidateDescriptor = candidateDescriptor;
this.dispatchReceiver = dispatchReceiver;
this.extensionReceiver = extensionReceiver;
this.explicitReceiverKind = explicitReceiverKind;
this.knownTypeParametersSubstitutor = knownTypeParametersSubstitutor;
this.trace = trace;
this.tracing = tracing;
this.dataFlowInfoForArguments = dataFlowInfoForArguments;
}
@Override
@NotNull
public ResolutionStatus getStatus() {