protected void pointcutargument( MethodSignature ms ) //throws RecognitionException, TokenStreamException { String argType = String.Empty; try { // for error handling switch (LA(1)) { case ALL: { match(ALL); ms.AddArgumentType("*"); break; } case ID: { argType = reg_ex(false); ms.AddArgumentType(argType); break; } default: { throw new NoViableAltException(LT(1), getFilename()); } } } catch (RecognitionException ex) { reportError(ex); consume(); consumeUntil(tokenSet_17_); } }