8687888990919293949596
Method[] methods = cls.getMethods(); for ( int i=0; i<methods.length; i++){ Method method = methods[i]; Msg message = (Msg)method.getAnnotation(Msg.class); if ( message != null){ mm.put(message.selector(), method); } } methodMap.put(cls, mm); }