Class AbstractInstanceResolver<T>

    • Constructor Detail

      • AbstractInstanceResolver

        public AbstractInstanceResolver()
    • Method Detail

      • invokeMethod

        protected static void invokeMethod​(@Nullable
                                           Method method,
                                           Object instance,
                                           Object... args)
        Helper for invoking a method with elevated privilege.
      • findAnnotatedMethod

        @Nullable
        protected final Method findAnnotatedMethod​(Class clazz,
                                                   Class<? extends Annotation> annType)
        Finds the method that has the given annotation, while making sure that there's only at most one such method.