コード例 #1
0
 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());
 }
コード例 #2
0
 public SerializationProxy(MethodInjectionPoint<T, ?> injectionPoint) {
   super(injectionPoint);
   this.signature = injectionPoint.getSignature();
 }