Class JavaMethodCache


  • public class JavaMethodCache
    extends Object
    • Constructor Detail

      • JavaMethodCache

        public JavaMethodCache()
    • Method Detail

      • flushCaches

        public static void flushCaches()
        This method is not normally required. It is normally only needed by advanced tools that update existing "Class" objects in-place and need to re-analyze existing Class objects.
      • getDeclaredMethods

        public static Method[] getDeclaredMethods​(Class clz)
      • getRootCause

        public static Throwable getRootCause​(Throwable throwable)
        Traverse exception chain to return the root cause.
        Parameters:
        throwable - The top-level exception in the chain
        Returns:
        The root (or top-level if none chained)