An application of generalized Bessel functions on certain analytic functions