pub(crate) fn new_inspector(params: &InitializationParams) -> Inspector