/**
  * Replaces a vertex representing type specification by another one which was resolved before.
  *
  * @param fullyQualifiedName Fully qualified name of type definition.
  * @param qualifiedTypeVertex Vertex to replace representing type specification.
  */
 protected void replaceByResolvedOne(
     String fullyQualifiedName, QualifiedType qualifiedTypeVertex) {
   if (symbolTable.hasResolvedTypeSpecification(fullyQualifiedName)) {
     QualifiedType resolvedQualifiedTypeVertex =
         symbolTable.getResolvedTypeSpecification(fullyQualifiedName);
     replaceBy(qualifiedTypeVertex, resolvedQualifiedTypeVertex);
     qualifiedTypeVertex.delete();
   }
 }