final public ServiceDescriptor ServiceDescriptor(ProtoDescriptor proto) throws ParseException { String name; ArrayList<MethodDescriptor> methods = new ArrayList<MethodDescriptor>(); MethodDescriptor method; jj_consume_token(SERVICE); name = ID(); jj_consume_token(LBRACE); label_5: while (true) { switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case RPC: ; break; default: jj_la1[16] = jj_gen; break label_5; } method = MethodDescriptor(proto); jj_consume_token(SEMICOLON); methods.add(method); } jj_consume_token(RBRACE); ServiceDescriptor rc = new ServiceDescriptor(proto); rc.setName(name); rc.setMethods(methods); {if (true) return rc;} throw new Error("Missing return statement in function"); }
final public ServiceDescriptor ServiceDescriptor(ProtoDescriptor proto) throws ParseException { String name; ArrayList<MethodDescriptor> methods = new ArrayList<MethodDescriptor>(); MethodDescriptor method; jj_consume_token(SERVICE); name = ID(); jj_consume_token(LBRACE); label_5: while (true) { switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case RPC: ; break; default: jj_la1[16] = jj_gen; break label_5; } method = MethodDescriptor(proto); jj_consume_token(SEMICOLON); methods.add(method); } jj_consume_token(RBRACE); ServiceDescriptor rc = new ServiceDescriptor(proto); rc.setName(name); rc.setMethods(methods); {if (true) return rc;} throw new Error("Missing return statement in function"); }
final public ServiceDescriptor ServiceDescriptor(ProtoDescriptor proto) throws ParseException { String name; ArrayList<MethodDescriptor> methods = new ArrayList<MethodDescriptor>(); MethodDescriptor method; jj_consume_token(SERVICE); name = ID(); jj_consume_token(LBRACE); label_5: while (true) { switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case RPC: ; break; default: jj_la1[16] = jj_gen; break label_5; } method = MethodDescriptor(proto); jj_consume_token(SEMICOLON); methods.add(method); } jj_consume_token(RBRACE); ServiceDescriptor rc = new ServiceDescriptor(proto); rc.setName(name); rc.setMethods(methods); {if (true) return rc;} throw new Error("Missing return statement in function"); }