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

Method callMethod

src/main/java/gregapi/util/UT.java:2602–2604  ·  view source on GitHub ↗
(Object aObject, String aMethod, boolean aPrivate, boolean aUseUpperCasedDataTypes, boolean aLogErrors, Object... aParameters)

Source from the content-addressed store, hash-verified

2600 return callMethod(aObject, aMethod, T, F, T, aParameters);
2601 }
2602 public static Object callMethod(Object aObject, String aMethod, boolean aPrivate, boolean aUseUpperCasedDataTypes, boolean aLogErrors, Object... aParameters) {
2603 return callMethod(aObject, new String[] {aMethod}, aPrivate, aUseUpperCasedDataTypes, aLogErrors, aParameters);
2604 }
2605 public static Object callMethod(Object aObject, String[] aMethods, boolean aPrivate, boolean aUseUpperCasedDataTypes, boolean aLogErrors, Object... aParameters) {
2606 try {
2607 Class<?>[] tParameterTypes = new Class<?>[aParameters.length];

Callers 3

callPublicMethodMethod · 0.95
callPrivateMethodMethod · 0.95
GT_APIMethod · 0.45

Calls 2

getMethodMethod · 0.80
invokeMethod · 0.80

Tested by

no test coverage detected