enjoy 3.7 release ^_^

This commit is contained in:
James
2019-03-19 16:25:33 +08:00
parent 3cc94a5b32
commit 84573be584
4 changed files with 10 additions and 2 deletions

View File

@@ -115,6 +115,10 @@ public class MethodKit {
forbiddenMethods.remove(methodName);
}
public static void clearCache() {
methodCache.clear();
}
public static MethodInfo getMethod(Class<?> targetClass, String methodName, Object[] argValues) {
Class<?>[] argTypes = getArgTypes(argValues);
Long key = getMethodKey(targetClass, methodName, argTypes);