Beispiel #1
0
 public static void Validate(IAnnotatedMethod method)
 {
     if (method.Method.IsGenericMethodDefinition)
     {
         throw new InjectionPointException(method.Method, "Cannot inject into a generic method");
     }
 }
Beispiel #2
0
 public ProducerMethod(IWeldComponent declaringComponent, IAnnotatedMethod method, WeldComponentManager manager)
     : this(declaringComponent, method.Method, method.Annotations, manager)
 {
 }