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

MethodParameterInjectionPoint doesn't support parameters with generic type parametersc

    XMLWordPrintable

Details

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

    Description

      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];
      }

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: