Class ReflectionUtil


  • public class ReflectionUtil
    extends java.lang.Object
    Reflection utilities.
    Since:
    16.0.0
    Version:
    $Revision: 25808 $ $Date: 2023-07-04 15:20:55 -0300 (Tue, 04 Jul 2023) $
    • Constructor Summary

      Constructors 
      Constructor Description
      ReflectionUtil()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static java.lang.reflect.Method getFrameworkMethodReference​(java.lang.String className, java.lang.String methodName, java.lang.Class<?>... parameters)
      Returns a LumisXP framework method reference.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ReflectionUtil

        public ReflectionUtil()
    • Method Detail

      • getFrameworkMethodReference

        public static java.lang.reflect.Method getFrameworkMethodReference​(java.lang.String className,
                                                                           java.lang.String methodName,
                                                                           java.lang.Class<?>... parameters)
        Returns a LumisXP framework method reference. This method assumes the requested method must exist. If it doesn't, an exception will be raised.
        Parameters:
        className - the class that has the requested method
        methodName - the method name
        parameters - the method parameters
        Returns:
        the method reference.
        Since:
        16.0.0