make getCallsForMethod public