Class TypeReferenceVisitorWithResult<Result>