MCPcopy Create free account
hub / github.com/GregTech6/gregtech6 / getMethod

Method getMethod

src/main/java/gregapi/util/UT.java:2529–2536  ·  view source on GitHub ↗
(Class<?> aObject, String aMethod, Class<?>... aParameterTypes)

Source from the content-addressed store, hash-verified

2527 }
2528
2529 public static Method getMethod(Class<?> aObject, String aMethod, Class<?>... aParameterTypes) {
2530 Method rMethod = null;
2531 try {
2532 rMethod = aObject.getMethod(aMethod, aParameterTypes);
2533 rMethod.setAccessible(T);
2534 } catch (Throwable e) {/*Do nothing*/}
2535 return rMethod;
2536 }
2537
2538 public static Method getMethod(Object aObject, String aMethod, Class<?>... aParameterTypes) {
2539 Method rMethod = null;

Callers 1

callMethodMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected