private void enterAsset(String pathAttributeName, AssetType type)
{try { __CLOVER_225_0.M[2783]++;
__CLOVER_225_0.S[11365]++;String name = getValidatedAttribute("name", ASSET_NAME_PATTERN, "invalid-asset-name");
__CLOVER_225_0.S[11366]++;String path = getAttribute(pathAttributeName);
__CLOVER_225_0.S[11367]++;IAssetSpecification ia = _factory.createAssetSpecification();
__CLOVER_225_0.S[11368]++;ia.setType(type);
__CLOVER_225_0.S[11369]++;ia.setPath(path);
__CLOVER_225_0.S[11370]++;IComponentSpecification cs = (IComponentSpecification) peekObject();
__CLOVER_225_0.S[11371]++;cs.addAsset(name, ia);