Package com.inductiveautomation.rm.base
Class RMMethodUtils
java.lang.Object
com.inductiveautomation.rm.base.RMMethodUtils
Utility methods for method reflection.
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionstatic MethodReturns the method for the given object, method name and paramter types class array.static ObjectCalls the given method name on the given object with the given arg array and class array.static ObjectCalls the given method name on the given object.static ObjectCalls the given method name on the given object with the given arg array and class array.static ObjectCalls the given method name on the given object with the given parameter of the given class.static voidInvokes a given method on every member of a List.
- 
Constructor Details- 
RMMethodUtilspublic RMMethodUtils()
 
- 
- 
Method Details- 
getMethodReturns the method for the given object, method name and paramter types class array.
- 
invokeCalls the given method name on the given object.
- 
invokeCalls the given method name on the given object with the given parameter of the given class.
- 
invokepublic static Object invoke(Object anObj, String aMethod, Object[] parameters, Class[] parameterTypes) Calls the given method name on the given object with the given arg array and class array.
- 
invokeCalls the given method name on the given object with the given arg array and class array.
- 
invokeAllInvokes a given method on every member of a List. Any method not implemented by the object is simply ignored - invoke() returns null if the class doesn't have the method. The method's return values are also ignored (this isn't aggregation, just invocation).
 
-