added 'INVOKE' CallType

This commit is contained in:
Svetlana Isakova
2013-03-14 18:25:34 +04:00
parent 0bf5899bf5
commit 0bc647044c
2 changed files with 11 additions and 1 deletions
@@ -58,7 +58,7 @@ public interface Call {
PsiElement getCallElement();
enum CallType {
DEFAULT, ARRAY_GET_METHOD, ARRAY_SET_METHOD
DEFAULT, ARRAY_GET_METHOD, ARRAY_SET_METHOD, INVOKE
}
@NotNull
@@ -253,5 +253,15 @@ public class CallTransformer<D extends CallableDescriptor, F extends D> {
return invokeExpression;
}
@NotNull
@Override
public CallType getCallType() {
return CallType.INVOKE;
}
@NotNull
public Call getOuterCall() {
return outerCall;
}
}
}