Uploaded image for project: 'Arquillian'
  1. Arquillian
  2. ARQ-240

MethodParameterInjectionPoint doesn't support parameters with generic type parametersc

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 1.0.0.Alpha4
    • 1.0.0.Alpha3
    • Weld Containers
    • None

      Whenever you return the type of the parameter you should do

      if (method.getGenericParameterTypes().length > position) {
      return method.getGenericParameterTypes()[position];
      } else {
      return method.getParameterTypes()[position];
      }

              aslak@redhat.com Aslak Knutsen
              pmuiratbleepbleep Pete Muir (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved: