LPS-48858 fixed parsing of inner generics