if (!named.isEnumx())
throw new ParseException( String.format(
"Authorize method %s arg %d name not a parameter field or enum (%s) at line %d",
method.image, argNo+1, arg, lineno() ) );
Enumx e = (Enumx) named;
Item i = e.getItem( path.nextToken() );
if (i == null)
throw new ParseException( String.format(
"Authorize method %s arg %d name not an enum item (%s) at line %d",
method.image, argNo+1, arg, lineno() ) );