semantic: Resolve parents class in resolver