code: public static Method[] getMethodsDirectly(Class<?> beanClass, boolean withSuperClassMethods) throws SecurityException {
  		Assert.notNull(beanClass);
  
  		Method[] allMethods = null;
  		Class<?> searchType = beanClass;
  		Method[] declaredMethods;
  		while (searchType != null) {
  			declaredMethods = searchType.getDeclaredMethods();
  			if (null == allMethods) {
  				allMethods = declaredMethods;
  			} else {
  				allMethods = ArrayUtil.append(allMethods, declaredMethods);
  			}
  			searchType = withSuperClassMethods ? searchType.getSuperclass() : null;
  		}
  
  		return allMethods;
  	}
docs: 获得一个类中所有方法列表，直接反射获取，无缓存
  
  @param beanClass 类
  @param withSuperClassMethods 是否包括父类的方法列表
  @return 方法列表
  @throws SecurityException 安全检查异常