findFunctionInvocations - parse Java source for function invocations