}
Object[] getParams(JsonRePresentation rep, Method method, HttpServletRequest request) throws Exception {
Arguments arguments = method.getAnnotation(Arguments.class);
if(arguments==null) throw new MethodNotArgumentized(method);
Class<?>[] parameterTypes = method.getParameterTypes();
int nParams = parameterTypes.length;
if(rep.lexer.yylex() != Yytoken.TYPE_LEFT_SQUARE) throw new ParseException("Method "+method.getName()+" args["+nParams+"] expected");