code: public TypeDefinition getType(String typeId) {
  
          refresh();
          TypeDefinitionContainer tc = m_types.get(typeId);
          if (tc == null) {
              return null;
          }
  
          return tc.getTypeDefinition();
      }
docs: Gets a type definition by id.<p>
  
  @param typeId the type id
  @return the type definition