public TypeDefinition getType(String typeId) {

        refresh();
        TypeDefinitionContainer tc = m_types.get(typeId);
        if (tc == null) {
            return null;
        }

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

@param typeId the type id
@return the type definition