private Object readResolve() {
   WeldMethod<T, ?> method = getWeldMethod();
   Bean<T> bean = getDeclaringBean();
   if (method == null || bean == null) {
     throw new ForbiddenStateException(
         ReflectionMessage.UNABLE_TO_GET_METHOD_ON_DESERIALIZATION,
         getDeclaringBeanId(),
         getDeclaringWeldClass(),
         signature);
   }
   return MethodInjectionPoint.of(getDeclaringBean(), getWeldMethod());
 }
 public SerializationProxy(MethodInjectionPoint<T, ?> injectionPoint) {
   super(injectionPoint);
   this.signature = injectionPoint.getSignature();
 }