/* 348 */ String iname = interceptorElement.getAttribute("name");
/* 349 */ if ((iname == null) || (iname.length() == 0))
/* */ {
/* 351 */ throw new RuntimeException("name must be specified for interceptor-ref in precedence declaration");
/* */ }
/* 353 */ precedenceEntries.add(new PrecedenceDefEntry(iname, null));
/* */ }
/* 355 */ else if (tag2.equals("advice"))
/* */ {
/* 357 */ String method = interceptorElement.getAttribute("name");
/* 358 */ String aspect = interceptorElement.getAttribute("aspect");
/* */
/* 360 */ if ((method == null) || (method.length() == 0))
/* */ {
/* 362 */ throw new RuntimeException("name must be specified for advice in precedence declaration");
/* */ }
/* */
/* 365 */ if ((aspect == null) || (aspect.length() == 0))
/* */ {
/* 367 */ throw new RuntimeException("aspect must be specified for advice in precedence declaration");
/* */ }
/* */
/* 370 */ precedenceEntries.add(new PrecedenceDefEntry(aspect, method));
/* */ }
/* */ else
/* */ {
/* 374 */ throw new RuntimeException("Invalid child element of precedence : " + tag2);
/* */ }