/** * Call this to construct objects taking constructor interceptors into consideration * * @param c The constructor to invoke * @param args The arguments to give to the constructor (intially) * @param neutralCCL Whether or not CCL should be neutral around calls to the constructor * @param interceptors The set of interceptors (may be null or empty) * @return The constructed object (as massaged by the interceptors) * @throws Throwable On error */ public static Object construct(Constructor<?> c, Object args[], boolean neutralCCL, List<ConstructorInterceptor> interceptors) throws Throwable { return construct(c, args, neutralCCL, interceptors, DEFAULT_ACTION); }
/** * Call this to construct objects taking constructor interceptors into consideration * * @param c The constructor to invoke * @param args The arguments to give to the constructor (intially) * @param neutralCCL Whether or not CCL should be neutral around calls to the constructor * @param interceptors The set of interceptors (may be null or empty) * @return The constructed object (as massaged by the interceptors) * @throws Throwable On error */ public static Object construct(Constructor<?> c, Object args[], boolean neutralCCL, List<ConstructorInterceptor> interceptors) throws Throwable { return construct(c, args, neutralCCL, interceptors, DEFAULT_ACTION); }
/** * Call this to construct objects taking constructor interceptors into consideration * * @param c The constructor to invoke * @param args The arguments to give to the constructor (intially) * @param neutralCCL Whether or not CCL should be neutral around calls to the constructor * @param interceptors The set of interceptors (may be null or empty) * @return The constructed object (as massaged by the interceptors) * @throws Throwable On error */ public static Object construct(Constructor<?> c, Object args[], boolean neutralCCL, List<ConstructorInterceptor> interceptors) throws Throwable { return construct(c, args, neutralCCL, interceptors, DEFAULT_ACTION); }
/** * Call this to construct objects taking constructor interceptors into consideration * * @param c The constructor to invoke * @param args The arguments to give to the constructor (intially) * @param neutralCCL Whether or not CCL should be neutral around calls to the constructor * @param interceptors The set of interceptors (may be null or empty) * @return The constructed object (as massaged by the interceptors) * @throws Throwable On error */ public static Object construct(Constructor<?> c, Object args[], boolean neutralCCL, List<ConstructorInterceptor> interceptors) throws Throwable { return construct(c, args, neutralCCL, interceptors, DEFAULT_ACTION); }