New approach to semiclassical analysis in mechanics