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

Replace usages of getParameterTypes().length with getParameterCount() (EE)

    XMLWordPrintable

Details

    • Sub-task
    • Resolution: Done
    • Minor
    • 26.0.0.Beta1, 26.0.0.Final
    • None
    • EE
    • None

    Description

      wildfly-ee  (5 usages found)
                  ee/src/main/java/org/jboss/as/ee/component  (4 usages found)
                      ManagedReferenceLifecycleMethodInterceptor.java  (1 usage found)
                          ManagedReferenceLifecycleMethodInterceptor(Object, Method, boolean, boolean)  (1 usage found)
                              67 withContext = method.getParameterTypes().length == 1;
                      ViewDescription.java  (2 usages found)
                          findRealMethodForBridgeMethod(Method, ComponentConfiguration, DeploymentReflectionIndex, MethodIdentifier)  (2 usages found)
                              233 final Collection<Method> methods = classIndex.getAllMethods(componentMethod.getName(), componentMethod.getParameterTypes().length);
                              238 for (int i = 0; i < method.getParameterTypes().length; ++i) {
                      ViewService.java  (1 usage found)
                          ViewService(ViewConfiguration)  (1 usage found)
                              85 if (method.getName().equals("finalize") && method.getParameterTypes().length == 0) {
                  ee/src/main/java/org/jboss/as/ee/utils  (1 usage found)
                      InjectionUtils.java  (1 usage found)
                          getInjectionTarget(String, String, ClassLoader, DeploymentReflectionIndex)  (1 usage found)
                              65 if (m.getParameterTypes().length == 1) {
      wildfly-pojo  (1 usage found)
                  pojo/src/main/java/org/jboss/as/pojo/service  (1 usage found)
                      Callback.java  (1 usage found)
                          getMethod()  (1 usage found)
                              53 if (m.getParameterTypes().length != 1)
              wildfly-sar  (1 usage found)
                  sar/src/main/java/org/jboss/as/service  (1 usage found)
                      ReflectionUtils.java  (1 usage found)
                          getSetter(List<ClassReflectionIndex>, String)  (1 usage found)
                              72 if (setterName.equals(method.getName()) && method.getParameterTypes().length == 1) {
      

      Attachments

        Activity

          People

            bstansbe@redhat.com Brian Stansberry
            clara0 Clara Fang (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: