com.talk2object.util.ReflectionUtils Maven / Gradle / Ivy
The newest version!
package com.talk2object.util;
import java.lang.reflect.Method;
public class ReflectionUtils {
public static Method findMethod(Class clazz, String name) {
for (Method method : clazz.getMethods()) {
if (method.getName().equals(name))
return method;
}
return null;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy