protected Method findMethod(Object obj,int functionId)
	{
		Method method=null;
		if(callTarget!=null)
		{
			Method[] methods=callTarget.getClass().getDeclaredMethods();
			for(Method m:methods)
			{
				CallBackFunction function=m.getAnnotation(CallBackFunction.class);
				if(function!=null && function.id()==functionId)
				{
					method=m;
					break;
				}
			}
		}
		return method;
	}
protected Method findMethod ( Object obj , int functionId ) { Method method = null ; if ( callTarget != null ) { Method [ ] methods = callTarget . getClass ( ) . getDeclaredMethods ( ) ; for ( Method m : methods ) { CallBackFunction function = m . getAnnotation ( CallBackFunction . class ) ; if ( function != null && function . id ( ) == functionId ) { method = m ; break ; } } } return method ; }
根据注解ID匹配
@param obj
@param functionId
@return