@Override
        @CanIgnoreReturnValue
        public BeanSupplier<T> otherwiseProxy(final Consumer<T> beforeCallback) {
            if (beforeCallback != null) {
                beforeCallback.accept(null);
            }
            return otherwise(new ProxiedBeanSupplier<>(this.clazz));
        }
Create a null bean.

@return the bean supplier
core/cas-server-core-util-api/src/main/java/org/apereo/cas/util/spring/beans/BeanSupplier.java