Skip to content

Commit

Permalink
Merge pull request springside#544 from rason/master
Browse files Browse the repository at this point in the history
Update ClassUtil.java
  • Loading branch information
calvin1978 authored Feb 15, 2017
2 parents d91067a + 91b06f4 commit b64f648
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -291,7 +291,7 @@ public static Field getAccessibleField(final Class clazz, final String fieldName
*
* 匹配函数名+参数类型.
*
* 因为class.getFiled() 不能获取父类的private函数, 因此采用循环向上的getDeclaredField();
* 因为class.getMethod() 不能获取父类的private函数, 因此采用循环向上的getDeclaredMethod();
*/
public static Method getAccessibleMethod(final Class<?> clazz, final String methodName,
Class<?>... parameterTypes) {
Expand Down

0 comments on commit b64f648

Please sign in to comment.