List of usage examples for org.springframework.beans BeanUtils findMethodWithMinimalParameters
@Nullable public static Method findMethodWithMinimalParameters(Method[] methods, String methodName) throws IllegalArgumentException
From source file:org.springframework.beans.factory.support.DisposableBeanAdapter.java
@Nullable private Method findDestroyMethod(String name) { return (this.nonPublicAccessAllowed ? BeanUtils.findMethodWithMinimalParameters(this.bean.getClass(), name) : BeanUtils.findMethodWithMinimalParameters(this.bean.getClass().getMethods(), name)); }