code: public String resolveAliasType(String alias) {
          String type = getAliasedType(alias);
          return (type == null ? alias: type);
      }
docs: Returns a type of an aliased type that is defined by assigning the type to the alias.
  If aliased type is not found, it returns alias.
  
  @param alias the name of the alias
  @return the aliased type