'isSafeCall' method added to ResolvedCall

This commit is contained in:
Svetlana Isakova
2012-05-03 22:02:22 +04:00
parent 5846123de1
commit 335f0a6b5e
10 changed files with 82 additions and 36 deletions
@@ -107,7 +107,7 @@ public final class CallBuilder {
private CallTranslator finish() {
if (resolvedCall == null) {
assert descriptor != null;
resolvedCall = ResolvedCallImpl.create(ResolutionCandidate.create(descriptor, ExplicitReceiverKind.NO_EXPLICIT_RECEIVER),
resolvedCall = ResolvedCallImpl.create(ResolutionCandidate.create(descriptor, false),
TemporaryBindingTrace.create(new BindingTraceContext())); //todo
}
if (descriptor == null) {