private ClassVertex resolveClassVertex(ClassDescriptor classDescriptor) throws ClassNotFoundException {
  ClassVertex typeVertex=optionallyResolveClassVertex(classDescriptor);
  if (!typeVertex.isResolved()) {
    ClassDescriptor.throwClassNotFoundException(classDescriptor);
  }
  assert typeVertex.isResolved();
  return typeVertex;
}

private ClassVertex resolveClassVertex ( ClassDescriptor classDescriptor ) throws ClassNotFoundException { ClassVertex typeVertex = optionallyResolveClassVertex ( classDescriptor ) ; if ( ! typeVertex . isResolved ( ) ) { ClassDescriptor . throwClassNotFoundException ( classDescriptor ) ; } assert typeVertex . isResolved ( ) ; return typeVertex ; }
resolve a class named by given classdescriptor and return its resolved classvertex .
