(Object obj, String name, Object... argsTypesAndReturnType)
| 927 | } |
| 928 | |
| 929 | public static Method hasMethod(Object obj, String name, Object... argsTypesAndReturnType) |
| 930 | throws IllegalArgumentException { |
| 931 | Class clazz; |
| 932 | if (obj == null) { |
| 933 | throw new NullPointerException("obj/clazz == null"); |
| 934 | } |
| 935 | if (obj instanceof Class) { |
| 936 | clazz = (Class) obj; |
| 937 | } else { |
| 938 | clazz = obj.getClass(); |
| 939 | } |
| 940 | return hasMethod(clazz, name, argsTypesAndReturnType); |
| 941 | } |
| 942 | |
| 943 | public static Method hasMethod(Class clazz, String name, Object... argsTypesAndReturnType) |
| 944 | throws IllegalArgumentException { |
nothing calls this directly
no test coverage detected