Uploaded image for project: 'WildFly'
  1. WildFly
  2. WFLY-15612 Replace usages of getParameterTypes().length with getParameterCount()
  3. WFLY-15615

Replace usages of getParameterTypes().length with getParameterCount() (CDI / Weld)

    XMLWordPrintable

Details

    Description

      wildfly-weld  (1 usage found)
                  weld/subsystem/src/main/java/org/jboss/as/weld/services/bootstrap  (1 usage found)
                      WeldResourceInjectionServices.java  (1 usage found)
                          resolveResource(InjectionPoint)  (1 usage found)
                              228 if (member instanceof Method && ((Method) member).getParameterTypes().length != 1) {
              wildfly-weld-common  (3 usages found)
                  weld/common/src/main/java/org/jboss/as/weld/util  (3 usages found)
                      ResourceInjectionUtilities.java  (3 usages found)
                          getPropertyName(Method)  (3 usages found)
                              91 if (methodName.matches("^(get).*") && method.getParameterTypes().length == 0) {
                              93 } else if (methodName.matches("^(is).*") && method.getParameterTypes().length == 0) {
                              95 } else if (methodName.matches("^(set).*") && method.getParameterTypes().length == 1) {
              wildfly-weld-ejb  (1 usage found)
                  weld/ejb/src/main/java/org/jboss/as/weld/services/bootstrap  (1 usage found)
                      WeldEjbInjectionServices.java  (1 usage found)
                          registerEjbInjectionPoint(InjectionPoint)  (1 usage found)
                              95 if (injectionPoint.getMember() instanceof Method && ((Method) injectionPoint.getMember()).getParameterTypes().length != 1) {
      

      Attachments

        Activity

          People

            manovotn Matěj Novotný
            clara0 Clara Fang (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: